Scaling Video-Language Models to 10K Frames via Hierarchical Differential Distillation

Chuanqi Cheng, Jian Guan, Wei Wu, Rui Yan · OpenReview

Introduction

Processing long-form video presents a fundamental challenge for vision-language models (VLMs) due to the "token explosion" problem. A single minute of video can generate over a million visual tokens, far exceeding the context windows of modern Large Language Models (LLMs). Existing strategies like token pruning or feature merging often fail by either discarding critical temporal moments or diluting semantic information into a "blurry" representation.

We introduce ViLAMP (Video-LAnguage Model with Mixed Precision), a hierarchical VLM that scales to 10,000 frames on a single GPU. ViLAMP employs a principled approach called differential distillation to systematically preserve task-relevant information while suppressing redundancy, effectively processing hour-long videos at "mixed precision."

The Redundancy Paradox

A key observation driving this work is the "redundancy paradox": frames that receive the highest attention from a model are often visually very similar to one another. Simply selecting the most "relevant" frames leads to massive informational redundancy, while ignoring the rest loses the temporal context required for complex reasoning. ViLAMP addresses this by defining saliency as the difference between query relevance and temporal redundancy.

Methodology: Hierarchical Differential Distillation

ViLAMP utilizes a two-tier strategy to manage long temporal sequences:

  1. Differential Keyframe Selection (DKS): Instead of selecting frames based solely on relevance, DKS uses a greedy algorithm to identify frames that are both highly relevant to the user's query and temporally distinct from previously selected anchors. This ensures a diverse set of high-quality visual "anchors."
  2. Differential Feature Merging (DFM): The remaining "non-keyframes" are not discarded. Instead, they are compressed into single tokens. DFM calculates a saliency score for every patch in a frame by subtracting its similarity to the preceding keyframe from its query relevance. Weighted pooling then preserves only the most unique and relevant features.

These two streams—full-detail keyframes and ultra-compressed context tokens—are fed into a Qwen2-7B backbone, allowing the model to maintain global context without exceeding memory limits.

Experimental Results

Computational Efficiency

ViLAMP achieves substantial memory savings compared to existing long-video baselines. By utilizing its mixed-precision approach, it can process up to 10,000 frames (~2.7 hours at 1 FPS) on a single NVIDIA A100 GPU, whereas other models encounter Out-of-Memory (OOM) errors much earlier.

GPU memory consumption of ViLAMP vs. baselines as frame count increases.

Performance and Stability

On standard benchmarks like Video-MME, ViLAMP achieved 58.4% accuracy on the "Long" subset (>39 mins), outperforming VideoChat-Flash. To further test long-range retrieval, the authors introduced VideoNIAH, a "Needle-in-a-Haystack" benchmark for video. While competing models show sharp performance degradation or significant "blind spots" as the haystack grows, ViLAMP maintains remarkably stable performance across all lengths up to 10K frames.

Needle-in-a-haystack performance comparison across different haystack lengths for LLaMA-VID, VideoChat-Flash, and ViLAMP.

Conclusion

ViLAMP demonstrates that hierarchical differential distillation is a powerful mechanism for scaling VLMs. By treating video processing like mixed-precision training—preserving full detail for keyframes while intelligently compressing background context—ViLAMP achieves state-of-the-art performance on long-form content with significantly lower computational overhead. Future work will explore dynamic keyframe allocation and the integration of audio and subtitle streams into the distillation process.

Summary updated

BibTeX
@inproceedings{cheng2025scaling,
  author = {Chuanqi Cheng and Jian Guan and Wei Wu and Rui Yan},
  title = {{Scaling Video-Language Models to 10K Frames via Hierarchical Differential Distillation}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=1CK1kuH1he},
}
Figure