CODI: Improving Self-Supervised Vision Transformers with Cross Distillation
Siran Dai, Qianqian Xu, Peisong Wen, Yang Liu, Xiaochun Cao, Qingming Huang
Key points
From the paper's conclusion- We provide a local gradient analysis showing that, along the [CLS] attention readout, image-level self-distillation gradients are weighted by [CLS]-to-patch attention mass.
Abstract
Self-supervised Vision Transformers learn strong image-level representations, but their patch-level representations can be unreliable for dense prediction. We study this mismatch and find that the class token concentrates global semantics on a small number of representative patches, while dense prediction errors often occur on low-attention regions. We provide a local gradient analysis showing that, along the [CLS] attention readout, image-level self-distillation gradients are weighted by [CLS]-to-patch attention mass. To provide masked patches with global semantics without changing the architecture, we propose Cross Distillation (CODI), which mixes a small amount of the teacher class-token distribution into each teacher patch-token target. CODI gives every masked patch an attention-independent semantic correction while preserving the standard self-distillation architecture. Experiments on dense and image-level benchmarks show that CODI improves both dense and image-level performance under aligned pretraining settings. Code is available at https://github.com/EldercatSAM/CODI.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ViTok: Improving Dense Semantics in AM-RADIO-Style Multi-Teacher Distillation with PHI-S and Masked Image ModellingarXiv · 2026
- Training Vision Transformers to Focus: Emergence of Spatial Attention Head SpecializationarXiv · 2026
- The Locality Trade-off in Masked Patch Self-DistillationarXiv · 2026
- WithinVAE: Compact Visual Autoencoding with Self-Distilled SemanticsarXiv · 2026
- CIRKDV2: Cross-Image Relational Knowledge Distillation With Contextual Modeling for Efficient Semantic Segmentation.IEEE transactions on pattern analysis and machine intelligence · 2026
- VINO: Revisiting 3D Representation Learning with Volume TransformersarXiv · 2026