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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yan, Shilin, Han, Jiaming, Tsai, Joey, Xue, Hongwei, Fang, Rongyao, Hong, Lingyi, Guo, Ziyu, Zhang, Ray
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909971430506496
author Yan, Shilin
Han, Jiaming
Tsai, Joey
Xue, Hongwei
Fang, Rongyao
Hong, Lingyi
Guo, Ziyu
Zhang, Ray
author_facet Yan, Shilin
Han, Jiaming
Tsai, Joey
Xue, Hongwei
Fang, Rongyao
Hong, Lingyi
Guo, Ziyu
Zhang, Ray
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_17020
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CrossLMM: Decoupling Long Video Sequences from LMMs via Dual Cross-Attention Mechanisms
Yan, Shilin
Han, Jiaming
Tsai, Joey
Xue, Hongwei
Fang, Rongyao
Hong, Lingyi
Guo, Ziyu
Zhang, Ray
Computer Vision and Pattern Recognition
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.
title CrossLMM: Decoupling Long Video Sequences from LMMs via Dual Cross-Attention Mechanisms
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.17020