OTT-Vid: Optimal Transport Temporal Token Compression for Video Large Language Models

Minseok Kang, Minhyeok Lee, Jungho Lee, Minjung Kim, Donghyeong Kim, Dayeon Lee, Heeseung Choi, Ig-jae Kim, Sangyoun LeearXiv 2026

TL;DR

Video Large Language Models (Video-LLMs) face massive computational bottlenecks due to token explosion in long or complex videos. OTT-Vid introduces a training-free token compression framework that leverages Optimal Transport (OT) to intelligently prune and merge visual tokens across frames. By balancing token semantic importance with a locality-aware matching cost, it retains just 10% of visual tokens while preserving up to 95.8% of video question-answering performance.

What Problem Does This Paper Address?

Processing long or high-frame-rate videos in Video-LLMs creates a massive sequence length bottleneck during the prefill stage due to the quadratic complexity of self-attention. While training-free "outer-LLM" token compression methods compress tokens before they enter the LLM, existing approaches rely heavily on simple cross-frame similarity metrics.

This creates a major flaw: they cannot distinguish between uninformative background repetition and the persistence of semantically critical stationary objects. For instance, if a question asks "How many stationary objects are in this video?", similarity-driven methods might merge those objects away as redundant, losing vital temporal evidence. Furthermore, existing methods apply uniform compression or hard thresholds, failing to dynamically allocate token budgets based on how much redundancy actually exists between specific frame pairs.

Figure 1: Illustration of temporal compression strategies, where white-shaded regions denote com- pressed tokens. For simplicity, only compression of stationary object regions is depicted. Similarity- driven compression merges stationary objects away due to high cross-frame similarity, losing persis- tence evidence. OTT-Vid jointly considers token importance and similarity, preserving semantically representative tokens across frames.

Methods

OTT-Vid tackles these issues through a two-stage, training-free framework:

  1. Spatial Compression & Importance-Aware Mass Assignment: Each frame is first pruned independently using a saliency-weighted coverage objective to remove spatial redundancy. Crucially, the remaining tokens are assigned a "transport mass" inversely proportional to their irreplaceable semantic contribution (calculated via a leave-one-out approach). In the Optimal Transport formulation, smaller mass means the token resists compression, protecting critical content.
  2. Temporal Compression via Optimal Transport: The framework solves an entropically regularized OT problem between adjacent frames. The cost matrix combines semantic dissimilarity (feature distance) and spatial dissimilarity (grid distance), dynamically mixed based on local scene dynamics.
  3. Transport-Derived Budget Allocation: The total cost of the optimal transport plan defines the "transport difficulty" ($W_t$) for a frame pair. If $W_t$ is low, the frames are highly redundant and can tolerate aggressive compression. OTT-Vid uses a negative softmax over these difficulties to dynamically distribute the global token compression budget non-uniformly across frame pairs.

Finally, tokens are merged or pruned based on the transport plan, and token chains across multiple frames are resolved efficiently in parallel using a union-find algorithm.

Figure 2: Overview of OTT-Vid. (Sec 3.2) Each frame t is encoded into visual tokens Ft, spatially pruned to retained tokens St, and converted into a mass vector mt from per-token importance. (Sec 3.3) Sinkhorn OT computes a transport plan Pt and transport difficulty Wt for each neighboring frame pair. (Sec 3.4) Compression budgets Bt are allocated in inverse proportion to transport difficulty, and the transport plan determines which tokens to compress.

Datasets

The authors evaluated OTT-Vid across two major task families:

  • Video Question Answering (VQA): Evaluated on MVBench, VideoMME, LongVideoBench, and MLVU, covering short, medium, and long-form video understanding.
  • Video Temporal Grounding (VTG): Evaluated on Charades-TimeLens and ActivityNet-TimeLens (featuring refined, high-quality manual annotations from TimeLens). VTG tasks require precise event localization and are highly sensitive to fine-grained temporal structures, making them an excellent stress test for token compression.

Key Insights and Ideas

  • Counter-Intuitive Mass Assignment: Traditional OT uses mass to represent abundance, but OTT-Vid flips this logic. By assigning smaller mass to semantically important tokens, it forces the optimization to protect them from being aggressively transported (compressed) away.
  • Similarity $\neq$ Redundancy: High similarity across frames can represent meaningful persistence rather than useless redundancy. Incorporating intra-frame token importance as a prior is essential to safeguard temporal evidence.
  • Dynamic Pair-wise Budgeting: Not all frame transitions are equal. A static scene can tolerate massive token reductions, while a rapid action sequence needs a larger token budget. Using the total OT cost as a proxy for "compressibility" allows for elegant, data-dependent budget allocation.

Key Results

  • High Retention, Low Performance Drop: At a strict 10% token retention ratio, OTT-Vid preserves 95.8% of uncompressed VQA performance and 73.9% of VTG performance on Qwen2.5-VL-7B. It consistently outperforms state-of-the-art baselines like FlashVID and FastVID by significant margins (especially on VTG, where the next best baseline drops to 66.6%).
  • Efficiency Gains: It delivers a 2.0× speedup in Time-to-First-Token (TTFT) while maintaining a comparable memory footprint and reducing TFLOPs from 120.25 to roughly 26.
  • Cross-Backbone Generalization: The method's performance gains hold up across different architectures, including LLaVA-OneVision and LLaVA-Video, proving it generalizes well across different vision encoder setups.
Ablation on temporal share $\gamma$ showing the trade-off between performance retention and compression latency.

Limitations and Future Work

  • Parallel vs. Sequential Trade-off: To keep computational overhead low, OTT-Vid computes all pairwise transport plans in parallel based on the initial spatially-pruned frames. However, this means it does not account for cascading representational changes induced by compression in earlier frame pairs.
  • Future Directions: The authors suggest that exploring sequential execution strategies that propagate compression changes forward could further refine the transport plans, albeit at the cost of higher computational complexity.

Summary updated

BibTeX
@misc{kang2026ott,
  author = {Minseok Kang and Minhyeok Lee and Jungho Lee and Minjung Kim and Donghyeong Kim and Dayeon Lee and Heeseung Choi and Ig-jae Kim and Sangyoun Lee},
  title = {{OTT-Vid: Optimal Transport Temporal Token Compression for Video Large Language Models}},
  year = {2026},
  eprint = {2605.11803},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.11803},
}
Figure