TL;DR
Multimodal Large Language Models (MLLMs) can’t "watch" an hour-long video all at once due to strict context window limits, forcing us to cherry-pick a tiny subset of frames for them. Instead of relying on ad-hoc scoring and hand-tuned sampling rules, this paper reframes frame selection as an Optimal Transport problem—mathematically shipping diverse "evidence requirements" onto the best candidate video frames. The result is OTFS, a fast, training-free pipeline that unifies prior heuristics under a single optimization umbrella and boosts long-video reasoning accuracy across the board.
What Problem Does This Paper Address?
Imagine trying to figure out the plot of a two-hour movie when you are only allowed to look at 32 still screenshots. That is the exact bottleneck facing today's MLLMs: long videos contain tens of thousands of frames, far exceeding visual token budgets.
To survive this bottleneck, systems use query-aware frame selection—peeking at the user's question first to pick the most relevant frames. Most existing training-free selectors follow a familiar recipe: compute a single 1D relevance score for every frame (e.g., how well the image matches the text), and then apply a human-designed rule (like top-$k$ or temperature sampling) to grab a diverse subset.
While practical, these heuristic pipelines aren't solving an explicit mathematical objective. Worse, complex reasoning rarely hinges on a single type of clue; answering "Why did the yellow car lose the race?" might require spotting the car (semantic match), catching a crash (visual transition), and reading the leaderboard (answer utility). Collapsing all of that into a single 1D score loses the structural richness of what the model actually needs to see.
Methods
The authors propose OTFS (Optimal Transport for Frame Selection), a training-free, two-stage optimization pipeline that treats frame selection as a structured resource-allocation problem.
Stage 1: Semi-Unbalanced Optimal Transport (OTFS-Sinkhorn)
Optimal Transport (OT) is the math of moving a pile of dirt (mass) from source locations to target locations at minimal cost. Here, the "sources" are $N=3$ distinct evidence atoms extracted using standard off-the-shelf tools:
- Semantic relevance (BLIP image-text matching with the query).
- Utility reward (an estimate of how useful a frame is for QA, adapted from prior work).
- Temporal transition (DINOv2 feature changes between adjacent frames to catch event boundaries).
The "targets" are all $M$ candidate video frames (sampled at 1 fps). Crucially, standard OT forces every target to receive a pre-defined amount of mass—which would be disastrous here, as hour-long videos are full of boring, redundant frames. Instead, the authors formulate a semi-unbalanced entropic OT objective:
- Strict on the source side: Every evidence type must allocate 100% of its mass so no critical clue is dropped.
- Relaxed on the target side: Using a KL-divergence penalty, redundant background frames are free to absorb near-zero mass, letting importance concentrate sharply on key moments.
They solve this globally in $O(TNM)$ time via a custom iterative matrix-scaling solver called OTFS-Sinkhorn, summing the transported mass on each frame to get a unified frame-importance distribution.
Stage 2: Coverage-Aware Dynamic Programming High-scoring frames naturally cluster around a single dramatic moment. Picking the top 32 frames might just give you 32 nearly identical shots of the same 5-second scene. To enforce temporal spread without brute-force search, Stage 2 runs an exact Dynamic Programming (DP) algorithm. It maximizes total frame importance plus a pairwise spacing bonus (which rewards gaps between consecutive frames up to a saturation threshold $\delta$), cleanly extracting the globally optimal $k$-frame subset.
Datasets
Because OTFS is entirely training-free, no training datasets are used. Evaluation is conducted on standard splits of three established long-video understanding benchmarks (without subtitles):
- Video-MME
- LongVideoBench
- MLVU
Together, these cover diverse video genres ranging from a few minutes to roughly an hour in length. No new datasets are introduced.
Key Insights and Ideas
- A unifying mathematical lens: When you shrink OTFS down to a single evidence source ($N=1$) with a uniform frame prior, the optimal transport solution mathematically reduces to a standard Gibbs (softmax) distribution. This proves that Q-Frame—a popular temperature-scaled sampling baseline—is literally a 1D special case of OTFS!
- Asymmetry is a feature, not a bug: Comparing semi-unbalanced OT against balanced OT in ablations shows a clear win for the semi-unbalanced geometry. Forcing mass onto irrelevant frames dilutes signal; relaxing the target marginal matches the natural sparsity of clues in long videos.
- Transport beats weighted sums: Even if you take the exact same three evidence scores, tune a weighted sum via grid search, and feed it to the exact same DP extractor, OTFS still wins (e.g., 72.10% vs. 70.23% on MLVU). Preserving distinct evidence channels during allocation prevents one noisy or dominant signal from washing out the others.
- Graceful degradation under noise: Injecting up to 30%–50% random uniform noise into individual evidence streams causes minimal accuracy drop, because each source's total influence is capped by its prior mass and smoothed by entropic regularization.
Key Results
Evaluated on two MLLM backbones (Qwen2.5-VL-7B and Qwen3-VL-4B) under strict budgets of $k \in \{32, 64\}$ frames, OTFS achieves the highest accuracy in 11 out of 12 experimental settings against uniform sampling and four strong training-free baselines (Q-Frame, FOCUS, DIG, and AKS).
- Strongest gains on tighter budgets: With Qwen3-VL-4B at 32 frames, OTFS outperforms the strongest baseline (AKS) by +1.18 points on Video-MME (65.14%), +1.94 on LongVideoBench (67.31%), and +3.83 on MLVU (72.10%).
- Consistent scaling: On Qwen2.5-VL-7B at 32 frames, OTFS beats the runner-up across all three benchmarks (+1.11, +1.64, and +0.35 points), and misses a clean sweep at 64 frames by just 0.03 points on Video-MME (64.22% vs. DIG's 64.25%).
- Low overhead: Once evidence scores are extracted,
OTFS-Sinkhorn(100 iterations) and the DP solver add negligible compute overhead compared to running the MLLM itself.
Limitations and Future Work
- Garbage-in, bounded-out: While robust to moderate noise, the authors note that OTFS is ultimately upper-bounded by the quality of the underlying off-the-shelf feature extractors (BLIP, DINOv2, utility models). If every extractor misses a subtle visual clue, transport cannot recover it.
- Two-stage relaxation: Separating evidence allocation (continuous OT) from temporal coverage (discrete DP) is a deliberate two-stage relaxation chosen to avoid the quadratic cost of solving both jointly inside a massive Gromov-Wasserstein-style OT objective.
- Future directions: The authors note that the OTFS framework is completely agnostic to how evidence atoms are built—meaning future work can seamlessly plug in audio cues, OCR signals, or finer-grained sub-queries without changing a single line of the core optimization math.
Summary updated