Update model card with Primus paper link and segmentation tag

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +49 -29
README.md CHANGED
@@ -1,18 +1,21 @@
1
  ---
2
- license: cc-by-4.0
3
  datasets:
4
  - AnonRes/OpenMind
5
- pipeline_tag: image-feature-extraction
 
6
  tags:
7
  - medical
8
  ---
9
 
10
- # OpenMind Benchmark 3D SSL Models
 
 
11
 
12
- > **Model from the paper**: [An OpenMind for 3D medical vision self-supervised learning](https://arxiv.org/abs/2412.17041)
13
- > **Pre-training codebase used to create checkpoint**: [MIC-DKFZ/nnssl](https://github.com/MIC-DKFZ/nnssl)
14
- > **Dataset**: [AnonRes/OpenMind](https://huggingface.co/datasets/AnonRes/OpenMind)
15
- > **Downstream (segmentation) fine-tuning**: [TaWald/nnUNet](https://github.com/TaWald/nnUNet)
 
16
 
17
  ---
18
 
@@ -20,33 +23,50 @@ tags:
20
 
21
  ## Overview
22
 
23
- This repository hosts pre-trained checkpoints from the **OpenMind** benchmark:
24
- 📄 **An OpenMind for 3D medical vision self-supervised learning** (Wald, T., Ulrich, C., Suprijadi, J., Ziegler, S., Nohel, M., Peretzke, R., ... & Maier-Hein, K. H. (2024).)
25
- ([arXiv:2412.17041](https://arxiv.org/abs/2412.17041)) — the first extensive benchmark study for **self-supervised learning (SSL)** on **3D medical imaging** data.
26
 
27
- Each model was pre-trained using a particular SSL method on the [OpenMind Dataset](https://huggingface.co/datasets/AnonRes/OpenMind), a large-scale, standardized collection of public brain MRI datasets.
28
 
29
- **These models are not recommended to be used as-is for feature extraction.** Instead we recommend using the downstream fine-tuning frameworks for **segmentation** and **classification** adaptation, available in the [adaptation repository](https://github.com/TaWald/nnUNet).
30
- *While manual download is possible, we recommend using the auto-download feature of the fine-tuning repository by providing the repository URL on Hugging Face instead of a local checkpoint path.*
31
-
32
- ---
33
 
34
  ## Model Variants
35
 
36
- We release SSL checkpoints for two backbone architectures:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
- - **ResEnc-L**: A CNN-based encoder [[a](https://arxiv.org/abs/2410.23132), [b](https://arxiv.org/abs/2404.09556)]
39
- - **Primus-M**: A transformer-based encoder [[Primus paper](https://arxiv.org/abs/2503.01835)]
40
 
41
- Each encoder has been pre-trained using one of the following SSL techniques:
 
 
 
 
 
 
42
 
43
- | Method | Description |
44
- |---------------|-------------|
45
- | [Volume Contrastive (VoCo)](https://arxiv.org/abs/2402.17300) | Contrastive pretraining method for 3D volumes |
46
- | [VolumeFusion (VF)](https://arxiv.org/abs/2306.16925) | Spatial volume fusion-based segmentation SSL method |
47
- | [Models Genesis (MG)](https://www.sciencedirect.com/science/article/pii/S1361841520302048) | Reconstruction and denoising based pretraining method |
48
- | [Masked Autoencoders (MAE)](https://openaccess.thecvf.com/content/CVPR2022/html/He_Masked_Autoencoders_Are_Scalable_Vision_Learners_CVPR_2022_paper) | Default reconstruction based pretraining method |
49
- | [Spark 3D (S3D)](https://arxiv.org/abs/2410.23132) | Sparse reconstruction based pretraining mehtod (CNN only) |
50
- | [SimMIM](https://openaccess.thecvf.com/content/CVPR2022/html/Xie_SimMIM_A_Simple_Framework_for_Masked_Image_Modeling_CVPR_2022_paper.html) | Simple masked reconstruction based pretraining method (TR only) |
51
- | [SwinUNETR SSL](https://arxiv.org/abs/2111.14791) | Rotation, Contrastive and Reconstruction based pre-training method. |
52
- | [SimCLR](https://arxiv.org/abs/2002.05709) | Transfer of 2D Contrastive learning baseline method to 3D |
 
1
  ---
 
2
  datasets:
3
  - AnonRes/OpenMind
4
+ license: cc-by-4.0
5
+ pipeline_tag: image-segmentation
6
  tags:
7
  - medical
8
  ---
9
 
10
+ # Primus: Enforcing Attention Usage for 3D Medical Image Segmentation
11
+
12
+ This repository hosts pre-trained checkpoints from the **OpenMind** benchmark, specifically for the **Primus-M** transformer-based encoder.
13
 
14
+ - **Paper**: [Primus: Enforcing Attention Usage for 3D Medical Image Segmentation](https://huggingface.co/papers/2503.01835)
15
+ - **SSL Benchmark Paper**: [An OpenMind for 3D medical vision self-supervised learning](https://huggingface.co/papers/2412.17041)
16
+ - **Pre-training Codebase**: [MIC-DKFZ/nnssl](https://github.com/MIC-DKFZ/nnssl)
17
+ - **Dataset**: [AnonRes/OpenMind](https://huggingface.co/datasets/AnonRes/OpenMind)
18
+ - **Downstream Fine-tuning Framework**: [nnU-Net](https://github.com/MIC-DKFZ/nnUNet)
19
 
20
  ---
21
 
 
23
 
24
  ## Overview
25
 
26
+ Primus and PrimusV2 are Transformer-centric segmentation architectures designed for 3D medical imaging. While traditional hybrid models often over-rely on convolutional blocks, Primus leverages high-resolution tokens and advanced block design to maximize the effectiveness of its Transformer layers. It achieves state-of-the-art performance across multiple public datasets, competing with or exceeding standard CNN-based models like ResEnc-L and MedNeXt.
 
 
27
 
28
+ Each model in this repository was pre-trained using a self-supervised learning (SSL) method on the [OpenMind Dataset](https://huggingface.co/datasets/AnonRes/OpenMind), a standardized collection of public brain MRI datasets.
29
 
30
+ **Note**: These models are intended to be used as backbones for downstream adaptation. We recommend using the [nnU-Net](https://github.com/MIC-DKFZ/nnUNet) framework for fine-tuning on segmentation and classification tasks.
 
 
 
31
 
32
  ## Model Variants
33
 
34
+ We release SSL checkpoints for the following transformer-based backbone:
35
+
36
+ - **Primus-M**: A transformer-centric encoder introduced in the Primus paper.
37
+
38
+ Pre-training techniques included in the benchmark:
39
+ - **Models Genesis (MG)**: Reconstruction and denoising based pre-training.
40
+ - **Masked Autoencoders (MAE)**: Reconstruction based pre-training.
41
+ - **SimMIM**: Simple masked reconstruction based pre-training.
42
+ - **Volume Contrastive (VoCo)**, **VolumeFusion (VF)**, **SimCLR**, and more.
43
+
44
+ ## Usage
45
+
46
+ The models are integrated into the `nnU-Net` framework. You can install it via pip:
47
+
48
+ ```bash
49
+ pip install nnunetv2
50
+ ```
51
+
52
+ For detailed instructions on training and inference, please refer to the [nnU-Net Primus documentation](https://github.com/MIC-DKFZ/nnUNet/blob/master/documentation/primus.md).
53
+
54
+ ## Citation
55
 
56
+ If you use this model, please cite the following papers:
 
57
 
58
+ ```bibtex
59
+ @article{wald2025primus,
60
+ title={Primus: Enforcing Attention Usage for 3D Medical Image Segmentation},
61
+ 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},
62
+ journal={arXiv preprint arXiv:2503.01835},
63
+ year={2025}
64
+ }
65
 
66
+ @article{wald2024openmind,
67
+ title={An OpenMind for 3D medical vision self-supervised learning},
68
+ author={Wald, Tassilo and Ulrich, Constantin and Suprijadi, J and Ziegler, Sebastian and Nohel, M and Peretzke, R and others},
69
+ journal={arXiv preprint arXiv:2412.17041},
70
+ year={2024}
71
+ }
72
+ ```