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

Video-XL:面向小时级视频理解的超长视觉语言模型

Video-XL: Extra-Long Vision Language Model for Hour-Scale Video Understanding

Beijing Academy of Artificial Intelligence(北京人工智能研究院);Renmin University of China(中国人民大学);Chinese Academy of Sciences(中国科学院);Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学);Shanghai Jiaotong University(上海交通大学)

Yan Shu, Zheng Liu, Peitian Zhang, Minghao Qin, Junjie Zhou, Zhengyang Liang, Tiejun Huang, Bo Zhao

AI总结:

本文提出Video-XL,利用VST与KV稀疏化、课程学习、复合数据及动态压缩实现长视频视觉token高效压缩,在低损失和低成本下提升小时级视频理解能力。

摘要:

长视频理解对当前的多模态大语言模型(MLLMs)构成了重大挑战。值得注意的是,MLLMs在处理长视频时受到有限上下文长度和高昂成本的制约。尽管已有若干方法尝试减少视觉token,但其策略遭遇严重瓶颈,限制了MLLMs感知细粒度视觉细节的能力。在本工作中,我们提出Video-XL,这是一种利用MLLMs固有的键值(KV)稀疏化能力来压缩视觉输入的新颖方法。具体而言,我们为视频的每个区间引入一种新的特殊token,即视觉摘要token(Visual Summarization Token,VST),它将区间内的视觉信息总结为其关联的KV。VST模块通过指令微调进行训练,其中提供了两种优化策略。1. 课程学习:VST在此过程中逐步学习小压缩(容易)和大压缩(困难)。2. 复合数据整理:整合单图像、多图像和合成数据,以克服长视频指令数据稀缺的问题。动态压缩进一步提升了压缩质量,它根据不同视频区间的信息密度定制压缩粒度。Video-XL的有效性从三个方面得到验证。第一,它实现了卓越的长视频理解能力,在多个流行基准测试上优于同等规模的最先进模型。第二,它有效保留了视频信息,即使在16倍压缩比下也只有极小的压缩损失。第三,它实现了出色的成本效益,能够在单张A100 GPU上高质量处理数千帧。

英文摘要:

Long video understanding poses a significant challenge for current Multi-modal Large Language Models (MLLMs). Notably, the MLLMs are constrained by their limited context lengths and the substantial costs while processing long videos. Although several existing methods attempt to reduce visual tokens, their strategies encounter severe bottleneck, restricting MLLMs' ability to perceive fine-grained visual details. In this work, we propose Video-XL, a novel approach that leverages MLLMs' inherent key-value (KV) sparsification capacity to condense the visual input. Specifically, we introduce a new special token, the Visual Summarization Token (VST), for each interval of the video, which summarizes the visual information within the interval as its associated KV. The VST module is trained by instruction fine-tuning, where two optimizing strategies are offered. 1.Curriculum learning, where VST learns to make small (easy) and large compression (hard) progressively. 2. Composite data curation, which integrates single-image, multi-image, and synthetic data to overcome the scarcity of long-video instruction data. The compression quality is further improved by dynamic compression, which customizes compression granularity based on the information density of different video intervals. Video-XL's effectiveness is verified from three aspects. First, it achieves a superior long-video understanding capability, outperforming state-of-the-art models of comparable sizes across multiple popular benchmarks. Second, it effectively preserves video information, with minimal compression loss even at 16x compression ratio. Third, it realizes outstanding cost-effectiveness, enabling high-quality processing of thousands of frames on a single A100 GPU.

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

↑