Skip to main content
QUICK REVIEW

[Paper Review] Masked Siamese Networks for Label-Efficient Learning

Mahmoud Assran, Mathilde Caron|arXiv (Cornell University)|Apr 14, 2022
Domain Adaptation and Few-Shot LearningComputer Science8 citations
TL;DR

Masked Siamese Networks (MSN) propose a self-supervised learning framework that trains Vision Transformers to produce similar representations for a masked image view and its unmasked counterpart, avoiding pixel-level reconstruction. This approach achieves state-of-the-art performance in label-efficient learning, attaining 75.7% top-1 accuracy on ImageNet-1K with only 1% of labels using a model 10× smaller than prior SOTA.

ABSTRACT

We propose Masked Siamese Networks (MSN), a self-supervised learning framework for learning image representations. Our approach matches the representation of an image view containing randomly masked patches to the representation of the original unmasked image. This self-supervised pre-training strategy is particularly scalable when applied to Vision Transformers since only the unmasked patches are processed by the network. As a result, MSNs improve the scalability of joint-embedding architectures, while producing representations of a high semantic level that perform competitively on low-shot image classification. For instance, on ImageNet-1K, with only 5,000 annotated images, our base MSN model achieves 72.4% top-1 accuracy, and with 1% of ImageNet-1K labels, we achieve 75.7% top-1 accuracy, setting a new state-of-the-art for self-supervised learning on this benchmark. Our code is publicly available.

Motivation & Objective

  • To develop a self-supervised learning method that improves scalability and performance in low-shot image classification.
  • To avoid the need for pixel- or token-level reconstruction in masked auto-encoding while preserving semantic representation quality.
  • To enable efficient pre-training of Vision Transformers by reducing computation and memory through patch masking.
  • To investigate the role of view invariance and data augmentation in low-shot representation learning.
  • To demonstrate that joint-embedding architectures can achieve competitive performance without explicit reconstruction loss.

Proposed method

  • MSN uses a Siamese architecture where one view of an image is randomly masked (70% patches dropped), and the other remains unmasked.
  • The model is trained to produce identical representations for both views using a contrastive loss, implicitly denoising the masked view at the representation level.
  • The encoder is a Vision Transformer (ViT) that processes only unmasked patches, significantly reducing computational cost during pre-training.
  • The method leverages data augmentation (color jitter, crop, flip, blur) on both views to prevent shortcut learning based on color statistics.
  • Pre-training uses a global view with random masking and additional focal views (small crops) for contrastive learning, with no reconstruction loss.
  • The framework is scalable: aggressive masking reduces memory usage and speeds up training, enabling pre-training on fewer GPUs.

Experimental results

Research questions

  • RQ1Can a self-supervised method avoid pixel-level reconstruction while still learning high-quality semantic representations?
  • RQ2How does masked Siamese learning compare to masked auto-encoding in low-shot image classification?
  • RQ3Does aggressive patch masking improve training efficiency and model scalability in ViT-based architectures?
  • RQ4What role does view invariance through data augmentation play in low-shot generalization?
  • RQ5Can joint-embedding architectures achieve SOTA performance in label-efficient learning without reconstruction loss?

Key findings

  • On ImageNet-1K with only 1% of labels (13,000 images), MSN with a ViT-B/4 model achieves 75.7% top-1 accuracy, setting a new SOTA.
  • With just 5,000 labeled images, the base MSN model achieves 72.4% top-1 accuracy, demonstrating strong low-shot performance.
  • MSN outperforms prior SOTA methods that required 800M parameters, while using a model with nearly 10× fewer parameters.
  • Aggressive masking (70% patch dropout) reduces GPU memory usage from 26G to 17G per GPU and increases throughput from 415 to 600 images per second.
  • Using different augmented views for the anchor and target (with color jitter, crop, flip, blur) increases accuracy from 7.0% to 52.3% on 1% ImageNet, showing the importance of view invariance.
  • Larger models benefit from higher masking ratios: ViT-L/16 achieves 70.1% top-1 accuracy with 50% masking, and performance remains stable with aggressive masking.

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.