Long video understanding is inherently challenging for vision-language models (VLMs) because of the extensive number of frames. With each video frame typically expanding into tens or hundreds of tokens, the limited context length of large language models (LLMs) forces the VLMs to perceive the frames sparsely and lose temporal information. To address this, we explore extreme video token compression towards one token per frame at the final LLM layer. Our key insight is that heuristic-based compression, widely adopted by previous methods, is prone to information loss, and this necessitates supervising LLM layers into learnable and progressive modules for token-level compression (LP-Comp). Such compression enables our VLM to digest 2x-4x more frames with improved performance. To further increase the token efficiency, we investigate frame-level compression, which selects the frames most relevant to the queries via the internal attention scores of the LLM layers, named question-conditioned compression (QC-Comp). As a notable distinction from previous studies, we mitigate the position bias of LLM attention in long contexts, i.e., the over-concentration on the beginning and end of a sequence, by splitting long videos into short segments and employing local attention. Collectively, our combined token-level and frame-level leads to an extreme compression model for long video understanding, named XComp, achieving a significantly larger compression ratio and enabling denser frame sampling. Our XComp is finetuned from VideoChat-Flash with a data-efficient supervised compression tuning stage that only requires 2.5% of the supervised fine-tuning data, yet boosts the accuracy from 42.9% to 46.2% on LVBench and enhances multiple other long video benchmarks.
Figures & tables
Figure 1: Left: We present XComp that explores using the LLM layers to progressively compress the video tokens towards the extreme of one token per frame . Right: Such capabilities enable the model to better improve itself with denser input frames without significantly increasing video tokens.
Figure 2: Overview. Our XComp comprises of two parts to achieve extreme compression in long video understanding. (1) At the token level , we propose the supervised compression tuning that enables the LLM to compress every video frame into one compact token in a learnable and progressive manner, namely, LP-Comp (Sec. 3.2 ). (2) At the frame level , we utilize the internal attention mechanism to select the frames relevant to the questions, which is question-conditioned compression, namely, QC-Comp (Sec. 3.3 ). Both aspects combined lead to our objective of extreme compression in long video understanding: one token per highly selective frame.
Figure 3: Learnable and Progressive Compression (LP-Comp). With supervised compression tuning , the LLM layers learn to condense the visual tokens progressively into a concise set of tokens until reaching the extreme of one token per frame.
Figure 4: Question-Conditioned Compression. To reduce the visual redundancy and improve long video understanding performance, we split a video into individual segments and assign question-conditioned relevance scores to video frames. The frames with lower relevance scores are discarded so that the LLM only concentrates on the informative frames.
Size
LongVideoBench
MLVU
VideoMME (Long)
LVBench
Average Duration
473s
651s
2386s
4101s
Proprietary Models
GPT-4V [ 48 ]
-
59.1
49.2
53.5
–
GPT-4o [ 49 ]
-
66.7
64.6
65.3
30.8
Gemini-1.5-Pro [ 58 ]
-
64.0
–
67.4
33.1
3 ∼ 9B-Scale VLMs
Table 1: Long video understanding comparison. Our method XComp built upon VideoChat-Flash-2B achieves state-of-the-art results among 2B-scale models, demonstrating the effectiveness of extreme compression in long video understanding. Note that the performance of proprietary models and 3 ∼ 9B-scale VLMs are provided for reference.
Figure 5: LongVideoBench case analysis. XComp leverages QC-Comp to divide a long video into short segments, mitigating attention bias. Local attention highlights key frames relevant to the question and correct answer, enabling effective filtering of irrelevant content.
Method
Training-free
Learnable
Baseline (w/o compression)
41.8
-
+ Heuristic
41.1
-
+ Step-wise
38.4
42.3
+ Progressive
39.7
44.3
Table 2: Ablation study using LVBench: progressive v.s. step-wise non-heuristic token compression v.s. heuristic compression from VideoChat-Flash, and learnable v.s. training-free token compression. All the evaluations are conducted with 1024 frames. Both progressive compression and staged compression would gradually compress tokens to 1 token per frame with the same amount of average tokens per frame.
Strategy
LVBench
MLVU
Uniform
43.6
64.1
Suffix
44.3
65.2
Table 3: Comparison of token compression strategies on LVBench and MLVU. Both Uniform Drop and Suffix-Preservation follow the same Cosine compression schedule and efficient continual training.
Attention
LongVideoBench
MLVU
VideoMME (long)
Global
59.5
66.3
44.8
Segment Local (Ours)
59.7
66.7
45.7
Table 4: Comparison of attention strategies in QC-drop. Segment-wise attention consistently outperforms global attention across benchmarks.
LongVideoBench
Baseline (w/o compression)
58.3
XComp w/o QC-Comp
58.8
XComp
59.7
Table 5: Ablation results showing the individual and combined impact of LP-Comp and QC-Comp on LongVideoBench. Both components contribute to the overall performance gains of XComp.
Model Name
LP-Comp
Variants
QC-Comp
Variants
LongVideoBench
LVBench
VideoChat-Flash
No
-
No
-
58.3
42.9
XComp
Yes
Uniform
No
-
58.2
43.6
XComp
Yes
Suffix
No
-
58.8
44.3
XComp
Yes
Suffix
Yes
Global
59.5
45.6
XComp
Yes
Suffix
Yes
Segment Local
59.7
46.2
Table 6: The complete table of all ablation studies on LongVideoBench and LVBench.
Model Version
VideoMME (Long)
LVBench
LLaVA-Next-Video
62.7
40.6
LLaVA-Next-Video + FT
61.4
41.4
LLaVA-Next-Video + XComp
63.2
43.1
Table 7: Generalize to LLaVA-Next-Video, a different model from VideoChat-Flash. XComp consistently improves the efficiency and accuracy of LLaVA-Next-Video on the two long video benchmarks, outperforming both the baseline and fine-tuning.
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Hyperparameter
Value / Description
tunable_parts
Large Langauge Model
learning_rate
1×10−5
weight_decay
0.0
warmup_ratio
0.03
lr_scheduler_type
Cosine
dataloader_num_workers
1
Appendix
Table A : The hyperparameters used in fine-tuning.