NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Revisiting MAE pre-training for 3D medical image segmentation

Tassilo Wald, Constantin Ulrich, Stanislav Lukyanenko, Andrei Goncharov, Alberto Paderno, Maximilian Miller, Leander Maerkisch, Paul F. Jäger, Klaus Maier-Hein

TL;DR

Self-Supervised Learning (SSL) via Masked Autoencoders (MAEs) has historically struggled to outperform highly optimized from-scratch baselines in 3D medical image segmentation. This paper introduces Spark3D (S3D), a meticulously configured MAE framework tailored for 3D CNNs and trained on over 39,000 brain MRI volumes. Spark3D consistently shatters previous benchmarks, outperforming the state-of-the-art nnU-Net baseline by an average of 3 Dice points across 11 diverse datasets.

What Problem Does This Paper Address?

While Self-Supervised Learning has revolutionized natural language processing and 2D computer vision, its adoption in 3D medical image segmentation has lagged. Most medical imaging pipelines still rely on training models entirely from scratch. The authors identify three major pitfalls in previous medical SSL research that explain this stagnation:

  1. Limited Dataset Size (P1): Most existing medical SSL methods are pre-trained on fewer than 10,000 unlabelled volumes, failing to capture the data diversity needed for robust representations.
  2. Outdated Backbones (P2): Many studies force-fit Vision Transformers (ViTs) into their architectures, even though well-configured 3D Convolutional Neural Networks (CNNs) consistently dominate 3D medical image segmentation.
  3. Insufficient Evaluation (P3): Novel methods are frequently tested on too few datasets or compared against weak, poorly configured baselines, masking their true real-world utility.

This paper systematically addresses these pitfalls to unlock the true potential of MAE pre-training for 3D medical imaging.

Methods

The authors revisit the simple concept of Masked Autoencoders—where a network learns by reconstructing intentionally blurry or missing parts of an image—and optimize it for 3D CNNs. They utilize a state-of-the-art Residual Encoder U-Net (ResEnc U-Net) within the popular nnU-Net framework.

To make standard CNNs resilient to the structural disruption caused by masking, they implement three critical sparsification techniques:

  • Sparse Convolutions and Normalization: Convolutions and normalization layers are modified to completely ignore masked-out voxels, preventing corrupted boundary data from bleeding into the features.
  • Mask Tokens: Masked regions are filled with a learnable token to simplify the decoder's reconstruction task.
  • Densification Convolutions: Multi-resolution [3x3x3] convolutions are applied right before the decoder to prepare the feature maps for high-fidelity reconstruction.

For the masking strategy, they sample randomly from the network's bottleneck to create non-overlapping $[32 \times 32 \times 32]$ voxel blocks, utilizing a dynamic masking ratio that fluctuates randomly between 60% and 90%.

Datasets

  • Pre-training: The primary model was trained on a massive proprietary dataset of 39,168 3D brain MRI volumes (including T1, T2, and FLAIR modalities) collected from 8,400 patients across 44 clinical centers. To support open science, the authors also retrained and released weights using the public ABCD dataset (~41,000 scans).
  • Downstream Evaluation: The model's generalization was rigorously tested across an unprecedented suite of 11 distinct datasets (5 for development/ablation and 8 for final hold-out testing). These datasets cover diverse pathologies and structures, including multiple sclerosis lesions (MS FLAIR), brain metastases (Brain Mets), stroke lesions (ISLES22), and aneurysms (T2 Aneurysms).

Key Insights and Ideas

  • CNNs Still Rule 3D Medical Imaging: Instead of abandoning CNNs for transformers to do MAE, adapting the MAE paradigm to fit native 3D CNN architectures yields massive performance leaps.
  • Fine-Tuning is a Delicate Art: Simply copying pre-trained weights and training normally can destroy learned features. The authors discovered that a two-stage learning rate warm-up for both the encoder and decoder, combined with a lower peak learning rate ($1e-3$), is vital to successfully transferring the pre-trained knowledge.
  • More Pre-training Isn't Always Better: Surprisingly, extending the pre-training schedule past 250k steps (up to 1M steps) actually degraded downstream performance. This suggests a unique saturation point or overfitting hazard inherent to medical imaging volumes.
  • Incredible Low-Data Efficiency: In a simulated data-scarce environment, Spark3D proved exceptionally powerful. Fine-tuning the model with just 40 labeled images yielded segmentation performance nearly identical to training a model from scratch on the entire dataset.

Key Results

Spark3D (S3D) achieved state-of-the-art performance, consistently outperforming previous SSL methods (such as Models Genesis, VolumeFusion, and VoCo) as well as highly optimized from-scratch baselines.

Across all 11 test datasets, Spark3D improved the Average Dice Similarity Coefficient (DSC) by ~3 points over the dynamic nnU-Net baseline. It also demonstrated remarkable ranking stability across different scanner manufacturers and clinical centers.

Figure 1. Well-configured MAE pre-training for CNNs is state- of-the-art. When comparing our MAE pre-trained model on all eleven test Datasets, Spark3D achieves almost +3 DSC points compared to the strong nnU-Net baseline and outperforms current SSL methods.

Limitations and Future Work

  • Anatomical and Modality Restrictions: The pre-training dataset was exclusively focused on head and neck/brain MRI scans. Expanding this framework to encompass full-body scans or other major modalities like CT will require substantially more data and architectural tuning.
  • Data Curation Challenges: Raw clinical datasets often contain non-diagnostic scans (e.g., scanner calibration sequences) that can dilute pre-training efficacy. While basic filtering was used here, developing automated, sophisticated data-cleaning pipelines remains an important next step.
  • The Saturation Paradox: Future work is needed to theoretically explore why longer training schedules degrade performance, an effect counter to what is typically observed in natural image processing.

Summary updated

BibTeX
@inproceedings{wald2025revisiting,
  author = {Tassilo Wald and Constantin Ulrich and Stanislav Lukyanenko and Andrei Goncharov and Alberto Paderno and Maximilian Miller and Leander Maerkisch and Paul F. Jäger and Klaus Maier-Hein},
  title = {{Revisiting MAE pre-training for 3D medical image segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00489},
}
Figure