Understanding Masked Autoencoders From a Local Contrastive Perspective

Xiaoyu Yue, Lei Bai, Meng Wei, Jiangmiao Pang, Xihui Liu +2 more
10/3/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Masked AutoEncoder (MAE) has revolutionized the field of self-supervised learning with its simple yet effective masking and reconstruction strategies. However, despite achieving state-of-the-art performance across various downstream vision tasks, the underlying mechanisms that drive MAE's efficacy are less well-explored compared to the canonical contrastive learning paradigm. In this paper, we first propose a local perspective to explicitly extract a local contrastive form from MAE's reconstructive objective at the patch level. And then we introduce a new empirical framework, called Local Contrastive MAE (LC-MAE), to analyze both reconstructive and contrastive aspects of MAE. LC-MAE reveals that MAE learns invariance to random masking and ensures distribution consistency between the learned token embeddings and the original images. Furthermore, we dissect the contribution of the decoder and random masking to MAE's success, revealing both the decoder's learning mechanism and the dual role of random masking as data augmentation and effective receptive field restriction. Our experimental analysis sheds light on the intricacies of MAE and summarizes some useful design methodologies, which can inspire more powerful visual self-supervised methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yue2023understanding,
  title  = {Understanding Masked Autoencoders From a Local Contrastive Perspective},
  author = {Xiaoyu Yue and Lei Bai and Meng Wei and Jiangmiao Pang and Xihui Liu and Luping Zhou and Wanli Ouyang},
  year   = {2023},
  eprint = {2310.01994},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.01994v2}
}

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/2310.01994.svg)](https://codeofpaper.com/paper/2310.01994)

Discussion