ConvMAE: Masked Convolution Meets Masked Autoencoders

Peng Gao, Teli Ma, Hongsheng Li, Ziyi Lin, Jifeng Dai +1 more
5/8/2022
164 citations
cs.CV
transformer-attentioncontrastive-ssl

Official code: Alpha-VL/ConvMAE (531 stars, Python, MIT, last commit 2023-03-14).

Abstract

Vision Transformers (ViT) become widely-adopted architectures for various vision tasks. Masked auto-encoding for feature pretraining and multi-scale hybrid convolution-transformer architectures can further unleash the potentials of ViT, leading to state-of-the-art performances on image classification, detection and semantic segmentation.

Show full abstract

In this paper, our ConvMAE framework demonstrates that multi-scale hybrid convolution-transformer can learn more discriminative representations via the mask auto-encoding scheme. However, directly using the original masking strategy leads to the heavy computational cost and pretraining-finetuning discrepancy. To tackle the issue, we adopt the masked convolution to prevent information leakage in the convolution blocks. A simple block-wise masking strategy is proposed to ensure computational efficiency. We also propose to more directly supervise the multi-scale features of the encoder to boost multi-scale features. Based on our pretrained ConvMAE models, ConvMAE-Base improves ImageNet-1K finetuning accuracy by 1.4% compared with MAE-Base. On object detection, ConvMAE-Base finetuned for only 25 epochs surpasses MAE-Base fined-tuned for 100 epochs by 2.9% box AP and 2.2% mask AP respectively. Code and pretrained models are available at https://github.com/Alpha-VL/ConvMAE.

View on arXivView PDF

Code Implementations(1)

Alpha-VL/ConvMAEOfficial100%
MIT

ConvMAE: Masked Convolution Meets Masked Autoencoders

53144Python, ShellMay 2, 20223 years agoMIT
backbonecomputer-visionmaemasked-image-modelingobject-detection+1 more

Similar Papers

Cite this paper

@article{gao2022convmae,
  title  = {ConvMAE: Masked Convolution Meets Masked Autoencoders},
  author = {Peng Gao and Teli Ma and Hongsheng Li and Ziyi Lin and Jifeng Dai and Yu Qiao},
  year   = {2022},
  eprint = {2205.03892},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.03892}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.03892.svg)](https://codeofpaper.com/paper/2205.03892)

Discussion