Token Reduction via Local and Global Contexts Optimization for Efficient Video Large Language Models

Jinlong Li, Liyuan Jiang, Haonan Zhang, Nicu Sebe

TL;DR

Video Large Language Models (VLLMs) are heavily bottlenecked by the massive computational cost of processing thousands of visual tokens. This paper introduces AOT (Anchors via Optimal Transport), a training-free method that slashes token counts by up to 90% and cuts computational costs to just 8.3% of original FLOPs. By framing token reduction as an optimal transport problem, AOT intelligently compresses redundant visual data while preserving subtle, critical background context.

What Problem Does This Paper Address?

While VLLMs excel at understanding complex video narratives, their inference phase is incredibly expensive. A single long video can easily generate tens of thousands—or even millions—of visual tokens, overwhelming the LLM backbone.

Existing solutions typically prune tokens (discarding them entirely) or merge them based on similarity. However, these approaches suffer from two major flaws:

  1. They usually focus only on spatial redundancy within a single frame, ignoring the massive temporal redundancy across frames.
  2. They completely throw away "unimportant" tokens, which often contain subtle but vital contextual or background information necessary for answering specific questions.

The authors propose a training-free, plug-and-play framework that compresses tokens across both space and time without losing these subtle semantic cues.

Methods

AOT introduces a two-phase pipeline that utilizes Optimal Transport (OT)—a mathematical framework for finding the most efficient way to move mass from one distribution to another—to aggregate context rather than simply deleting data.

Figure 1. The top is the essential differences compared with com- mon token reduction methods, instead of simply removing unim- portant or merging very similar tokens, ours utilizes a global op- timization strategy to further exploit and aggregate necessary se- mantic and context from these onto the remaining tokens. Bottom is our proposed pipeline to adopt Optimal Transport to aggregate information within intra- and inter-frame levels for video tokens.

1. Local-Global Anchor Establishment

Before compressing, the model selects a sparse set of "token anchors" that must be preserved. To ensure these anchors are both semantically rich and spatially diverse, AOT combines:

  • Global Anchors: Selected using attention scores from the visual encoder to capture the most prominent objects.
  • Local Anchors: Selected via a grid-wise window strategy to ensure fine-grained background details aren't completely ignored.

2. Phase I: Intra-Frame Pruning

Within each individual frame, the remaining unselected tokens are treated as "suppliers" of context, and the anchors are treated as "demanders." AOT solves an optimal transport plan using the efficient Sinkhorn-Knopp Iteration. This plan dictates how features from the unselected tokens are softly aggregated into the anchors, ensuring their context is absorbed before the unselected tokens are dropped.

3. Phase II: Inter-Frame Pruning

To tackle temporal redundancy, the video is segmented into short clips. The compressed tokens of the first frame act as temporal anchors. For subsequent frames, AOT uses OT to determine if a token is redundant (similar to the anchor) or represents a dynamic change. Redundant tokens are smoothly aggregated into the clip anchors, while highly distinct tokens are kept as-is to preserve temporal motion.

Figure 2. Overall pipeline of our AOT. Our method compresses tokens of video LLMs across spatiotemporal through optimal transport, first establishing token anchors within each frame to cover semantically important and spatially diverse token candidates, then utilizing optimal transport to aggregate the necessary informative cues within Intra-Frame at phase I, and finally shifting the optimization strategy into temporal within Inter-Frame at phase II. The proposed AOT preserves both temporal and visual integrity by utilizing efficient Sinkhorn- Knopp Iteration to solve the optimal transport plan assignment.

Datasets

The authors evaluated AOT across four demanding video understanding benchmarks using leading models like LLaVA-OneVision 7B and LLaVA-Video 7B:

  • MVBench: Evaluates a wide range of short video understanding tasks.
  • EgoSchema: A diagnostic benchmark for very long-form, first-person (egocentric) video comprehension.
  • LongVideoBench: Focuses on long-context, interleaved video-language understanding.
  • VideoMME: A comprehensive, multi-modal evaluation benchmark for video analysis.

Key Insights and Ideas

  • Aggregation Over Deletion: The core philosophy of AOT is that "unimportant" tokens shouldn't be thrown in the trash. Treating token reduction as a resource allocation problem (suppliers and demanders) allows the model to distill background context into a compact representation.
  • The "Noise" of Too Much Visual Data: Interestingly, the authors found that at mild compression rates, AOT occasionally outperforms the uncompressed vanilla model. This suggests that excessive visual tokens can act as noise, misguiding the LLM. Compressing them helps the model focus on essential semantics.
  • Training-Free yet Differentiable: While AOT is applied during inference without any fine-tuning, the Sinkhorn-Knopp algorithm relies purely on matrix multiplications. This means the entire token reduction pipeline is end-to-end differentiable, opening the door for future training-time optimization.

Key Results

  • Massive Efficiency Gains: AOT successfully prunes 90% of visual tokens, reducing the LLM prefilling FLOPs to just 8.3% of the original baseline.
  • High Performance Retention: Despite this aggressive compression, AOT retains 97.6% of the vanilla model's performance across all benchmarks on LLaVA-OneVision 7B. It consistently outperforms existing training-free methods like VisionZip and PruneVid.
  • Negligible Overhead: Thanks to GPU-accelerated Sinkhorn iterations, the entire AOT optimization takes only about 2.11 milliseconds per 32-frame video, accounting for less than 1% of the total inference time.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Heuristic Temporal Boundaries: The inter-frame clip segmentation can still be noisy. In highly complex or rapidly changing video scenarios, visually dissimilar frames might be grouped into the same clip, leading to minor performance degradation.
  • Lack of Explicit Geometric Cues: Currently, the optimal transport cost matrix relies solely on visual feature similarity. The authors suggest that incorporating auxiliary 3D/4D cues—such as depth estimation, camera motion vectors, or object trajectories—could make the token anchors much more geometry- and motion-aware.

Summary updated

BibTeX
@inproceedings{li2026token,
  author = {Jinlong Li and Liyuan Jiang and Haonan Zhang and Nicu Sebe},
  title = {{Token Reduction via Local and Global Contexts Optimization for Efficient Video Large Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=duDqaZ2p8i},
}
Figure