Datasets:
|
Download README.md from akshseh/MemDecay-Bench: direct link, hf CLI and curl.
- Browser
- Download file 8.11 kB
-
https://huggingface.co/datasets/akshseh/MemDecay-Bench/resolve/main/README.md
- Command line
-
hf download hf://datasets/akshseh/MemDecay-Bench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/akshseh/MemDecay-Bench/resolve/main/README.md
8.11 kB
| license: cc-by-4.0 | |
| language: | |
| - en | |
| task_categories: | |
| - question-answering | |
| tags: | |
| - memory | |
| - agents | |
| - temporal-reasoning | |
| - benchmark | |
| - synthetic | |
| pretty_name: MemDecay-Bench | |
| size_categories: | |
| - 1K<n<10K | |
| configs: | |
| - config_name: default | |
| data_files: data/manifest.jsonl | |
| # MemDecay-Bench | |
| A benchmark for evaluating **memory systems under temporal decay**: given a | |
| timestamped interaction history, does a memory system retrieve the right | |
| memories at the right *virtual* time — retaining what is still valid and | |
| demoting what is stale, contradicted, or expired? | |
| The answer key is **computed, not annotated**. A deterministic world-state model | |
| steps through a simulated calendar, every memory carries a temporal validity | |
| class, and the gold memory set at a checkpoint follows from the state at that | |
| virtual date. Grading is offline and needs no LLM judge. | |
| - **Code / harness:** Apache-2.0 (see the benchmark repository) | |
| - **Data:** CC-BY-4.0 | |
| ## Composition | |
| **9,750 dataset runs**, one synthetic user at one configuration each, across | |
| five challenge dimensions and spans of 30 / 60 / 90 days. | |
| | Dimension | Code | What it tests | Gradeable | History-only | | |
| |---|---|---|---:|---:| | |
| | Preference Contradiction | PC | Suppression of a superseded preference | 3,600 | — | | |
| | Preference Reinforcement | PR | Retention of repeatedly confirmed preferences | 2,400 | — | | |
| | Noise Resilience | NR | Signal preservation under high noise-to-signal ratios | 1,800 | — | | |
| | Fact Staleness | FS | Reduced salience of outdated facts vs. current ones | 1,200 | 150 | | |
| | Temporal Gap Recovery | TGR | Memory survival after extended user absence | 300 | 300 | | |
| | **Total** | | | **9,300** | **450** | | |
| **9,300 are gradeable.** The remaining **450 are history-only** — valid | |
| conversational histories that are ungradeable by construction, and carry a | |
| `history_only_reason` in the manifest: | |
| - **300 TGR cells** where `gap_days >= span_days`: the user never returns within | |
| the span, so no post-gap probe can exist. | |
| - **150 FS cells** where `staleness_window_days >= span_days`: no fact is ever | |
| updated, so nothing becomes stale. These double as a **negative control** in | |
| which the correct behavior is to forget nothing. | |
| All reported per-cell *n* count only the 9,300 gradeable runs. | |
| Every dataset ships **both tracks**: | |
| - **Strict track** — scenario timelines and grading artifacts. Deterministic and | |
| generator-independent; sufficient for every policy result in the paper. | |
| - **Adapter track** — the transcripts an external memory store ingests: | |
| **187,500 sessions / 1.50M turns** (~205M estimated tokens) over the gradeable | |
| set; 190,800 sessions / 1.53M turns including the history-only cells. | |
| Turn statistics: a 120-dataset sample of the FS/TGR grids gives 8.1 | |
| turns/session and 68.7 words/turn (median 45); a 200-dataset sample of the | |
| PC/PR/NR grids gives 8.0 and 105.1 (median 90). | |
| ### Splits | |
| Users **0–49** at all spans form the reported evaluation set (this release). | |
| Users **50–59** at the 30-day span (560 datasets) are a **hyperparameter tuning | |
| split**, generated from the same seeded, model-free timeline builder and | |
| disjoint by construction. The tuning split is **not** included here; all | |
| hyperparameters were frozen on it before the reported runs. | |
| ## Layout | |
| ``` | |
| data/ | |
| manifest.jsonl # one row per dataset — index this, don't walk the tree | |
| {DIM}/{span}/{config_hash}/{user_id:03d}/ | |
| sessions.json # timestamped turns (adapter track) | |
| annotations.json # per-turn memory labels, reinforcement log, world-state snapshots | |
| checkpoints.json # standalone answer key: gold/invalid memory sets with reasons, probes | |
| metadata.json # seed, config, generator model and version | |
| ``` | |
| `manifest.jsonl` rows carry `path`, `dimension_code`, `span_days`, `user_id`, | |
| `config`, `seed`, `model_id`, `generator_version`, `format_version`, | |
| `n_sessions`, `n_turns`, `n_checkpoints`, `n_probes`, `has_transcripts`, | |
| `gradeable`, and `history_only_reason`. | |
| ```python | |
| import json | |
| rows = [json.loads(l) for l in open("data/manifest.jsonl")] | |
| gradeable = [r for r in rows if r["gradeable"]] # 9,300 | |
| pc_60 = [r for r in gradeable | |
| if r["dimension_code"] == "PC" and r["span_days"] == 60] | |
| ``` | |
| ### Schema note | |
| FS and TGR are `format_version: 1` (generator 0.1.0); NR, PC, and PR are | |
| `format_version: 2` (generator 0.2.0) and were regenerated with hardened grids. | |
| The two runs differ in `config` keys, since each dimension parameterizes its own | |
| scenario. `metadata.json` for `format_version: 1` datasets omits the | |
| `format_version` field itself; the manifest normalizes this to `1`. | |
| ## Temporal validity classes | |
| | Class | Valid until | Example | | |
| |---|---|---| | |
| | Permanent | Explicit contradiction | "I prefer dark mode" | | |
| | Time-bounded | Known calendar date | "Deadline is March 15" | | |
| | Contextual | Implied window (1–90 days) | "Working on the migration project" | | |
| | Ephemeral | End of session | "I'm hungry right now" | | |
| At each checkpoint the gold memory set is derived from the world state rather | |
| than from static annotations, which is what makes the benchmark diagnostic: it | |
| reports *which* memory behavior failed, not merely that an answer was wrong. | |
| ## Provenance and generation | |
| Conversations were generated once by a persona-driven user simulator over an | |
| agent (**Claude Sonnet 4.6** via Amazon Bedrock, `us.anthropic.claude-sonnet-4-6`), | |
| then **frozen** as timestamped JSON plus a standalone `checkpoints.json`. All | |
| evaluation is offline against these frozen artifacts. | |
| Grading is decoupled from generation: after generating all transcripts, every | |
| dataset's `checkpoints.json` was verified byte-identical to its transcript-free | |
| version, so the strict track is generator-independent by construction. | |
| Content is drawn from small **controlled pools** (10 preference pairs, 10 fact | |
| pairs, plus noise and context pools) so that ground truth stays derivable. This | |
| is a deliberate realism trade-off: it bounds lexical diversity in exchange for a | |
| computable answer key. The paper assesses the cost via a LongMemEval replay and | |
| discusses it under Limitations. | |
| ## Intended use | |
| Evaluating memory systems — decay policies, agent memory stores, retrieval | |
| stacks — on temporal validity and update handling. Any external store can be | |
| scored through a three-method adapter (`reset` / `ingest_session` / `query`); the | |
| one binding requirement is that the store honor the supplied | |
| `simulated_timestamp` / `at_time` values as its temporal anchor rather than | |
| wall-clock time. | |
| Not intended as a general-purpose dialogue corpus or for training conversational | |
| models: the content pools are small and deliberately repetitive, so text | |
| diversity is low by design. | |
| ## Ethical considerations | |
| **No human subjects, personal data, or crowdworkers were involved.** All | |
| conversational data is synthetic. Personas are fictional and constructed from | |
| neutral content pools covering everyday preferences (food, exercise, | |
| programming languages, music) and workplace project facts (deadlines, team size, | |
| tooling); no pool entry references a real person, and no demographic attributes | |
| (age, gender, race, nationality, religion) are modeled or assigned. Because | |
| content is generated from these enumerable pools rather than scraped, the | |
| release contains no personally identifying information and no offensive content | |
| by construction — the pools are short enough to audit directly | |
| (`src/memdecay/datagen/content_pools.py`). | |
| **Language:** English only. **Domain:** everyday personal preferences and | |
| software-project facts. The benchmark makes no claim about behavior in other | |
| languages or domains. | |
| Memory-decay mechanisms could in principle be misused to selectively erase user | |
| corrections. This benchmark makes such behavior *measurable* — as contradiction | |
| echo and stale retrieval — which we view as a transparency contribution. | |
| ## Citation | |
| Paper under review; citation to follow. The LongMemEval replay used for the | |
| realism anchor relies on a separately released research dataset under its own | |
| license and adds no new annotation. | |