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

big.LITTLE Vision Transformer:面向高效视觉识别的架构

big.LITTLE Vision Transformer for Efficient Visual Recognition

Huazhong University of Science and Technology(华中科技大学);Beihang University(北京航空航天大学);Tsinghua University(清华大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

He Guo, Yulong Wang, Zixuan Ye, Jifeng Dai, Yuwen Xiong

AI总结:

本文提出 big.LITTLE Vision Transformer,通过动态推理机制将关键 token 分配给高性能 big 模型、次要 token 分配给高效 little 模型,在保持高准确率的同时显著降低计算负荷,实现高效视觉识别。

摘要:

本文提出了 big.LITTLE Vision Transformer,这是一种旨在实现高效视觉识别的创新架构。该双 Transformer 系统由两个不同的模块组成:big performance block(高性能模块),其特点是高容量和巨大的计算需求;以及 LITTLE efficiency block(高效模块),专为追求速度而设计,容量较低。我们方法的关键创新在于其动态推理机制。在处理图像时,系统会确定每个 token 的重要性并据此进行分配:关键 token 由高性能的 big 模型处理,而不太重要的 token 则由更高效的 little 模型处理。这种选择性处理显著降低了计算负荷,同时不牺牲模型的整体性能,因为它确保了将详细分析保留给最重要的信息。为了验证 big.LITTLE Vision Transformer 的有效性,我们在图像分类和 segment anything 任务上进行了全面实验。结果表明,big.LITTLE 架构不仅保持了高准确率,还实现了巨大的计算节省。具体而言,我们的方法通过动态平衡性能与效率之间的权衡,实现了对大规模视觉识别任务的高效处理。我们方法的成功突显了混合模型在优化视觉识别任务中的计算和性能方面的潜力,为在现实应用中更实用、可扩展地部署先进神经网络铺平了道路。

英文摘要:

In this paper, we introduce the big.LITTLE Vision Transformer, an innovative architecture aimed at achieving efficient visual recognition. This dual-transformer system is composed of two distinct blocks: the big performance block, characterized by its high capacity and substantial computational demands, and the LITTLE efficiency block, designed for speed with lower capacity. The key innovation of our approach lies in its dynamic inference mechanism. When processing an image, our system determines the importance of each token and allocates them accordingly: essential tokens are processed by the high-performance big model, while less critical tokens are handled by the more efficient little model. This selective processing significantly reduces computational load without sacrificing the overall performance of the model, as it ensures that detailed analysis is reserved for the most important information. To validate the effectiveness of our big.LITTLE Vision Transformer, we conducted comprehensive experiments on image classification and segment anything task. Our results demonstrate that the big.LITTLE architecture not only maintains high accuracy but also achieves substantial computational savings. Specifically, our approach enables the efficient handling of large-scale visual recognition tasks by dynamically balancing the trade-offs between performance and efficiency. The success of our method underscores the potential of hybrid models in optimizing both computation and performance in visual recognition tasks, paving the way for more practical and scalable deployment of advanced neural networks in real-world applications.

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

↑