Swin MAE: Masked Autoencoders for Small Datasets

Zi'an Xu, Yin Dai, Fayu Liu, Weibing Chen, Yue Liu +3 more
12/28/2022
cs.CVcs.AI
transformer-attentioncontrastive-ssl

Official code: Zian-Xu/Swin-MAE (107 stars, Python, last commit 2025-07-07).

Abstract

The development of deep learning models in medical image analysis is majorly limited by the lack of large-sized and well-annotated datasets. Unsupervised learning does not require labels and is more suitable for solving medical image analysis problems.

Show full abstract

However, most of the current unsupervised learning methods need to be applied to large datasets. To make unsupervised learning applicable to small datasets, we proposed Swin MAE, which is a masked autoencoder with Swin Transformer as its backbone. Even on a dataset of only a few thousand medical images and without using any pre-trained models, Swin MAE is still able to learn useful semantic features purely from images. It can equal or even slightly outperform the supervised model obtained by Swin Transformer trained on ImageNet in terms of the transfer learning results of downstream tasks. The code is publicly available at https://github.com/Zian-Xu/Swin-MAE.

View on arXivView PDF

Code Implementations(1)

Zian-Xu/Swin-MAEOfficial100%

Pytorch implementation of Swin MAE https://arxiv.org/abs/2212.13805

10725PythonDec 30, 20221 years agoNOASSERTION

Similar Papers

Cite this paper

@article{xu2022swin,
  title  = {Swin MAE: Masked Autoencoders for Small Datasets},
  author = {Zi'an Xu and Yin Dai and Fayu Liu and Weibing Chen and Yue Liu and Lifu Shi and Sheng Liu and Yuhang Zhou},
  year   = {2022},
  eprint = {2212.13805},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.13805}
}

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/2212.13805.svg)](https://codeofpaper.com/paper/2212.13805)

Discussion