MemWalker
First page

Paper summary
MemWalker treats the LLM as an interactive agent that traverses a tree-structured summary of long text.
Ask this paper
01
Tree of summary nodes: Preprocesses long context into a hierarchical tree of summary nodes, compressing and structuring the information.
02
Query-driven traversal: Given a query, the LLM traverses the tree through iterative prompting, descending into subtrees that are most relevant to the question.
03
Reasoning-based reading: The traversal decisions are reasoning-based, so the model can explain which part of the document it consulted and why.
04
Explainability bonus: The traversal trace serves as a human-readable explanation of the model's document reading, improving debuggability of long-context QA.