Skip to main content
QUICK REVIEW

[Paper Review] Extreme Masking for Learning Instance and Distributed Visual Representations

Zhirong Wu, Zihang Lai|arXiv (Cornell University)|Jun 9, 2022
Domain Adaptation and Few-Shot LearningComputer Science10 citations
TL;DR

ExtreMA proposes a novel self-supervised learning method that uses extreme masking (75%-90%) as a data augmentation for Siamese representation learning, training a student network to predict the holistic image representation from a masked view using a plain BYOL objective. The approach achieves state-of-the-art linear probing and transfer performance on ImageNet, ADE20K, and COCO, outperforming MAE and DINO with significantly less compute.

ABSTRACT

The paper presents a scalable approach for learning spatially distributed visual representations over individual tokens and a holistic instance representation simultaneously. We use self-attention blocks to represent spatially distributed tokens, followed by cross-attention blocks to aggregate the holistic image instance. The core of the approach is the use of extremely large token masking (75\%-90\%) as the data augmentation for supervision. Our model, named ExtreMA, follows the plain BYOL approach where the instance representation from the unmasked subset is trained to predict that from the intact input. Instead of encouraging invariance across inputs, the model is required to capture informative variations in an image. The paper makes three contributions: 1) It presents random masking as a strong and computationally efficient data augmentation for siamese representation learning. 2) With multiple sampling per instance, extreme masking greatly speeds up learning and improves performance with more data. 3) ExtreMA obtains stronger linear probing performance than masked modeling methods, and better transfer performance than prior contrastive models.

Motivation & Objective

  • To explore the use of extreme masking as a novel data augmentation for Siamese representation learning.
  • To learn both distributed (token-level) and holistic (instance-level) visual representations without explicit masked modeling supervision.
  • To improve learning efficiency and performance by leveraging high masking ratios and multiple sampling per image.
  • To achieve strong transfer performance comparable to or better than state-of-the-art contrastive and masked modeling methods with reduced computational cost.

Proposed method

  • ExtreMA uses a Vision Transformer (ViT) to encode spatially distributed representations over image patches.
  • Cross-attention blocks aggregate the distributed representations into a holistic instance representation.
  • The model employs extreme masking (75%-90%) on the input image as a data augmentation strategy.
  • A plain BYOL-style objective trains the student network to predict the instance representation from the full input using the masked view as input.
  • Multiple random masks per image are applied to increase data diversity and accelerate convergence.
  • The teacher network is updated via momentum update, and the student network is trained to minimize the contrastive loss between the full and masked views.

Experimental results

Research questions

  • RQ1Can extreme masking (75%-90%) serve as an effective and efficient data augmentation for Siamese representation learning?
  • RQ2Does learning instance-level representations via masked prediction outperform traditional masked modeling and contrastive learning?
  • RQ3How does multi-masking with high masking ratios affect learning speed and model performance?
  • RQ4Can ExtreMA achieve strong zero-shot and fine-tuned transfer performance without heavy architectural modifications?

Key findings

  • ExtreMA achieves 67.3% linear probing accuracy on ImageNet-1k with only 300 epochs and 1% labeled data, outperforming DINO (64.7%) and MAE (52.7%) under the same conditions.
  • On ADE20K semantic segmentation, ExtreMA achieves 48.4 mIoU when pre-trained on ImageNet-22k with only 30 epochs, surpassing MAE (48.1 mIoU) despite using 1600 epochs.
  • On COCO object detection, ExtreMA achieves 48.5 AP with 30 epochs on ImageNet-22k, outperforming MAE (48.4 AP) at 300 epochs and DINO (46.8 AP) at 400 epochs.
  • ExtreMA converges faster than MAE and DINO, with performance on par or better than MSN and MoCo-v3, despite using significantly less compute.
  • The model maintains accurate spatial correspondence in attention maps, indicating that distributed representations are semantically meaningful and spatially coherent.
  • ExtreMA scales well with data: performance improves by 0.5 mIoU on ADE20K when training data is scaled to ImageNet-22k, demonstrating strong data efficiency.

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.