MIM-Refiner: A Contrastive Learning Boost from Intermediate Pre-Trained Masked Image Modeling Representations
Benedikt Alkin, Lukas Miklautz, Sepp Hochreiter, Johannes Brandstetter
Abstract
We introduce MIM (Masked Image Modeling)-Refiner, a contrastive learning boost for pre-trained MIM models. MIM-Refiner is motivated by the insight that strong representations within MIM models generally reside in intermediate layers. Accordingly, MIM-Refiner leverages multiple contrastive heads that are connected to different intermediate layers. In each head, a modified nearest neighbor objective constructs semantic clusters that capture semantic information which improves performance on downstream tasks, including off-the-shelf and fine-tuning settings. The refinement process is short and simple - yet highly effective. Within a few epochs, we refine the features of MIM models from subpar to state-of-the-art, off-the-shelf features. Refining a ViT-H, pre-trained with data2vec 2.0 on ImageNet-1K, sets a new state-of-the-art in linear probing (84.7%) and low-shot classification among models that are pre-trained on ImageNet-1K. MIM-Refiner efficiently combines the advantages of MIM and ID objectives and compares favorably against previous state-of-the-art SSL models on a variety of benchmarks such as low-shot classification, long-tailed classification, clustering and semantic segmentation.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Emerging Properties in Self-Supervised Vision Transformers cites A Simple Framework for Contrastive Learning of Visual Representations
- Emerging Properties in Self-Supervised Vision Transformers cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Segment Anything cites Learning Transferable Visual Models From Natural Language Supervision
- Beyond [cls]: Exploring the True Potential of Masked Image Modeling Representations cites Emerging Properties in Self-Supervised Vision Transformers
- Beyond [cls]: Exploring the True Potential of Masked Image Modeling Representations cites A Simple Framework for Contrastive Learning of Visual Representations
- Beyond [cls]: Exploring the True Potential of Masked Image Modeling Representations cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Transferable Visual Models From Natural Language Supervision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- AudioMosaic: Contrastive Masked Audio Representation Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- AudioMosaic: Contrastive Masked Audio Representation Learning cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
- AudioMosaic: Contrastive Masked Audio Representation Learning cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers2
- Beyond [cls]: Exploring the True Potential of Masked Image Modeling RepresentationsMarcin Przewiezlikowski, Randall Balestriero, Wojciech Jasinski, Marek Smieja et al.ICCV 2025 · 4 citations
- AudioMosaic: Contrastive Masked Audio Representation LearningHanxun Huang, Qizhou Wang, Xingjun Ma, Cihang Xie et al.ICML 2026 · 2 citations
Builds on35
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
Related papers
- Contrastive Tuning: A Little Help to Make Masked Autoencoders ForgetJohannes Lehner, Benedikt Alkin, Andreas Fürst, Elisabeth Rumetshofer et al.AAAI 2024 · 28 citations
- Masked Image Modeling with Denoising ContrastKun Yi, Yixiao Ge, Xiaotong Li, Shusheng Yang et al.ICLR 2023 · 8 citations
- MICM: Rethinking Unsupervised Pretraining for Enhanced Few-shot LearningZhenyu Zhang, Guangyao Chen, Yixiong Zou, Zhimeng Huang et al.ACM MM 2024 · 5 citations
- Layer Grafted Pre-training: Bridging Contrastive Learning And Masked Image Modeling For Label-Efficient RepresentationsZiyu Jiang, Yinpeng Chen, Mengchen Liu, Dongdong Chen et al.ICLR 2023 · 5 citations
- MimCo: Masked Image Modeling Pre-training with Contrastive TeacherQiang Zhou, Chaohui Yu, Hao Luo, Zhibin Wang et al.ACM MM 2022 · 16 citations
