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

多模态Transformer中线性注意力的应用

On The Application of Linear Attention in Multimodal Transformers

University of Maryland(马里兰大学);Johns Hopkins University(约翰霍普金斯大学)

Armin Gerami, Seyedehanita Madani, Ramani Duraiswami

AI总结:

本文研究了线性注意力在多模态框架中的应用,通过减少计算开销并保持性能,证明了线性注意力在多模态Transformer中的有效性。

摘要:

多模态Transformer是最新视觉-语言模型的基础,但其二次注意力复杂性成为可扩展性的关键障碍。本文研究了线性注意力(LA)作为多模态框架中的高效替代方案的可行性。通过整合LA,我们减少了计算开销,从二次到线性相对序列长度,同时保持竞争性性能。我们在LAION-400M数据集上评估了我们的方法,验证集中在ImageNet-21K零样本准确性上。系统评估表明,线性注意力不仅带来了显著的计算节省,还遵循与标准softmax注意力相同的扩展定律。这些发现将线性注意力定位为下一代多模态Transformer的稳健、可扩展的解决方案,以处理日益庞大和复杂的数据集。

英文摘要:

Multimodal Transformers serve as the backbone for state-of-the-art vision-language models, yet their quadratic attention complexity remains a critical barrier to scalability. In this work, we investigate the viability of Linear Attention (LA) as a high-efficiency alternative within multimodal frameworks. By integrating LA, we reduce the computational overhead from quadratic to linear relative to sequence length while preserving competitive performance. We evaluate our approach across ViT-S/16, ViT-B/16, and ViT-L/16 architectures trained on the LAION-400M dataset, with validation focused on ImageNet-21K zero-shot accuracy. Our systematic evaluation demonstrates that Linear Attention not only yields significant computational savings but also adheres to the same scaling laws as standard softmax attention. These findings position Linear Attention as a robust, scalable solution for next-generation multimodal Transformers tasked with processing increasingly large and complex datasets.

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

↑