TL;DR
This paper introduces MEMORYARENA, a new benchmark for evaluating agent memory in complex, multi-session tasks where memory is crucial for decision-making. Existing benchmarks often test memory or action in isolation, but MEMORYARENA bridges this gap by simulating realistic scenarios where agents must learn from past interactions to succeed in future, interdependent subtasks. The results show that current state-of-the-art memory systems struggle with these complex, long-horizon tasks, highlighting a significant gap in our understanding and evaluation of agent memory.
What Problem Does This Paper Address?
Modern AI agents, particularly those based on Large Language Models (LLMs), possess two key capabilities: memorizing information and acting within an environment. However, current evaluation methods tend to assess these abilities separately. Some benchmarks focus solely on memorization, testing an agent's ability to recall information from static text or conversations. Others evaluate agents' actions in single-session tasks, where long-term memory isn't a critical factor. This creates a disconnect: agents might excel at recalling facts but fail when they need to use that memory to guide sequential decisions in dynamic, multi-step tasks. In real-world scenarios, agents constantly acquire and update their memory through interaction, and this memory is essential for solving complex problems that unfold over time. The paper addresses this gap by proposing a benchmark that rigorously tests how well agents can integrate memorization and action in interdependent, multi-session tasks.
Methods
The core contribution is MEMORYARENA, a unified evaluation gym designed to simulate a Memory-Agent-Environment loop. This loop involves:
- Agent Action: The agent takes an action within the environment.
- Environment Feedback: The environment provides feedback based on the action.
- Memory Update: The agent updates its persistent memory system with the acquired information.
- Memory Retrieval: For the next subtask, the agent retrieves relevant information from its memory.
- Decision Making: The agent uses the retrieved memory to inform its subsequent actions.
This process is repeated across multiple interdependent subtasks, forming a multi-session task. The benchmark is designed to evaluate how well agents can retain and utilize information acquired in earlier sessions to succeed in later ones. The paper also categorizes memory systems into:
- Long-context buffers: Agents that treat the entire interaction history as context.
- External Memory Agents: Agents with learned mechanisms for abstraction, consolidation, and retrieval.
- RAG (Retrieval-Augmented Generation) Systems: Agents that use indexed stores for information retrieval.
Datasets
The paper introduces MEMORYARENA, a new benchmark comprising human-crafted tasks across four domains:
- Bundled Web Shopping: Simulates real-world shopping where later purchases depend on recalling attributes of earlier items for compatibility and preference consistency.
- Preference-constrained Group Travel Planning: Models group travel scenarios where individual preferences and shared activities must be managed over multiple days.
- Progressive Information Searching: Agents must accumulate and reuse information across multiple search steps, where each step adds a new constraint.
- Sequential Formal Reasoning (Math & Physics): Evaluates the ability to follow long, structured derivations and reuse intermediate results from academic papers.
These tasks are designed with explicitly interdependent subtasks and span long horizons (average of 57 action steps).
Key Insights and Ideas
- The "Memory-Agent-Environment Loop" is Crucial: Simply recalling information (memorization) is insufficient. Agents need to actively use their memory to guide actions in dynamic, multi-session tasks.
- Current Memory Systems Fall Short: Despite strong performance on existing benchmarks, state-of-the-art agents struggle significantly in MEMORYARENA, indicating a gap in their ability to maintain and exploit latent task state across sessions.
- Interdependence is the Bottleneck: The success rate drops dramatically as task dependencies increase across sessions, suggesting that agents fail to integrate partial successes into globally consistent solutions.
- External Memory Isn't Always Better: Augmenting LLMs with external memory or RAG systems doesn't always outperform using a long-context buffer, especially when there's a mismatch in how information is represented or when agents aren't jointly optimized with their memory.
- Formal Reasoning and Web Search Benefit Most from Memory: These domains, which involve very long contexts or complex reasoning, show the most significant gains when agents are augmented with external memory, likely because it helps mitigate attention saturation and error accumulation.
Key Results
- Low Success Rates: Across all evaluated methods, MEMORYARENA yields low Task Success Rates (SR) and Task Progress Scores (PS), with some environments showing near-zero SR. This highlights the benchmark's challenging nature.
- High PS, Low SR: Most methods exhibit a much higher PS than SR, indicating agents can make progress on individual subtasks but fail to achieve overall task completion.
- Group Travel Planning is Extremely Difficult: This environment consistently shows near-zero SR and PS for all methods, demanding sophisticated long-horizon reasoning and recall of interdependent constraints.
- External Memory/RAG Gains Vary: While external memory and RAG systems show performance gains in Progressive Web Search and Formal Reasoning, they don't consistently outperform long-context agents in other domains.
- Decay in Performance with Depth: Figure 3 shows a clear decay in success rate as the number of interdependent subtasks (depth) increases, with no method maintaining consistent performance.
Limitations and Future Work
- Scalability of Task Creation: Constructing human-crafted, domain-knowledge-heavy tasks is resource-intensive (e.g., 8-10 hours per math/physics task by senior PhDs). The authors view MEMORYARENA as a community resource and welcome contributions to broaden its coverage.
- Deeper Analysis of Memory Operations: A finer-grained analysis of individual memory operations (retrieval, reasoning, action) across different systems could provide deeper diagnostic insights.
- Joint Optimization: The paper suggests future work should focus on jointly optimizing memory representations and agent training objectives, particularly for POMDP-like scenarios, to improve state tracking and belief updates.
- Latency Trade-offs: While external memory can improve performance, it often incurs higher latency. Future work needs to explicitly consider these trade-offs for practical agent deployment.
Summary updated