AnatoMask: Enhancing Medical Image Segmentation with Reconstruction-guided Self-masking

Yuheng Li, Tianyu Luan, Yizhou Wu, Shaoyan Pan, Yenho Chen +1 more
2/14/2026

No official code found. Best implementation: ricklisz/AnatoMask (37 stars, MIT, last commit 2024-09-23).

Abstract

Due to the scarcity of labeled data, self-supervised learning (SSL) has gained much attention in 3D medical image segmentation, by extracting semantic representations from unlabeled data. Among SSL strategies, Masked image modeling (MIM) has shown effectiveness by reconstructing randomly masked images to learn detailed representations. However, conventional MIM methods require extensive training data to achieve good performance, which still poses a challenge for medical imaging. Since random masking uniformly samples all regions within medical images, it may overlook crucial anatomical regions and thus degrade the pretraining efficiency. We propose AnatoMask, a novel MIM method that leverages reconstruction loss to dynamically identify and mask out anatomically significant regions to improve pretraining efficacy. AnatoMask takes a self-distillation approach, where the model learns both how to find more significant regions to mask and how to reconstruct these masked regions. To avoid suboptimal learning, Anatomask adjusts the pretraining difficulty progressively using a masking dynamics function. We have evaluated our method on 4 public datasets with multiple imaging modalities (CT, MRI, and PET). AnatoMask demonstrates superior performance and scalability compared to existing SSL methods. The code is available at https://github.com/ricklisz/AnatoMask.

View on arXivView PDF

Code Implementations(1)

ricklisz/AnatoMaskCommunity100%
MIT

[ECCV2024] AnatoMask: Enhancing Medical Image Segmentation with Reconstruction-guided Self-masking. Official Pytorch Implementation of AnatoMask.

375Shell, PythonJul 8, 20242 years agoMIT

Similar Papers

Cite this paper

@article{li2026anatomask,
  title  = {AnatoMask: Enhancing Medical Image Segmentation with Reconstruction-guided Self-masking},
  author = {Yuheng Li and Tianyu Luan and Yizhou Wu and Shaoyan Pan and Yenho Chen and Xiaofeng Yang},
  year   = {2026},
  eprint = {2407.06468},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.06468},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.06468.svg)](https://codeofpaper.com/paper/2407.06468)

Discussion