Manuscript Offprint

arXiv:2610.25418

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

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 github.com/Miraclecsc/Frame_Selection_GRPO.

1 Introduction

Recent advancements in Multimodal Large Language Models (MLLMs) have revolutionized video understanding [1–3, 8, 57, 10, 54, 17], enabling sophisticated reasoning over interwoven visual-textual data. However, despite their impressive zero-shot capabilities and instructional alignment, MLLMs face a fundamental struggle when processing long-form videos [9, 36, 13, 18]. The quadratic computational complexity inherent to self-attention mechanisms [43], coupled with strict context window limitations, typically prohibits the direct ingestion of lengthy, uncompressed frame sequences. Consequently, extracting relevant spatiotemporal information from temporally extended content remains a critical bottleneck, hindering the deployment of MLLMs in real-world applications such as movie analysis and long-horizon agent navigation.

To mitigate this scalability issue, existing approaches [46, 32, 60, 56, 31] generally fall into two dominant paradigms: architectural modification and external frame retrieval. Architectural approaches, such as streaming video LLMs [7, 22, 33, 21] or dynamic memory compression, attempt to fundamentally modify the MLLM's internal token-processing mechanism to accommodate infinite or

Preprint.

highly compressed contexts. While theoretically promising, these methods often incur prohibitive training costs and suffer from catastrophic forgetting, degrading the model's general-purpose capabilities. Alternatively, retrieval-based methods [4, 37, 55, 62] bypass architectural changes by employing an external module to select a concise subset of keyframes. However, this paradigm suffers from a severe efficiency-accuracy trade-off. Lightweight selectors (e.g., CLIP-based similarity matchers) [41, 24, 39, 23, 52] rely on shallow semantic alignment and lack the deep causal reasoning required for complex, multi-hop temporal queries. Conversely, utilizing a powerful MLLM as a dense frame scorer [64, 51, 50, 47] bridges the reasoning gap but introduces unacceptable computational overhead and latency during inference.

In this work, we propose a lightweight, plug-and-play selection module that achieves high reasoning accuracy without imposing heavy inference latency. We identify a fundamental theoretical misalignment in current retrieval-based methods: a static label prior is not strictly identical to task evidence. Standard supervised selectors trained on fixed human annotations learn the former (typically visually salient or summary frames), but downstream MLLMs require the latter (specific visual evidence necessary to complete a logical reasoning chain). To bridge this semantic gap, we depart from a ranking paradigm and reformulate frame selection as a probabilistic latent-variable modeling problem.

Specifically, we introduce a rigorous two-stage probabilistic framework that transitions from human-derived label priors to MLLM-driven task evidence. First, we construct a lightweight selector that learns a Label Prior from keyframe annotations via pairwise ranking. This initializes the policy within a semantically plausible region, drastically reducing the combinatorial search space. Second, we perform Posterior Inference to dynamically align this prior with the target MLLM. By treating the frozen MLLM as the environment and maximizing the Evidence Lower Bound (ELBO), we naturally utilize the MLLM's Negative Log-Likelihood (NLL) as dense task evidence, while simultaneously leveraging the elicited prior for principled KL-regularization. We solve this optimization using a novel Bayesian Group Relative Policy Optimization (GRPO) algorithm, which effectively refines the policy into a task-adaptive posterior that autonomously identifies reasoning-critical frames without reward hacking.

Our main contributions are summarized as follows:

• We propose a plug-and-play, lightweight frame selector that decouples selection from inference, enabling highly efficient long-video understanding without modifying the target MLLM’s architecture.

• We introduce a probabilistic framework that reformulates frame selection as Bayesian inference, theoretically justifying the sequential transition from supervised Prior Elicitation to MLLM-driven Posterior Inference.

• We derive a novel Bayesian GRPO algorithm. By leveraging the target MLLM’s answer likelihood as dense task evidence and the label prior as KL-regularization, our method robustly refines the selector while mitigating reward hacking.

• We empirically demonstrate that our selector acts as a universal plugin across multiple downstream MLLMs, achieving a superior accuracy-efficiency trade-off compared to both training-free lightweight methods and computationally heavy MLLM-based scorers.

References (62)