NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Contribution-aware Token Compression for Efficient Video Understanding via Reinforcement Learning

Yinchao Ma, Qiang Zhou, Zhibin Wang, Xianing Chen, Hanqing Yang, Jun Song, Bo Zheng

TL;DR

CaCoVID is a reinforcement learning-based framework that slashes the computational cost of video understanding by pruning redundant visual tokens. Unlike previous methods that rely on "attention scores"—which can be misleading—CaCoVID learns to identify tokens that actually contribute to a correct answer, achieving state-of-the-art accuracy with significantly lower latency.

What Problem Does This Paper Address?

Video Large Language Models (Video LLMs) are incredibly capable, but they are also computationally "heavy." A single video can easily translate into thousands of tokens, and because the attention mechanism in these models has quadratic complexity, processing them all is slow and expensive.

To fix this, researchers usually try to compress the video by pruning "unimportant" tokens. Current strategies generally fall into two buckets:

  1. Content-based: Keep tokens that are visually diverse or structurally important.
  2. Model-based: Keep tokens that have the highest attention scores.

The authors point out a major flaw in the second approach: attention $\neq$ contribution. Due to a phenomenon called "visual attention sinks," models often assign high attention scores to irrelevant tokens. If you prune based on attention alone, you might throw away the very pixels needed to answer the user's question. CaCoVID addresses this by explicitly training a policy to find the optimal combination of tokens that leads to a correct prediction.

Methods

The core of CaCoVID is a shift from passive preservation to active discovery.

  • Compression Policy Network: The authors introduced a lightweight module consisting of a single-layer self-attention mechanism and two MLPs. This network takes both the video tokens and the user's question as input to estimate a "contribution score" for every token and frame.
  • Reinforcement Learning (RL) Framework: Since there is no "ground truth" for which tokens are best, the authors used RL. The reward is simple: if the LLM gets the answer right using a specific subset of tokens, those tokens receive a positive reward.
  • Online Combinatorial Space Sampling (OCSS): Selecting the best $k$ tokens out of $N$ is a combinatorial nightmare ($2^N$ possibilities). To make this searchable, OCSS sorts tokens by their predicted contribution and partitions them into sub-spaces. It then samples from these sub-spaces, reducing the logarithmic exploration space by a factor of 25.
  • Combinatorial Policy Optimization (CPO): This is the training objective used to maximize the expected reward, allowing the policy network to learn from the LLM's feedback without needing to retrain the massive LLM itself.

Datasets

The authors used a mix of high-quality datasets for training and rigorous benchmarks for evaluation:

  • Training: A refined version of Video-R1. They performed "blind testing" to filter out 116,000 instances down to 31,000. This ensured the model was training on questions that actually required video context to answer, rather than questions the LLM could guess correctly without looking.
  • Evaluation: The model was tested on three major benchmarks: LongVideoBench (long-form content), MLVU (multi-task understanding), and VideoMME (comprehensive multi-modal evaluation).

Key Insights and Ideas

  • The Attention Ambiguity: The paper visually demonstrates that high attention scores often cluster on background elements, while CaCoVID’s learned contribution scores focus tightly on the subject of the query (e.g., the specific clothing a person is wearing).
  • Query-Awareness is Non-Negotiable: Pruning tokens based only on visual features (query-agnostic) often fails because what is "important" changes depending on the question. CaCoVID’s policy network explicitly interacts with the question tokens before deciding what to prune.
  • Intra-frame vs. Video-wide Sampling: The authors found that sampling tokens within frames and then concatenating them (preserving temporal structure) performed better than sampling across the entire video token set at once.
  • Efficiency Gains: Because the policy network is so small and operates in parallel, it adds negligible overhead compared to the massive savings it provides during the LLM's prefilling stage.

Key Results

CaCoVID consistently outperformed existing state-of-the-art (SOTA) methods like FastV, VisionZip, and PruneVID across multiple LLM backbones (LLaVA-OneVision-7B and Qwen2.5-VL-3B).

  • Accuracy: At a 25% retention ratio (throwing away 75% of tokens), CaCoVID retained 98.9% of the vanilla model's performance. At a 10% ratio, it still significantly outperformed all competitors.
  • Speed: CaCoVID is remarkably fast. Its compression time is only 11.2ms, compared to 134.3ms for DivPrune and 34.1ms for PruneVID.
  • Latency: By reducing the token count, it dramatically lowers the LLM prefilling time (e.g., from 200.4ms down to 53.2ms on LLaVA-OneVision).

Limitations and Future Work

While highly effective, the paper notes a few areas for further exploration:

  • Policy Training: Although the LLM remains frozen, the policy network still requires a dedicated training phase on a high-quality QA dataset.
  • Cross-Model Generalization: The current study focuses on training the policy for specific LLMs. Future work could investigate whether a "universal" compression policy can be trained to work across different model architectures.
  • Spatio-Temporal Balance: The authors currently use a 50/50 split between top-contributed tokens and uniform spatio-temporal tokens to maintain structure; optimizing this ratio dynamically could yield further gains.

Summary updated

BibTeX
@inproceedings{ma2026contribution,
  author = {Yinchao Ma and Qiang Zhou and Zhibin Wang and Xianing Chen and Hanqing Yang and Jun Song and Bo Zheng},
  title = {{Contribution-aware Token Compression for Efficient Video Understanding via Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i29.39612},
}
Figure