VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling

Xinhao Li, Yi Wang, Jiashuo Yu, Xiangyu Zeng, Yuhan Zhu, Haian Huang, Jianfei Gao, Kunchang Li, Yinan He, Chenting Wang, Yu Qiao, Yali Wang, Limin Wang

Overview

Multimodal Large Language Models (MLLMs) have made significant strides in visual understanding, but processing long-form video remains a major hurdle. A single hour of video can translate into nearly a million tokens, creating a massive computational burden that slows down inference and overwhelms the model's context window.

Because video is inherently redundant—with adjacent frames often containing nearly identical information—existing methods typically rely on either expensive, massive context windows or aggressive compression that sacrifices fine-grained detail. VideoChat-Flash addresses this "balance" problem by introducing a hierarchical compression method that reduces video token counts by a factor of 50 with almost no performance loss, achieving state-of-the-art results on long-video benchmarks.

Methodology: Hierarchical Video Token Compression (HiCo)

The core innovation of VideoChat-Flash is Hierarchical video token Compression (HiCo), a two-stage approach designed to efficiently distill long videos into manageable contexts.

Architecture of VideoChat-Flash
  1. Clip-level Compression: The model first segments the video into clips and processes them using a Video Encoder with spatio-temporal attention. It employs Similar Token Merging (ToMe) to aggregate redundant information across frames within a single clip. This step aggressively reduces each frame to an average of just 16 tokens.
  2. Video-level Compression (Progressive Visual Dropout): During inference, the model further prunes tokens based on how the LLM processes them across different layers. In shallow layers, it uses a uniform drop (discarding tokens randomly to maintain overall structure). In deeper layers, it shifts to text-guided selection, retaining only the tokens most relevant to the user's specific prompt.

To support this architecture, the authors implemented a Duration-based Sampling strategy (dense sampling for short videos, sparse for long ones) and a lightweight timestamp prompt ("The video lasts for N seconds..."), allowing the model to understand temporal dynamics without the overhead of per-frame timestamps.

New Datasets and Benchmarks

To train and evaluate VideoChat-Flash, the researchers introduced two major resources:

  • LongVid: A massive instruction-tuning dataset containing 114,228 long videos (averaging ~6 minutes) and 3.44 million QA pairs, covering tasks like temporal grounding and event counting.
  • Multi-Hop Needle-In-A-Video-Haystack (MH-NIAH): A challenging new benchmark. Unlike standard NIAH tests that ask a model to find a single image, MH-NIAH requires the model to follow a chain of visual clues across a long video (e.g., "Find the frame with the bear, then look at what the bear is holding to answer the next question").

Key Insights

  • Attention Sparsity is Layer-Dependent: LLMs pay attention to the entire video context in shallow layers but focus on local moments in deeper layers. This justifies the "Progressive Visual Dropout" strategy: tokens cannot be dropped early based on attention because the model hasn't yet decided what is important.
  • Spatio-Temporal Awareness Matters: Using a video-specific encoder (like UMT) outperforms standard image encoders (like SigLIP) when heavy compression is applied. The video encoder's ability to model inter-frame dependencies allows for more meaningful compression.
  • Compression as a Feature: Surprisingly, appropriate compression can enhance performance. By reducing irrelevant visual noise, the model can reason more clearly about the remaining essential tokens.

Key Results

VideoChat-Flash demonstrates that extreme efficiency does not have to come at the cost of accuracy.

Performance and Efficiency Comparison
  • Efficiency: The model achieves a ~1/50 compression ratio. On a 10,000-frame input, its computational load (TFLOPS) is roughly two orders of magnitude lower than competitors.
  • Retrieval Accuracy: It achieved a record-breaking 99.1% accuracy on the 10,000-frame Single-Hop NIAH, the highest among open-source models.
  • Benchmark Dominance: At the 7B parameter scale, VideoChat-Flash outperformed proprietary models like GPT-4o and Gemini 1.5 Pro on several benchmarks, including MVBench (74.0 vs. 64.6 for GPT-4o) and LVBench (48.2 vs. 30.8 for GPT-4o).
  • Complex Reasoning: On the new Multi-Hop NIAH, VideoChat-Flash significantly outperformed other open-source baselines, proving its ability to follow logical paths through long videos rather than just memorizing frames.

Limitations and Future Work

While highly effective, the authors note a few limitations. First, there is a training-inference mismatch: while Video-level compression (dropout) works exceptionally well during inference, enabling it during training slightly impaired performance. Second, because the model operates on highly compressed representations, it may still struggle with extremely tiny text or distant objects, despite the inclusion of a high-resolution enhancement stage. Future work may explore integrating native "Chain-of-Thought" reasoning capabilities to further boost complex video understanding.

Summary updated

BibTeX
@inproceedings{li2026videochat,
  author = {Xinhao Li and Yi Wang and Jiashuo Yu and Xiangyu Zeng and Yuhan Zhu and Haian Huang and Jianfei Gao and Kunchang Li and Yinan He and Chenting Wang and Yu Qiao and Yali Wang and Limin Wang},
  title = {{VideoChat-Flash: Hierarchical Compression for Long-Context Video Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=MUjdNcfNPv},
}
Figure