Skip to main content
QUICK REVIEW

[Paper Review] Masked Image Modeling with Local Multi-Scale Reconstruction

Haoqing Wang, Yehui Tang|arXiv (Cornell University)|Mar 9, 2023
Advanced Neural Network ApplicationsComputer Science4 citations
TL;DR

This paper proposes LocalMIM, a masked image modeling approach that accelerates self-supervised representation learning by applying multi-scale reconstruction to multiple local layers of a vision transformer. By having lower layers reconstruct fine-scale signals and upper layers reconstruct coarse-scale signals using a lightweight decoder, the method explicitly guides feature learning across scales, achieving state-of-the-art performance with significantly reduced pre-training compute (e.g., 0.7 GPU hours for ViT-B) while maintaining high accuracy on downstream tasks.

ABSTRACT

Masked Image Modeling (MIM) achieves outstanding success in self-supervised representation learning. Unfortunately, MIM models typically have huge computational burden and slow learning process, which is an inevitable obstacle for their industrial applications. Although the lower layers play the key role in MIM, existing MIM models conduct reconstruction task only at the top layer of encoder. The lower layers are not explicitly guided and the interaction among their patches is only used for calculating new activations. Considering the reconstruction task requires non-trivial inter-patch interactions to reason target signals, we apply it to multiple local layers including lower and upper layers. Further, since the multiple layers expect to learn the information of different scales, we design local multi-scale reconstruction, where the lower and upper layers reconstruct fine-scale and coarse-scale supervision signals respectively. This design not only accelerates the representation learning process by explicitly guiding multiple layers, but also facilitates multi-scale semantical understanding to the input. Extensive experiments show that with significantly less pre-training burden, our model achieves comparable or better performance on classification, detection and segmentation tasks than existing MIM models.

Motivation & Objective

  • To address the high computational cost and slow learning speed of existing Masked Image Modeling (MIM) methods, which rely on top-layer reconstruction only.
  • To improve representation learning efficiency by explicitly guiding both lower and upper layers of the encoder through multi-scale reconstruction.
  • To enable multi-scale semantic understanding by assigning fine-scale supervision to lower layers and coarse-scale supervision to upper layers.
  • To reduce pre-training burden without requiring additional components like codebooks or teacher networks.
  • To validate the effectiveness of gradient-isolated training for decoupled, efficient back-propagation in deep networks.

Proposed method

  • The method applies reconstruction tasks at multiple local layers—specifically, lower layers reconstruct fine-scale supervisions from small input regions, while upper layers reconstruct coarse-scale supervisions from larger regions.
  • Multi-scale supervisions are extracted by dividing the input image at different scales (e.g., 28², 14², 7²) and applying feature descriptors such as pixel values or HOG features.
  • A lightweight decoder with Transformer blocks and deconvolution/pooling layers rescales predictions to match the supervision signal scale, enabling end-to-end training.
  • The asymmetric encoder-decoder strategy is used, where only visible patches are fed to the encoder, minimizing computational cost during pre-training.
  • Gradient-isolated training is applied, where back-propagation is stopped after each local reconstruction layer, decoupling the training of different network segments.
  • The approach is evaluated on both columnar ViT and hierarchical Swin Transformer architectures, with ablation studies on layer selection and supervision scale.

Experimental results

Research questions

  • RQ1Can applying reconstruction tasks to multiple local layers, rather than just the top layer, accelerate self-supervised representation learning in MIM?
  • RQ2Does assigning different scales of supervision (fine vs. coarse) to lower and upper layers improve multi-scale semantic understanding and model performance?
  • RQ3Can local multi-scale reconstruction reduce pre-training time and computational cost without sacrificing accuracy?
  • RQ4Does gradient-isolated training—where gradients are stopped after each local layer—maintain performance while enabling efficient, decoupled training?
  • RQ5How sensitive is performance to the choice of local layers and supervision scale in ViT and Swin architectures?

Key findings

  • LocalMIM achieves 83.3% top-1 accuracy on ImageNet-1K using only 0.7 GPU hours for ViT-B, significantly reducing pre-training cost compared to prior MIM models.
  • With 1.1 GPU hours, LocalMIM reaches 83.8% accuracy on Swin-B, outperforming or matching existing methods despite reduced training time.
  • The Swin-style layer division [2,4,10,12] and fine-to-coarse multi-scale supervision [28²,14²,7²,7²] yield the best performance on ViT.
  • Gradient-isolated training achieves 83.0% accuracy (ViT-B) and 83.7% (Swin-B), nearly matching global back-propagation, validating the effectiveness of local supervision.
  • Multi-scale supervision outperforms single-scale supervision, and fine-to-coarse supervision is more effective than coarse-to-fine, aligning with biological and architectural priors.
  • Visualization shows that LocalMIM’s self-attention mechanism effectively distinguishes foreground objects and semantically coherent regions without task-specific supervision.

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.