TL;DR
MASS (MAsk-guided Self-Supervised learning) is a novel self-supervised framework for 3D medical imaging that uses in-context segmentation as a pretext task. By training on thousands of automatically generated, class-agnostic masks, MASS learns semantically rich and spatially precise representations without requiring any expert human annotations.
What Problem Does This Paper Address?
While large-scale self-supervised learning (SSL) has revolutionized natural language processing and computer vision through foundation models like GPT and DINO, 3D medical imaging has lagged behind. Existing medical SSL methods typically rely on low-level pixel reconstruction (which over-indexes on local textures) or global contrastive objectives (which lose local spatial precision).
In medical imaging, spatial precision and local semantics are critical—a clinician needs to know exactly what a structure is and where it is located (e.g., distinguishing a 2 cm tumor from a 5 cm mass). Supervised pretraining works well but is bottlenecked by the immense cost, expertise, and time required to produce pixel-level human annotations. The authors introduce MASS to bridge this gap, creating a scalable pretraining objective that captures dense, clinically meaningful semantics entirely annotation-free.
Methods
MASS reframes self-supervised pretraining as an in-context segmentation (ICS) task, consisting of three main steps:
- Annotation-Free Mask Generation: The authors leverage SAM2 (Segment Anything Model 2) in an automatic mode to generate hundreds to thousands of class-agnostic mask proposals per 3D volume. This is done by segmenting 2D slices and propagating them across the 3D volume. Though unlabeled and noisy, these masks successfully capture structural boundaries.
- In-Context Segmentation Pretext Task: During training, the model is presented with a reference image-mask pair $(x_s, y_s)$ and a query image $x_q$. The reference mask implicitly defines the target structure. The model extracts a task embedding from the reference view and uses it to guide a decoder to predict the corresponding mask $\hat{y}_q$ in the query view.
- Learning Semantics via Invariance: By applying radical appearance augmentations (brightness, contrast, noise, blur) and spatial transformations (rotation, scaling) to the query and reference views, the model is prevented from using simple shortcuts like intensity matching or absolute positioning. To succeed, it must learn the underlying, invariant semantic identity of the anatomical structures.
Datasets
The framework was evaluated across multiple data regimes:
- Small-Scale Pretraining & Few-Shot Segmentation: Evaluated on BCV (abdomen CT, 13 organs), AMOS MR (abdomen MRI, 13 organs), SS H&N (head-neck CT, 22 organs), and KiTS (kidney tumor CT).
- Large-Scale Multi-Modal Pretraining: A heterogeneous corpus of approximately 5,000 3D volumes from 12 datasets spanning CT, MRI, and PET modalities.
- Out-of-Distribution Evaluation: BraTS T1CE (brain tumor MRI), ACDC (cardiac MRI), and Pelvic CT.
- Downstream Classification: RSNA ICH (15,220 brain CT scans for intracranial hemorrhage) and RSNA Trauma Detection (~3,000 scans each for liver, kidney, and spleen trauma).
Key Insights and Ideas
- Segmentation as the Ideal Pretext Task: Clinicians naturally reason by identifying what an object is and where it is located. Aligning the SSL pretext task with this clinical intuition forces the network to learn features that naturally transfer to downstream clinical applications.
- The Power of Imperfect Supervision: Remarkably, the automatically generated masks have very low overlap with true expert annotations (e.g., only a 15.2% average Dice overlap on BCV). However, training on thousands of these "approximately correct" masks allows the model to learn fundamental compositional primitives (boundaries, textures, spatial context) that generalize robustly.
- Diversity Beats Raw Volume: Scaling analysis demonstrated that expanding data diversity across anatomical regions and modalities (e.g., moving from abdominal CT to whole-body multi-modal data) drives significantly larger performance gains than simply adding more data from a single domain.
Key Results
- Strong Few-Shot Segmentation: With just 10 labeled training shots, MASS with finetuning (MASS-FT) matches full supervision performance on anatomical datasets, outperforming standard SSL baselines by over 20 Dice points in extreme low-data settings.
- Training-Free Inference: MASS-IC (In-Context) can perform segmentation directly on novel structures without any parameter updates, outperforming fully finetuned baselines in 1-shot settings on BCV, AMOS MR, and SS H&N.
- Broad Generalization to Classification: When evaluating a frozen encoder on entirely unseen pathologies (RSNA ICH and Trauma), MASS achieves state-of-the-art results. Remarkably, with only 5% of the RSNA ICH data, MASS's frozen encoder (75.4% AUC) outperforms training a model from scratch (72.8% AUC).
Limitations and Future Work
- Exclusion of Expert Annotations: To strictly validate the self-supervised paradigm, the authors completely excluded expert-annotated masks during pretraining. Future work could explore the potential synergy of combining weak, auto-generated masks with high-quality expert labels.
- Multimodal Scaling: The authors suggest scaling to even larger datasets and incorporating vision-language alignment (e.g., pairing 3D volumes with radiology reports) to pave the way toward comprehensive 3D medical imaging foundation models capable of automated report generation.
Summary updated