Skip to main content
QUICK REVIEW

[Paper Review] ConvMAE: Masked Convolution Meets Masked Autoencoders

Peng Gao, Teli Ma|arXiv (Cornell University)|May 8, 2022
Advanced Neural Network ApplicationsComputer Science52 citations
TL;DR

ConvMAE integrates multi-scale hybrid convolution–transformer encoders with masked convolution and block-wise masking to enable efficient masked autoencoding and multi-scale feature learning, improving performance across classification, detection, segmentation, and video tasks.

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. 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.

Motivation & Objective

  • Motivate and develop a self-supervised learning framework that leverages hybrid convolution–transformer backbones for masked autoencoding.
  • Design an efficient masking strategy that maintains MAE’s efficiency while enabling multi-scale feature learning.
  • Provide a multi-scale decoder and supervision to better align encoder outputs with downstream tasks such as detection and segmentation.
  • Demonstrate ConvMAE’s effectiveness across image classification, object detection, semantic segmentation, and video understanding.

Proposed method

  • Propose a hybrid convolution–transformer encoder with three stages where the first two stages are convolutional (5x5 depthwise convs) and the third stage is transformer-based, producing multi-scale embeddings E1, E2, E3.
  • Introduce a block-wise masking strategy that masks the late-stage tokens (about 25% visible tokens) and progressively upsamples the mask to earlier stages, enabling masked convolutions to prevent information leakage.
  • Apply masked convolutions in the early stages to avoid leakage and maintain a consistent pretraining–finetuning gap.
  • Upsample and fuse multi-scale encoder features with a multi-scale decoder that aggregates E1, E2, E3 via stride-convolutions and a linear fusion to form the decoder input for masked patch reconstruction.
  • Use the same MAE-like reconstruction objective (reconstruct masked patches) but with a multi-scale decoder and task-oriented finetuning adaptations for detection/segmentation heads.
  • Provide adaptations for downstream tasks by finetuning with multi-scale features (E1–E4) in Mask-RCNN for object detection and UperNet for semantic segmentation, with efficiency tweaks (e.g., limited global attention in stage-3).

Experimental results

Research questions

  • RQ1Can a hybrid convolution–transformer backbone with masked convolution and block-wise masking yield better self-supervised representations than MAE?
  • RQ2Does multi-scale feature supervision and decoding improve performance on downstream tasks like detection and segmentation?
  • RQ3How do masking strategy, masked convolutions, and kernel sizes affect pretraining efficiency and downstream transfer?
  • RQ4Can ConvMAE reduce pretraining–finetuning discrepancy and accelerate convergence while maintaining MAE’s efficiency?

Key findings

  • ConvMAE-Base improves ImageNet-1K finetuning accuracy by 1.4% over MAE-Base.
  • On COCO 2017 with Mask-RCNN, ConvMAE-Base finetuned for 25 epochs achieves 53.2% APbox and 47.1% APmask, surpassing MAE-Base (50.3% APbox, 44.9% APmask) with longer training.
  • On ADE20K with UperNet, ConvMAE-Base yields 51.7% mIoU, exceeding MAE-Base by 3.6 percentage points.
  • ConvMAE with block-wise masking and masked convolutions maintains MAE-efficiency while enabling multi-scale representations.
  • ConvMAE shows faster convergence than MAE, surpassing MAE at 58 epochs for ImageNet finetuning and at 16 epochs for COCO detection under similar training budgets.
  • VideoConvMAE extensions demonstrate improved finetuning accuracy over VideoMAE on Kinetics-400 and Something-Something-v2 budgets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.