← Latest papers
💬 NLP

MemDreamer: Decoupling Perception and Reasoning for Long Video Understanding via Hierarchical Graph Memory and Agentic Retrieval Mechanism

MemDreamer is a plug-and-play framework that decouples perception and reasoning for long video understanding by constructing a hierarchical graph memory and employing an agentic retrieval mechanism, which achieves state-of-the-art performance while drastically reducing context window requirements.

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

Published 2026-06-08
📖 4 min read☕ Coffee break read

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

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Problem: The "Library of Babel"

Imagine you ask a super-smart librarian (an AI) to find a specific fact inside a library that contains every book ever written, all glued together into one giant, 100-mile-long scroll.

Current AI models try to solve this by reading the entire scroll at once.

  • The Result: The librarian gets overwhelmed. They forget the beginning by the time they reach the middle ("lost in the middle"), and the sheer volume of words drowns out the important clues. It's like trying to find a specific needle in a haystack by eating the whole haystack.

The Solution: MEMDREAMER

The authors created MEMDREAMER, a new way to handle long videos (like movies that are hours long). Instead of forcing the AI to read the whole video at once, they split the job into two distinct roles: The Observer and The Detective.

1. The Observer (Perception)

  • What it does: This AI watches the video in real-time, like a camera operator.
  • The Trick: It doesn't just record raw video. Instead, it acts like a smart note-taker. As it watches, it breaks the movie down into a structured "map" or "graph."
  • The Map Structure:
    • Top Level (The Movie): A one-sentence summary of the whole plot.
    • Middle Level (Chapters): Summaries of major scenes or "Super Events."
    • Bottom Level (Scenes): Detailed notes on specific characters, actions, and how they connect (e.g., "Judy bought a popsicle," which caused "Nick to get angry").
  • The Analogy: Instead of giving the detective the raw video tape, the Observer writes a detailed, organized index card system and puts the video tape away.

2. The Detective (Reasoning)

  • What it does: This is the AI that actually answers your question.
  • The Trick: It never sees the video. It only looks at the index cards (the text memory) created by the Observer.
  • The Toolbelt: The Detective has a special set of tools (an "Agentic Toolkit") to navigate this index:
    • Navigation Tools: "Show me the summary of the whole movie," or "Show me the 'Chase Scene' chapter."
    • Search Tools: "Find me every time the character 'Nick' appears."
    • Graph Tools: "Show me the chain of events that led to the explosion."
  • The Loop: The Detective asks a question, uses a tool to find a clue, thinks about it, asks another tool for more details, and repeats this until it has enough evidence to solve the case.

Why This Works Better

The paper claims this "Decoupled" approach (separating the watcher from the thinker) solves two major headaches:

  1. No More "Token Explosion":

    • Old Way: To understand a 2-hour movie, the AI had to process over 1.6 million words at once.
    • MEMDREAMER: The Detective only needs to read about 6,000 words (the index cards) to solve the mystery. That is 40 to 120 times less information to process!
  2. Unlocking "Reasoning" Power:

    • The paper discovered something surprising: When AI models are forced to read the whole video, their "smart reasoning" skills get blocked by the noise.
    • But when they use MEMDREAMER's clean index cards, their ability to solve logic puzzles directly translates to understanding the video.
    • Analogy: It's like taking a brilliant detective who is currently blindfolded (drowning in video noise) and giving them a clear map. Suddenly, they can use their full genius to solve the case.

The Results

The paper tested this system on four major benchmarks (like standardized tests for AI video understanding).

  • Performance: MEMDREAMer beat all previous methods, including the most expensive, powerful AI models available today.
  • Human Level: It narrowed the gap between the AI and human experts to just 3.7 points.
  • Efficiency: It achieved these high scores while using only 2% of the computer memory (context window) that traditional methods require.

Summary

MEMDREAMER stops trying to force AI to "memorize" a whole movie. Instead, it has one AI organize the movie into a smart, searchable map, and a second AI act as a detective to explore that map. This allows the AI to think clearly, solve complex logic puzzles in long videos, and do it with a fraction of the computing power.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →