arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.14337cs.CV
收藏

TVT:在微小数据集上的免训练 Vision Transformer 搜索

TVT: Training-Free Vision Transformer Search on Tiny Datasets

College of Computer, National University of Defense Technology(国防科技大学计算机学院);The Hong Kong University of Science and Technology(香港科技大学)

Zimian Wei, Hengyue Pan, Lujun Li, Peijie Dong, Zhiliang Tian, Xin Niu, Dongsheng Li

AI总结:

本文提出免训练 ViT 搜索框架 TVT,利用教师感知度量与学生能力度量,在微小数据集上为 ConvNet 教师蒸馏搜索最佳 ViT,显著优于现有免训练搜索方法。

摘要:

本文提出了免训练 Vision Transformer (ViT) 架构搜索,旨在通过零成本代理搜索更优的 ViT。尽管 ViT 在小数据集上能从 CNN 教师模型中获得显著的蒸馏增益,但根据我们的实验观察,当前 ViT 中的零成本代理在蒸馏训练范式上泛化能力不佳。本文首次研究如何在教师模型帮助下以免训练方式进行搜索,并设计了有效的 Training-free ViT (TVT) 搜索框架。首先,我们观察到 ViT 与 ConvNet 教师的注意力图相似性显著影响蒸馏精度。因此,我们提出一种基于教师与学生特征注意力关系的教师感知度量。此外,TVT 采用学生权重的 L2-Norm 作为学生能力度量,以提升排序一致性。最后,TVT 通过教师感知度量和学生能力度量,为 ConvNet 教师蒸馏搜索最佳 ViT,在效率和有效性上取得显著提升。在多个微小数据集和搜索空间上的大量实验表明,TVT 优于当前最先进的免训练搜索方法。代码将发布。

英文摘要:

Training-free Vision Transformer (ViT) architecture search is presented to search for a better ViT with zero-cost proxies. While ViTs achieve significant distillation gains from CNN teacher models on small datasets, the current zero-cost proxies in ViTs do not generalize well to the distillation training paradigm according to our experimental observations. In this paper, for the first time, we investigate how to search in a training-free manner with the help of teacher models and devise an effective Training-free ViT (TVT) search framework. Firstly, we observe that the similarity of attention maps between ViT and ConvNet teachers affects distill accuracy notably. Thus, we present a teacher-aware metric conditioned on the feature attention relations between teacher and student. Additionally, TVT employs the L2-Norm of the student's weights as the student-capability metric to improve ranking consistency. Finally, TVT searches for the best ViT for distilling with ConvNet teachers via our teacher-aware metric and student-capability metric, resulting in impressive gains in efficiency and effectiveness. Extensive experiments on various tiny datasets and search spaces show that our TVT outperforms state-of-the-art training-free search methods. The code will be released.

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

↑