TL;DR
QCA (Query- and Content-Aware) is a training-free keyframe selection framework that enables Multimodal Large Language Models (MLLMs) to efficiently understand long videos. By dynamically allocating a frame budget across video segments based on both query relevance and visual diversity, QCA extracts a compact, information-rich subset of frames. It achieves state-of-the-art performance across multiple long-video benchmarks while using significantly fewer frames than standard uniform sampling or proprietary models like GPT-4o.
What Problem Does This Paper Address?
As Multimodal Large Language Models (MLLMs) scale up, applying them to long-form video understanding remains a massive computational bottleneck. Long videos are inherently redundant, and feeding dense frame sequences into an MLLM quickly overwhelms its token budget, leading to truncated inputs or severely degraded reasoning capabilities.
To stay within token limits, standard approaches typically rely on uniform sampling (picking frames at fixed intervals). However, as shown in the paper's qualitative examples, uniform sampling frequently misses brief, semantically critical moments that contain the exact answer to a user's query. Alternative methods that filter frames based purely on query relevance often suffer from a lack of diversity, selecting highly similar, redundant frames from a single salient scene while completely ignoring the broader context of the video.
Methods
The authors introduce QCA, a plug-and-play framework that requires no additional training and can be seamlessly integrated into any existing Video-LLM. The framework operates in two primary stages:
1. Inter-Segment Keyframe Allocation
QCA first divides the video into $S$ uniformly spaced temporal segments. It then calculates an "information contribution score" for each segment by balancing two factors:
- Semantic Matching ($M_s$): Measures the average alignment between the frames in a segment and the text query using a lightweight vision-language embedding model (like BLIP-2).
- Content Deviation ($D_s$): Evaluates how much the segment's visual features deviate from the global video average, alongside the segment's internal variance. This ensures that visually unique and dynamic segments receive a higher frame budget.
Frames are then dynamically allocated across segments based on these scores.
2. Intra-Segment Keyframe Selection
Within each segment, QCA uses an anchor-centric greedy selection strategy to fill its allocated budget:
- Semantic Anchor: It identifies the single frame most relevant to the query to serve as an anchor.
- Semantic Constraint: It filters out noisy or irrelevant frames by creating a candidate pool of frames that meet a minimum relevance threshold relative to the anchor.
- Content Diversity: From this filtered pool, QCA iteratively selects frames that maximize the Euclidean distance to the already selected keyframes, ensuring high information density and minimal redundancy.
Datasets
The authors evaluated QCA across four widely recognized long video understanding benchmarks:
- LongVideoBench: Focuses on detailed reasoning questions over videos up to an hour long.
- Video-MME (without subtitles): Covers 6 primary visual domains and 30 subfields, spanning short, medium, and long videos (up to 1 hour).
- MLVU: Features long videos ranging from 3 minutes to 2 hours across nine distinct evaluation tasks.
- LVBench: A dataset drawn from public sources (TV series, sports, surveillance) aimed at long video comprehension and information extraction.
Key Insights and Ideas
- Relevance Alone is Not Enough: Purely relevance-based top-$k$ filtering often clusters all selected frames around a single moment. QCA proves that combining query relevance with explicit diversity modeling captures temporally dispersed but essential context.
- Proactive vs. Reactive Compression: QCA selects informative frames before they are encoded by the MLLM. The authors show this is significantly more effective than post-encoding token pruning methods (like ForestPrune), which process redundant frames first and risk discarding valuable tokens later.
- Training-Free Superiority: Despite being entirely training-free, QCA outperforms several state-of-the-art methods that require fine-tuning on video-text data, proving that intelligent frame selection algorithms can bypass expensive training pipelines.
Key Results
QCA was validated using three cutting-edge open-source backbones: LLaVA-Video-7B, InternVL-3.5-8B, and Qwen3-VL-8B.
- State-of-the-Art Performance: When paired with Qwen3-VL-8B under a strict 64-frame budget, QCA achieved 66.9% on LongVideoBench (a 3.8% boost over uniform sampling) and 69.5% on Video-MME.
- Outperforming Proprietary Models: On LongVideoBench, QCA achieved 67.8% using 128 frames, outperforming GPT-4o, which scored 66.7% despite using double the frame budget (256 frames).
- Efficiency: The preprocessing overhead of QCA is marginal. Scaling the input from 128 to 1024 frames only increased the Image-Text Matching time from 0.595s to 1.165s, while the frame selection process itself took a mere 0.005 seconds.
Limitations and Future Work
The primary limitation noted by the authors is QCA's reliance on uniform temporal segmentation to divide the video initially. While simple and computationally efficient, uniform splits do not align perfectly with a video's underlying narrative structure.
As a direction for future work, the authors suggest incorporating content-aware temporal segmentation methods, such as shot boundary detection, to create more semantically coherent segments before allocating the frame budget.
Summary updated