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:
- They usually focus only on spatial redundancy within a single frame, ignoring the massive temporal redundancy across frames.
- 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.
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.
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