File size: 7,223 Bytes
f825e91 3bb7bf5 8d1bcd8 3bb7bf5 f825e91 3bb7bf5 1c73d43 3bb7bf5 1c73d43 f825e91 3bb7bf5 f825e91 3bb7bf5 1c73d43 f825e91 3bb7bf5 8d1bcd8 3bb7bf5 f825e91 3bb7bf5 f825e91 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | ---
language:
- en
pretty_name: AutoMemoryBench
size_categories:
- 100K<n<1M
task_categories:
- question-answering
- text-retrieval
tags:
- benchmark
- agent-memory
- memory-systems
- llm-agents
- evaluation
- text
configs:
- config_name: default
data_files:
- split: audit_subset
path: data/viewer/audit_subset_probes.jsonl.gz
- split: public_dev
path: data/viewer/public_dev_probes.jsonl.gz
- split: public_test
path: data/viewer/public_test_probes.jsonl.gz
---
<div align="center">
# AutoMemoryBench
### State-Contract Evaluation for Auditable Agent Memory
[](AutoMemoryBench-arXiv.pdf)
[](AutoMemoryBench-arXiv-source.tar.gz)
[](https://github.com/wuyuVerse/AutoMemoryBench)
[](https://github.com/wuyuVerse/AutoMemoryBench/blob/main/LICENSE)
</div>
AutoMemoryBench evaluates whether an agent uses the *right* memory, and only
the admissible memory, under a query-time state contract. Each executable
contract partitions memory into **required**, **admissible**, and
**prohibited** sets. Prohibited memories are typed as superseded, deleted,
restricted, cross-namespace, or stale-tool.
<p align="center">
<img src="assets/query-time-admissibility.png" alt="Query-time memory admissibility" width="760">
</p>
<p align="center"><em>Relevance is not enough: remembered evidence must also be allowed now.</em></p>
## Benchmark at a Glance
| Property | Value |
| --- | ---: |
| Domains | 8 |
| Case variants | 7,200 |
| Total probes | 151,200 |
| Public probes | 120,960 |
| Withheld hidden-test probes | 30,240 |
| Probe types | 20 |
| Memory systems evaluated | 18 |
| Agent/CLI controls | 12 |
| Backbones | Up to 8 |
The eight domains cover personal assistance, education and tutoring, customer
support, DevOps workflows, research assistance, coding agents, multi-party
collaboration, and office collaboration. Minimal single-axis interventions
change exactly one admissibility dimension while preserving the surrounding
case.
## Benchmark Design
AutoMemoryBench compiles a chronological event graph into query-conditioned
memory contracts. The same benchmark case is exposed through an interaction
trace view for the system under test and a contract view used only by the
evaluator. This separates task success from prohibited-memory influence without
revealing the gold state to the tested system.
<p align="center">
<img src="assets/benchmark-framework.png" alt="AutoMemoryBench evaluation pipeline" width="100%">
</p>
<p align="center"><em>From event graphs to executable state contracts, paired interventions, and hard-gated scoring.</em></p>
### One Case, Two Views
<p align="center">
<img src="assets/two-view-evaluation.png" alt="Interaction trace and compiled state-contract views" width="900">
</p>
<p align="center"><em>One benchmark case is evaluated through an interaction view and a hidden contract view.</em></p>
The interaction view contains the user turns, memory operations, tool calls,
tool results, and observed answer or action. The compiled contract view records
what the current query must use, may use, and must not use under the active
time, role, namespace, lifecycle, and tool state.
## Public Data
The Dataset Viewer exposes all **120,960 public probes** through three splits:
`audit_subset`, `public_dev`, and `public_test`. Each row exposes the query,
probe type, task type, required and prohibited memory IDs, expected behavior,
scoring rule, and state-contract identifier. This flattened view is intended
for fast browsing and filtering; the canonical nested cases remain in the
downloadable domain shards.
The complete public release is hosted directly in this repository:
| Split | Cases | Probes | Download |
| --- | ---: | ---: | --- |
| `audit_subset` | 720 | 15,120 | [archive](data/full/audit_subset_shards.tar.gz) |
| `public_dev` | 1,440 | 30,240 | [archive](data/full/public_dev_shards.tar.gz) |
| `public_test` | 3,600 | 75,600 | [archive](data/full/public_test_shards.tar.gz) |
| **Public total** | **5,760** | **120,960** | [checksums](data/SHA256SUMS) |
Each archive contains one canonical JSON shard per domain. The original sample
manifest and domain shards are under [`data/sample`](data/sample). The same
release is versioned with the evaluator in the
[GitHub repository](https://github.com/wuyuVerse/AutoMemoryBench). The
30,240-probe hidden-test split is withheld to prevent overfitting.
```bash
# Download the three public split archives from Hugging Face.
hf download Multilingual-Multimodal-NLP/AutoMemoryBench \
--repo-type dataset --include "data/full/*" --local-dir AutoMemoryBench-data
```
### Canonical Case Fields
| Field | Description |
| --- | --- |
| `case_id` | Stable identifier for a benchmark case variant |
| `domain` | Application domain of the interaction |
| `events` | Chronological lifecycle, authorization, and tool events |
| `sessions` | User and assistant interaction trace |
| `gold_memory_units` | Auditable memory objects compiled from events |
| `state_contracts` | Query-time admissibility partitions and transitions |
| `queries` | Memory-required and diagnostic probes with scoring contracts |
## Evaluation
- **StrictCore** is the primary hard gate. A memory-required query counts only
when the task is solved, required evidence is used, and no prohibited memory
influences the output.
- **PairAcc** measures whether both sides of a minimal intervention pair pass
StrictCore.
- **LeakRate** measures how often prohibited memory appears in an answer or
trace.
- **AMQ** is a diagnostic composite across writing, retrieval, update,
compression, task utility, safety, and efficiency; it is not the headline
metric.
The canonical evaluator is implemented in
[`amb/benchmark/evaluation`](https://github.com/wuyuVerse/AutoMemoryBench/tree/main/amb/benchmark/evaluation)
and
[`amb/benchmark/metrics`](https://github.com/wuyuVerse/AutoMemoryBench/tree/main/amb/benchmark/metrics).
## Paper
- [AutoMemoryBench paper PDF](AutoMemoryBench-arXiv.pdf)
- [Submission-ready arXiv source package](AutoMemoryBench-arXiv-source.tar.gz)
- [SHA256 checksums](SHA256SUMS)
The formal Hugging Face Paper page and arXiv tag will be added after the paper
receives an arXiv identifier.
## Authors
Jiajun Wu, Jian Yang, Chen Li, Linzheng Chai, Ge Gao, Ensheng Shi, and Yuchi Ma.
Jiajun Wu and Jian Yang are affiliated with Beihang University. Ensheng Shi and
Yuchi Ma are affiliated with Huawei Cloud Computing Technologies Co., Ltd.
## Citation
```bibtex
@misc{automemorybench,
title = {AutoMemoryBench: State-Contract Evaluation for Auditable Agent Memory},
author = {Wu, Jiajun and Yang, Jian and Li, Chen and Chai, Linzheng and
Gao, Ge and Shi, Ensheng and Ma, Yuchi},
year = {2027},
url = {https://github.com/wuyuVerse/AutoMemoryBench}
}
```
## License
The code and benchmark data are released under Apache-2.0. The paper license
will follow the license selected for the arXiv submission.
|