Beyond [cls]: Exploring the true potential of Masked Image Modeling representations

Marcin Przewięźlikowski, Randall Balestriero, Wojciech Jasiński, Marek Śmieja, Bartosz Zieliński
12/4/2024
cs.CVcs.LG

No official code found. Best implementation: gmum/beyond_cls (11 stars, last commit 2026-04-25).

Abstract

Masked Image Modeling (MIM) has emerged as a promising approach for Self-Supervised Learning (SSL) of visual representations. However, the out-of-the-box performance of MIMs is typically inferior to competing approaches. Most users cannot afford fine-tuning due to the need for large amounts of data, high GPU consumption, and specialized user knowledge. Therefore, the practical use of MIM representations is limited. In this paper we ask what is the reason for the poor out-of-the-box performance of MIMs. Is it due to weaker features produced by MIM models, or is it due to suboptimal usage? Through detailed analysis, we show that attention in MIMs is spread almost uniformly over many patches, leading to ineffective aggregation by the [cls] token. Based on this insight, we propose Selective Aggregation to better capture the rich semantic information retained in patch tokens, which significantly improves the out-of-the-box performance of MIM.

View on arXivView PDF

Code Implementations(1)

gmum/beyond_clsCommunity100%

[ICCV 2025] Codebase for Beyond [cls]: Exploring the true potential of Masked Image Modeling representations

110PythonDec 4, 20245 months agoNOASSERTION

Similar Papers

Cite this paper

@article{przewilikowski2024beyond,
  title  = {Beyond [cls]: Exploring the true potential of Masked Image Modeling representations},
  author = {Marcin Przewięźlikowski and Randall Balestriero and Wojciech Jasiński and Marek Śmieja and Bartosz Zieliński},
  year   = {2024},
  eprint = {2412.03215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03215v3}
}

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

Discussion