Manuscript Offprint

arXiv:2609.06504

CAM: Question Answering on Entity-Centric Videos with Continuous Extraction and Adaptive Querying

Yizhou Tian, Zizhe Chen, Shiyuan Deng, Garry Yang, Zijie Dai, Luohao Pan, Hao Lin, Peiqi Yin, Xiao Yan, James Cheng

Abstract

Memory facilitates question answering over long videos by extracting and retrieving facts to fit within the limited context windows of multimodal LLMs (MLLMs). Existing solutions typically extract independent memory entries from fixed-length video clips and thus cannot capture high-level semantics that need to be summarized over extended time periods, such as character traits and relations. Moreover, they rely solely on similarity-based retrieval and may fail to retrieve the fine-grained details required for question answering. To tackle these problems, we propose CAM, featuring continuous extraction for high-level semantics and adaptive querying for fine-grained details. In particular, CAM stores the entities and relations extracted from video clips in a knowledge graph. To capture the high-level semantics of each entity or relation, CAM summarizes the local subgraph of the target entity or relation once the subgraph reaches a predefined size. To retrieve the fine-grained details required for question answering, CAM supports multiple search methods, including knowledge graph traversal, video re-watching, and audio listening. It utilizes a planner-executor-verifier pipeline to adaptively compose these search methods according to question intent. Evaluations on three benchmarks show that CAM outperforms SOTA baselines and improves their accuracy by up to 23 percentage points. Code is available at https://github.com/Jake-Tian/CAM.

1 Introduction

The latest multimodal LLMs (MLLMs) can perceive and reason over complex visual and linguistic signals [1–3]. However, directly using MLLMs to process long videos is challenging since the context windows of MLLMs are limited, and it is costly to process many input tokens. Real-world videos, such as observing continuous robotic operations [4], streaming first-person footage from AI glasses [5], or following a plot in a cinematic movie [6], are usually entity-centric and record the attributes, events and relations for a persistent set of entities (e.g., characters and objects). As such, video memory systems [5, 7, 8] first extract facts about these entities from the videos and then retrieve only the related facts during question answering to reduce input tokens.

We illustrate the designs of three representative video memory systems in Figure 1. In particular, EgoRAG [5] segments a video into short clips and generates hierarchical text captions on rigid temporal boundaries. To answer questions, these captions are searched based on text similarity. M3-Agent [8] explicitly models entities and organizes the facts according to their related entities. While it constructs an entity-centric memory, its retrieval mechanism fundamentally underutilizes the graph topology, relying primarily on flat textual similarity matching that struggles to navigate complex relational chains. WorldMM [7] attempts to capture both temporal events and semantics by maintaining separate episodic, semantic, and visual memory modules. Despite this, WorldMM physically segregates its knowledge into decoupled memory banks. Because visual features are

Preprint.

Figure

Figure 1: Comparing existing video memory systems and our CAM. The blue “M” denotes memory construction, while yellow “R” denotes question answering. (a) EgoRAG [5] generates a text caption for each video clip and searches these captions. (b) M3-Agent [8] extracts facts related to each entity. (c) WorldMM [7] builds multiple memory modules but completely decouples visual features from textual knowledge, leading to fragmented retrieval. (d) CAM (Ours) organizes the entities and relations into a temporally grounded, heterogeneous knowledge graph, continuously summarizes high-level semantics about each entity and relation, and searches the knowledge graph adaptively using multiple methods.

isolated from the textual knowledge graph, the agent is forced to conduct independent, fragmented retrieval streams, failing to achieve a unified multimodal understanding of complex interactions.

We find that existing video memory systems struggle on two fronts: capturing high-level semantics (e.g., character traits, relationships, narrative structure) and retrieving fine-grained details (e.g., characters' behaviors and object spatial relations) — both of which are crucial for accurate question answering. On the high-level side, semantics such as personality or social relations cannot be read off any single clip; they emerge only after accumulating many events over an extended time period. Existing systems, however, process each short clip independently and rarely consolidate evidence across clips. This omission is not benign: as a video grows longer, the raw facts associated with each entity grow rapidly, and without proper summarization, retrieval is forced either to overflow the MLLM's context window with low-level episodic facts or to prune them via truncation and risk dropping the very evidence needed to infer high-level semantics at query time. On the fine-grained side, two issues compound. First, although some prior systems organize memory as a knowledge graph, retrieval still falls back to flat textual similarity over node descriptions, leaving the graph topology — and the relational chains it encodes — largely unexploited. Second, memory construction is inherently lossy: subtle visual cues and acoustic details are inevitably discarded when clips are compressed into text, and which details matter can only be determined once the question is known. A retrieval mechanism that searches only the constructed memory therefore has no recourse when the answer hinges on a detail that was dropped during construction.

To tackle the limitations of existing video memory systems, we propose Continuous Adaptive Memory (CAM), which is illustrated in Figure 1(d). In particular, CAM uses a temporally grounded, heterogeneous knowledge graph to store the extracted entities and relations along with their associated facts. To capture high-level semantics, CAM introduces evidence-driven summarization. Rather than operating at fixed time intervals, summarization is treated as an asynchronous operation dictated by subgraph maturity. A localized history is summarized into high-level traits or relational edges only when a specific entity or interaction pair accumulates a sufficient density of incident edges or attributes. This ensures that the summaries are grounded on stable, diverse observations rather than transient anomalies, which improves memory quality.

Besides similarity search, CAM allows multiple additional search methods to retrieve the facts required by the target question, such as traversing the knowledge graph, re-watching a segment of the video, listening to the audio, and counting the frequencies of entities and events. These search methods are more flexible and can retrieve the fine-grained details that are lost during memory construction. To jointly utilize these search methods, CAM proposes an adaptive retrieval workflow, where a planner configures the queries for all search methods, an executor runs each search method, and a verifier checks if the retrieved contents can answer the target question. The plan-execute-verify workflow can also run iteratively for multiple rounds to pinpoint the contents to retrieve.

To evaluate CAM, we conduct experiments on three long video benchmarks and compare with four SOTA video memory systems along with strong base models and online services. The results show that CAM consistently outperforms all baselines in question answering accuracy, and compared with the best-performing baseline, CAM improves accuracy by 12.93 percentage points on average and up to 23.1 percentage points. The ablation study shows that our designs are effective in improving accuracy, and profiling shows that our token cost is comparable to the baselines.

To summarize, we make the following contributions in this paper.

  • We identify the challenges of designing memory for long videos (i.e., capturing high-level semantics and retrieving low-level details) and analyze the limitations of existing video memory systems.
  • To capture high-level semantics, we model the entities or relations extracted from video clips using a heterogeneous knowledge graph and summarize each entity and relation once the local subgraph of the target entity and relation reaches a sufficient size.
  • To retrieve the fine-grained details required by each question, we propose a rich set of search methods and utilize these search methods adaptively with an iterative workflow.

References (35)