Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Shanghai Jiao Tong University(上海交通大学);Tencent Youtu Lab(腾讯优图实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Yifan Xu, Zhijie Zhang, Mengdan Zhang, Kekai Sheng, Ke Li, Weiming Dong, Liqing Zhang, Changsheng Xu, Xing Sun
备注:
We propose a novel and effective design for dynamic vision transformer to achieve better computational efficiency. The code is available at https://github.com/YifanXu74/Evo-ViT
Vision transformers (ViTs) have recently received explosive popularity, but the huge computational cost is still a severe issue. Since the computation complexity of ViT is quadratic with respect to the input sequence length, a mainstream paradigm for computation reduction is to reduce the number of tokens. Existing designs include structured spatial compression that uses a progressive shrinking pyramid to reduce the computations of large feature maps, and unstructured token pruning that dynamically drops redundant tokens. However, the limitation of existing token pruning lies in two folds: 1) the incomplete spatial structure caused by pruning is not compatible with structured spatial compression that is commonly used in modern deep-narrow transformers; 2) it usually requires a time-consuming pre-training procedure. To tackle the limitations and expand the applicable scenario of token pruning, we present Evo-ViT, a self-motivated slow-fast token evolution approach for vision transformers. Specifically, we conduct unstructured instance-wise token selection by taking advantage of the simple and effective global class attention that is native to vision transformers. Then, we propose to update the selected informative tokens and uninformative tokens with different computation paths, namely, slow-fast updating. Since slow-fast updating mechanism maintains the spatial structure and information flow, Evo-ViT can accelerate vanilla transformers of both flat and deep-narrow structures from the very beginning of the training process. Experimental results demonstrate that our method significantly reduces the computational cost of vision transformers while maintaining comparable performance on image classification.
Improving Vision Transformers for Incremental Learning
Microsoft(微软)
本文提出了一种将视觉Transformer(ViT)应用于课堂增量学习的方法。虽然这个配方只是结合了现有的技术,但开发这种组合并不容易。首先,在增量学习中用ViT代替卷积神经网络(CNN)会导致严重的性能下降。其次,我们确定了天真地使用ViT的三个问题:(a)当类的数量很小时,ViT的收敛速度非常慢,(b)在ViT中观察到的新类比基于CNN的架构更偏向于新类,以及(c)ViT的传统学习率太低,无法学习到好的分类器层。最后,我们的解决方案,名为ITIL(ViT for Incremental Learning),在CIFAR和ImageNet数据集上实现了所有三类增量学习设置的最新技术水平。我们相信这将在增量学习社区中推进Transformer的知识。代码将公开发布。
SP-ViT: Learning 2D Spatial Priors for Vision Transformers
University of Mannheim(曼海姆大学);The Hong Kong Polytechnic University(香港理工大学);University of Siegen(锡根大学);Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);Saarland Informatics Campus(萨尔信息学园区);Alibaba Group(阿里巴巴集团)
Dynamic Accumulated Attention Map for Interpreting Evolution of Decision-Making in Vision Transformer
Griffith University(格里菲斯大学);Institute for Integrated and Intelligent Systems, Griffith University(格里菲斯大学集成智能系统研究所);Shaanxi University of Science and Technology(陕西科技大学)
PSAQ-ViT V2: Towards Accurate and General Data-Free Quantization for Vision Transformers
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
ASSCG: Just-Right Gating over Chattering for Fast-Slow LLM Planning in Autonomous Driving
Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Department of Automation, University of Science and Technology of China(中国科学技术大学自动化系);Beijing University of Aeronautics and Astronautics(北京航空航天大学);Lenovo Group Limited(联想集团)