arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.01484cs.CVcs.LG
收藏

面向视觉Transformer的数据级彩票票假设

Data Level Lottery Ticket Hypothesis for Vision Transformers

Northeastern University(东北大学);Western Digital Research(西部数据研究院);Peking University(北京大学);ETH Zurich(苏黎世联邦理工学院);Clemson University(克莱姆森大学)

Xuan Shen, Zhenglun Kong, Minghai Qin, Peiyan Dong, Geng Yuan, Xin Meng, Hao Tang, Xiaolong Ma, Yanzhi Wang

AI总结:

本文将彩票票假设从权重级推广到视觉Transformer的输入图像块级,提出Data-LTH-ViTs,证明存在信息量高的图像块子集(中奖票)可使ViT从头训练达到与使用全部图像块相近的准确率,并通过DeiT、LV-ViT和Swin Transformer实验验证了该理论。

摘要:

传统的彩票票假设(LTH)声称,在稠密神经网络中存在一个稀疏子网络,以及一种称为中奖票的适当随机初始化方法,使得该子网络可以从头训练,性能几乎与稠密对应网络一样好。与此同时,LTH在视觉Transformer(ViTs)中的研究很少被评估。在本文中,我们首先表明,通过现有方法很难在ViTs的权重级别上找到传统的中奖票。然后,受ViTs输入依赖性的启发,我们将针对ViTs的LTH推广到由图像块组成的输入数据上。也就是说,存在一个输入图像块子集,使得ViT可以仅使用该子集图像块从头训练,并达到与使用所有图像块训练的ViTs相似的准确率。我们将这个输入图像块子集称为em中奖票,它们代表了输入数据中的重要信息量。我们使用一个票选择器根据图像块的信息量来为各种类型的ViT生成中奖票,包括DeiT、LV-ViT和Swin Transformers。实验表明,使用中奖票训练的模型与随机选择子集训练的模型在性能上存在明显差异,这验证了我们提出的理论。我们详细阐述了我们提出的Data-LTH-ViTs与传统LTH之间的类比相似性,以进一步验证我们理论的完整性。源代码可在https://github.com/shawnricecake/vit-lottery-ticket-input获取。

英文摘要:

The conventional lottery ticket hypothesis (LTH) claims that there exists a sparse subnetwork within a dense neural network and a proper random initialization method called the winning ticket, such that it can be trained from scratch to almost as good as the dense counterpart. Meanwhile, the research of LTH in vision transformers (ViTs) is scarcely evaluated. In this paper, we first show that the conventional winning ticket is hard to find at the weight level of ViTs by existing methods. Then, we generalize the LTH for ViTs to input data consisting of image patches inspired by the input dependence of ViTs. That is, there exists a subset of input image patches such that a ViT can be trained from scratch by using only this subset of patches and achieve similar accuracy to the ViTs trained by using all image patches. We call this subset of input patches the em winning tickets, which represent a significant amount of information in the input data. We use a ticket selector to generate the winning tickets based on the informativeness of patches for various types of ViT, including DeiT, LV-ViT, and Swin Transformers. The experiments show that there is a clear difference between the performance of models trained with winning tickets and randomly selected subsets, which verifies our proposed theory. We elaborate on the analogical similarity between our proposed Data-LTH-ViTs and the conventional LTH to further verify the integrity of our theory. The Source codes are available at https://github.com/shawnricecake/vit-lottery-ticket-input.

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

↑