Enhancing Video-LLM Reasoning via Agent-of-Thoughts Distillation

Yudi Shi, Shangzhe Di, Qirui Chen, Weidi Xie

Abstract

Video Question Answering (VideoQA) requires complex spatial-temporal reasoning that current Large Video-Language Models (Video-LLMs) often lack, typically acting as "black boxes" with limited interpretability. While agent-based systems offer superior reasoning through modular tool-use, they are computationally expensive and slow. We present Agent-of-Thoughts Distillation (AoTD), a framework that distills the reasoning capabilities of a multi-model agent into a single, efficient Video-LLM. By generating, verifying, and distilling high-quality Chain-of-Thought (CoT) reasoning paths from specialized vision experts, AoTD significantly improves VideoQA accuracy and provides grounded, interpretable rationales.

Introduction

Understanding video content involves more than just identifying objects; it requires a deep understanding of "who did what, when, and where" across time. Current Video-LLMs are generally trained on simple question-answer pairs, which limits their ability to provide precise spatial-temporal grounding or clear rationales for their answers. Conversely, agent-based systems—which use LLMs to plan and call specialized tools like object detectors—are highly interpretable but suffer from massive memory overhead and slow inference speeds.

Comparison between standard Video-LLM training and the proposed AoTD framework, highlighting the improvement in reasoning and grounding.

AoTD bridges this gap by giving an efficient single model the "thinking process" of a complex agent. As shown in the comparison above, standard models often fail on complex temporal logic, whereas the AoTD-enhanced model can ground its answers in specific frames and spatial coordinates.

The AoTD Framework

The AoTD framework follows a structured four-step pipeline designed to extract and refine reasoning from specialized vision experts:

  1. Agent-based Construction: A complex video question is decomposed into a Python-style program. This program orchestrates specialized "expert" models for sub-tasks, such as OWL-ViT v2 for object detection and InternVideo2 for action recognition.
  2. Execution Trace to CoT: The raw outputs of these tools (e.g., bounding box coordinates, timestamps) are converted into natural language "Chain-of-Thought" (CoT) reasoning steps using an LLM.
  3. Verification & Filtering: To ensure high data quality, a two-step verification process filters out logically inconsistent paths or traces that lead to incorrect final answers. This process reduced an initial pool of 158.6K labels to 32.3K high-quality CoTs.
  4. Distillation: These verified reasoning chains are used to fine-tune a base Video-LLM (LLaVA-NeXT-Video-7B), training it to generate either concise answers or full rationales depending on the user prompt.
The four-step AoTD pipeline: Model Selection, Program Generation & Execution, CoT Conversion & Filtering, and CoT Distillation.

Experimental Results

The distilled model, LLaVA-NeXT-Video-AoTD, consistently outperformed both its base model and standard instruction-tuned versions across several major benchmarks:

  • STAR Benchmark: Achieved 74.3% accuracy, a significant jump over the base LLaVA-NeXT (52.4%).
  • VideoMME: Improved performance from 41.0% to 45.0%.
  • Open-Ended QA (AGQA): Reached 60.9% accuracy, more than doubling the performance of the base model (27.4%).

Beyond quantitative metrics, the model demonstrates "emergent grounding." By training on CoTs that include spatial-temporal data, the model learns to "point" to objects and "mark" time intervals in its explanations, providing a level of interpretability previously reserved for heavy agent-based systems.

Conclusion

Agent-of-Thoughts Distillation proves that the "teacher" for a Video-LLM does not have to be a larger general-purpose model; instead, a heterogeneous system of specialized vision experts can provide the necessary grounding for complex reasoning. While the framework is currently limited by the performance of its underlying expert tools, it represents a significant step toward efficient, interpretable, and highly accurate video understanding models. Future work will focus on refining these atomic expert tools and applying AoTD to larger foundation models.

Summary updated

BibTeX
@inproceedings{shi2025enhancing,
  author = {Yudi Shi and Shangzhe Di and Qirui Chen and Weidi Xie},
  title = {{Enhancing Video-LLM Reasoning via Agent-of-Thoughts Distillation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00797},
}
Figure