From Label Priors to Task Evidence: Efficient Long-Video Frame Selection via Bayesian GRPO

Shuochen Chang, Bingjie Gao, Qingyang Liu, Qianli Ma, Yibo Miao, Haonan Zhao, Zhaohe Liao, Xiaofeng Zhang, Jiangtong Li, Li Niu

TL;DR

This paper introduces a novel probabilistic framework for selecting the most relevant frames in long videos for Multimodal Large Language Models (MLLMs). By transitioning from static human-labeled "priors" to model-driven "task evidence" using a new Bayesian Group Relative Policy Optimization (GRPO) algorithm, the authors create a lightweight selector that matches the accuracy of heavy MLLM-based scorers while maintaining the inference speed of simple retrieval methods.

What Problem Does This Paper Address?

Understanding long-form videos (minutes to hours) is a major hurdle for MLLMs. The quadratic computational complexity of self-attention and strict context window limits make it impossible to feed every frame into a model.

Current solutions generally fall into two camps:

  1. Lightweight Selectors: Use simple similarity (like CLIP) to find "important" frames. These are fast but often miss the specific visual evidence needed for complex, multi-step reasoning.
  2. MLLM-based Scorers: Use a powerful MLLM to evaluate every frame. These are accurate but prohibitively slow and expensive for real-world use.

The authors identify a "semantic gap": human-annotated keyframes (what we usually train selectors on) often don't align with the specific, sometimes subtle, visual cues an MLLM needs to answer a difficult question. They aim to build a selector that is both efficient and "aware" of what the downstream MLLM actually needs.

Methods

The authors reformulate frame selection as a latent-variable inference problem and solve it in two stages:

The two-stage framework: (a) Selector architecture, (b) Prior elicitation from labels, and (c) Posterior refinement via task evidence.
  1. Stage I: Label Prior Elicitation: They train a lightweight "Keyframe Selector" (based on Video-Text Fusion Transformers) using supervised learning on human annotations. This teaches the model general visual saliency—essentially, what humans think is important.
  2. Stage II: Task-Evidence Posterior Inference: This is the core innovation. They treat a frozen MLLM as a "task environment." They use the MLLM's Negative Log-Likelihood (NLL) of the correct answer as a dense reward signal. If the selected frames help the MLLM predict the right answer with high confidence, the selector is rewarded.
  3. Bayesian GRPO: To optimize this, they adapt the Group Relative Policy Optimization (GRPO) algorithm. It refines the selector to maximize "task evidence" (likelihood) while using a KL-divergence term to ensure the model doesn't "reward hack" and stays somewhat aligned with the human-centric priors learned in Stage I.

Datasets

  • Training: The model was trained on the GenS-Video-150K dataset, which contains 150,000 video-question pairs with frame-level relevance scores.
  • Evaluation: The authors tested their method across three major long-video benchmarks:
  • Video-MME: A comprehensive suite for multi-modal video analysis.
  • MLVU: Focuses on multi-task long video understanding.
  • LongVideoBench: Targets hour-scale videos and long-context reasoning.

Key Insights and Ideas

  • Task Evidence > Label Priors: The most important "aha moment" is that the best frames for a model aren't always the ones a human would pick as a "summary." By using the MLLM's own internal likelihood as a training signal, the selector learns to find the specific "evidence" required for the model's reasoning process.
  • Universal Generalization: Surprisingly, a selector trained using one MLLM (e.g., Qwen2.5-VL) as the environment works exceptionally well when plugged into entirely different MLLMs (like InternVL or LLaVA). This suggests that "task evidence" is a somewhat universal property across different model architectures.
  • Efficiency without Sacrifice: By decoupling the selection (lightweight) from the reasoning (heavy MLLM), they achieve a "best of both worlds" scenario. The selector only adds a tiny fraction of overhead compared to the massive cost of using an MLLM to score frames.

Key Results

The proposed method, dubbed Frame_Selection_GRPO, consistently outperformed other lightweight methods and rivaled the performance of much heavier MLLM-based approaches.

Table 1: Comparison of frame selection methods on Qwen2.5-VL-7B. Methods are categorized by type and grouped by frame count. Bold/underline denote the best/second-best performance.
  • Accuracy: On Video-MME, using just 8 frames, the method outperformed the uniform sampling baseline by 8.9%. With 32 frames, it matched the performance of the state-of-the-art MLLM-based scorer, A.I.R.
  • Efficiency: As shown in the paper's efficiency analysis, the selector adds only about 10% more GFLOPs to a standard feature extractor (SigLIP2), whereas MLLM-based scorers are orders of magnitude slower (e.g., 1.38s per sample vs. 214.6s for generative scoring).
  • Cross-Model Transfer: Table 2 demonstrates that the selector remains highly effective when transferred to InternVL-3-8B and LLaVA-OneVision, often outperforming baseline methods specifically tuned for those models.
Table 2: Transferability results on InternVL and LLaVA.

Limitations and Future Work

  • Offline Selection: Currently, the framework is designed for "offline" scenarios where the entire video is available. The authors note that future work should explore applying this "evidential selection" to streaming video scenarios where frames must be selected on-the-fly.
  • Training Dependency: While the selector is efficient at inference, the Stage II training requires a frozen MLLM and ground-truth answers, which can be computationally intensive during the training phase itself.
  • Fixed Budgets: The current model selects a fixed number of frames ($K$). A more flexible approach that dynamically adjusts the number of frames based on the complexity of the question could be a promising next step.

Summary updated

Abstract

Multimodal Large Language Models (MLLMs) face significant scalability challenges in long-video understanding due to quadratic attention complexity and context window constraints. Existing retrieval-based approaches typically rely on supervised learning from static keyframe annotations. However, these label priors often fail to align with the actual information required by downstream MLLMs for complex reasoning, creating a misalignment between the training target and inference needs. To bridge this gap, we propose a probabilistic framework that reformulates frame selection as latent-variable inference. We first initialize a lightweight policy using supervised learning to capture general visual saliency. Then, we treat a frozen MLLM as a task environment and use its answer likelihood as dense task evidence to refine the policy via Bayesian Group Relative Policy Optimization (GRPO). Within this formulation, the negative log-likelihood (NLL) over ground-truth answer tokens provides a principled dense reward, while a prior-matching KL term preserves semantic consistency with the elicited label prior. This process transitions the selection principle from static label priors to task evidence. Extensive experiments on Video-MME, MLVU, and LongVideoBench demonstrate that our selector achieves competitive accuracy with MLLM-based scorers while retaining the inference efficiency of lightweight methods. The selector is trained once with a frozen MLLM environment and transfers directly to multiple downstream MLLMs without retraining. Code is available at \url{github.com/Miraclecsc/Frame_Selection_GRPO}.
BibTeX
@inproceedings{chang2026from,
  author = {Shuochen Chang and Bingjie Gao and Qingyang Liu and Qianli Ma and Yibo Miao and Haonan Zhao and Zhaohe Liao and Xiaofeng Zhang and Jiangtong Li and Li Niu},
  title = {{From Label Priors to Task Evidence: Efficient Long-Video Frame Selection via Bayesian GRPO}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Pw7tnoVlx1},
}
Figure