bioRxiv Science⌕ Search

bioRxiv · 10.1101/2024.06.02.597036

Necessity and Impact of Specialization of Large Foundation Model for Medical Segmentation Tasks

Abstract

BackgroundLarge foundation models, such as the Segment Anything Model (SAM), have shown remarkable performance in image segmentation tasks. However, the optimal approach to achieve true utility of these models for domain-specific applications, such as medical image segmentation, remains an open question. Recent studies have released a medical version of the foundation model MedSAM by training on vast medical data, who promised SOTA medical segmentation. Independent community inspection and dissection is needed. PurposeThis study assesses the performance of off-the-shelf medical foundation model MedSAM for the segmentation of anatomical structures in pelvic MR images. We also evaluate the dependency on prompting scheme and demonstrate the gain of further specialized fine-tuning. MethodsMedSAM and its lightweight version LiteMedSAM were evaluated out-of-the-box on a public MR dataset consisting of 589 pelvic images split 80:20 for training and testing. An nnU-Net model was trained from scratch to serve as a benchmark and to provide bounding box prompts for MedSAM. MedSAM was evaluated using different quality bounding boxes, those derived from ground truth labels, those derived from nnU-Net, and those derived from the former two but with 5-pixel isometric expansion. Lastly, LiteMedSAM was refined on the training set and reevaluated on this task. ResultsOut-of-the-box MedSAM and LiteMedSAM both performed poorly across the structure set, especially for disjoint or non-convex structures. Varying prompt with different bounding box inputs had minimal effect. The mean Dice score and mean Hausdorff distances (in mm) for obturator internus using MedSAM and LiteMedSAM were {0.251 {+/-} 0.110, 0.101 {+/-} 0.079} and {34.142 {+/-} 5.196, 33.688 {+/-} 5.306}, respectively. Fine-tuning of LiteMedSAM led to significant performance gain, improving Dice score and Hausdorff distance for the obturator internus to 0.864 {+/-} 0.123 and 5.022 {+/-} 10.684, on par with nnU-Net with no significant difference in evaluation of most structures. All segmentation structures all benefited significantly from specialized refinement, at varying improvement margin. ConclusionOur study alludes to the potential of deep learning models like MedSAM and lite MedSAM for medical segmentation but also highlight the need for specialized refinement and adjudication: it is quite likely that off-the-shelf use of such large foundation models may be suboptimal, and specialized fine-tuning can significantly enhance segmentation accuracy.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Nguyen, E., Liu, H., Ruan, D.. 2024-06-03. Necessity and Impact of Specialization of Large Foundation Model for Medical Segmentation Tasks. https://doi.org/10.1101/2024.06.02.597036

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

RNASeek: A Cross-Phyla Generative Foundation Model for Multipurpose RNA Modeling and Reinforcement Learning-Based Design

RNA plays central roles in regulating information flow and provides a versatile substrate for engineering biological functions. While large language models (LLMs) have transformed natural language processing and protein design, a general framework connecting RNA foundation models to functional sequence design remains limited. Here, we present RNASeek, a 1.6-billion-parameter generative foundation model built on a DeepSeek architecture and trained on a cross-phyla transcriptomic corpus for RNA sequence representation and generation. Natural-language tokens enable flexible conditional prediction and sequence design using a unified backbone. RNASeek captures species-specific transcript features and intron-exon boundaries in a zero-shot setting. We then fine-tune RNASeek to predict ribozyme self-cleavage activity and viral mRNA stability, revealing interpretable sequence features associated with function, including ribozyme loop flexibility and stem stability, as well as AU-rich motifs associated with mRNA stability. We use these functional predictors as reward models and apply Group Relative Policy Optimization (GRPO) to update the generation policy of RNASeek toward sequences with desired properties. GRPO-guided generation produces faster-cleaving ribozymes and stability-enhancing 3' UTRs while satisfying user-specified IUPAC constraints. Experimentally validated RNASeek-generated ribozymes achieve wild-type levels of activity, while RNASeek-generated 3' UTR sequences exceed the performance of the training data and benchmarked AI-generated 3' UTRs. Together, RNASeek establishes a unified pretrain-predict-optimize framework that connects learned RNA function to controllable de novo sequence design and provides a general strategy for engineering regulatory RNAs with desired properties.

bioengineering↗

Joint Vector Flow Mapping and Segmentation: Ill-Posedness,Differentiable Bayesian Inference, and Synthetic Vortex-FlowBenchmarks

Vector flow mapping (VFM) reconstructs left-ventricular (LV) blood velocity from color-Doppler echocardiography by combining the measured beamwise component with physical and regularizing constraints. Analysis of the discrete VFM formulation shows that the inverse problem is intrinsically ill posed: the occurrence of singular modes can be predicted from the geometry of the segmented blood-pool domain, the imposed boundary conditions, and the degree of smoothing. These modes can propagate uncertainty along entire transverse bands of the reconstructed velocity field, yet conventional VFM neither quantifies this uncertainty nor allows for correcting the blood-pool segmentation. We introduce Bayesian VFM (B--VFM), a hierarchical framework that jointly infers radial and transverse velocities, a probabilistic blood-pool mask, their spatially resolved uncertainties, and hyperparameters weighting Doppler and segmentation fidelity, mass conservation, boundary conditions, and smoothness. The discretized posterior admits a closed-form gradient and exact Hessian, enabling computationally efficient, gradient-based MAP estimation, sampling, and direct analysis of ill-posed modes. Posterior inference combines Gibbs sampling of conjugate Gamma-distributed hyperparameters with conditional maximum-a-posteriori estimation and a Laplace approximation for the high-dimensional velocity and mask fields. To accommodate systematic departures from planar mass conservation, B-VFM can learn the covariance of the planar divergence residual from an ensemble of flows and incorporate it as a structured model-discrepancy prior. Independent chains converged reproducibly, while covariance priors learned from flow ensembles illustrated how model discrepancies can be incorporated into the inference. B--VFM was evaluated using Lamb-Chaplygin dipoles under ideal conditions and with Doppler corruption, Doppler voids, and segmentation defects, and using the Hicks-Moffatt family of spherical vortices to assess violations of planar mass conservation. The method produced smooth reconstructions, localized uncertainty near unreliable measurements and regions of model inconsistency, and used flow information to correct segmentation errors. Within the tested vortex family, the data-informed planar divergence prior reduced velocity bias and mask distortion. B--VFM thus provides an uncertainty-aware reconstruction method and a flexible foundation for future VFM formulations incorporating additional priors, observations, and physical models. Future work will evaluate the method using clinical data and more complex three-dimensional benchmark flows.

bioengineering↗

Computational design of a versatile, zero-radius proximity labeling enzyme

The ability to map protein interactomes and organelle proteomes is foundational for achieving a molecular understanding of living cells. Proximity labeling (PL) provides a powerful strategy for this, but existing enzymes and photocatalysts are limited by their spatial resolution, reliance on biotin, and/or in vivo compatibility. Here we report FlexID, an engineered promiscuous ligase that catalyzes the rapid attachment of diverse small-molecule probes to proximal endogenous proteins. Critically, FlexID operates through a zero-radius, direct-contact mechanism, offering superior spatial precision compared to existing PL tools. We engineered FlexID by combining the strengths of sequence- and structure-trained computational models to enhance its catalytic activity and structural stability. Biophysical analysis revealed that specific conformational changes in FlexID improve its ability to recognize diverse target proteins while simultaneously preventing the premature release of the reactive intermediate. We demonstrate FlexID's versatility through in vivo proximity labeling, comprehensive organelle proteome mapping, and a high-throughput, fluorescence-based screen for molecular glues. Our work shows that computational methods can be harnessed to create mechanistically distinct PL enzymes and establishes FlexID as a flexible, high-resolution tool for mapping protein interactions and proteomes in living cells.

bioengineering↗