Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions

Yuanzhe Hu, Yu Wang, Julian McAuley

Introduction

While recent advancements have led to a massive surge in Large Language Model (LLM) agents capable of planning, coding, and browsing, a critical component remains under-evaluated: memory. How an agent stores, updates, and retrieves information over a long-term interaction is a major blind spot in current benchmarking.

Most existing evaluations treat memory as a static, "long-context" problem—akin to the famous "Needle in a Haystack" test. However, real-world agents do not process 100k tokens simultaneously; they receive information incrementally across multiple turns. Furthermore, current tests rarely evaluate an agent's ability to forget or overwrite obsolete information. To address this gap, researchers have introduced MemoryAgentBench, a novel benchmark designed to evaluate how LLM agents handle memory through dynamic, incremental interactions.

Methodology: Incremental Multi-Turn Interactions

The authors propose a paradigm shift from "static reading" to "incremental multi-turn interactions." Instead of feeding an LLM a massive document all at once, datasets are broken into chunks (e.g., 512 or 4096 tokens) and fed to the agent sequentially. Each chunk is accompanied by a prompt simulating a long-term conversation (e.g., "Please memorize this; I will ask questions later").

The study evaluates three categories of "Memory Agents":

  1. Long-Context Agents: Models like GPT-4o or Claude 3.7 that utilize a massive context window as a continuous buffer.
  2. RAG Agents: Systems utilizing retrieval mechanisms (like BM25 or Vector Databases) to pull relevant snippets from a history pool.
  3. Agentic Memory Agents: Advanced systems (e.g., MemGPT, MIRIX) that use iterative loops to manage, reflect on, and update their internal memory modules.

The MemoryAgentBench Framework

The benchmark consists of 2,071 questions across several datasets, systematically categorized into four core competencies:

  • Accurate Retrieval (AR): Tests the ability to recall specific facts using reconstructed versions of Document QA and LongMemEval.
  • Test-Time Learning (TTL): Evaluates whether an agent can learn new classification rules or user preferences during the conversation (using BANKING77 and Movie Recommendation).
  • Long-Range Understanding (LRU): Tests holistic comprehension and reasoning over long narratives using $\infty$Bench-Sum and Detective QA.
  • Selective Forgetting (SF): A newly introduced challenge using FactConsolidation. It presents agents with "edit pairs" (a true fact followed later by a contradictory update) to see if they can prioritize the newest information.
  • EventQA: A novel dataset requiring agents to recall temporal sequences of events in long narratives.

Key Findings and Insights

The "Sniper" vs. the "Scholar"

RAG-based agents act like snipers: they are excellent at Accurate Retrieval (finding a specific "needle"), with methods like HippoRAG achieving up to 76% on SH-Doc QA. However, they fail significantly at Long-Range Understanding. Because they only process small, retrieved snippets, they lack the holistic view required to summarize a book or track complex character arcs.

Test-Time Learning

Conversely, pure long-context models act more like scholars. Models like Claude 3.7-Sonnet dominated in learning and global understanding, scoring a 53.9% average in Test-Time Learning and 62.2% in Long-Range Understanding. However, relying purely on massive context windows is prohibitively expensive for long-term deployment.

The Selective Forgetting "Wall"

Selective Forgetting Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions, page 2

Selective Forgetting

The most striking finding of the study is the universal failure of current models at Selective Forgetting, particularly in "multi-hop" scenarios where one updated fact affects another. Every single model failed this task. The best-performing agent (GPT-4o) achieved a dismal 5% accuracy. Even when explicitly prompted with rules like "Policy A: Always prefer the latest info," accuracy barely improved. When information conflicts, agents frequently become confused or hallucinate, proving that simply appending new data to the context is not equivalent to updating a mental model.

Agentic Memory as the Middle Ground

Systems like MIRIX demonstrated the ability to achieve high performance on memory-intensive tasks at a fraction of the cost of raw long-context processing. This suggests that "agentic" management of memory—where the model actively decides what to store, update, and retrieve—is the most scalable path forward.

Limitations and Future Directions

While MemoryAgentBench is a vital step forward, the authors note that tasks like FactConsolidation remain somewhat synthetic. Future research must focus on developing memory architectures capable of truly overwriting and propagating updates through a knowledge graph. Additionally, testing agents in open-ended scenarios—where they must autonomously decide what is worth remembering without explicit prompts—will be crucial for developing the next generation of cost-efficient, long-term AI companions.

Summary updated

BibTeX
@inproceedings{hu2026evaluating,
  author = {Yuanzhe Hu and Yu Wang and Julian McAuley},
  title = {{Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=DT7JyQC3MR},
}
Figure