MemContract: Contract-Sensitive Evaluation for Mutable Agent Memory
Charley Li, Alice Cao
NeurIPS page · OpenReview · Open on the map
Category: LLM Reasoning, Memory & RAG › Agent Memory Management · Type: benchmark or dataset · Keywords: agent memory evaluation, contract-sensitive benchmark, mutable memory operations, memory system evaluation, diagnostic benchmark
Areas: Memory › Agent Memory Systems › Agent Memory Benchmarks; Evaluation & Benchmarks › Agent Capabilities and Memory › Agent Memory Evaluation
Summary
MemContract introduces a contract-sensitive benchmark of 1,080 multi-session tasks to evaluate mutable agent memory operations such as store, retrieve, revise, deprecate, erase, and prove-origin, revealing performance gaps among memory systems.
Explained to a 5-year-old
Agents are computer programs that need to keep track of things they have done. They store information in a memory, just like a notebook. Sometimes they need to look up what they stored before. Other times they need to change a memory if it is wrong. They also need to forget a memory when it is no longer needed.
Explained to a 5-year-old, longer
Agents are computer programs that need to keep track of things they have done. They store information in a memory, just like a notebook. Sometimes they need to look up what they stored before. Other times they need to change a memory if it is wrong. They also need to forget a memory when it is no longer needed. They might need to prove where a memory came from, like showing a receipt. The new test makes agents do many such tasks in a row, with hidden distractions to make it harder. It checks each operation separately, so we can see how well the agent does each one. The test also has rules that the agent must follow, like a contract. It includes a special check to see if any secret information leaks out. The results show that some memory systems are better at following the rules than others. This helps researchers build more reliable and trustworthy agents.
For a technical reader
The paper presents a benchmark that evaluates agent memory using six operations: store, retrieve, revise, deprecate, erase, and prove-origin. It includes formal pre/post-conditions, distractor sessions, alias rotation, blinded controls, a 25-probe residue audit, and human validation. Results show Graph Memory outperforming hybrid baselines and RAG, with the biggest differences in the mutable operations. The benchmark also reveals that traditional retrieval-heavy metrics hide these differences.
Problem
Current agent-memory evaluations often conflate state revision, deprecation, erasure, and provenance into simple retrieval scores, making it difficult to assess how well memory systems handle mutable, contract-based operations.
Method
The work creates a diagnostic benchmark comprising 1,080 multi-session tasks that enforce formal pre/post-conditions, include distractor sessions, alias rotation, blinded controls, a fixed 25-probe residue audit, and human contract-fit validation to assess store, retrieve, revise, deprecate, erase, and prove-origin operations.
Results
Graph Memory achieved 67.6% macro average versus 62.4% for the strongest hybrid baseline and 40.6% for RAG, with the biggest gaps in revise, deprecate, erase, and prove-origin. Human audits showed 96.7% agreement on contract labeling and a human-assisted upper bound of 93.8% macro.
Contributions
A contract-sensitive evaluation benchmark with rigorous controls and audits, and an empirical analysis revealing performance separations among memory systems that are hidden by traditional retrieval-heavy metrics.
Limitations and assumptions
The 25-probe audit does not certify deletion of data.
Practical relevance
Provides a reliable, contract-aware benchmark to guide the development of trustworthy agent memory systems.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction