English

Efficient Frame Selection for Long Videos at Test Time with Attention-Based MLLM Selectors

Computer Vision and Pattern Recognition 2026-07-17 v1

Abstract

Understanding long videos with multimodal large language models (MLLMs) requires selecting a compact set of frames from thousands of candidates, yet identifying the right frames seemingly requires understanding the video first. We resolve this circular dependency with a simple observation: cross-modal attention at validation-selected extraction layers in MLLMs already provides query-relevant frame evidence without requiring autoregressive generation. We exploit this property to build DAFS (Dynamic Attention-based Budget-aware Frame Selection), a training-free frame selector. A lightweight MLLM selector, even with only 2B parameters, can extract frame-level evidence by converting selected-layer attention into relevance scores through query-conditioned aggregation. This enables cross-frame comparison without autoregressive decoding. To handle the selector's own context constraint, we formulate the joint allocation of candidate pool size and per-frame token budget as a discrete optimization problem solved by dynamic programming. Under a 32-frame budget, our selector improves over uniform sampling by up to 6.4 points on Video-MME and outperforms prior training-based selectors under matched frame budgets, while generalizing across selector and answerer backbones, and across tasks, without retraining.

Cite

@article{arxiv.2607.15689,
  title  = {Efficient Frame Selection for Long Videos at Test Time with Attention-Based MLLM Selectors},
  author = {Yilin Wang and Xiangxi Zheng and Dongxing Mao and Linjie Li and Zhengyuan Yang and Ping Yu and Rui Yan and Yuan Yao and Alex Jinpeng Wang},
  journal= {arXiv preprint arXiv:2607.15689},
  year   = {2026}
}