HyperAIHyperAI

Command Palette

Search for a command to run...

MemDreamer: 계층적 그래프 메모리 및 에이전트 검색 메커니즘을 통한 장기 비디오 이해를 위한 지각과 추론의 분리

Cong Chen Guo Gan Kaixiang Ji ChaoYang Zhang Zhen Yang Guangming Yao Hao Chen Jingdong Chen Yi Yuan Chunhua Shen

초록

현재 Vision-Language 모델들은 수 시간 분량의 동영상을 처리하는 데 어려움을 겪는다. 이는 전체 길이의 시각적 시퀀스를 처리할 때 과도한 token 폭발과 주의력 희석이 발생하기 때문이다. 이를 극복하기 위해 본 연구에서는 지각과 추론을 분리하고, 장기 영상 이해를 agentic 탐색 프로세스로 전환하는 MemDreamer를 제안한다. 플러그 앤 플레이 프레임워크로서, MemDreamer는 시공간 및 인과 관계를 포착하는 기반 그래프를 중심으로 의미 추상을 위한 하향식 3계층 아키텍처인 계층적 그래프 메모리(Hierarchical Graph Memory)를 구축하기 위해 동영상을 점진적으로 스트리밍한다. 추론 단계에서 추론 모델은 Observation-Reason-Action 루프를 통해 계층 구조를 탐색하고, 노드를 검색하며, 논리적 엣지를 가로지르는 agentic tool-augmented retrieval를 활용한다. 실험 결과, MemDreamer는 4개의 주요 벤치마크에서 SOTA 성능을 달성하며 인간 전문가와의 성능 격차를 단 3.7 포인트로 좁혔다. 이 방법은 전체 컨텍스트 입력의 단 2%에 불과한 추론 컨텍스트 윈도우를 제한하면서도 절대 정확도 12.5 포인트의 향상을 달성한다. 또한, 통계 분석은 VLM의 논리 추론 성능과 장기 영상 이해 벤치마크 간에 강한 양의 선형 상관관계가 존재함을 밝혀냈으며, 이를 통해 다중 모드 이해를 위한 새로운 패러다임으로서 agentic capability scaling을 정립하였다.

One-sentence Summary

MEMDREAMER decouples perception and reasoning for long video understanding by incrementally constructing a hierarchical graph memory and employing an agentic tool-augmented retrieval mechanism that constrains the reasoning context to 2% of full-context ingestion while delivering a 12.5-point absolute accuracy gain and state-of-the-art results across four benchmarks, thereby establishing agentic capability scaling as a new paradigm for multimodal comprehension.

Key Contributions

  • This paper introduces MEMDREAMER, a framework that decouples perception and reasoning to mitigate token explosion in long-video processing via a Hierarchical Graph Memory. The three-tier architecture progressively abstracts video semantics into a foundational graph that preserves long-range spatiotemporal and causal dependencies while suppressing irrelevant details.
  • The approach replaces passive context ingestion with a tool-augmented Agentic Retrieval Mechanism that operates through an iterative Observation-Reason-Action loop. By leveraging dedicated navigation, search, and traversal tools, the reasoning model actively explores the memory hierarchy to locate logically relevant information.
  • Experiments demonstrate state-of-the-art performance across four mainstream long-video benchmarks, narrowing the human expert gap to 3.7 points. The framework constrains the reasoning context window to 2% of full-length video data while delivering a 12.5 point absolute accuracy gain and establishing agentic capability scaling as a new paradigm for multimodal comprehension.

Introduction

The authors tackle long video understanding, a foundational capability required to scale Vision-Language Models toward embodied intelligence and complex real-world interaction. Existing methods typically couple visual perception and logical reasoning within a single context window, which triggers severe token explosion, attention dilution, and the "lost in the middle" phenomenon when processing hours-long footage. Even decoupled systems that store video data in flat or chunk-based memory banks struggle to preserve global context and temporal-causal relationships, often degrading retrieval into inefficient trial and error. To overcome these bottlenecks, the authors introduce MEMDREAMER, a framework that separates perception from reasoning by streaming video content into a three-tier Hierarchical Graph Memory. They then leverage a tool-augmented agentic retrieval mechanism that actively navigates this topological structure through an iterative observation-reason-action loop, enabling precise multi-step information extraction while consuming only a fraction of the standard context window.

Dataset

  • Dataset Composition and Sources: The authors organize raw video content into a structured, multi-granular graph memory. The hierarchy spans a root level that synthesizes the full video, mid-level Super Events that group related segments, and fine-grained Macro Events that capture specific actions or moments.

  • Subset Details and Clustering Rules: Super Events are formed by clustering adjacent Macro Events based on temporal continuity, shared scene or topic, and a common overarching goal. Boundaries are triggered whenever any of these conditions break. The clustering leverages signals like overlapping key entities, event type continuity, and OCR text cues such as scoreboard increments. Each Super Event typically contains three to eight Macro Events, though isolated singletons are permitted for self-contained segments.

  • Model Usage and Processing Pipeline: The authors deploy this graph as a proactive retrieval space for an agentic reasoning model rather than a conventional training corpus. The system operates within an Observation-Reason-Action loop, where the model sequentially queries the graph using a three-part tool bank for hierarchical navigation, precise semantic search, and local graph traversal. To prevent context dilution, the pipeline distills raw tool outputs into task-relevant evidence cues before appending them to the agent working memory.

  • Metadata Construction and Formatting: The authors enforce strict formatting guidelines to maintain consistency across the graph. Super Event labels are kept under ten words and include the central entity when applicable, while descriptions span one hundred to two hundred words. Key entities are deduplicated within each Super Event and canonicalized globally to collapse name variants into single identifiers. The root level metadata includes a concise title, a multi-sentence summary of all Super Events, three to five thematic tags, five to ten canonical entities, and two to three emotional tone descriptors.

Method

MEMDREAMER formulates long-video understanding as a decoupled process comprising two distinct stages: persistent memory construction and tool-augmented agentic retrieval. The framework begins by processing a video stream VVV through a perception model P\mathcal{P}P, which operates in a streaming fashion to construct a structured, purely textual Hierarchical Graph Memory, denoted as G\mathcal{G}G. This memory is a three-tiered, coarse-to-fine semantic topology designed to abstract and organize video content efficiently. The architecture is composed of a Video Root at the apex, representing the overall narrative, followed by a layer of Super Events that encapsulate broader narrative arcs, and a foundational layer of Macro Events that serve as the primary semantic anchors. Beneath each Macro Event, a local subgraph is constructed to capture fine-grained details.

The memory construction process unfolds in three phases. First, a streaming adaptive segmentation mechanism is employed to partition the video into semantically self-contained Macro Events. This approach avoids the arbitrary truncation common in fixed-length chunking by using semantic boundaries, ensuring each segment is coherent and maintaining the maximum input length to the perception model within a defined horizon τ\tauτ. This adaptive partitioning yields a sequence of Macro Events that form the leaf nodes of the hierarchy.

Second, for each segmented Macro Event, a downward subgraph extraction process constructs a local spatiotemporal subgraph gi=(Vi,Ei)g_i = (\mathcal{V}_i, \mathcal{E}_i)gi=(Vi,Ei). This subgraph is built using a novel Video-centric Graph Ontology where vertices consist of both standard entities (ViE\mathcal{V}_i^EViE) and micro-events (ViM\mathcal{V}_i^MViM). These vertices are interconnected via a heterogeneous edge set Ei\mathcal{E}_iEi that includes spatial-attribute edges for layout and physical properties, subject-object edges for action role binding, and directed temporal-causal edges to model the chronological and causal flow of micro-events. This design allows the model to capture the dynamic evolution and causal chains within an event, which is a limitation of simpler triplet-based graph representations.

Finally, an upward hierarchical aggregation process distills the detailed information from the Macro Event layer into a global navigation backbone. The textual descriptions of all Macro Events are fed into the perception model P\mathcal{P}P, which clusters and aggregates them based on temporal adjacency and semantic affinity. This bottom-up process forms Super Events and ultimately converges at a single Video Root node, creating a coarse-to-fine hierarchy that enables efficient global navigation and precise localization for retrieval.

Upon receiving a text query QQQ, a reasoning model R\mathcal{R}R equipped with a tool bank T\mathcal{T}T actively explores the pre-constructed hierarchical graph memory. The model operates exclusively on this textual memory, never accessing raw video data. The exploration is guided by an Observation-Reason-Action loop, where the reasoning model first observes the current state, reasons about the next necessary step, and then executes an action by calling one of the available tools. The toolkit is organized into three categories: navigation tools for traversing the hierarchy (e.g., getting summaries, listing events), search tools for finding specific nodes (e.g., semantic search, time-based search), and graph traversal tools for exploring local neighborhoods (e.g., retrieving relations between nodes). This agentic retrieval mechanism allows the model to iteratively refine its search, drill down into relevant subgraphs, and synthesize a concise set of task-relevant clues CCC to produce the final answer A=R(Q,C)A = \mathcal{R}(Q, C)A=R(Q,C).

Experiment

Evaluated across four diverse long-video benchmarks against vanilla vision-language models and memory-based baselines, the main experiments validate the broad superiority and plug-and-play compatibility of a decoupled architectural paradigm. Context reduction analyses further verify that segregating perception from reasoning effectively mitigates attention dilution and token redundancy compared to direct end-to-end ingestion. Finally, qualitative case studies confirm that explicit textual graph navigation successfully captures complex multi-step causal relationships that raw visual processing typically misses, establishing structured agentic reasoning as a robust alternative to brute-force context scaling.

The authors compare different reasoning models using various perception models on the LVBench benchmark, showing that the choice of perception model significantly impacts performance. Results indicate that Gemini-3.1-Pro consistently outperforms Gemini-2.5-Pro across all reasoning models, and the Qwen3-VL-235B-A22B-Thinking model achieves competitive results when paired with the stronger perception model. Gemini-3.1-Pro consistently achieves higher scores than Gemini-2.5-Pro across all reasoning models on LVBench. The Qwen3-VL-235B-A22B-Thinking model performs comparably to Gemini models when used with the Gemini-3.1-Pro perception model. Performance differences between reasoning models are more pronounced when paired with Gemini-2.5-Pro than with Gemini-3.1-Pro.

The authors compare their framework, MemDreamer, with end-to-end models across multiple benchmarks, demonstrating superior accuracy while using significantly shorter context lengths. Results show that MemDreamer achieves higher performance with much reduced input token requirements, indicating that decoupling perception from reasoning improves efficiency and effectiveness. The framework outperforms baseline models on LVBench across different reasoning engines, with notable gains in accuracy and context reduction. MemDreamer achieves higher accuracy than end-to-end models while using significantly shorter context lengths. The framework reduces context size by up to 43 times compared to full-video ingestion methods. MemDreamer maintains strong performance across different reasoning engines, showing its generality and effectiveness.

The authors evaluate their proposed MEMDREAMER framework on a long-video benchmark, comparing different memory architectures. Results show that combining hierarchical and graph-based memory components achieves the highest performance, demonstrating the effectiveness of their structured approach. The framework significantly outperforms other configurations, indicating that both memory organization and graph representation are crucial for long-video understanding. Combining hierarchical and graph memory components yields the best performance on the benchmark. The proposed framework outperforms configurations using only flat or hierarchical memory. The results validate the importance of structured memory design in long-video reasoning tasks.

The authors evaluate a framework that enhances long-video understanding by integrating search, graph traversal, and hierarchical navigation tools into a memory-based system. Results show that adding these components sequentially improves performance on a benchmark, with the full toolkit achieving the highest score, indicating that structured, tool-augmented reasoning outperforms direct full-context processing. Adding search capabilities improves performance over a baseline with no tools. Incorporating graph traversal further boosts performance beyond search alone. The full toolkit with hierarchical navigation achieves the highest score, demonstrating the effectiveness of a multi-step, structured reasoning approach.

The authors investigate the impact of varying maximum context lengths on performance across a benchmark, observing that performance improves with increased context length up to a point before stabilizing. Results show that increasing the context length leads to higher scores and more reasoning rounds, with the highest score achieved at a context length of 12, after which performance plateaus. The number of tokens per round also increases with context length, reflecting the expanded input size. Performance improves with increasing context length up to a threshold, after which it stabilizes. The highest score is achieved at a context length of 12, indicating an optimal balance between input size and reasoning effectiveness. Higher context lengths require more tokens per reasoning round, reflecting increased computational load.

The experiments evaluate the MEMDREAMER framework on long-video understanding benchmarks, demonstrating that decoupling perception from reasoning significantly improves accuracy while drastically reducing context requirements. Comparative and ablation studies validate that pairing stronger perception models with advanced reasoning architectures yields the greatest performance gains, while integrating hierarchical and graph-based memory structures alongside sequential tool-augmented reasoning substantially outperforms flat baselines and direct context processing. Finally, context length analysis reveals an optimal threshold beyond which performance stabilizes, confirming that structured, memory-driven reasoning effectively balances computational efficiency with sustained analytical quality.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp