← Latest papers
💬 NLP

DocMemo: Dynamic Evidence Discovery via Probabilistic Memory-Guided Retrieval for Multi-Modal Document Understanding

DocMemo is a memory-guided framework that enhances long-document understanding by dynamically exploring evidence through a tri-level memory system and Bayesian belief updating, thereby overcoming the limitations of static retrieval and fragile cross-round state propagation in existing multi-modal document analysis methods.

Original authors: Hanshu Yao, Janfeng Zhong, Niu Lian, Jinpeng Wang

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

Original authors: Hanshu Yao, Janfeng Zhong, Niu Lian, Jinpeng Wang

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

Imagine you are trying to solve a massive mystery, but the clues aren't hidden in a single notebook; they are scattered across a library containing hundreds of books, each with hundreds of pages. Some clues are written in text, some are hidden in complex charts, and others are tucked away in tiny diagrams. This is the world of "long-document understanding" for artificial intelligence. Currently, most AI models act like a student who tries to read the entire library at once. But since their brains (or "context windows") are too small to hold everything, they have to pick a few pages to read first. The problem is, if they pick the wrong pages in the beginning, they get stuck and can't fix their mistake. Other smarter AI models try to read a few pages, think, and then read more, but they often forget what they learned in the previous step, treating every new search as if it were their very first time. This paper, titled DocMemo, proposes a new way for AI to think: by giving it a "memory" that helps it remember what it has already learned, what it still needs to find, and how the pages in the library are connected, so it can hunt for clues more like a human detective and less like a confused robot.

The researchers behind DocMemo, Hanshu Yao and his team, realized that existing AI systems struggle because they are either too rigid or too forgetful. Some systems pick a fixed set of pages to read right at the start and stick to them, even if they miss the most important clue. Others try to search in rounds but fail to connect the dots between one round and the next, essentially starting over every time. To fix this, the team built a system that treats document reading as a dynamic exploration. Instead of just grabbing pages, DocMemo maintains a "tri-level memory" that acts like a detective's case file. First, it has a Document Schema Memory, which is like a map of the library's layout, knowing where different types of information (like tables or chapters) usually live. Second, it has a Page Belief Memory, which is a living list of "hunches" about which pages are likely to hold the answer. This list isn't static; it gets updated with every new piece of evidence, using a mathematical trick called "Bayesian updating" to get smarter about what to look for next. Finally, it has a Question Episodic Memory, which records the detective's own journey—the questions it asked, the dead ends it hit, and the refined questions it came up with along the way.

What makes DocMemo truly special is how it uses this memory to change its strategy on the fly. When the AI is unsure, it uses a method called "Thompson sampling" to balance between checking pages it is very confident about and exploring pages it is less sure about, just like a detective who checks the most likely suspect but also keeps an eye on the suspicious stranger. If the AI finds a relevant page, it doesn't just stop there; it uses "spatial proximity propagation" to assume that the answer might also be on the pages right next to it, because clues in long documents often cluster together. Furthermore, if the AI sees a page with a dense table or a complex chart, it doesn't just look at the whole page; it zooms in to read the fine details, a feature called "adaptive-granularity evidence access."

The team tested this new detective on three different sets of challenging documents, including academic papers and long reports with hundreds of pages. The results were promising: DocMemo consistently outperformed the best existing methods. On one specific benchmark called MMLongBench-Doc, it achieved an accuracy of 71.3%, beating the previous top performers. The researchers found that the system's ability to remember its past searches and update its "hunches" about page relevance was the key to its success. In fact, when they removed the memory components in their tests, the system's performance dropped significantly, proving that the memory is not just a nice-to-have feature but the engine driving the improvement. The study suggests that by giving AI a structured way to remember its exploration and update its beliefs dynamically, we can help it solve complex puzzles in massive documents much more effectively than before.

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 →