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

SINDER:修复 DINOv2 的奇异值缺陷

SINDER: Repairing the Singular Defects of DINOv2

School of Computer and Communication Sciences, EPFL(EPFL计算机与通信科学学院);Swiss Data Science Center(瑞士数据科学中心)

Haoqi Wang, Tong Zhang, Mathieu Salzmann

AI总结:

本文揭示了 DINOv2 提取的 patch token 伪影源于网络权重的首左奇异向量,并提出一种仅用小数据集的微调平滑正则化方法来修复该缺陷,有效提升了多种下游任务的性能。

摘要:

在大规模数据集上训练的 Vision Transformer 模型,尽管有效,但其提取的 patch token 中经常出现伪影。虽然可以通过使用额外的分类 token 重新训练整个模型来缓解此类缺陷,但这些 token 存在的根本原因仍不清楚。在本文中,我们结合理论分析与经验观察,对这一现象进行了彻底调查。我们的发现表明,这些伪影源于预训练网络本身,具体来说,源于网络权重的首左奇异向量。此外,为了缓解这些缺陷,我们提出了一种新颖的微调平滑正则化方法,该方法仅使用小数据集即可纠正结构性缺陷,从而避免了完全重新训练的需要。我们在各种下游任务上验证了我们的方法,包括无监督分割、分类、有监督分割和深度估计,证明了其在提升模型性能方面的有效性。代码和检查点可在 https://github.com/haoqiwang/sinder 获取。

英文摘要:

Vision Transformer models trained on large-scale datasets, although effective, often exhibit artifacts in the patch token they extract. While such defects can be alleviated by re-training the entire model with additional classification tokens, the underlying reasons for the presence of these tokens remain unclear. In this paper, we conduct a thorough investigation of this phenomenon, combining theoretical analysis with empirical observations. Our findings reveal that these artifacts originate from the pre-trained network itself, specifically stemming from the leading left singular vector of the network's weights. Furthermore, to mitigate these defects, we propose a novel fine-tuning smooth regularization that rectifies structural deficiencies using only a small dataset, thereby avoiding the need for complete re-training. We validate our method on various downstream tasks, including unsupervised segmentation, classification, supervised segmentation, and depth estimation, demonstrating its effectiveness in improving model performance. Codes and checkpoints are available at https://github.com/haoqiwang/sinder.

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

↑