[Paper Review] SupMAE: Supervised Masked Autoencoders Are Efficient Vision Learners
SupMAE proposes a novel supervised masked autoencoder that enhances ViT pre-training by jointly optimizing masked image reconstruction and supervised classification using only a subset of visible patches. It achieves state-of-the-art efficiency and robustness, attaining 83.6% ImageNet accuracy in 400 epochs—3× fewer than MAE—while outperforming both MAE and standard supervised pre-training in transfer learning and robustness benchmarks.
Recently, self-supervised Masked Autoencoders (MAE) have attracted unprecedented attention for their impressive representation learning ability. However, the pretext task, Masked Image Modeling (MIM), reconstructs the missing local patches, lacking the global understanding of the image. This paper extends MAE to a fully supervised setting by adding a supervised classification branch, thereby enabling MAE to learn global features from golden labels effectively. The proposed Supervised MAE (SupMAE) only exploits a visible subset of image patches for classification, unlike the standard supervised pre-training where all image patches are used. Through experiments, we demonstrate that SupMAE is not only more training efficient but it also learns more robust and transferable features. Specifically, SupMAE achieves comparable performance with MAE using only 30% of compute when evaluated on ImageNet with the ViT-B/16 model. SupMAE's robustness on ImageNet variants and transfer learning performance outperforms MAE and standard supervised pre-training counterparts. Codes are available at https://github.com/enyac-group/supmae.
Motivation & Objective
- To investigate whether supervised pre-training can improve the representation learning of Masked Autoencoders (MAE), which currently rely solely on self-supervised masked image modeling.
- To address the limitation of MAE in learning global image-level features by incorporating golden labels during pre-training.
- To improve training efficiency and feature robustness by using only a subset of visible patches for classification, leveraging spatial redundancy in images.
- To enhance transfer learning performance on downstream vision tasks, including linear probing and fine-tuning, compared to standard supervised and self-supervised pre-training.
- To demonstrate that combining reconstruction and classification objectives in a masked setting leads to more sample-efficient and robust feature learning.
Proposed method
- Extends MAE with a parallel supervised classification branch that processes only a subset of visible patches, rather than all patches or the class token.
- Uses ViT encoder to extract patch features from visible patches, with global image features obtained via average pooling for classification.
- Applies a small decoder to reconstruct masked patches using visible patch features and learned mask tokens.
- Trains the model end-to-end with a combined loss: reconstruction loss on masked patches and cross-entropy loss on the classification head.
- Employs random masking during pre-training to generate diverse training samples, acting as strong regularization.
- During fine-tuning, only the ViT encoder is used, without the reconstruction or classification heads.
Experimental results
Research questions
- RQ1Can supervised pre-training improve the performance and efficiency of Masked Autoencoders (MAE)?
- RQ2Does using only a subset of visible patches for classification in MAE lead to better sample efficiency and robustness?
- RQ3How does SupMAE compare to standard supervised pre-training and self-supervised MAE in terms of transfer learning and robustness?
- RQ4Can the combination of reconstruction and classification objectives in a masked setting yield more transferable and robust features?
- RQ5What is the impact of using global average pooling on patch features for global representation learning in a masked autoencoding framework?
Key findings
- SupMAE achieves 83.6% top-1 accuracy on ImageNet-1K using only 400 pre-training epochs, which is 3× fewer than the 1600 epochs required by MAE.
- SupMAE reduces compute cost by 30% compared to MAE while achieving comparable performance on ImageNet with ViT-B/16.
- SupMAE outperforms MAE by an average of 1.8% on ImageNet variants under natural corruption, demonstrating superior robustness.
- In few-shot linear probing, SupMAE achieves a 14.5% average accuracy gain over MAE on 5-shot settings across 20 datasets.
- SupMAE achieves 49.0% mIoU on ADE20K semantic segmentation, showing strong performance on dense prediction tasks.
- SupMAE achieves 13 of 20 best accuracies in 50-shot fine-tuning across 20 downstream classification datasets, outperforming both MAE and MoCo-v3.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.