Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SemMAE: Semantic-Guided Masking for Learning Masked Autoencoders

About

Recently, significant progress has been made in masked image modeling to catch up to masked language modeling. However, unlike words in NLP, the lack of semantic decomposition of images still makes masked autoencoding (MAE) different between vision and language. In this paper, we explore a potential visual analogue of words, i.e., semantic parts, and we integrate semantic information into the training process of MAE by proposing a Semantic-Guided Masking strategy. Compared to widely adopted random masking, our masking strategy can gradually guide the network to learn various information, i.e., from intra-part patterns to inter-part relations. In particular, we achieve this in two steps. 1) Semantic part learning: we design a self-supervised part learning method to obtain semantic parts by leveraging and refining the multi-head attention of a ViT-based encoder. 2) Semantic-guided MAE (SemMAE) training: we design a masking strategy that varies from masking a portion of patches in each part to masking a portion of (whole) parts in an image. Extensive experiments on various vision tasks show that SemMAE can learn better image representation by integrating semantic information. In particular, SemMAE achieves 84.5% fine-tuning accuracy on ImageNet-1k, which outperforms the vanilla MAE by 1.4%. In the semantic segmentation and fine-grained recognition tasks, SemMAE also brings significant improvements and yields the state-of-the-art performance.

Gang Li, Heliang Zheng, Daqing Liu, Chaoyue Wang, Bing Su, Changwen Zheng• 2022

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU46.3
2888
Image ClassificationImageNet-1K
Top-1 Acc84.5
1239
Semantic segmentationADE20K
mIoU44.9
1024
Semantic segmentationCityscapes
mIoU25.48
658
Image ClassificationImageNet-1K--
600
Image ClassificationFood-101
Accuracy58.9
542
Instance SegmentationCOCO
APmask40.9
291
Object DetectionCOCO
AP50 (Box)66.2
237
Image ClassificationOxford-IIIT Pet
Accuracy56.99
219
Image ClassificationImageNet-1k (val)
Accuracy83.4
199
Showing 10 of 15 rows

Other info

Follow for update