pith. sign in

arxiv: 2305.00729 · v1 · pith:K6SWUVHUnew · submitted 2023-05-01 · 💻 cs.CV · cs.AI· cs.LG

What Do Self-Supervised Vision Transformers Learn?

classification 💻 cs.CV cs.AIcs.LG
keywords layersrepresentationshomogeneitylaterperformanceself-attentionsself-supervisedtransformers
0
0 comments X
read the original abstract

We present a comparative study on how and why contrastive learning (CL) and masked image modeling (MIM) differ in their representations and in their performance of downstream tasks. In particular, we demonstrate that self-supervised Vision Transformers (ViTs) have the following properties: (1) CL trains self-attentions to capture longer-range global patterns than MIM, such as the shape of an object, especially in the later layers of the ViT architecture. This CL property helps ViTs linearly separate images in their representation spaces. However, it also makes the self-attentions collapse into homogeneity for all query tokens and heads. Such homogeneity of self-attention reduces the diversity of representations, worsening scalability and dense prediction performance. (2) CL utilizes the low-frequency signals of the representations, but MIM utilizes high-frequencies. Since low- and high-frequency information respectively represent shapes and textures, CL is more shape-oriented and MIM more texture-oriented. (3) CL plays a crucial role in the later layers, while MIM mainly focuses on the early layers. Upon these analyses, we find that CL and MIM can complement each other and observe that even the simplest harmonization can help leverage the advantages of both methods. The code is available at https://github.com/naver-ai/cl-vs-mim.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Understanding Geometric Representations in Self-Supervised Vision Transformers via Subspace Intervention

    cs.CV 2026-07 unverdicted novelty 7.0

    The subspace intervention framework reveals that pre-training objectives shape how ViTs encode geometric information in compressible low-rank subspaces, with peak precision at intermediate layers.

  2. Agentic AI in Remote Sensing: Foundations, Taxonomy, and Emerging Systems

    cs.CV 2026-01 unverdicted novelty 7.0

    The paper delivers the first comprehensive review and unified taxonomy of agentic AI in remote sensing, covering single-agent copilots, multi-agent systems, planning mechanisms, benchmarks, and a roadmap while noting ...

  3. The Hidden Evolution of Disguised Visual Context inside the VLM

    cs.CV 2026-06 unverdicted novelty 5.0

    Visual tokens enter VLMs as raw signals and are reshaped differently by in-context versus layer-injection paradigms, each capturing distinct frequency characteristics that drive task performance.

  4. Unsupervised Semantic Segmentation Facilitates Model Understanding

    cs.CV 2026-05 unverdicted novelty 5.0

    A visualization protocol based on unsupervised semantic segmentation reveals positional biases, scaling behaviors, and boundary artifacts across self-supervised vision transformer models.

  5. Unsupervised Semantic Segmentation Facilitates Model Understanding

    cs.CV 2026-05 unverdicted novelty 5.0

    A visualization protocol using unsupervised semantic segmentation outputs reveals positional biases, scaling behaviors, and boundary artifacts in self-supervised ViTs and distinguishes them from locality bias.