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, Leander Maerkisch, Paul F Jaeger, Klaus Maier-Hein · Submission to ICLR 2025 · Withdrawn

TL;DR

While self-supervised learning (SSL) has reshaped computer vision and NLP, its impact on 3D medical image segmentation has lagged behind due to small pre-training datasets, non-competitive architectures, and weak baselines. This paper adapts the Masked Autoencoder (MAE) framework to state-of-the-art 3D Convolutional Neural Networks (CNNs) trained on nearly 40,000 brain MRIs. The resulting model consistently outperforms prior medical SSL baselines and surpasses the gold-standard nnU-Net baseline by approximately 2–3 Dice points across diverse downstream tasks.

What Problem Does This Paper Address?

In 3D medical imaging, labeled data is rare and expensive to obtain, making self-supervised pre-training an attractive paradigm. However, the medical domain still defaults to training models from scratch (typically with the well-tuned nnU-Net framework) or using supervised pre-training.

The authors argue that prior 3D SSL literature suffers from three critical pitfalls:

  1. Limited Dataset Scale: Most existing methods pre-train on fewer than 10,000 scans—often pooled from small public datasets.
  2. Suboptimal Model Backbones: Many medical SSL works use vision transformers, despite well-configured 3D CNNs consistently beating transformers in 3D medical segmentation benchmarks.
  3. Flawed Evaluation: Prior papers frequently test on too few datasets, compare against outdated 3D U-Net baselines rather than optimized nnU-Net setups, or evaluate on images seen during pre-training.

Methods

The authors build Spark3D (S3D) by adapting the sparse Masked Autoencoder concept to 3D CNNs within the nnU-Net framework:

  • Sparsified 3D Residual U-Net (ResEnc U-Net): To let CNNs handle masked inputs properly (since standard convolutions cannot skip masked voxels like vision transformers can), the authors incorporate sparse convolutions and masked normalization. They insert learnable mask tokens into occluded regions before the decoder and apply a $3\times3\times3$ densification convolution layer between the encoder and decoder.
  • Bottleneck Masking: Instead of pixel-level masking, patches are masked at a $5\times5\times5$ bottleneck scale (corresponding to $32\times32\times32$ voxel blocks in input space), using a dynamic masking ratio uniformly sampled between 60% and 90%.
  • Carefully Scheduled Fine-Tuning: The authors systematically ablate transfer recipes. They find that applying learning rate warm-ups (for both encoder and decoder), lowering the peak learning rate ($1\times10^{-3}$ vs. $1\times10^{-2}$), and keeping the encoder unfrozen are critical for optimal transfer.
  • Multi-Channel Weight Replication: For downstream tasks with multiple MR modalities, replicating the pre-trained stem weights across all channels and temporarily freezing them during decoder warm-up yields the best stability.
Input 3D MRI (160³) ──> Random Block Masking (60–90%) 
                      ──> Sparse 3D ResEnc CNN Encoder 
                      ──> Densification Conv + Learnable Mask Tokens 
                      ──> Light Decoder ──> Reconstruct Masked Voxels (L2 Loss)

Datasets

  • Pre-training: A private clinical collection of 39,168 3D brain MRI scans (curated from 44,000 scans across 44 clinical centers, 10+ scanner models, and 9,000+ patients) spanning T1, T2, T1 FLAIR, and T2 FLAIR sequences.
  • Development Pool (5 datasets): MS FLAIR (D1), Brain Metastases (D2), Hippocampus (D3), ATLAS 2.0 stroke lesions (D4), and CrossMoDA vestibular schwannoma (D5).
  • Held-out Test Pool (8 datasets): Cosmos carotid wall (D6), HaNSeg organs-at-risk (D7), ISLES 2022 stroke (D8), HNTS-MRG24 head & neck cancer (D9), BraTS Africa gliomas (D10), proprietary T2 Brain Aneurysms (D11), proprietary TOF-MRA Aneurysms (D12; unseen modality test), and BraTS Metastases (D13; cross-center generalization test).

Key Insights and Ideas

  • Masked Modeling Beats Contrastive and Inpainting SSL for CNNs: S3D consistently ranked ahead of contrastive volume learning (VoCo) and pseudo-segmentation (VolumeFusion). Even classic Models Genesis (which also relies on image restoration) outperformed newer transformer-tailored SSL baselines.
  • Freezing Encoders Hurts: Unlike some 2D vision benchmarks where linear probing or frozen backbones perform well, freezing the encoder during downstream 3D segmentation significantly degrades performance. End-to-end fine-tuning with a dedicated warm-up stage is mandatory.
  • Scaling Training Steps Yields Diminishing Returns: Scaling pre-training compute by $32\times$ (1M iterations with batch size 48 in S3D-L vs. 250k steps in S3D-B) only improved downstream performance by 0.1 Dice points. Performance plateaued around 250k steps.
  • Data Efficiency in Low-Data Regimes: With just 40 annotated training cases, fine-tuning S3D-B matched the performance of training the standard architecture from scratch on the entire training set.

Key Results

  • Top Overall Performance: Across the 11 downstream test evaluations, S3D-Base achieved an average Dice Similarity Coefficient (DSC) of 72.37 and Normalized Surface Distance (NSD) of 85.58, outperforming:
  • From-scratch fixed nnU-Net baseline: 70.40 DSC / 84.08 NSD
  • Dynamic from-scratch nnU-Net: 69.40 DSC / 82.04 NSD
  • Models Genesis (MG): 71.83 DSC / 84.95 NSD
  • VolumeFusion (VF): 70.94 DSC / 84.17 NSD
  • VoCo: 69.41 DSC / 82.39 NSD
  • Ranking Stability: S3D-Base earned an average rank of 2.00 across all benchmarked methods (compared to 3.18 for Models Genesis, 4.36 for VolumeFusion, and 4.55 for the fixed from-scratch baseline).
  • Cross-Center Robustness: When trained on Stanford brain metastases (D2) and tested zero-shot on BraTS Mets (D13), S3D-Base and S3D-Large yielded the highest generalization scores (64.54 and 64.95 DSC, respectively).

Limitations and Future Work

  • Compute vs. Scaling Saturation: Longer training times and larger batch sizes failed to provide meaningful gains. Future work must investigate whether scaling parameter count or pre-training dataset volume unlocks further gains.
  • Unseen Modalities with Spacing Mismatches: On high-resolution time-of-flight (TOF) MR angiography (D12), resampling from native sub-millimeter spacing to the fixed $1\times1\times1\text{ mm}^3$ pre-training resolution caused a drop in aneurysm detection performance.
  • Intensity Shifts: Models Genesis handled unseen MRI sequences better than pure MAEs due to its nonlinear intensity augmentations. Integrating intensity transformations with masked autoencoding could provide stronger out-of-distribution robustness.

Summary updated

BibTeX
@inproceedings{wald2025revisiting,
  author = {Tassilo Wald and Constantin Ulrich and Stanislav Lukyanenko and Andrei Goncharov and Alberto Paderno and Leander Maerkisch and Paul F Jaeger 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