Towards Latent Masked Image Modeling for Self-Supervised Visual Representation Learning
Yibing Wei, Abhinav Gupta, Pedro Morgado
TL;DR
This work tackles the difficulty of extracting high-level semantics with pixel-based masked image modeling (MIM) by introducing Latent MIM, which learns localized latent representations and reconstructs masked regions in latent space. It identifies four core challenges—latent target optimization, reconstruction objectives, semantic correlation between nearby patches, and decoder design—and resolves them through asymmetric targets, a patch-discrimination objective, masking strategies, and a cross-attention decoder with visual cues and a latent projector. Scaling to ImageNet-1k demonstrates substantial gains in nearest-neighbor and linear probing, as well as strong performance in unsupervised segmentation, video object segmentation, and few-shot transfer, indicating robust, locally semantic representations without supervision. The results suggest Latent MIM can outperform traditional pixel-level MIM and prior latent MIM approaches, offering a scalable, semantically rich alternative for self-supervised visual representation learning.
Abstract
Masked Image Modeling (MIM) has emerged as a promising method for deriving visual representations from unlabeled image data by predicting missing pixels from masked portions of images. It excels in region-aware learning and provides strong initializations for various tasks, but struggles to capture high-level semantics without further supervised fine-tuning, likely due to the low-level nature of its pixel reconstruction objective. A promising yet unrealized framework is learning representations through masked reconstruction in latent space, combining the locality of MIM with the high-level targets. However, this approach poses significant training challenges as the reconstruction targets are learned in conjunction with the model, potentially leading to trivial or suboptimal solutions.Our study is among the first to thoroughly analyze and address the challenges of such framework, which we refer to as Latent MIM. Through a series of carefully designed experiments and extensive analysis, we identify the source of these challenges, including representation collapsing for joint online/target optimization, learning objectives, the high region correlation in latent space and decoding conditioning. By sequentially addressing these issues, we demonstrate that Latent MIM can indeed learn high-level representations while retaining the benefits of MIM models.
