See What You Need: Query-Aware Visual Intelligence through Reasoning-Perception Loops

Zixuan Dong, Baoyun Peng, Yufei Wang, Lin Liu, Xinxin Dong, Yunlong Cao, Xiaodong WangarXiv 2025 · DOI

Abstract

Long-form video understanding remains a significant challenge due to the sparse nature of relevant information and the computational cost of high-resolution processing. Current state-of-the-art methods often rely on rigid, "open-loop" pipelines that either lose fine-grained details through static captioning or suffer from information overload in end-to-end processing. We present CAVIA (Closed-loop Adaptive Video Intelligence Agent), a training-free framework that introduces a dynamic reasoning-perception loop. By allowing a Large Language Model (LLM) to iteratively query a Vision-Language Model (VLM) for specific details, CAVIA achieves state-of-the-art results on major benchmarks including EgoSchema, NExT-QA, and IntentQA.

Introduction

Understanding complex queries in long videos is akin to finding a "needle in a haystack." Traditional approaches typically decouple perception from reasoning. Caption-based methods generate a text summary first, which often omits the specific visual nuances required for complex questions. Conversely, end-to-end VLMs attempt to process raw pixels directly but frequently struggle with long-range temporal reasoning or lack the focus to isolate specific evidence.

Comparison of traditional open-loop methods vs. the proposed closed-loop CAVIA framework.

The fundamental limitation of these "open-loop" systems is the lack of dialogue between reasoning and perception. In contrast, human intelligence utilizes a feedback loop: we look for specific visual cues based on our current understanding of a problem. CAVIA mimics this by closing the loop, enabling the reasoner to guide the perceiver dynamically based on the query at hand.

Methodology: The CAVIA Framework

CAVIA operates through an iterative four-phase process designed to bridge the semantic gap between text-based reasoning and raw visual data.

The CAVIA architecture, featuring hierarchical localization, a dynamic video agent, and adaptive extraction.

1. Hierarchical Reasoning-Guided Localization

The system begins by partitioning the video into chunks. An LLM "Planner" identifies candidate chunks likely to contain the answer, narrowing the search space to specific "fine frames" rather than processing the entire video at high resolution. This coarse-to-fine strategy ensures computational efficiency.

2. Reasoning Gap Identification

The Planner analyzes the current context provided by initial captions. If the information is insufficient to answer the query with high confidence, the system identifies a "reasoning gap"—a specific missing piece of evidence (e.g., "I see the person moving, but I can't see what they are holding").

3. Targeted Multimodal Prompting

To fill the identified gap, the system generates precise instructions for a VLM "Executor" (specifically Qwen2.5-VL). These prompts are either temporal (describing sequences over time) or spatial (focusing on specific regions within a frame), creating what the authors call a "Cross-Modal Semantic Bridge."

4. Iterative Caption Enhancement

The high-fidelity details retrieved by the Executor are integrated back into the global context. This loop repeats until a confidence threshold is met or the maximum number of iterations is reached, progressively refining the system's understanding of the video.

Experimental Results

CAVIA was evaluated on three major benchmarks that test different aspects of video intelligence: EgoSchema (egocentric video), NExT-QA (temporal/causal reasoning), and IntentQA (intent-based reasoning).

  • EgoSchema: CAVIA achieved 65.7% accuracy on the Fullset, representing a +4.6% improvement over the previous state-of-the-art, VideoTree.
  • NExT-QA: The framework reached 76.1% average accuracy, a 2.6% lead over prior methods.
  • IntentQA: Performance jumped to 73.8%, a significant +6.9% improvement over existing models.

Ablation studies confirmed the efficacy of the iterative approach. Accuracy was shown to scale steadily with the number of reflection iterations, rising from approximately 67% at the first iteration to 76% by the fourth. Furthermore, the system demonstrates "scaling with intelligence," where performance improves significantly when using more capable LLMs (like GPT-4.1) as planners.

Conclusion

CAVIA demonstrates that the architecture of interaction between reasoning and perception is as critical as the underlying models themselves. By implementing a training-free, closed-loop system, we achieve superior performance and efficiency in long-form video understanding. While the iterative nature introduces some latency, the ability to selectively process visual information based on query-specific needs marks a significant step toward more human-like visual intelligence.

Summary updated

BibTeX
@misc{dong2025see,
  author = {Zixuan Dong and Baoyun Peng and Yufei Wang and Lin Liu and Xinxin Dong and Yunlong Cao and Xiaodong Wang},
  title = {{See What You Need: Query-Aware Visual Intelligence through Reasoning-Perception Loops}},
  year = {2025},
  eprint = {2508.17932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17932},
}
Figure