TL;DR
FOCUS (Frame-Optimistic Confidence Upper-bound Selection) is a training-free, model-agnostic module that solves the "token explosion" problem in long-video understanding. By formulating keyframe selection as a multi-armed bandit problem, it identifies query-relevant frames with high precision, achieving up to an 11.9% accuracy boost on long-form videos while processing less than 2% of the total frames.
The "Token Explosion" Problem
Multimodal Large Language Models (MLLMs) are incredibly powerful, but they are notoriously "token-hungry." When dealing with hour-long videos, the sheer number of frames translates into a massive volume of visual tokens. This quickly exceeds the context limits and computational budgets of even the most advanced models.
Current solutions usually fall into two inadequate camps:
- Aggressive Uniform Subsampling: Picking a fixed number of frames (e.g., 64) from a one-hour video. While fast, this method often misses the "needle in the haystack"—the specific few seconds where the answer to a user's query actually resides.
- Retrieval-based Selection: Using a smaller vision-language model (like CLIP) to score every single frame. However, for a 1-hour video at 30fps, scoring all 108,000 frames is computationally prohibitive. This forces researchers to pre-filter the video anyway, bringing them right back to the subsampling problem.
Enter FOCUS: Multi-Armed Bandits for Video
The authors introduce FOCUS, which treats video understanding as a Combinatorial Pure-Exploration (CPE) problem within a multi-armed bandit setting.
Instead of exhaustively scoring every frame, FOCUS partitions the video into short temporal clips (the "arms" of the bandit). The goal is to find the best subset of clips to sample more deeply. The process follows a two-stage "exploration-exploitation" schedule:
- Coarse Exploration: The system samples a few frames from every clip to get an initial estimate of relevance and, crucially, the variance (uncertainty) of that relevance.
- Fine Exploitation: Using an "optimism-in-the-face-of-uncertainty" principle, FOCUS allocates more "pulls" (frame scorings) to clips that either have a high mean relevance or a high Bernstein confidence radius (meaning the model is uncertain about what's in that clip).
This approach allows the system to quickly ignore irrelevant parts of the video while "zooming in" on promising or ambiguous segments to find the best keyframes.
Key Insights
- Temporal Locality is Key: Relevance scores in natural videos aren't random; they exhibit strong short-range correlation. If one frame is relevant, its neighbors likely are too. This justifies treating clips as "arms" rather than evaluating individual frames in isolation.
- Variance Matters as Much as the Mean: Simple retrieval methods only look at the average score. FOCUS uses the Bernstein confidence radius to identify clips where the relevance is "spiky." This prevents the model from overlooking short, high-impact events that might be buried in an otherwise uninteresting clip.
- Training-Free and Plug-and-Play: Because FOCUS doesn't require training a new model—it just uses existing vision-language encoders—it can be dropped into any existing MLLM pipeline (like GPT-4o or Qwen2-VL) to immediately improve performance on long videos.
Key Results
FOCUS was evaluated across several challenging benchmarks designed for long-video reasoning, including LongVideoBench, Video-MME, MLVU, and VSI-Bench. It consistently outperformed uniform sampling and state-of-the-art baselines:
- Accuracy Gains: On LongVideoBench, FOCUS improved accuracy by 11.9% for videos longer than 20 minutes compared to uniform sampling.
- Efficiency: FOCUS achieved these results while "seeing" (scoring) only 1.6% of the total video frames. In contrast, previous state-of-the-art methods required scoring more than double the frames and took significantly more GPU hours.
- Model Agnostic: The benefits were consistent across various backbones, including GPT-4o, Qwen2-VL-7B, and LLaVA-Video-7B.
Limitations and Future Work
The authors identify two primary areas for improvement:
- The i.i.d. Assumption: FOCUS currently treats clips as independent. In reality, video segments have complex temporal dependencies. Future work could move toward "contextual bandits" to model these relationships.
- Rapid Scene Transitions: In cases where a critical event is extremely short (1-2 seconds) within a very long video, the coarse exploration stage might still occasionally miss it.
Summary updated