FrameScout: Scouting Query-Relevant Frames for Long Video Understanding

Haonan hu, Shuhao Chen, Weisen Jiang, Lizhao Gao, James Kwok, Yu ZhangNeurIPS 2026

TL;DR

Asking a Video Large Language Model (VideoLLM) to watch an hour-long video is like trying to pour a swimming pool into a coffee mug—the visual tokens quickly overwhelm the model's memory and compute limits. FrameScout solves this by acting as an ultra-fast, lightweight "scout" that streams through arbitrarily long videos using constant memory, picking out only the exact frames needed to answer your question. Better yet, it encodes the video just once, meaning follow-up questions about the same footage are answered almost instantaneously.

What Problem Does This Paper Address?

VideoLLMs are great at understanding short clips, but long videos break them. A single 20-minute video sampled at one frame per second generates roughly 307,000 visual tokens. Because standard transformer attention scales quadratically, feeding all those tokens into a model either blows past its context window or grinds your GPU to a halt.

The obvious workaround is keyframe selection: picking a small budget of relevant frames (say, 60) to hand over to the big VideoLLM. However, existing selectors suffer from tunnel vision. Some look at each frame in total isolation using frozen image-text encoders (missing the storyline entirely). Others chop the video into isolated chunks—meaning if a woman enters a car in Chunk 1 and gets threatened in Chunk 2, the selector fails to connect the dots across the boundary. Furthermore, existing learned selectors tangle the user's text query with the video encoding, forcing the system to re-watch and re-encode the entire movie every single time you ask a new question.

Methods

FrameScout decouples watching the video from answering the question, introducing a lightweight 1B-parameter selector built on two clever designs:

Figure 1: Illustration of FrameScout.
  1. Bi-Directional Streaming Architecture: How do you give every frame awareness of both the past and the future without running out of memory?
  2. For the past: FrameScout processes video in small 12-frame chunks using a sliding-window KV cache (plus fixed "attention sink" tokens to keep math stable). Old chunks are evicted as new ones arrive, passing historical context forward like a baton in a relay race while keeping GPU memory strictly constant.
  3. For the future: Causal models can't see ahead. Drawing inspiration from reinforcement learning, the authors introduce successor aggregation. Once the forward pass finishes, a single, lightning-fast backward pass sweeps from the end of the video to the beginning, blending future frame states into earlier ones using an exponential discount factor.
Figure 2: Illustration of the sliding-window KV Cache and successor aggregation mechanisms.
  1. Frame-Query Contrastive Learning: Because datasets rarely label which exact frames answer a question, the authors generate pseudo-labels by peeking at the internal attention weights of an 8B teacher model. Instead of forcing the selector to learn a strict ranking of every frame (which is notoriously hard to optimize), they use a contrastive loss. This simply pulls relevant frames and the text query together in a shared embedding space while pushing irrelevant background frames away.

Datasets

  • Training: FrameScout is trained on ~80,000 video–text pairs from the LLaVA-Video dataset, using attention-based pseudo-labels generated by InternVL2.5-8B.
  • Evaluation: Tested across three established long-video benchmarks: VideoMME (spanning short to hour-long videos, evaluated without subtitles), MLVU (multi-task long-form understanding), and LongVB (long-context retrieval and reasoning). No new benchmarks were introduced.

Key Insights and Ideas

  • Encode once, query endlessly: Because FrameScout builds query-agnostic frame embeddings, it only streams the video once. Answering a new query just requires encoding the text and computing fast dot-products (~0.03 seconds).
  • Constant memory for infinite video: While competing learned selectors see their VRAM usage skyrocket past 80 GB on hour-long videos, FrameScout’s sliding window keeps its footprint flat at ~8 GB, regardless of video duration.
  • Train in chunks, stream at test time: Surprisingly, turning off the sliding-window KV cache during training (processing chunks in parallel) and only activating it during inference actually yields lower loss and higher accuracy under the same compute budget, thanks to faster, more scalable optimization.
Inference latency across multiple queries and GPU memory scaling across video lengths

Key Results

FrameScout was paired with six base VideoLLMs (including open-source Qwen3-VL-8B and closed-source GPT-5.4) under a strict 60-frame budget, beating state-of-the-art selectors (FOCUS and FlexSelect) across the board:

  • Accuracy boosts: On VideoMME-Long, FrameScout lifts Qwen3-VL-8B accuracy by +6.5% over uniform sampling (reaching 61.2%) and Qwen2.5-VL-7B by +5.9%. Even frontier models benefit: GPT-5.4 gains +5.6% on VideoMME Overall (hitting 72.5%).
  • Reliability: Unlike prior selectors that occasionally perform worse than naive uniform sampling on certain models, FrameScout delivers positive gains in every single configuration tested.
  • Multi-query speedup: When asking 8 sequential questions about the same video, FrameScout achieves a 6.3× speedup over FlexSelect and a 21.2× speedup over FOCUS.

Limitations and Future Work

Not discussed in the paper. (Note: The provided document contains the main paper and references; formal limitation discussions, if any, reside in the unprovided appendix).

Summary updated

Abstract

Long video understanding requires VideoLLMs to answer queries about videos spanning tens of minutes to hours, but such long videos produce far more visual tokens than current VideoLLMs can process. To address this issue, keyframe selectors are proposed to select the most query-relevant frames by computing the similarity between frame and query embeddings. Existing selectors either encode frames independently without temporal context or process chunks in isolation with ranking objectives that are difficult to optimize. To alleviate those limitations, we propose FrameScout with two core designs: (i) a streaming selector architecture that leverages a sliding-window KV cache and successor aggregation to produce temporally-contextualized frame embeddings; (ii) a frame-query contrastive objective that aligns frame and query embeddings in a shared space, directly training the selector to distinguish relevant frames from irrelevant ones. Extensive experiments on three long-video benchmarks and six base VideoLLMs demonstrate that FrameScout consistently achieves state-of-the-art performance.
BibTeX
@inproceedings{hu2026framescout,
  author = {Haonan hu and Shuhao Chen and Weisen Jiang and Lizhao Gao and James Kwok and Yu Zhang},
  title = {{FrameScout: Scouting Query-Relevant Frames for Long Video Understanding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xesmedbJGk},
}
Figure