arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.30639cs.CV
收藏

CODI:通过交叉蒸馏改进自监督视觉Transformer

CODI: Improving Self-Supervised Vision Transformers with Cross Distillation

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);Beijing Academy of Artificial Intelligence(北京人工智能研究院);School of Computer Science and Tech., University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院);School of Cyber Science and Technology, Shenzhen Campus, Sun Yat-sen University(中山大学深圳校区网络科学与技术学院)

Siran Dai, Qianqian Xu, Peisong Wen, Yang Liu, Xiaochun Cao, Qingming Huang

AI总结:

本研究针对自监督视觉Transformer补丁级表征不适用于密集预测的问题,提出交叉蒸馏(CODI)方法,通过混入教师类标记分布修正掩码补丁语义,在对齐预训练下提升了密集与图像级任务性能。

摘要:

自监督视觉Transformer能学习到强大的图像级表征,但其补丁级表征对于密集预测而言可能不可靠。我们研究了这种不匹配现象,发现类标记(class token)将全局语义集中在少量代表性补丁上,而密集预测错误常出现在低注意力区域。我们开展了局部梯度分析,结果显示:沿<[BOS_never_used_51bce0c785ca2f68081bfa7d91973934]>注意力读出方向,图像级自蒸馏梯度由<[BOS_never_used_51bce0c785ca2f68081bfa7d91973934]>到补丁的注意力质量加权。为在不改变架构的情况下为掩码补丁提供全局语义,我们提出了交叉蒸馏(CODI),该方法将少量教师类标记分布混入每个教师补丁标记目标中。CODI在保留标准自蒸馏架构的同时,为每个掩码补丁提供了与注意力无关的语义修正。在密集和图像级基准上的实验表明,在对齐预训练设置下,CODI可同时提升密集和图像级性能。代码可在该https URL获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑