MIM-Refiner: A Contrastive Learning Boost from Intermediate Pre-Trained Representations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Alkin, Benedikt, Miklautz, Lukas, Hochreiter, Sepp, Brandstetter, Johannes
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909503215108096
author Alkin, Benedikt
Miklautz, Lukas
Hochreiter, Sepp
Brandstetter, Johannes
author_facet Alkin, Benedikt
Miklautz, Lukas
Hochreiter, Sepp
Brandstetter, Johannes
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_10093
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MIM-Refiner: A Contrastive Learning Boost from Intermediate Pre-Trained Representations
Alkin, Benedikt
Miklautz, Lukas
Hochreiter, Sepp
Brandstetter, Johannes
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
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.
title MIM-Refiner: A Contrastive Learning Boost from Intermediate Pre-Trained Representations
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2402.10093