Video-XL-2: Towards Very Long-Video Understanding Through Task-Aware KV Sparsification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Qin, Minghao, Liu, Xiangrui, Liang, Zhengyang, Shu, Yan, Yuan, Huaying, Zhou, Juenjie, Xiao, Shitao, Zhao, Bo, Liu, Zheng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911020312690688
author Qin, Minghao
Liu, Xiangrui
Liang, Zhengyang
Shu, Yan
Yuan, Huaying
Zhou, Juenjie
Xiao, Shitao
Zhao, Bo
Liu, Zheng
author_facet Qin, Minghao
Liu, Xiangrui
Liang, Zhengyang
Shu, Yan
Yuan, Huaying
Zhou, Juenjie
Xiao, Shitao
Zhao, Bo
Liu, Zheng
contents Multi-modal large language models (MLLMs) models have made significant progress in video understanding over the past few years. However, processing long video inputs remains a major challenge due to high memory and computational costs. This makes it difficult for current models to achieve both strong performance and high efficiency in long video understanding. To address this challenge, we propose Video-XL-2, a novel MLLM that delivers superior cost-effectiveness for long-video understanding based on task-aware KV sparsification. The proposed framework operates with two key steps: chunk-based pre-filling and bi-level key-value decoding. Chunk-based pre-filling divides the visual token sequence into chunks, applying full attention within each chunk and sparse attention across chunks. This significantly reduces computational and memory overhead. During decoding, bi-level key-value decoding selectively reloads either dense or sparse key-values for each chunk based on its relevance to the task. This approach further improves memory efficiency and enhances the model's ability to capture fine-grained information. Video-XL-2 achieves state-of-the-art performance on various long video understanding benchmarks, outperforming existing open-source lightweight models. It also demonstrates exceptional efficiency, capable of processing over 10,000 frames on a single NVIDIA A100 (80GB) GPU and thousands of frames in just a few seconds.
format Preprint
id arxiv_https___arxiv_org_abs_2506_19225
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Video-XL-2: Towards Very Long-Video Understanding Through Task-Aware KV Sparsification
Qin, Minghao
Liu, Xiangrui
Liang, Zhengyang
Shu, Yan
Yuan, Huaying
Zhou, Juenjie
Xiao, Shitao
Zhao, Bo
Liu, Zheng
Computer Vision and Pattern Recognition
Artificial Intelligence
Multi-modal large language models (MLLMs) models have made significant progress in video understanding over the past few years. However, processing long video inputs remains a major challenge due to high memory and computational costs. This makes it difficult for current models to achieve both strong performance and high efficiency in long video understanding. To address this challenge, we propose Video-XL-2, a novel MLLM that delivers superior cost-effectiveness for long-video understanding based on task-aware KV sparsification. The proposed framework operates with two key steps: chunk-based pre-filling and bi-level key-value decoding. Chunk-based pre-filling divides the visual token sequence into chunks, applying full attention within each chunk and sparse attention across chunks. This significantly reduces computational and memory overhead. During decoding, bi-level key-value decoding selectively reloads either dense or sparse key-values for each chunk based on its relevance to the task. This approach further improves memory efficiency and enhances the model's ability to capture fine-grained information. Video-XL-2 achieves state-of-the-art performance on various long video understanding benchmarks, outperforming existing open-source lightweight models. It also demonstrates exceptional efficiency, capable of processing over 10,000 frames on a single NVIDIA A100 (80GB) GPU and thousands of frames in just a few seconds.
title Video-XL-2: Towards Very Long-Video Understanding Through Task-Aware KV Sparsification
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2506.19225