acceptodds
Published as a conference paper at NeurIPS 2026

MemContract: Contract-Sensitive Evaluation for Mutable Agent Memory

Charley Li, Alice Cao

Abstract

Many agent-memory evaluations collapse state revision, deprecation, erasure, and provenance into retrieve-heavy scores. We introduce MemContract, a diagnostic benchmark of 1 , 080 multi-session tasks over store, retrieve, revise, deprecate, erase, and prove-origin, with formal pre/post-conditions, mandatory distractor sessions plus alias rotation on every family, blinded/stale/delayed controls, a fixed 25-probe residue audit, and benchmark-validity checks via a 180-task human contract-fit audit and a 120-task human-assisted upper bound. Under matched prompts, compute, storage, and latency budgets on GPT-4o across seven architectures, Graph Memory reaches 67.6% macro average (95% paired-bootstrap CI [65.8, 69.4]) versus 62.4% for the strongest hybrid baseline and 40.6% for RAG, with most separation concentrated in revise, deprecate, erase, and prove-origin while store/retrieve remain comparatively compressed. Claude 3.5 Sonnet and Gemini 1.5 Pro 002 preserve the same top-three ordering on a matched 360-task rerun, while the manual audit finds 96.7% agreement that the harness label matches the intended contract and the human-assisted upper bound reaches 93.8% macro, placing the best-system score in a solvable regime rather than a floor of label noise. Reviewer-critical calibration checks tell a narrower but durable story: removing prove-origin leaves the Graph - Hybrid gap unchanged at 5.2 pp, best-effort prompt/schema tuning narrows it to 2.6 pp, and fully external LongMemEval wu2024longmemeval and LoCoMo maharana2024locomo narrow it to 1.8 and 2.8 pp while preserving the top-three ordering Graph > Hybrid > Editable KV. The stable claim is therefore not universal backend superiority: contract-sensitive evaluation reveals separation that broader or retrieval-heavier workloads attenuate but do not erase. The 25-probe audit bounds catchable residue leakage at 3.9% for Graph Memory and 27.4% for RAG, but does not certify deletion.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_ntbsOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper introduces MEMCONTRACT, a benchmark for evaluating agent memory systems. The key idea is that most existing memory benchmarks primarily measure retrieval, while many real-world failures involve mutable state: updating facts, deprecating outdated information, deleting information, and tracking provenance. The benchmark defines six memory operations (store, retrieve, revise, deprecate, erase, and prove-origin) and creates 1,080 multi-session tasks that explicitly test these capabilities.

The authors evaluate seven memory architectures. They find that retrieval tasks show relatively small differences among systems, while mutation-heavy tasks such as revise, deprecate, erase, and provenance create much larger separations. Graph Memory achieves the highest score, followed by Hybrid RAG+KV and Editable KV.

Strengths and weaknesses

Strengths

  • Strong motivation and problem formulation, memory system evaluation is indeed importatn
  • Clear benchmark design with human audits and controls.
  • Interesting findings that shows evaluation choice matters. Retrieval-heavy benchmarks make systems look similar, while mutation-sensitive benchmarks reveal substantial differences.

Weakness:

  • Outdated models. Unsure whether results still hold in current situations
  • Limited coverage of memory methods. The authors only categorized into these operations without explaining why these are fundamental.
  • Tasks may not have practical use cases. Might need more practical downstream tasks.
Questions
  1. Why did you pick these memory operations? Why would these suffice?
  2. Does results change when models get better? You are using outdated models so this is particularly concerning.
  3. How does these operations affect agent design in real world agent systems? Why are these operations important?
Limitations
  1. Models are very outdated, not sure how much of the results are still usable.
  2. Unclear how these tasks relate to real world agent capabiltiies
Paper formatting concerns

No

Final justification

I think the author have demonstrated that the method works on more models. This greatly reduces my concern on practicability.

Reviewer_gNSFOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes MEMCONTRACT, a benchmark for evaluating mutable agent memory through 6 memory-operation contracts: store, retrieve, revise, deprecate, erase, and prove-origin. The benchmark defines API-like pre/post-conditions, builds multi-session tasks with distractor sessions and alias rotation, and adds blinded, stale, and delayed backend controls together with a 25-probe residue audit for erasure. The authors evaluate 7 memory backends under matched conditions. Their main finding is that mutation-heavy families such as revise, deprecate, erase, and prove-origin create much larger separation between systems than store/retrieve tasks, with Graph Memory performing best in the main benchmark and the top-3 ordering mostly preserved in the reported calibration checks.

Strengths and weaknesses

Strength:

  1. The paper focuses on memory behaviors that are often conflated in agent evaluations, including revision, deprecation, erasure, and provenance tracking. This makes the evaluation target more specific than testing only whether an agent can retrieve previously stored information.
  2. MEMCONTRACT organizes the tasks into 6 operation families: store, retrieve, revise, deprecate, erase, and prove-origin. This structure makes it easier to interpret which type of memory behavior is being tested in each part of the benchmark.
  3. The benchmark includes controls intended to reduce shortcut solutions, including distractor sessions, alias rotation, blinded backends, stale backends, and delayed backends. These controls help separate persistent memory use from current-context carryover, stale recall, or simple string matching.
  4. The evaluation compares 7 memory backends, from no-memory and scratchpad systems to RAG, editable key-value memory, hybrid RAG+KV, and graph memory. This range of baselines makes the results easier to interpret than a comparison against only a single retrieval baseline.

Weakness:

  1. The benchmark ontology seems closely aligned with graph/provenance-native systems. Since Graph Memory is the only backend with native support for all 6 contract capabilities, part of the performance gap may reflect ontology-backend fit rather than a general memory advantage.
  2. The main comparison is sensitive to prompt and tool-schema choices. The tuned Hybrid RAG+KV baseline narrows the Graph-Hybrid gap from 5.2 pp to 2.6 pp, indicating that backend-specific interface engineering materially affects the reported separation.
  3. The contract notation is helpful but not fully specified as a formal object. The state representation, metadata schema, audit-log structure, and boundary between a retrieval evidence handle and a provenance chain are left implicit, which makes the exact contract harder to reproduce across implementations.
Questions
  1. Removing prove-origin leaves the Graph-Hybrid gap unchanged at 5.2 pp. Does this suggest that revision, deprecation, and erase still reward provenance-like bookkeeping even when explicit provenance scoring is removed?
  2. Retrieve is described as value-only, while prove-origin scores provenance chains. Where exactly is the boundary between a retrieval evidence handle and provenance in the benchmark?
  3. Tuned Hybrid RAG+KV cuts the Graph-Hybrid gap from 5.2 pp to 2.6 pp. How should readers separate backend architecture effects from prompt/tool-schema effects?
  4. The blinded and stale-backend controls measure different things: memory dependence versus stale-state handling. How should these controls be jointly interpreted across backends with different query patterns?
  5. LONGMEMEVAL and LOCOMO preserve the top-three ordering but shrink the gaps. Is MEMCONTRACT intended mainly as a mutation-heavy stress test, or as a broader predictor of deployment memory quality?
Limitations

yes

Paper formatting concerns

N/A

Final justification

Thanks the authors for their detailed response, which addresses my main concerns: the effect of backend and schema choices, the distinction between the evidence handle and the full provenance chain, and how the graph/provenance alignment should be interpreted. I am maintaining my original score.

Reviewer_s2J7OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper introduces MEMCONTRACT, a benchmark for evaluating mutable memory in LLM agents. The paper argues that existing memory benchmarks mainly focus on whether previously stored information can be retrieved, but do not adequately evaluate whether an agent can correctly maintain memory state when information is revised, deprecated, erased, or audited for provenance. MEMCONTRACT formulates six observable memory contracts: Store, Retrieve, Revise, Deprecate, Erase, and Prove-origin.

The benchmark contains 1,080 multi-session tasks across these six families, with distractor sessions, alias rotation, and multiple difficulty levels. The authors evaluate seven memory architectures, ranging from no persistent memory and standard RAG to editable key-value stores, hybrid RAG+KV, and graph memory.

The paper's main contribution is a contract-sensitive evaluation framework intended to expose memory-state management failures that retrieve-oriented benchmarks may overlook.

Strengths and weaknesses

Strengths

S1 The paper identifies an important limitation of existing agent-memory evaluation. Most prior benchmarks emphasize whether an agent can retrieve information from previous interactions. However, persistent agents also need to update, invalidate, delete, and audit stored information. The paper convincingly motivates why retrieval accuracy alone is insufficient for evaluating mutable memory.

S2 The contract-based formulation provides a clear and useful evaluation framework. Expressing memory behavior through observable memory contracts makes failure modes more interpretable than evaluating only end-to-end task success.

S3 The benchmark construction is systematic. MEMCONTRACT contains 1,080 multi-session tasks balanced across six contract families and three difficulty levels. Distractor sessions and alias rotation reduce the possibility that systems solve tasks using the current context or simple string matching.

Weaknesses

W1 The six contract families are not independent capabilities, but the evaluation largely treats them as separate dimensions. For example, Revise requires successful storage and retrieval of the previous state, while Prove-origin depends on correctly recording the initial write and subsequent revision history. Similarly, a failed write can cause Retrieve, Revise, Deprecate, and Prove-origin to fail downstream. Therefore, a low Revise score does not necessarily indicate a revision-specific failure.

The six families are more accurately characterized as observable operations or behavioral specifications rather than statistically or functionally independent memory capabilities.

W2 The baseline architectures are broad categories rather than strong contemporary memory systems. Editable KV, Hybrid RAG+KV, and Graph Memory are useful controlled abstractions, but the evaluation does not establish how MEMCONTRACT behaves on recent end-to-end memory systems. Relevant baselines include A-MEM[1], Mem0[2] and its graph variant, Zep/Graphiti[3], and Memory-R1[4].

References:

  1. Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. “A-MEM: Agentic Memory for LLM Agents.” NeurIPS 2025.

  2. Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. “Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory.” arXiv:2504.19413, 2025.

  3. Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. “Zep: A Temporal Knowledge Graph Architecture for Agent Memory.” arXiv:2501.13956, 2025.

  4. Sikuan Yan et al. “Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learning.” arXiv:2508.19828, 2025.

W3 Macro-averaging the six families imposes an arbitrary weighting. The six operations differ substantially in difficulty, prerequisite structure, frequency, and practical importance. Because the families are dependent, the macro-average also does not have a straightforward interpretation as overall mutable-memory capability.

W4 The cross-backbone evaluation is limited in both scale and model coverage. The reported consistency across GPT-4o, Claude 3.5 Sonnet, and Gemini 1.5 Pro is based only on a 360-task subset, so the paper should clarify how this subset was sampled and whether it preserves the full benchmark’s family, difficulty, and error-type distributions. In addition, stronger recent tool-calling and agentic models, such as GPT 5.x, Claude 4.x, and Gemini 3.x, may better compensate for backend limitations. Evaluating at least one newer backbone would make the generalization claim more convincing.

Questions

Please respond to my W1 to W4.

Limitations

YES

Paper formatting concerns

No

Final justification

The responses address some of the reviewer concerns, in particular by running new requested experiments. Therefore, raise the score to 4.

Comments on the paper

1 comment
Meta-review

The rebuttal met each of the conditions I set out, and the benchmark's central pattern now holds on contemporary memory systems with measured downstream relevance.

  • Claims and findings. MemContract is a benchmark for mutable agent memory covering store, retrieve, revise, deprecate, erase, and prove-origin. Its main finding is that retrieval-focused evaluations hide differences between memory architectures, while mutation-heavy tasks reveal clearer separation: across the ten systems now tested, store and retrieve span under 4 pp while prove-origin spans 33 pp.
  • Strengths. The problem is important and well motivated. The contract-based design makes memory failures easier to interpret, and the benchmark includes useful controls, distractors, alias rotation, human audits, and residue checks. The authors also report results that weaken their own headline, including an external system that beats their Graph Memory.
  • Remaining weaknesses. The submitted headline is superseded by the authors' own new data, and the rebuttal's key result is not yet the paper's thesis. The added material is large and was visible to us only in summary. The residue audit bounds but does not certify deletion, and the downstream correlation rests on ten systems with a wide interval.
  • Author response and reviewer discussion. The three weaknesses I flagged were each answered with completed experiments rather than promises. Recent end-to-end systems were run on the full pool (A-MEM 55.8 to Zep/Graphiti 69.4, the latter exceeding their own Graph Memory at 67.6). Graph favouritism was tested directly: giving Hybrid an append-only audit log closes the gap to 1.3 pp (p=0.24) and stripping Graph Memory's audit affordances drops it to 61.9, so the benchmark rewards auditable mutation state, not graph topology. A symmetric backend-by-interface factorial replaced the earlier one-sided comparison and attributes 78.3% of explained variance to backend versus 16.2% to interface. Beyond my conditions, the macro was redefined and stress-tested under reweighting, family dependence was quantified by conditional re-scoring, a 240-episode downstream suite gave r=0.93 with task success, and newer backbones preserved rank order. In discussion, s2J7 credited the new experiments and raised to 4; ntbs raised after the added model coverage resolved its practicability concern; gNSF confirmed the backend/schema, evidence-handle versus provenance, and graph-alignment concerns were addressed and maintained 4. No reviewer held an objection after the response.
  • Most important reasons for the decision. First, the separation pattern is robust: it reproduces across ten systems, four backbones, and three interface regimes, so the measurement contribution survives even where individual rankings shift. Second, the rebuttal converted a ranking claim into a mechanism claim, auditable mutation state rather than graph structure, which is better supported and directly actionable for memory-system designers. Third, predictive validity was demonstrated rather than asserted, with the mutation families carrying the downstream signal. Fourth, the authors' conduct in reporting an external system that beats their own and in replacing a favourable comparison with a symmetric one that shrank their headline gap is the behaviour benchmark papers should be rewarded for. I recommend poster rather than spotlight because the strongest finding emerged in rebuttal and is not yet the paper's framing. Camera-ready should reframe around auditable mutation state, state that Zep/Graphiti exceeds their Graph Memory, incorporate all rebuttal experiments in full, drop the superseded asymmetric tuned-baseline comparison, and keep per-family reporting primary.

The discrepancy flag for ~Hanchen_Li2 is consistent with the review text and I am resolving it. The citation checker returned 0/35 problematic references, with no evidence of irresponsible authorship.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.