TL;DR
Processing dense video frames makes Video Large Language Models (VLMs) computationally prohibitive. GIFT (Global Irreplaceability Frame Targeting) is a training-free keyframe selection framework that evaluates a frame's "irreplaceability" globally using a novel Directed Diversity metric. By dynamically adapting to different frame budgets, GIFT significantly reduces visual token overhead while boosting VLM accuracy across long-form video benchmarks.
What Problem Does This Paper Address?
While Video Large Language Models (VLMs) excel at video understanding, their practical deployment is severely bottlenecked by computational costs. Processing dense video frames generates a massive number of visual tokens, leading to high inference latency and memory consumption due to the quadratic complexity of self-attention mechanisms.
To mitigate this, most VLMs rely on naive uniform sampling, which treats all frames equally and often misses critical, short-lived actions while wasting budget on redundant backgrounds. Existing intelligent keyframe selection methods try to balance query relevance and frame diversity, but they suffer from two major flaws:
- Myopic Greedy Decisions: They pick frames step-by-step based on local optima, allowing early errors to propagate.
- Flawed Decoupled Criteria: They treat relevance and diversity as independent, competing objectives. This often causes them to select irrelevant but visually novel "noise" frames while permanently suppressing contextually vital neighboring frames.
Methods
The authors introduce GIFT (Global Irreplaceability Frame Targeting), a training-free framework that shifts the question from "What is the next best frame to add?" to "Does a superior substitute exist for this frame?"
GIFT operates in two core stages:
- Quantifying Irreplaceability via Directed Diversity: Instead of using traditional diversity metrics that measure a frame's distance to all other frames, GIFT introduces Directed Diversity. It measures a frame's minimum distance exclusively to its "potential substitutes"—defined as other frames with higher query relevance. If a frame is visually close to a more relevant frame, its Directed Diversity score drops, penalizing redundancy. The final irreplaceability score is a simple product of query relevance and Directed Diversity.
- Budget-Aware Refinement (BAR): Static scoring inherently suppresses frames that are temporally adjacent to a primary keyframe because they look similar. To fix this, BAR uses an iterative select-remove-and-re-evaluate process. Under a tight budget, it secures the most irreplaceable core frames. As the budget expands, the already-selected frames are removed from the candidate pool, which "releases" the suppression on their temporal neighbors. This allows the framework to naturally transition from capturing isolated highlights to building crucial temporal context.
Datasets
The authors evaluated GIFT across four widely recognized video understanding benchmarks that cover various video durations and complex scenarios:
- MVBench: Focuses on short video tasks (~16 seconds).
- LongVideoBench: Evaluates long-context interleaved video-language understanding (1 to 60 minutes).
- MLVU: A comprehensive benchmark for multi-task long video understanding (3 to 120 minutes).
- VideoMME: A large-scale comprehensive evaluation benchmark for multi-modal LLMs in video analysis (1 to 60 minutes).
Key Insights and Ideas
- Diversity must be conditional, not absolute: Traditional diversity metrics often mistakenly select irrelevant noise frames (like a sudden camera glitch or background shift) simply because they are visually unique. Conditioning diversity on query relevance ensures that uniqueness is only rewarded if it serves the user's prompt.
- Dynamic context release beats static ranking: A static keyframe ranking permanently suppresses the frames surrounding a major event due to high visual similarity. By iteratively removing selected frames and re-evaluating the remainder, GIFT naturally reconstructs the narrative flow of an event as the frame budget grows.
Key Results
GIFT was validated against uniform sampling and state-of-the-art training-free methods like BOLT and AKS using LLaVA-Video-7B as the base model.
- Superior Performance Across Budgets: GIFT consistently outperformed competing methods across all tested frame budgets (32, 16, 8, and 4 frames), achieving a maximum average improvement of 12.5% over uniform sampling.
- Extreme Budget Efficiency: With a severe budget constraint of just 4 frames, GIFT retained 93.9% of the performance achieved by using the full 64 frames.
- Cross-Model Robustness: As a plug-and-play, model-agnostic module, GIFT delivered substantial gains when integrated into other state-of-the-art VLMs, including VILA-V1.5, LLaVA-OneVision, Qwen2.5-VL, and VideoLLaMA3. For example, it boosted VideoLLaMA3’s MLVU score by an impressive 19.6% under an 8-frame budget constraint.
Limitations and Future Work
Not discussed in the paper.
Summary updated