Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions

Yuan-Zhe Hu, Yu Wang, Julian McAuley

arXiv:2507.05257 · 2026-11-15 공개 · arXiv · PDF

llm-agents long-context retrieval-augmented multi-turn memory-agents incremental-learning test-time-learning long-range-understanding

Abstract

Recent benchmarks for Large Language Model (LLM) agents primarily focus on evaluating reasoning, planning, and execution capabilities, while another critical component-memory, encompassing how agents memorize, update, and retrieve long-term information-is under-evaluated due to the lack of benchmarks. We term agents with memory mechanisms as memory agents. In this paper, based on classic theories from memory science and cognitive science, we identify four core competencies essential for memory agents: accurate retrieval, test-time learning, long-range understanding, and selective forgetting. Existing benchmarks either rely on limited context lengths or are tailored for static, long-context settings like book-based QA, which do not reflect the interactive, multi-turn nature of memory agents that incrementally accumulate information. Moreover, no existing benchmarks cover all four competencies. We introduce MemoryAgentBench, a new benchmark specifically designed for memory agents. Our benchmark transforms existing long-context datasets and incorporates newly constructed datasets into a multi-turn format, effectively simulating the incremental information processing characteristic of memory agents. By carefully selecting and curating datasets, our benchmark provides comprehensive coverage of the four core memory competencies outlined above, thereby offering a systematic and challenging testbed for assessing memory quality. We evaluate a diverse set of memory agents, ranging from simple context-based and retrieval-augmented generation (RAG) systems to advanced agents with external memory modules and tool integration. Empirical results reveal that current methods fall short of mastering all four competencies, underscoring the need for further research into comprehensive memory mechanisms for LLM agents.

한국어 요약

한 줄 요약

MemoryAgentBench를 제안하여 LLM 에이전트의 메모리 능력을 4가지 핵심 역량 기준으로 체계적으로 평가한다.

핵심 기여도

핵심 아이디어

기존 LLM 에이전트 평가가 추론, 실행 능력에 집중하는 반면, 메모리 역량은 체계적으로 평가되지 않았다. 본 연구는 메모리 에이전트가 갖춰야 할 4가지 핵심 역량을 정의하고, 이를 평가할 수 있는 MemoryAgentBench를 제안한다. 이는 기존 장문 컨텍스트 데이터셋을 다중 턴 형식으로 변환하고, 새로운 EventQA와 FactConsolidation 데이터셋을 추가하여 메모리 에이전트가 정보를 점진적으로 처리하는 특성을 반영한다. 특히, 메모리는 단순히 정보를 저장하는 것이 아니라, 추출, 요약, 갱신, 충돌 해결을 포함하는 동적 과정임을 강조하며, 이를 평가하기 위한 체계적인 프레임워크를 제시한다.

기술적 접근법

주요 결과

의의 및 한계

MemoryAgentBench는 LLM 에이전트의 메모리 역량을 체계적으로 평가할 수 있는 첫 번째 벤치마크로, 정확한 검색, 테스트 시 학습, 장거리 이해, 충돌 해결 4가지 핵심 역량을 포괄적으로 평가한다. 이는 기존 장문 컨텍스트 평가와는 달리, 메모리 에이전트가 정보를 점진적으로 처리하고 갱신하는 특성을 반영한 평가 프레임워크를 제시한다. 그러나 MemoryAgentBench의 데이터셋은 주로 합성 데이터를 기반으로 하므로, 실제 사용자 대화와의 유사성은 한계가 있다. 또한, 일부 상용 메모리 시스템(예: Mem0)은 높은 자원 소비로 인해 실용성 측면에서 문제가 있을 수 있다.

실용적 활용

MemoryAgentBench는 메모리 기반 LLM 에이전트(예: MemGPT, Mem0)의 개선을 위한 연구에 활용될 수 있으며, 특히 외부 데이터베이스와 연동된 시스템(예: RAG, HippoRAG-v2)의 메모리 관리 전략 개선에 기여할 수 있다. 또한, 실시간 정보 처리가 필요한 챗봇, 개인화된 추천 시스템, 지속 학습이 필요한 인공지능 플랫폼 등에 적용 가능하다.