VideoForest: Person-Anchored Hierarchical Reasoning for Cross-Video Question Answering
TL;DR Summary
VideoForest solves cross-video QA by anchoring hierarchical reasoning on persons via ReID/tracking, organizing content into a multi-granularity tree for multi-agent traversal. It significantly outperforms existing methods, enabling efficient cross-video understanding, and operate
Abstract
Cross-video question answering presents significant challenges beyond traditional single-video understanding, particularly in establishing meaningful connections across video streams and managing the complexity of multi-source information retrieval. We introduce VideoForest, a novel framework that addresses these challenges through person-anchored hierarchical reasoning. Our approach leverages person-level features as natural bridge points between videos, enabling effective cross-video understanding without requiring end-to-end training. VideoForest integrates three key innovations: 1) a human-anchored feature extraction mechanism that employs ReID and tracking algorithms to establish robust spatiotemporal relationships across multiple video sources; 2) a multi-granularity spanning tree structure that hierarchically organizes visual content around person-level trajectories; and 3) a multi-agent reasoning framework that efficiently traverses this hierarchical structure to answer complex cross-video queries. To evaluate our approach, we develop CrossVideoQA, a comprehensive benchmark dataset specifically designed for person-centric cross-video analysis. Experimental results demonstrate VideoForest's superior performance in cross-video reasoning tasks, achieving 71.93% accuracy in person recognition, 83.75% in behavior analysis, and 51.67% in summarization and reasoning, significantly outperforming existing methods. Our work establishes a new paradigm for cross-video understanding by unifying multiple video streams through person-level features, enabling sophisticated reasoning across distributed visual information while maintaining computational efficiency.
Mind Map
In-depth Reading
English Analysis
1. Bibliographic Information
- Title: VideoForest: Person-Anchored Hierarchical Reasoning for Cross-Video Question Answering
- Authors: Yiran Meng, Junhong Ye, Wei Zhou, Guanghui Yue, Xudong Mao, Ruomei Wang, and Baoquan Zhao. The authors are affiliated with Sun Yat-Sen University, Cardiff University, and Shenzhen University.
- Journal/Conference: Published in the Proceedings of the 33rd ACM International Conference on Multimedia (MM '25). ACM Multimedia is a premier international conference in the field of multimedia, known for its high standards and significant impact on the community.
- Publication Year: 2025
- Abstract: The paper introduces
VideoForest, a new framework designed for cross-video question answering (QA). This task is more complex than single-video QA because it requires connecting information across multiple video streams.VideoForesttackles this by using people as "anchors" or bridge points between videos. The framework has three main innovations: (1) A feature extraction method using person Re-Identification (ReID) and tracking to link individuals across videos. (2) A hierarchical tree structure that organizes video content around person trajectories at different levels of detail. (3) A multi-agent reasoning system that navigates this tree structure to answer complex questions efficiently. The authors also created a new benchmark dataset,CrossVideoQA, to evaluate such systems. Experiments show thatVideoForestsignificantly outperforms existing methods in tasks like person recognition, behavior analysis, and complex reasoning. - Original Source Link: https://arxiv.org/pdf/2508.03039 (This is an arXiv preprint link for a paper submitted to a future conference).
2. Executive Summary
-
Background & Motivation (Why):
- Core Problem: Modern video understanding systems are very good at analyzing a single video. However, they struggle with questions that require information from multiple videos, such as tracking a person across several security cameras in a building. This is a critical limitation for real-world applications like surveillance and security.
- Gap in Prior Work: Existing video QA models, even advanced ones, operate within a "single-stream constraint." They can't build semantic bridges between different video sources to understand a larger, cohesive event. For example, answering "Which individual traversed all three campus buildings between 2-4 PM?" is impossible for a model that can only look at one video at a time.
- Innovation: The paper's key insight is to use people as natural anchors to connect disparate video streams. A person's identity is a consistent piece of information that can be tracked across different cameras and locations.
VideoForestbuilds a unified, hierarchical representation of all video data centered around these person trajectories.
-
Main Contributions / Findings (What):
- A Novel Person-Anchored Framework: The paper introduces the first hierarchical, tree-based framework that uses human subjects to connect and reason across multiple videos. This creates a unified "forest" of information from individual video "trees."
- Efficient Multi-Agent Reasoning System: It proposes an efficient method to organize video content at multiple granularities (from whole scenes down to fine-grained actions) and couples it with a multi-agent system. This allows for complex reasoning without being computationally expensive.
- A New Benchmark Dataset (
CrossVideoQA): The authors created and releasedCrossVideoQA, the first benchmark specifically designed for person-centric, cross-video question answering. This provides a standardized way to measure and compare the performance of models on this challenging task.
3. Prerequisite Knowledge & Related Work
-
Foundational Concepts:
- Video Question Answering (VideoQA): A task where a model is given a video and a natural language question about its content and must provide a correct answer.
- Person Re-Identification (ReID): A computer vision technique used to identify the same person across different cameras or in different video frames. It's crucial for tracking individuals in a multi-camera setup.
- Object Tracking: Algorithms that follow a specific object (in this case, a person) through a video sequence.
- Hierarchical Data Structure: A way of organizing data in a tree-like structure with different levels. In this paper, it means organizing video content from coarse (e.g., "office scene") to fine-grained (e.g., "person writing on whiteboard").
- Multi-Agent System: A computational system where multiple autonomous "agents" (specialized software modules) interact with each other to solve a problem that is beyond the capacity of any single agent.
- Large Language Models (LLMs) & Multimodal Large Language Models (MLLMs): LLMs are AI models (like GPT-4) trained on vast amounts of text to understand and generate language. MLLMs are an extension that can process information from multiple modalities, including text, images, and video.
-
Previous Works:
- Single-Video QA Models: The paper cites models like
VideoAgentandChat-Video. While powerful, these models are fundamentally designed to work on one video at a time.VideoAgentuses an agent to search within a single video, andChat-Videoanalyzes motion trajectories within an isolated video. They lack the architecture to bridge information across different video files. - Structured Video Representation: Methods like
VideoTreehave explored hierarchical representations to understand long videos more efficiently. However, their focus remains on structuring a single video, not on creating connections between videos.
- Single-Video QA Models: The paper cites models like
-
Differentiation:
VideoForest's primary innovation is its person-anchored cross-video linking mechanism. While prior works focused on getting better at understanding a single video,VideoForestre-architects the entire data representation to solve the multi-source problem. As illustrated in Image 4, it shifts the paradigm from answering "Who entered the library?" (single video) to "Who traversed the library, science building, and rec center?" (multiple videos). The multi-agent system is another key differentiator, enabling a more dynamic and efficient reasoning process compared to monolithic models.
4. Methodology (Core Technology & Implementation)
The VideoForest framework is built in several stages, from processing raw videos to answering complex questions. Image 1 provides a high-level overview of the entire architecture.

-
Step 1: Problem Definition The task is defined as taking a collection of videos and a query with temporal () and spatial () constraints, and producing an answer . The core of the method is to represent the videos in a way that facilitates this. For each frame , two types of information are extracted:
- Visual Embeddings: A dense vector that captures the overall visual content of the frame.
- Person Detections: A structured set containing information for each person detected: their timestamp, spatial coordinates, and a unique person identifier (
id).
-
Step 2: Dual-Stream Feature Extraction and Adaptive Segmentation To get the representations above, a dual-stream architecture is used:
-
Visual Content Stream: Uses the
ViCLIPencoder to generate the frame-level visual embeddings . -
Person-Centric Stream: Uses a tracking and ReID model to extract person information .
Next, the continuous video streams are broken down into semantically coherent segments. A segment boundary is created if any of three conditions are met:
-
The visual difference between consecutive frames is too large (a sharp scene change).
-
A frame deviates significantly from the average look of the current segment (a gradual but significant change).
-
The set of people in the frame changes significantly (someone enters or leaves the scene). The condition is formalized as: where is the indicator function. This adaptive segmentation creates meaningful chunks for the hierarchical tree.
-
-
Step 3: Multi-Level Semantic Representation Each video segment is then encoded into a single rich representation . This is done by a function that combines the visual embedding of the segment's keyframe with the aggregated person trajectory data from all frames within that segment. This ensures each segment's representation captures both the scene's appearance and the human activities within it.
-
Step 4: VideoForest Construction The core data structure, the
VideoForest, is built from these semantic segments. Each video is organized into a tree . The collection of all these trees forms the "forest".- Nodes: Each node in a tree is a tuple:
- : The time interval the node covers.
- : A set of person identifiers and their trajectories within this time interval. This is the key component for linking across videos.
- : The semantic content representation of the node.
- : The set of child nodes.
- Structure: The root node of each tree covers the entire video. This node is recursively split into child nodes covering smaller, non-overlapping time intervals, down to the leaf nodes which correspond to the fine-grained segments from Step 2. This hierarchical structure allows for efficient search, from coarse to fine.
- Nodes: Each node in a tree is a tuple:
-
Step 5: Collaborative Multi-Agent System for Reasoning To answer a question, a multi-agent system traverses the
VideoForest. Image 2 illustrates this dynamic reasoning process.
The system has four specialized agents:
- : Parses the user's query to identify relevant videos (based on time, location, etc.) from the forest.
- : Manages a global knowledge base (). This knowledge base stores previously derived facts (e.g., "On July 1st, no one appeared in the office") with a confidence score. This prevents re-computing information for repeated queries. The confidence scores are updated based on new evidence, allowing the system to self-correct.
- : Traverses the hierarchical trees of the selected videos. It starts at the root and moves down to more detailed nodes only if the parent node is deemed relevant to the query. This top-down search is highly efficient. When a person ID is mentioned in the query, it uses the information to jump directly to relevant nodes across different video trees.
- : Synthesizes all the retrieved information from the knowledge base and the tree traversal to formulate a final, comprehensive answer.
5. Experimental Setup
-
Datasets:
CrossVideoQA: A new benchmark created by the authors for this task. It's built by combining two existing datasets:- Edinburgh Office Surveillance Dataset (EOSD): Contains videos from 3 locations over 12 days, ideal for tracking structured human behavior in an office environment.
- HACS Dataset: A large-scale dataset with diverse human actions, providing more variety.
- The benchmark includes questions and answers that require reasoning across these videos.
-
Evaluation Metrics: The primary metric is Accuracy, measuring the percentage of correctly answered questions. Performance is evaluated across three reasoning tasks and four spatio-temporal configurations.
- Reasoning Tasks:
Person Recognition: Identifying and tracking individuals.Behavior Analysis: Understanding actions and interactions.Summarization and Reasoning: Synthesizing information to draw complex conclusions.
- Evaluation Modalities:
M_single: Questions about a single video (same day, same location).M_cross-temporal: Questions about the same location but across different times/days.M_cross-spatial: Questions about the same time period but across different locations.M_cross-spatiotemporal: The most complex scenario, requiring reasoning across both different times and different locations.
- Reasoning Tasks:
-
Baselines: The paper compares
VideoForestagainst several state-of-the-art MLLMs, includingShareGPT4Video,Video-CCAM, andInternVL 2.5. Since these models are designed for single-video input, a special protocol was used for a fair comparison: they were prompted to first identify relevant videos from the set, extract information from each one sequentially, and then synthesize a final answer.
6. Results & Analysis
-
Core Results:
-
Task-Specific Performance (Table 1):
VideoForestsignificantly outperforms all baseline models across all three reasoning tasks.- In Person Recognition, it achieves 71.93% accuracy, which is over 13% higher than the best baseline (
InternVL-2.5at 58.93%). This directly validates the effectiveness of the person-anchored design with explicit ReID and tracking. - In Behavior Analysis, it scores 83.75%, a ~12% improvement over the next best models. This shows that by correctly linking people, the model can better understand their collective actions.
- The overall accuracy of 69.12% is more than 10% higher than the closest competitors, demonstrating the superiority of its structured, cross-video approach.
- In Person Recognition, it achieves 71.93% accuracy, which is over 13% higher than the best baseline (
-
Spatio-Temporal Performance (Table 2):
VideoForestdemonstrates robust and balanced performance across all four evaluation modalities, whereas baseline models often excel in one area but fail in others.- For
cross-temporalandcross-spatialtasks,VideoForestleads with 72.00% and 69.23% accuracy, respectively. This highlights the strength of the hierarchical tree for temporal reasoning and the person anchors for spatial linking. - Baselines like
InternVL 2.5perform well onsingle-videotasks (73.08%) but drop significantly incross-temporalscenarios (52.00%), confirming their single-stream limitation.VideoForest's performance is much more consistent, showcasing its general applicability.
- For
-
-
Qualitative Analysis: Image 3 shows examples of
VideoForest's reasoning process.-
For the Person Recognition question, it correctly identifies that a person wearing glasses entered Room 201 only on July 1st by checking videos from multiple days.
-
For the Behavior Analysis question, it calculates the duration of a discussion by locating the relevant video segment and analyzing its timestamps.
-
The model successfully synthesizes information from multiple rooms to answer the Summarization and Reasoning question.
-
The analysis reveals that the primary failure mode is in recognizing very fine-grained actions (e.g., "writing on paper"), which can be limited by video resolution and the inherent ambiguity of some actions.

-
-
Ablations / Parameter Sensitivity: Ablation studies were conducted to measure the contribution of each key component.
- Knowledge Base and Reflection (Table 3): Removing the knowledge base (
w/o Retrieval) or the reflection mechanism (w/o Reflection) caused significant performance drops, especially in complex cross-spatiotemporal scenarios. This confirms that caching previously computed knowledge and having a self-correction mechanism are crucial for efficiency and accuracy. - Search Mechanisms (Table 4):
- Disabling the use of person ReID during the search (
w/o ReID in Search) caused a major drop (average of 14.15%), proving that person IDs are critical anchors for navigating the forest. - Removing the initial video filtering step (
w/o Video Filter) hurt performance badly in multi-hop scenarios, as the system had to search through much more irrelevant data. - Using only a shallow tree traversal (
w/o Deep Tree Traversal) also reduced accuracy, showing that the fine-grained details in the lower levels of the tree are necessary for answering specific questions.
- Disabling the use of person ReID during the search (
- Knowledge Base and Reflection (Table 3): Removing the knowledge base (
7. Conclusion & Reflections
-
Conclusion Summary: The paper successfully introduces
VideoForest, a novel and effective framework for cross-video question answering. Its core strength lies in its person-anchored hierarchical structure, which creates meaningful bridges across multiple video streams. Combined with an efficient multi-agent reasoning system, it sets a new state-of-the-art on the newly proposedCrossVideoQAbenchmark. The work effectively moves beyond the limitations of single-video processing and provides a computationally tractable solution for complex, real-world reasoning tasks. -
Limitations & Future Work:
- Dependency on Upstream Models: The framework's performance is heavily dependent on the accuracy of the underlying person tracking and ReID models. Errors in these initial stages (e.g., failing to re-identify a person correctly) will propagate and lead to incorrect answers.
- Fine-Grained Action Recognition: As noted in the qualitative analysis, the model struggles with very detailed action recognition, which may require higher-resolution video or more sophisticated action models.
- Generalization Beyond People: The current framework is person-anchored. While highly effective for surveillance, it might be less applicable to cross-video tasks centered around objects or general events where people are not the main focus. Future work could explore using objects or scenes as alternative anchors.
-
Personal Insights & Critique:
- Strong, Intuitive Core Idea: Using people as anchors is an elegant and powerful concept that directly addresses the fundamental challenge of cross-video understanding. It mirrors how a human security officer would approach the task: "follow that person."
- Modular and Interpretable: The modular design (feature extraction, tree construction, multi-agent reasoning) is a major strength. It makes the system more interpretable than end-to-end black-box models. One can inspect the generated tree or the knowledge base to understand the model's reasoning. This modularity also allows for individual components to be upgraded independently (e.g., plugging in a better ReID model).
- The Benchmark is a Key Contribution: In machine learning, progress is often driven by good benchmarks. The creation of
CrossVideoQAis as important as the model itself, as it will enable the field to systematically study and solve the cross-video reasoning problem. - Non-End-to-End Trade-off: The fact that the system is not trained end-to-end is both a pro and a con. It avoids the need for massive, perfectly annotated cross-video datasets, which are extremely difficult to create. However, it may be less optimized than a potential future end-to-end model, as errors can accumulate between stages. Overall, for the current state of the field, this pragmatic approach is highly effective.
Similar papers
Recommended via semantic vector search.