NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GIFT: Global Irreplaceability Frame Targeting for Efficient Video Understanding

Junpeng Ma, Sashuai Zhou, Guanghao Li, Xin Gao, Yue Cao, Hengyu Zeng, Yuxiang Yan, Zhibin Wang, Jun Song, Bo Zheng, Shanghang Zhang, Jian Pu

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:

  1. Myopic Greedy Decisions: They pick frames step-by-step based on local optima, allowing early errors to propagate.
  2. 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:

  1. 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.
  2. 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.
Figure 2. The overall framework of our GIFT. Given an input video and user query, GIFT first calculates each frame’s query-relevance(r) and directed diversity(d) to quantify its irreplaceability(detailed in the left panel). The core of GIFT is a two-stage selection process (detailed in the right panel). Stage 1 performs the initial selection by identifying frames with high scores (s = r × d). If the sampling budget (K) exceeds batch-size (B), the Budget-Aware Refinement in Stage 2 is triggered. This stage iteratively Selects a batch of B frames, Removes them, and Updates the d for all remaining frames until the budget is met. This iterative update process continuously Releases previously suppressed frames, progressively building a rich 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.
Figure 3. Ablation study of GIFT’s modules on LLaVA-Video (Frame Budget:32). The y-axis shows performance relative to Uniform Sampling (100%). “Standard Diversity” refers to using the decoupled evaluation criteria with standard diversity instead of our proposed directed diversity. “Without BAR” refers to dis- abling the Budget-Aware Refinement module.

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.
Figure 1. Average accuracy of LLaVA-Video-7B on Video-MME, LongVideoBench and MLVU for different methods: uniform sam- pling, BOLT [29], AKS [39], and our GIFT.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{ma2026gift,
  author = {Junpeng Ma and Sashuai Zhou and Guanghao Li and Xin Gao and Yue Cao and Hengyu Zeng and Yuxiang Yan and Zhibin Wang and Jun Song and Bo Zheng and Shanghang Zhang and Jian Pu},
  title = {{GIFT: Global Irreplaceability Frame Targeting for Efficient Video Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=ptWfVo8npt},
}
Figure