PrimusM-MAE
Copyright German Cancer Research Center (DKFZ) and contributors. Please make sure that your usage of these models is in compliance with their license.
PrimusM-MAE is a 3D Primus vision transformer for radiological volumes,
pre-trained as a masked autoencoder (MAE) with the nnssl
self-supervised learning framework. It is the Primus vision encoder of
Resolution Meets Reduction (RMR), where its patch tokens are
the visual input of 3D radiology report generation (Primus-1B and Primus-4B).
Model
| Architecture | Details | Params |
|---|---|---|
| Primus (Primus-M size) | 16 layers, embedding dim 864, 12 heads, 8³ patch tokens, no layer scale | 205M (encoder: 156M) |
The checkpoint holds the full MAE network: the encoder (down_projection, eva) and the
pre-training decoder (4 layers, 12 heads).
No layer scale. The encoder has the size of the
PrimusMpreset ofdynamic_network_architectures, but was trained without layer scale (init_values: null) and without the inner attention norm (scale_attn_inner: false). Building thePrimusMpreset therefore fails to load these weights. BuildPrimuswith the kwargs ofadaptation_plan.jsoninstead, as the nnU-Net and image_classification fine-tuning code does.
Pre-training
| Objective | Masked autoencoder (MAE) |
| Data | 2.2M volumes |
| Input | 192 × 192 × 192 patches, z-score normalised, no resampling |
Usage
This repository has the same file layout and checkpoint format as
nnFoundationViT: see there for the repository
contents, the checkpoint format, and fine-tuning with nnU-Net and the other downstream
repositories. Pass MIC-DKFZ/PrimusM-MAE wherever those instructions use the nnFoundationViT
repository.
For report generation, the RMR code loads the encoder with
PrimusEncoder and generates reports for NIfTI volumes.
Expected input
Single-channel 3D volumes, Z-score normalised, with no resampling. Recommended downstream patch size: 192 × 192 × 192.
Citation
If you use these weights, please cite RMR:
RMR BibTeX
@misc{suprijadi2026resolutionmeetsreduction,
title = {Resolution Meets Reduction: Efficient Visual Context for 3D Radiology Report Generation},
author = {Suprijadi, Jonathan and Stock, Raphael and Langenberg, Moritz
and Zimmerer, David and Kahl, Kim-Celine and Denner, Stefan
and Kirchhoff, Yannick and Gotkowski, Karol and Rokuss, Maximilian
and Traub, Jeremias and Wald, Tassilo and Ulrich, Constantin
and Maier-Hein, Klaus},
year = {2026},
eprint = {2608.08713},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2608.08713}
}
For the Primus architecture, please cite:
Primus BibTeX
@misc{wald2026primusenforcingattentionusage,
title = {Primus: Enforcing Attention Usage for 3D Medical Image Segmentation},
author = {Wald, Tassilo and Roy, Saikat and Isensee, Fabian and Ulrich, Constantin
and Ziegler, Sebastian and Trofimova, Dasha and Stock, Raphael
and Baumgartner, Michael and Köhler, Gregor and Maier-Hein, Klaus},
year = {2026},
eprint = {2503.01835},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2503.01835}
}
For the nnssl framework, please cite:
OpenMind BibTeX
@InProceedings{Wald_2025_ICCV,
author = {Wald, Tassilo and Ulrich, Constantin and Suprijadi, Jonathan and Ziegler, Sebastian and Nohel, Michal and Peretzke, Robin and Kohler, Gregor and Maier-Hein, Klaus},
title = {An OpenMind for 3D Medical Vision Self-supervised Learning},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
month = {October},
year = {2025},
pages = {23839-23879}
}
- Downloads last month
- 14