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

当“更少”已足够:面向高效图像表征的自适应Token缩减

When Less is Enough: Adaptive Token Reduction for Efficient Image Representation

AIRI;MIPT(莫斯科物理技术学院)

Eduard Allakhverdov, Elizaveta Goncharova, Andrey Kuznetsov

AI总结:

该研究针对视觉编码器token过多导致计算成本高的问题,提出结合自编码器与Gumbel-Softmax机制的自适应token选择方法,验证了其在多模态任务中可大幅缩减计算量且性能损失极小,为高效多模态剪枝提供了新方向。

摘要:

视觉编码器通常会生成大量视觉token,虽能提供信息丰富的表征,却也显著提升了计算需求。这引出一个问题:所有生成的token是否具有同等价值,是否可以丢弃其中部分token以降低计算成本且不损失质量。本文提出一种衡量特征效用的新方法,核心思路是价值较低的特征可由价值更高的特征重建而来。我们通过将自编码器与Gumbel-Softmax选择机制集成来实现这一构想,该机制能够识别并仅保留信息量最高的视觉token。为验证我们的方法,我们将经本方法选择特征的LLaVA-NeXT模型性能与使用随机选择特征的模型性能进行了对比。研究发现,在基于OCR的任务中,移除超过50%的视觉上下文仅带来极小的性能损失,而随机丢弃相同比例的特征会显著影响模型能力。此外,在通用领域任务中,即便仅随机保留30%的token,其性能也与使用全部视觉token的效果相当。我们的结果为自适应高效多模态剪枝指明了一个颇具前景的方向,可在不损失性能的前提下实现可扩展、低开销的推理。

英文摘要:

Vision encoders typically generate a large number of visual tokens, providing information-rich representations but significantly increasing computational demands. This raises the question of whether all generated tokens are equally valuable or if some of them can be discarded to reduce computational costs without compromising quality. In this paper, we introduce a new method for determining feature utility based on the idea that less valuable features can be reconstructed from more valuable ones. We implement this concept by integrating an autoencoder with a Gumbel-Softmax selection mechanism, that allows identifying and retaining only the most informative visual tokens. To validate our approach, we compared the performance of the LLaVA-NeXT model, using features selected by our method with randomly selected features. We found that on OCR-based tasks, more than 50% of the visual context can be removed with minimal performance loss, whereas randomly discarding the same proportion of features significantly affects the model capabilities. Furthermore, in general-domain tasks, even randomly retaining only 30% of tokens achieves performance comparable to using the full set of visual tokens. Our results highlight a promising direction towards adaptive and efficient multimodal pruning that facilitates scalable and low-overhead inference without compromising performance.

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

↑