Q-Focus: Let the Question Guide What to See in Long Videos
Junbo Qiao, Xinning Chai, Dong Fang, Sifa Xie, Wenxuan Huang
NeurIPS page · OpenReview · Open on the map
Category: Video Understanding & Generation › Efficient Long-Form Multimodal Perception · Type: new method · Keywords: visual token compression, query-guided attention, long video understanding, adaptive contrastive module, question context module, efficient video language models
Areas: Long Context › Video Sequence Modeling › Long video understanding; Multimodal › Multimodal Visual Reasoning › Sparse Vision
Summary
Q-Focus is a plug-and-play, two-stage visual token compression framework that uses query-guided focusing to preserve relevant details while retaining only 10% of tokens, achieving significant accuracy gains on long-video benchmarks.
Explained to a 5-year-old
Q-Focus is a new tool that helps computers watch long videos more efficiently. It looks at the question the user asks and decides which parts of the video are important. The computer keeps only the most useful pictures and discards the rest. This makes the video processing faster and uses less memory. As a result, the computer can answer questions about the video better.
Explained to a 5-year-old, longer
Q-Focus is a new method that helps computers understand long videos. It works like a smart highlighter that pays attention to what the user is asking. First, it makes a rough picture of the whole video. Then it looks at the question and finds the most important parts. It uses a special module to match the question with the video scenes. Another module spreads the importance to nearby scenes. This way, only the useful parts are kept, and the rest are dropped. By keeping only a small part of the video, the computer uses less memory. This makes the video processing faster. The method can be added to many different video models. It improves the answers the computer gives about the video. It works well on different video tasks. The result is better understanding with less effort.
For a technical reader
Q-Focus is a plug-and-play compression framework that adds a query-guided stage to existing visual token reduction methods. It first builds a global semantic representation, then aligns user queries with visual features using an adaptive contrastive module that treats queries as positives and samples negatives from the video distribution. A question context module propagates relevance through visual affinity matrices, ensuring surrounding regions retain important context. When integrated with baselines, the method retains only 10 % of tokens while delivering ~7 % relative gains on LLaVA-OneVision and ~6.6 % on LLaVA-Video, and improves performance across other models.
Problem
Video Large Language Models struggle with computational and memory constraints when processing long videos, and existing token compression methods discard information without considering query relevance, limiting performance.
Method
The approach first creates a holistic semantic representation through a global compression stage, then applies a question-guided focusing stage that aligns queries with visual tokens using an adaptive contrastive module and diffuses relevance via visual affinity matrices.
Results
The approach retains only 10% of visual tokens and achieves relative accuracy gains of 7.3% on LLaVA-OneVision and 6.6% on LLaVA-Video, while also improving performance on other models.
Contributions
It introduces a query-guided focusing stage with an adaptive contrastive module and a question context module that dynamically preserves query-relevant details, and demonstrates integration with various compression baselines to significantly boost long-video understanding performance.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction