arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.04657cs.CV
收藏

使用哪些令牌?探究视觉Transformer中的令牌削减

Which Tokens to Use? Investigating Token Reduction in Vision Transformers

Aalborg University(奥尔堡大学);Pioneer Centre for AI(先锋人工智能中心);Universitat de Barcelona(巴塞罗那大学);Computer Vision Center(计算机视觉中心);University of Guelph(圭尔夫大学);Vector Institute for AI(矢量人工智能研究所)

Joakim Bruslund Haurum, Sergio Escalera, Graham W. Taylor, Thomas B. Moeslund

AI总结:

本文系统比较了10种视觉Transformer令牌削减方法在4个数据集上的削减模式,发现Top-K剪枝是强大基线,并揭示削减模式与模型容量、方法类型及性能之间的关系。

摘要:

自视觉Transformer(ViT)提出以来,研究者们一直试图通过移除处理后令牌中的冗余信息来提高ViT的效率。尽管已经探索了不同的方法来实现这一目标,我们仍然缺乏对由此产生的削减模式的理解,以及这些模式在不同令牌削减方法和数据集之间有何差异。为了填补这一空白,我们着手使用四个图像分类数据集来理解10种不同令牌削减方法的削减模式。通过在不同分类任务上系统地比较这些方法,我们发现Top-K剪枝方法是一个出人意料的强大基线。通过对不同方法的深入分析,我们确定:当改变骨干模型的容量时,削减模式通常不一致;基于剪枝的方法的削减模式与固定的径向模式显著不同;并且基于剪枝的方法的削减模式在分类数据集之间具有相关性。最后我们报告,削减模式的相似性是模型性能的一个中等到强的代理指标。项目页面位于https://vap.aau.dk/tokens。

英文摘要:

Since the introduction of the Vision Transformer (ViT), researchers have sought to make ViTs more efficient by removing redundant information in the processed tokens. While different methods have been explored to achieve this goal, we still lack understanding of the resulting reduction patterns and how those patterns differ across token reduction methods and datasets. To close this gap, we set out to understand the reduction patterns of 10 different token reduction methods using four image classification datasets. By systematically comparing these methods on the different classification tasks, we find that the Top-K pruning method is a surprisingly strong baseline. Through in-depth analysis of the different methods, we determine that: the reduction patterns are generally not consistent when varying the capacity of the backbone model, the reduction patterns of pruning-based methods significantly differ from fixed radial patterns, and the reduction patterns of pruning-based methods are correlated across classification datasets. Finally we report that the similarity of reduction patterns is a moderate-to-strong proxy for model performance. Project page at https://vap.aau.dk/tokens.

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

↑