NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Q-Focus: Let the Question Guide What to See in Long Videos

Junbo Qiao, Xinning Chai, Dong Fang, Sifa Xie, Wenxuan HuangNeurIPS 2026

TL;DR

When humans watch a long video to answer a specific question, we don't memorize every single pixel—we skim for the general vibe and then zero in on the details that actually matter. Current Video Large Language Models (VideoLLMs) try to save memory by blindly throwing away redundant video frames before even reading your question, often deleting the exact clue they need. Q-Focus fixes this with a training-free, plug-and-play pipeline that lets your question guide which visual details survive compression, drastically cutting compute costs while sometimes even beating the uncompressed model's accuracy.

What Problem Does This Paper Address?

Feeding a long video into a Large Language Model is a computational nightmare. Because a video is a massive sequence of images, converting frames into "visual tokens" (the bite-sized representations LLMs read) creates an avalanche of data. Thanks to the quadratic scaling of the attention mechanism, doubling the video length quadruples the compute bottleneck.

To survive this, engineers use visual token compression—algorithms that prune or merge repetitive background patches and similar consecutive frames. Here is the catch: almost all existing video compressors are query-agnostic. They compress the video statically, completely ignoring what the user is actually asking. Under aggressive compression (say, throwing away 90% of the video), a static algorithm might keep the broad strokes of a person talking while deleting the tiny, crucial cup in their hand that your prompt specifically asked about. Meanwhile, applying text-guided cross-attention directly to every raw video token is way too expensive. We need a lightweight way to tell the compressor what to look for.

Figure 1: Motivation and Overview of the proposed Q-Focus framework. (a) Human video un- derstanding follows a coarse-to-fine process: global perception followed by selective attention to question-relevant details. (b) Existing methods rely on static, question-agnostic compression. (c) Q-Focus mimics this cognition via a two-stage pipeline: Stage 1 removes global redundancy, while Stage 2 employs an Adaptive Contrastive Module (ACM) and Question Context Module (QCM) to dynamically prioritize and propagate query semantics. (d) Integrating Q-Focus yields consistent accuracy gains across benchmarks and baseline compressors.

Methods

Inspired by human "coarse-to-fine" cognition, the authors propose Q-Focus, a training-free, two-stage compression framework that introduces zero learnable parameters.

  1. Stage 1: Global Compression (Standard). First, Q-Focus uses any off-the-shelf, fast, static compressor (like VidCom² or FlashVID) to do the heavy lifting—eliminating obvious spatiotemporal redundancy and shrinking the massive raw token pool down to a manageable intermediate budget (e.g., 30% of the original tokens).
  2. Stage 2: Question Focusing (Novel). Operating on this smaller, cheaper token pool, Q-Focus refines the selection using the user's text prompt via two clever modules:
  3. Adaptive Contrastive Module (ACM): Simply matching text embeddings to visual tokens is noisy because prompts contain filler words ("What happens after..."). ACM treats the averaged query embedding as a positive sample and dynamically constructs a negative sample from the least-similar visual tokens retained in Stage 1. Subtracting the negative similarity from the positive cancels out general semantic noise, isolating the true signal.
  4. Question Context Module (QCM): Often, a question only names an "anchor" object, while the actual answer lives next to it (e.g., asking "What is the man pulling?" anchors on the man, not the mystery object). QCM builds a sparse similarity graph among the visual tokens, finding each token's top-$k$ nearest visual neighbors ($k=8$) and diffusing high relevance scores outward to surrounding context.
Figure 2: llustration of the proposed Q-Focus. Our framework decouples token compression into two sequential stages: (1) Global Compression, which removes video-level redundancy to obtain a compact holistic representation; and (2) Question Focusing, dynamically refining the token sequence by aligning visual features with query semantics and propagating relevance to contextual regions.

Finally, Q-Focus fuses three scores—Stage 1's global visual importance, ACM's contrastive alignment, and QCM's diffused context score—to cherry-pick the final, ultra-compact token set fed to the LLM.

Datasets

Because Q-Focus is completely training-free, no training datasets are used. The authors evaluate the framework across four established video understanding benchmarks spanning short clips to long, complex reasoning scenarios:

  • VideoMME
  • LongVideoBench
  • MVBench
  • MLVU (Multi-task Long Video Understanding)

No new benchmarks are introduced in this paper.

Key Insights and Ideas

  • Less can literally be more: On LLaVA-OneVision (25% token retention) and MLVU single-detail tasks (10% retention), Q-Focus actually outperforms the uncompressed vanilla model. Pruning away 75–90% of query-irrelevant visual clutter acts like noise cancellation, helping the LLM focus on the right evidence.
  • The "Anchor vs. Answer" gap: A major "aha moment" is recognizing that naive text-image matching fails when the answer isn't explicitly named in the prompt. Diffusing attention scores across visually similar neighbors (via QCM) bridges the gap between what you ask about and what you need to see.
  • Self-negative contrastive scoring: You don't need external datasets or training to filter out prompt phrasing noise; sampling negative features directly from the video's own Stage-1 compressed distribution works better than static or empty baselines.

Key Results

Tested across LLaVA-OneVision, LLaVA-Video, and Qwen3-VL-8B-Instruct, Q-Focus consistently boosts performance over state-of-the-art compressors:

  • Extreme Compression Gains: When retaining just 10% of visual tokens with VidCom² as the Stage-1 backbone, adding Q-Focus yields relative accuracy gains of +7.3% on LLaVA-OneVision (jumping from 53.6 to 57.9 average score) and +6.6% on LLaVA-Video (53.3 to 57.5).
  • Near-Lossless Efficiency: On Qwen3-VL at 25% token retention, FlashVID + Q-Focus scores 63.5, nearly matching the uncompressed model's 64.2 with a quarter of the tokens.
  • Negligible Overhead: While baseline compressors slash LLM prefilling time by 6–8x (from 1257.5 ms down to 163.3 ms for VidCom²), bolting Q-Focus onto Stage 1 adds just 13.2 ms of latency and 1.2 GB of peak GPU memory.
  • Qualitative Proof: Visual inspections show static baselines pruning away tiny, query-critical objects (like a blue drinking glass), whereas Q-Focus cleanly preserves those exact patches.
Qualitative comparison showing Q-Focus preserving the critical blue glass tokens that static compression discards

Limitations and Future Work

Not discussed in the paper. (While the authors omit a formal limitations section, their experiments implicitly note that Q-Focus yields smaller relative gains when paired with stronger Stage-1 compressors like FlashVID that already sit closer to the model's performance ceiling, and that over-retaining tokens in Stage 1 inflates compute latency without meaningfully improving accuracy.)

Summary updated

BibTeX
@inproceedings{qiao2026q,
  author = {Junbo Qiao and Xinning Chai and Dong Fang and Sifa Xie and Wenxuan Huang},
  title = {{Q-Focus: Let the Question Guide What to See in Long Videos}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Wy1TkJYSdQ},
}
Figure