CODI: Improving Self-Supervised Vision Transformers with Cross Distillation
Siran Dai, Qianqian Xu, Peisong Wen, Yang Liu, Xiaochun Cao, Qingming Huang
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.
Create a lesson
Metadata
- Comments
- 35 pages, 11 figures, 14 tables
Related papers
Promise and Limits of Cross-Architecture Knowledge Distillation for Lightweight Medical Vision Transformers (LiteMed-ViT)
Shared title terminologycs.CVShuaibu Shehu, Elijah M. Flomo, Mohammad Safiya et al.
Zoom Where the Answer Looks: Cross-Resolution Self-Distillation for MLLMs under Visual-Token Budgets
Shared title terminologycs.CVZhensheng Hu, Guanglong Xu, Guanqiang Hu
ReLEAP: Upcycling Vision Datasets through Cross-Task Unification and Semi-Supervised Annotation
Shared title terminologycs.CVJulia Simon, Daniel Steininger, Andreas Trondl
IFC-SSL-Bench: Benchmarking Self-Supervised Learning for Annotation-Efficient Multispectral Imaging Flow Cytometry
Shared title terminologycs.CVAngelo Jovin Yamachui Sitcheu, Roxana-Teodora Fetescu, Thomas Lautenschlager et al.
Incorporating the Knowledge Distillation to Improve the EfficientNet Transfer Learning Capability
Shared title terminologycs.CVTjeng Wawan Cenggoro
TWIST: Teacher-Weighted Initial-Noise Spherical Transform for Quality-Preserving Diversity in Distilled Diffusion Models
Shared title terminologycs.CVShayan Baghayi-Nejad, Jeongsol Kim, Jong Chul Ye