Abstract
Masked Image Modeling (MIM) has emerged as a powerful paradigm for self-supervised learning (SSL) in computer vision. However, its application to 3D medical imaging is often hindered by the inefficiency of random masking, which treats semantically sparse background voxels with the same priority as complex anatomical structures. We present AnatoMask, a novel SSL framework that utilizes reconstruction-guided self-masking to focus learning on anatomically significant regions. By employing a teacher-student distillation setup where the teacher identifies high-entropy regions through reconstruction loss, AnatoMask creates a dynamic, easy-to-hard curriculum. Our results demonstrate that AnatoMask significantly outperforms existing SSL methods, achieving a Dice Coefficient (DSC) of 89.0% when scaled to a 1.5-billion parameter backbone, while exhibiting robust transferability across CT, MRI, and PET modalities.
Introduction
Self-supervised learning has revolutionized the ability to leverage large-scale unlabeled datasets. In the medical domain, where expert annotations are scarce and expensive, MIM techniques—which involve hiding portions of an image and tasking a model with their reconstruction—have shown great promise. Despite this, standard MIM approaches typically rely on random masking. In 3D medical scans like CT or MRI, large volumes of the data consist of air, fluid, or uniform tissue. Randomly masking these "easy" regions provides little signal for the model to learn complex spatial representations, leading to inefficient pretraining.
AnatoMask addresses this "anatomy gap" by moving away from uniform sampling. It introduces a mechanism to identify and prioritize the reconstruction of complex anatomical structures, ensuring that the model's capacity is spent on the most informative parts of the medical volume.
Methodology
AnatoMask is built upon a self-distillation framework consisting of a Student and a Teacher network. The Teacher’s weights are updated as an Exponential Moving Average (EMA) of the Student’s weights, providing a stable yet evolving target for the learning process.
Reconstruction-Guided Masking
The core innovation of AnatoMask lies in how it selects regions to mask. The Teacher network attempts to reconstruct a randomly masked version of the input. The framework calculates the reconstruction loss for each patch; regions with high loss are interpreted as containing high-entropy, complex anatomical information that the model has not yet mastered. These areas are flagged as "anatomically significant."
Dynamic Curriculum Learning
To ensure training stability, AnatoMask employs a masking dynamics function. Early in the training phase, the masking is predominantly random to allow the model to learn basic global features. As training progresses, the ratio of anatomically significant masks increases. This creates an "easy-to-hard" curriculum, where the Student is increasingly challenged to reconstruct the most difficult and semantically dense portions of the anatomy.
Hierarchical Architecture
Unlike standard MIM decoders that often use simple linear layers, AnatoMask utilizes a hierarchical U-Net style encoder-decoder based on the STU-Net architecture. This design is specifically optimized for 3D medical data, allowing the model to capture multi-scale spatial features essential for precise organ and lesion segmentation.
Experimental Results
AnatoMask was evaluated across several major benchmarks, including TotalSegmentator (1,204 CT images), FLARE22, AMOS22 (CT and MRI), and AutoPETII (PET/CT).
Performance and Scaling
AnatoMask consistently outperformed supervised baselines and state-of-the-art SSL methods such as SparK and UniMiSS. On the TotalSegmentator dataset, the base model (STU-Net-B) achieved a DSC of 84.3%, a 2.1% improvement over UniMiSS. A key finding was the framework's scalability: when using the 1.5-billion parameter STU-Net-H backbone, the model reached a DSC of 89.0%, demonstrating that the reconstruction-guided strategy effectively utilizes increased model capacity.
Cross-Modality Transferability
Although primarily pretrained on CT data, AnatoMask showed exceptional transferability. When fine-tuned on MRI (AMOS22) and PET (AutoPETII) datasets, the model maintained its performance edge. This suggests that the self-masking strategy encourages the learning of fundamental anatomical representations that are not strictly tied to a single imaging modality.
Training Efficiency
Comparative analysis shows that AnatoMask reaches higher accuracy levels with significantly less training data than random masking approaches. By focusing on high-entropy regions, the model avoids the "plateau" effect often seen when SSL models spend excessive cycles on uninformative background voxels.
Conclusion
AnatoMask represents a significant step forward in self-supervised medical image analysis. By replacing random masking with a reconstruction-guided, anatomically aware strategy, the framework achieves superior segmentation performance and better data efficiency. Future work will focus on expanding pretraining to multi-modal datasets and exploring the application of this technique to fine-grained tasks such as vessel and small-tumor segmentation.
Summary updated