Command Palette
Search for a command to run...
Kaiming He Xinlei Chen Saining Xie Yanghao Li Piotr Dollár Ross Girshick

Abstract
This paper shows that masked autoencoders (MAE) are scalable self-supervised learners for computer vision. Our MAE approach is simple: we mask random patches of the input image and reconstruct the missing pixels. It is based on two core designs. First, we develop an asymmetric encoder-decoder architecture, with an encoder that operates only on the visible subset of patches (without mask tokens), along with a lightweight decoder that reconstructs the original image from the latent representation and mask tokens. Second, we find that masking a high proportion of the input image, e.g., 75%, yields a nontrivial and meaningful self-supervisory task. Coupling these two designs enables us to train large models efficiently and effectively: we accelerate training (by 3x or more) and improve accuracy. Our scalable approach allows for learning high-capacity models that generalize well: e.g., a vanilla ViT-Huge model achieves the best accuracy (87.8%) among methods that use only ImageNet-1K data. Transfer performance in downstream tasks outperforms supervised pre-training and shows promising scaling behavior.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| domain-generalization-on-imagenet-a | MAE (ViT-H, 448) | Top-1 accuracy %: 76.7 |
| domain-generalization-on-imagenet-c | MAE (ViT-H) | Number of params: 632M mean Corruption Error (mCE): 33.8 |
| domain-generalization-on-imagenet-r | MAE (ViT-H, 448) | Top-1 Error Rate: 33.5 |
| domain-generalization-on-imagenet-sketch | MAE (ViT-H, 448) | Top-1 accuracy: 50.9 |
| image-classification-on-imagenet | MAE (ViT-L) | Top 1 Accuracy: 85.9% |
| image-classification-on-imagenet | MAE (ViT-H, 448) | Number of params: 656M Top 1 Accuracy: 87.8% |
| image-classification-on-imagenet | MAE (ViT-L) | Top 1 Accuracy: 83.6% |
| image-classification-on-imagenet | MAE (ViT-H) | Top 1 Accuracy: 86.9% |
| image-classification-on-inaturalist | MAE (ViT-H, 448) | Top 1 Accuracy: 83.4 |
| image-classification-on-inaturalist-2018 | MAE (ViT-H, 448) | Top-1 Accuracy: 86.8% |
| image-classification-on-inaturalist-2019 | MAE (ViT-H, 448) | Top-1 Accuracy: 88.3 |
| image-classification-on-omnibenchmark | MAE | Average Top-1 Accuracy: 30.6 |
| image-classification-on-places205 | MAE (ViT-H, 448) | Top 1 Accuracy: 66.8 |
| image-classification-on-places365-standard | MAE (ViT-H, 448) | Top 1 Accuracy: 60.3 |
| object-detection-on-coco-minival | MAE (ViT-L, Mask R-CNN) | box AP: 53.3 |
| object-detection-on-coco-minival | MAE (ViT-B, Mask R-CNN) | box AP: 50.3 |
| self-supervised-image-classification-on | MAE (ViT-B) | Number of Params: 80M Top 1 Accuracy: 68.0% |
| self-supervised-image-classification-on | MAE (ViT-L) | Number of Params: 306M Top 1 Accuracy: 75.8% |
| self-supervised-image-classification-on | MAE (ViT-H) | Number of Params: 700M Top 1 Accuracy: 76.6% |
| self-supervised-image-classification-on-1 | MAE (ViT-H/14) | Top 1 Accuracy: 86.9% |
| self-supervised-image-classification-on-1 | MAE (ViT-H/14, 448) | Number of Params: 632M Top 1 Accuracy: 87.8% |
| semantic-segmentation-on-ade20k | MAE (ViT-B, UperNet) | Validation mIoU: 48.1 |
| semantic-segmentation-on-ade20k | MAE (ViT-L, UperNet) | Validation mIoU: 53.6 |
| semantic-segmentation-on-imagenet-s | MAE (ViT-B/16, 224x224, SSL+FT) | mIoU (test): 60.2 mIoU (val): 61.0 |
| semantic-segmentation-on-imagenet-s | MAE (ViT-B/16, 224x224, SSL) | mIoU (test): 37.0 mIoU (val): 38.3 |
| semantic-segmentation-on-imagenet-s | MAE (ViT-B/16, 224x224, SSL, mmseg) | mIoU (test): 40.3 mIoU (val): 40.0 |
| semantic-segmentation-on-imagenet-s | MAE (ViT-B/16, 224x224, SSL+FT, mmseg) | mIoU (test): 61.2 mIoU (val): 61.6 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.