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

CrossLMM: 通过双交叉注意力机制解耦长视频序列与LMMs

CrossLMM: Decoupling Long Video Sequences from LMMs via Dual Cross-Attention Mechanisms

Accio Team, Alibaba Group(阿里集团阿奇奥团队);CUHK MMLab(CUHK多模态实验室);Tsinghua University(清华大学)

Shilin Yan, Jiaming Han, Joey Tsai, Hongwei Xue, Rongyao Fang, Lingyi Hong, Ziyu Guo, Ray Zhang

AI总结:

CrossLMM通过双交叉注意力机制解耦长视频序列,有效减少视觉token数量并保持性能,适用于多种视频多模态模型基准测试。

摘要:

大多模态模型(LMMs)的出现显著增强了大语言模型(LLMs)处理和解释多种数据模态(例如图像和视频)的能力。然而,随着输入复杂性的增加,特别是长视频序列的出现,所需token的数量显著增加,导致计算成本呈平方增长。这使得在LMMs中高效压缩视频token,同时保持性能完整性,成为迫切的研究挑战。在本文中,我们介绍CrossLMM,通过双交叉注意力机制解耦长视频序列与LMMs,从而显著减少视觉token数量,同时保持性能的最小降级。具体而言,我们首先通过池化方法从预训练的视觉编码器中实现显著的token减少。然后,在LLM层中,我们采用视觉到视觉的交叉注意力机制,其中池化的视觉token作为查询,与原始视觉token集进行交互。该模块在保留细粒度信息保真度的同时,实现了更高效的token利用。此外,我们引入了文本到视觉的交叉注意力机制,其中文本token通过与原始视觉token的交互得到增强,从而丰富了文本token对视觉内容的理解。全面的实证评估表明,尽管使用了大量减少的计算资源,我们的方法在多种基于视频的LMM基准测试中实现了可比或更优的性能。

英文摘要:

The advent of Large Multimodal Models (LMMs) has significantly enhanced Large Language Models (LLMs) to process and interpret diverse data modalities (e.g., image and video). However, as input complexity increases, particularly with long video sequences, the number of required tokens has grown significantly, leading to quadratically computational costs. This has made the efficient compression of video tokens in LMMs, while maintaining performance integrity, a pressing research challenge. In this paper, we introduce CrossLMM, decoupling long video sequences from LMMs via a dual cross-attention mechanism, which substantially reduces visual token quantity with minimal performance degradation. Specifically, we first implement a significant token reduction from pretrained visual encoders through a pooling methodology. Then, within LLM layers, we employ a visual-to-visual cross-attention mechanism, wherein the pooled visual tokens function as queries against the original visual token set. This module enables more efficient token utilization while retaining fine-grained informational fidelity. In addition, we introduce a text-to-visual cross-attention mechanism, for which the text tokens are enhanced through interaction with the original visual tokens, enriching the visual comprehension of the text tokens. Comprehensive empirical evaluation demonstrates that our approach achieves comparable or superior performance across diverse video-based LMM benchmarks, despite utilizing substantially fewer computational resources.

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

↑