SupMAE: Supervised Masked Autoencoders Are Efficient Vision Learners
Feng Liang, Yangguang Li, Diana Marculescu
TL;DR
SupMAE addresses the gap in MAE-style pre-training by introducing a supervised classification branch that operates on a subset of visible patches, enabling global feature learning with improved efficiency. The method jointly optimizes a reconstruction objective and a classification objective, resulting in faster pre-training, greater robustness, and stronger transfer to few-shot and dense downstream tasks such as ADE20K segmentation. Empirical results show competitive ImageNet performance with substantially reduced compute, enhanced robustness across variants, and superior few-shot and segmentation transfer, demonstrating the value of combining supervised signals with masked image modeling. This work highlights the potential of multi-objective pre-training to produce more efficient and generalizable vision representations.
Abstract
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.
