Q-Frame: Query-Aware Frame Selection and Multi-Resolution Adaptation for Video-LLMs
No official code found. Best implementation: xiaomi-research/q-frame (84 stars, Apache-2.0, last commit 2025-10-25).
Abstract
Multimodal Large Language Models (MLLMs) have demonstrated significant success in visual understanding tasks. However, challenges persist in adapting these models for video comprehension due to the large volume of data and temporal complexity.
Show full abstractHide
Existing Video-LLMs using uniform frame sampling often struggle to capture the queryrelated crucial spatiotemporal clues of videos effectively. In this paper, we introduce Q-Frame, a novel approach for adaptive frame selection and multi-resolution scaling tailored to the video's content and the specific query. Q-Frame employs a training-free, plug-and-play strategy based on a text-image matching network like CLIP, utilizing the Gumbel-Max trick for efficient frame selection. Q-Frame allows Video-LLMs to process more frames without exceeding computational limits, thereby preserving critical temporal and spatial information. We demonstrate $Q$-Frame's effectiveness through extensive experiments on benchmark datasets, including MLVU, LongVideoBench, and VideoMME, illustrating its superiority over existing methods and its applicability across various video understanding tasks.