# SimMIM: A Simple Framework for Masked Image Modeling

Source: [SimMIM: A Simple Framework for Masked Image Modeling](<https://www.sota2.com/research/paper/68fa6c5b1e209131cea33891>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T04:13:12.109Z

Authors: Zhenda Xie, Zheng Zhang, Yue Cao, Yutong Lin, Jianmin Bao, Zhuliang Yao, Qi Dai, Han Hu

Published: 2021-11-18T18:59:45.000Z

## Abstract

This paper presents SimMIM, a simple framework for masked image modeling. We simplify recently proposed related approaches without special designs such as block-wise masking and tokenization via discrete VAE or clustering. To study what let the masked image modeling task learn good representations, we systematically study the major components in our framework, and find that simple designs of each component have revealed very strong representation learning performance: 1) random masking of the input image with a moderately large masked patch size (e.g., 32) makes a strong pre-text task; 2) predicting raw pixels of RGB values by direct regression performs no worse than the patch classification approaches with complex designs; 3) the prediction head can be as light as a linear layer, with no worse performance than heavier ones. Using ViT-B, our approach achieves 83.8% top-1 fine-tuning accuracy on ImageNet-1K by pre-training also on this dataset, surpassing previous best approach by +0.6%. When applied on a larger model of about 650 million parameters, SwinV2-H, it achieves 87.1% top-1 accuracy on ImageNet-1K using only ImageNet-1K data. We also leverage this approach to facilitate the training of a 3B model (SwinV2-G), that by $40\\times$ less data than that in previous practice, we achieve the state-of-the-art on four representative vision benchmarks. The code and models will be publicly available at https://github.com/microsoft/SimMIM.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Object Detection on FD-Dataset](<https://www.sota2.com/research/sota/object-detection-on-fd-dataset.md>): Object Detection; FD Dataset; mAP@.5: 91.1.

- [Image Classification on ImageNet-1K (val) (Top-1 Score)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-top-1-score.md>): Image Classification; ImageNet-1k (val); Top-1 Acc: 90.2.

- [Object Detection on Casting Billet](<https://www.sota2.com/research/sota/object-detection-on-casting-billet.md>): Object Detection; Casting Billet; mAP@.5: 78.3.

- [Classification on ADNI 23 (test)](<https://www.sota2.com/research/sota/classification-on-adni-23-test.md>): Classification; ADNI 23 (test); Accuracy: 0.6218.

- [Brain Tumor Segmentation on BraTS 21](<https://www.sota2.com/research/sota/brain-tumor-segmentation-on-brats-21.md>): Brain Tumor Segmentation; BraTS 21; Dice TC: 84.06.

- [Classification on VinDr-CXR (test)](<https://www.sota2.com/research/sota/classification-on-vindr-cxr-test.md>): Classification; VinDr-CXR (test); AUROC: 92.81.

- [Classification on ShenZhen (test)](<https://www.sota2.com/research/sota/classification-on-shenzhen-test.md>): Classification; ShenZhen (test); AUROC: 98.09.

- [Classification on ChestX-ray14 (test)](<https://www.sota2.com/research/sota/classification-on-chestx-ray14-test.md>): Classification; ChestX-Ray14 (test); AUROC: 0.8304.

- [Few-shot learning on MedFMC-ChestDR (test)](<https://www.sota2.com/research/sota/few-shot-learning-on-medfmc-chestdr-test.md>): Few-shot Learning; MedFMC-ChestDR (test); AUROC: 0.7442.

- [Image Classification on ImageNet-1K 100% labels (train)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-100-percent-labels-train.md>): Image Classification; ImageNet-1K 100% labels (train); Top-1 Accuracy: 83.8.

- [Segmentation on SIIM-ACR (test)](<https://www.sota2.com/research/sota/segmentation-on-siim-acr-test.md>): Segmentation; SIIM-ACR (test); Dice Score: 82.89.

- [Segmentation on RSNA SEG (test)](<https://www.sota2.com/research/sota/segmentation-on-rsna-seg-test.md>): Segmentation; RSNA SEG (test); Dice Score: 78.31.

- [Object Detection on Steel Pipe](<https://www.sota2.com/research/sota/object-detection-on-steel-pipe.md>): Object Detection; Steel Pipe; mAP@0.5: 77.5.

- [Object Detection on GC10-Det](<https://www.sota2.com/research/sota/object-detection-on-gc10-det.md>): Object Detection; GC10-Det; mAP@.5: 63.4.

- [Image Classification on Imagenette (top-1 and top-5)](<https://www.sota2.com/research/sota/image-classification-on-imagenette-top-1-and-top-5.md>): Image Classification; Imagenette; Top-1 Accuracy: 51.44.

- [Object Detection on Casting Billet Mini50](<https://www.sota2.com/research/sota/object-detection-on-casting-billet-mini50.md>): Object Detection; Casting Billet Mini50; mAP@.5: 15.3.

- [Image Classification on ImageNet 1K (val) (FT, Linear, and Attentive Probing Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-ft-linear-and-attentive-probing-accuracy.md>): Image Classification; ImageNet-1k (val); FT Top-1 Acc: 83.8.

- [Vessel Segment Segmentation on ARCADE-VS (test)](<https://www.sota2.com/research/sota/vessel-segment-segmentation-on-arcade-vs-test.md>): Vessel Segment Segmentation; ARCADE-VS (test); DSC: 55.17.

- [Object Detection on COCO](<https://www.sota2.com/research/sota/object-detection-on-coco.md>): Object Detection; COCO; AP (Box): 54.4.

- [Object Detection on GC10 Mini](<https://www.sota2.com/research/sota/object-detection-on-gc10-mini.md>): Object Detection; GC10 Mini; mAP@.5: 51.

- [Classification on BraTS 2018 (test)](<https://www.sota2.com/research/sota/classification-on-brats-2018-test.md>): Classification; BraTS 2018 (test); ACC: 73.68.

- [Sleep Stage Classification on SHHS](<https://www.sota2.com/research/sota/sleep-stage-classification-on-shhs.md>): Sleep Stage Classification; SHHS; F1 Weighted: 84.94.

- [Few-Shot Segmentation on BraTS 2021](<https://www.sota2.com/research/sota/few-shot-segmentation-on-brats-2021.md>): Segmentation; BraTS 21; Performance (1-shot): 52.39.

- [Vessel Segmentation on ARCADE-V (test)](<https://www.sota2.com/research/sota/vessel-segmentation-on-arcade-v-test.md>): Vessel segmentation; ARCADE-V (test); DSC: 77.81.

- [Stenosis Segmentation on ARCADE-S (test)](<https://www.sota2.com/research/sota/stenosis-segmentation-on-arcade-s-test.md>): Stenosis Segmentation; ARCADE-S (test); DSC (%): 47.63.

- [Classification on PLGC](<https://www.sota2.com/research/sota/classification-on-plgc.md>): Classification; PLGC; Accuracy: 94.17.

- [Classification on ADHD-200 11 (test)](<https://www.sota2.com/research/sota/classification-on-adhd-200-11-test.md>): Classification; ADHD-200 11 (test); Accuracy: 62.34.

- [Segmentation on AMOS (Sampling Metrics)](<https://www.sota2.com/research/sota/segmentation-on-amos-sampling-metrics.md>): Segmentation; AMOS; 1-shot Score: 57.82.

- [Image Classification on ImageNet 1K (train val)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-train-val.md>): Image Classification; ImageNet 1K (train val); Top-1 Accuracy: 85.6.

- [Classification on CheXpert (test)](<https://www.sota2.com/research/sota/classification-on-chexpert-test.md>): Classification; CheXpert (test); AUC ROC: 89.14.

- [Vessel Segmentation on CAXF (test)](<https://www.sota2.com/research/sota/vessel-segmentation-on-caxf-test.md>): Vessel segmentation; CAXF (test); DSC: 88.02.

- [Sleep Stage Classification on ISRUC-Sleep](<https://www.sota2.com/research/sota/sleep-stage-classification-on-isruc-sleep.md>): Sleep Stage Classification; ISRUC-Sleep; F1 (Wake): 82.05.

- [Segmentation on BTCV](<https://www.sota2.com/research/sota/segmentation-on-btcv.md>): Segmentation; BTCV; 1-shot Score: 65.42.

- [Segmentation on WORD (Coverage/Few-Shot Metrics)](<https://www.sota2.com/research/sota/segmentation-on-word-coverage-few-shot-metrics.md>): Segmentation; WORD; 1-shot Acc: 57.75.

- [Vessel Segmentation on XCAV (test)](<https://www.sota2.com/research/sota/vessel-segmentation-on-xcav-test.md>): Vessel segmentation; XCAV (test); DSC: 82.77.

- [Image Classification on ImageNet 1K (val) (FT Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-ft-accuracy.md>): Image Classification; ImageNet-1k (val); FT Accuracy: 83.8.

- [Classification on PDAC](<https://www.sota2.com/research/sota/classification-on-pdac.md>): Classification; PDAC; Accuracy: 83.52.

- [Glioblastoma Segmentation on UPENN-GBM](<https://www.sota2.com/research/sota/glioblastoma-segmentation-on-upenn-gbm.md>): Glioblastoma Segmentation; UPENN-GBM; ET Segmentation Score: 83.7.

- [Stenosis Detection on ARCADE 1.0 (test)](<https://www.sota2.com/research/sota/stenosis-detection-on-arcade-1-0-test.md>): Stenosis Detection; ARCADE 1.0 (test); mAP50: 89.84.

- [Brain Structure Segmentation on MRBrainS13](<https://www.sota2.com/research/sota/brain-structure-segmentation-on-mrbrains13.md>): Brain Structure Segmentation; MRBrainS13; CF Score: 68.11.

- [Segmentation on MRBrainS 2013 (test)](<https://www.sota2.com/research/sota/segmentation-on-mrbrains-2013-test.md>): Segmentation; MRBrainS 2013 (test); HD95 (CSF): 3.84.

- [Image Classification on ImageNet-1K (Fine-tuning)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-fine-tuning.md>): Image Classification; ImageNet-1K (fine-tuning); Accuracy (FT): 84.

- [Brain Metastasis Segmentation on BraTS-MET](<https://www.sota2.com/research/sota/brain-metastasis-segmentation-on-brats-met.md>): Brain Metastasis Segmentation; BraTS-MET; Dice ET: 54.46.

- [Segmentation on UPENN-GBM (test)](<https://www.sota2.com/research/sota/segmentation-on-upenn-gbm-test.md>): Segmentation; UPENN-GBM (test); HD95 (ET): 17.23.

- [Classification on ABIDE-I 14 (test)](<https://www.sota2.com/research/sota/classification-on-abide-i-14-test.md>): Classification; ABIDE-I 14 (test); Accuracy: 53.94.

- [Ischemic Stroke Segmentation on ISLES22](<https://www.sota2.com/research/sota/ischemic-stroke-segmentation-on-isles22.md>): Ischemic Stroke Segmentation; ISLES22; IS: 69.94.

- [Vestibular Schwannoma Segmentation on VSseg](<https://www.sota2.com/research/sota/vestibular-schwannoma-segmentation-on-vsseg.md>): Vestibular Schwannoma Segmentation; VSseg; VS Score: 69.08.

- [Image Classification on ImageNet1K 1.0 (train val)](<https://www.sota2.com/research/sota/image-classification-on-imagenet1k-1-0-train-val.md>): Image Classification; ImageNet1K 1.0 (train val); Top-1 Acc: 56.7.

- [Image Classification on ImageNet 1K (val) (Single Accuracy Metric)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-single-accuracy-metric.md>): Image Classification; ImageNet-1k (val); Accuracy: 84.

- [Multi-organ Segmentation on BTCV (test)](<https://www.sota2.com/research/sota/multi-organ-segmentation-on-btcv-test.md>): Multi-organ Segmentation; BTCV (test); Spl: 95.56.

- [Segmentation on BraTS MET 2023 (test)](<https://www.sota2.com/research/sota/segmentation-on-brats-met-2023-test.md>): Segmentation; BraTS MET 2023 (test); HD95 (ET): 39.37.

- [Image Classification on ImageNet 1K (test) (Top-1 Accuracy and GAIN)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-test-top-1-accuracy-and-gain.md>): Image Classification; ImageNet 1k (test); Top-1 Acc: 65.1.

- [Image Classification on GlaS](<https://www.sota2.com/research/sota/image-classification-on-glas.md>): Image Classification; GLAS; Accuracy: 77.5.

- [Sleep Stage Classification on Sleep-EDFX](<https://www.sota2.com/research/sota/sleep-stage-classification-on-sleep-edfx.md>): Sleep Stage Classification; Sleep-EDFX; Accuracy (ACC): 69.94.

- [Semantic Segmentation on ADE20K v1 (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-v1-val.md>): Semantic segmentation; ADE20K v1 (val); mIoU: 48.3.

- [Brain Tumor Segmentation on BraTS PED 2023 (test)](<https://www.sota2.com/research/sota/brain-tumor-segmentation-on-brats-ped-2023-test.md>): Brain Tumor Segmentation; BraTS PED 2023 (test); Average HD95: 29.61.

- [Image Classification on ImageNet 1K (train val) (Linear Probing & k-NN)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-train-val-linear-probing-and-k-nn.md>): Image Classification; ImageNet 1K (train val); Linear Probing Accuracy: 57.8.

- [Segmentation on ISLES 2022 (test)](<https://www.sota2.com/research/sota/segmentation-on-isles-2022-test.md>): Segmentation; ISLES 2022 (test); HD95 (IS): 17.14.

- [Semantic Segmentation on ADE20K](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k.md>): Semantic segmentation; ADE20K; mIoU: 54.2.

- [Image Classification on ImageNet 1k (test)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-test.md>): Image Classification; ImageNet 1k (test); Top-1 Accuracy: 85.4.

- [Image Classification on ImageNet 1k (val) (Linear & k-NN Probing)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-linear-and-k-nn-probing.md>): Image Classification; ImageNet-1k (val); Linear Accuracy: 56.7.

- [Image Classification on ImageNet-1K (Top-1 Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-top-1-accuracy.md>): Image Classification; ImageNet-1K; Top-1 Acc: 85.4.

- [Image Classification on ImageNet 1K (val) (Standard Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-standard-accuracy.md>): Image Classification; ImageNet-1k (val); Top-1 Accuracy: 83.8.

- [Image Classification on ImageNet-1k](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k.md>): Image Classification; ImageNet-1K; Top-1 Acc: 83.8.

- [Semantic Segmentation on ADE20K (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-val.md>): Semantic segmentation; ADE20K (val); mIoU: 54.2.

- [Image Classification on ImageNet-1K 1.0 (val)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-1-0-val.md>): Image Classification; ImageNet-1K 1.0 (val); Top-1 Accuracy: 85.7.

- [Image Classification on Oxford-IIIT Pet](<https://www.sota2.com/research/sota/image-classification-on-oxford-iiit-pet.md>): Image Classification; Oxford-IIIT Pet; Accuracy: 27.39.

- [Semantic Segmentation on PASCAL VOC](<https://www.sota2.com/research/sota/semantic-segmentation-on-pascal-voc.md>): Semantic segmentation; Pascal VOC; mIoU: 0.3514.

- [Image Classification on ImageNet-1K (val) (Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-val-accuracy.md>): Image Classification; ImageNet-1k (val); Top-1 Accuracy: 83.8.

- [Image Classification on ImageNet-1K 1.0 (test) (Top-1 Accuracy)](<https://www.sota2.com/research/sota/image-classification-on-imagenet-1k-1-0-test-top-1-accuracy.md>): Image Classification; ImageNet-1k 1.0 (test); Top-1 Accuracy: 56.7.

- [Image Classification on Food-101](<https://www.sota2.com/research/sota/image-classification-on-food-101.md>): Image Classification; Food-101; Accuracy: 40.94.

- [Semantic Segmentation on Cityscapes](<https://www.sota2.com/research/sota/semantic-segmentation-on-cityscapes.md>): Semantic segmentation; Cityscapes; mIoU: 17.23.

- [Object Detection on COCO 2017 (val)](<https://www.sota2.com/research/sota/object-detection-on-coco-2017-val.md>): Object Detection; COCO 2017 (val); AP: not recorded.

- [Instance Segmentation on COCO 2017 (val)](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-2017-val.md>): Instance Segmentation; COCO 2017 (val); APm: not recorded.

- [Object Detection on COCO (val)](<https://www.sota2.com/research/sota/object-detection-on-coco-val.md>): Object Detection; COCO (val); mAP: not recorded.

- [Instance Segmentation on COCO (val)](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-val.md>): Instance Segmentation; COCO (val); APmk: not recorded.

- [Classification on RSNA (test)](<https://www.sota2.com/research/sota/classification-on-rsna-test.md>): Classification; RSNA (test); F1 Score: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2111.09886>)

[PDF](<https://arxiv.org/pdf/2111.09886.pdf>)

[Implementation](<https://github.com/microsoft/SimMIM>)
