TL;DR
When you tell an AI assistant you moved to a new city, it shouldn't just update your address—it should realize your old 30-minute commute time is now invalid. MEME introduces a benchmark that tests whether LLM memory systems can handle these kinds of rippling, multi-entity updates. Across six popular memory architectures, the result is stark: under standard configurations, all of them collapse on dependency reasoning, averaging just 3% accuracy on cascading updates and 1% on recognizing when an answer has become uncertain.
What Problem Does This Paper Address?
LLM-based agents are increasingly expected to act as persistent companions across dozens of conversational sessions. To do this well, they rely on external memory systems—ranging from simple vector search over raw text chunks, to LLM-curated knowledge graphs, to agents that manage their own markdown files.
Until now, memory benchmarks have mostly tested whether an agent can recall static facts or track isolated, single-entity updates (e.g., “I used to drive a sedan, now I drive a scooter”). Real-world knowledge isn't that tidy; facts are entangled. If a team lead changes, a conditional rule might dictate that the code reviewer changes too. Prior benchmarks don't score whether a memory system can propagate these upstream changes to dependent facts (Cascade), recognize when an upstream change renders a dependent fact unknowable (Absence), or verify that an explicitly deleted fact stays gone (Deletion).
Methods
The authors organize memory evaluation along two orthogonal axes: entity scope (single vs. multi-entity) and temporal dynamics (static vs. evolving). This yields six representative tasks:
- Exact Recall (single, static): Verbatim reproduction of a stored string.
- Aggregation (multi, static): Combining scattered facts into one list.
- Tracking (single, evolving): Reconstructing a chronological history of updates.
- Deletion (single, evolving): Ensuring a removed fact is no longer reported.
- Cascade (multi, evolving): Inferring a dependent entity's new value from an upstream update and a stated rule.
- Absence (multi, evolving): Recognizing that a dependent entity's value is now
"Uncertain"after an upstream change with no replacement rule.
To isolate memory architecture from raw model smarts, the authors evaluate six systems spanning three paradigms—raw retrieval (BM25, text-embedding-3-small), LLM-processed memory (Mem0, Graphiti), and file-based agents (Karpathy Wiki, and a minimal single-file baseline called MD-flat)—all powered by gpt-4.1-mini by default. They also apply trivial-pass filtering on Deletion, Cascade, and Absence: a system only gets credit if it answers correctly both before and after the change or deletion event.
Datasets
The MEME benchmark consists of 100 controlled episodes (~35,000 tokens each) split evenly between two domains: Personal Life and Software Project.
Each episode is generated from a hand-crafted Directed Acyclic Graph (DAG) of entities and explicit conditional rules, yielding 694 post-change evaluation questions. To prevent LLMs from relying on parametric world knowledge, all entity values use fictitious names. Base facts are verbalized into natural multi-turn dialogues via LLM self-chat, while dependency rules and exact-recall strings are inserted verbatim. Finally, evidence sessions are interleaved with carefully filtered filler sessions to create a realistic haystack.
Key Insights and Ideas
- Dependency reasoning is a universal blind spot: Even though systems handle static recall reasonably well, crossing the multi-entity and evolving axes pushes average accuracy to a 0.02 floor.
- Systems fail in two distinct ways: Tracing individual episodes reveals that most systems actually do encode both the dependency rule and the change event. However, BM25, MD-flat, Graphiti, and Karpathy Wiki suffer from retrieval failures (the change event isn't surfaced at query time), while
text-embedding-3-smalland Mem0 suffer from answering failures (the change event is in the retrieved context, but the answering LLM still outputs the stale pre-change value). - Quick fixes don't work: Prompt optimization (via DSPy SIMBA), deeper retrieval (up to top-$k=40$), removing all filler noise, and swapping in a stronger answering LLM (Claude Sonnet 4) all fail to close the dependency-reasoning gap.
- Proactive propagation at ingest helps—at a steep price: The only configuration that partially closes the gap is pairing the file-based
MD-flatagent with Claude Opus 4.7 as its internal LLM. Opus 4.7 proactively scans for dependent entries when a change arrives and writes the propagated value directly into the markdown file, bypassing both retrieval and answering bottlenecks.
Key Results
- Default Configuration (
gpt-4.1-mini): Across all six memory systems, average accuracy is 0.62 on Exact Recall, 0.23 on Aggregation, 0.35 on Tracking, 0.17 on Deletion, 0.03 on Cascade, and 0.01 on Absence. The best overall system isMD-flatat 0.42 overall (Cascade: 0.05, Absence: 0.05). - In-Context Baseline: Feeding the entire 32K-filler transcript directly to
gpt-4.1-miniachieves 0.41 overall—outperforming five of the six memory systems—but costs $0.16/episode per query, whereas memory systems cost $0.00–$0.04/episode at inference. - The Opus 4.7 Partial Closure (20-episode subset): Swapping
MD-flat's internal LLM to Claude Opus 4.7 boosts Cascade to 0.32 and Absence to 0.59 (0.55 overall). However, this costs ~70× the baseline ($3.87 ingest + $0.67 inference per episode vs. $0.04 + $0.01) and still falls short of the gold-facts in-context ceiling (Cascade: 0.60, Absence: 0.81).
Limitations and Future Work
The authors note that MEME relies on two hand-crafted knowledge graphs and LLM-generated English dialogues rather than real user logs. Most ablations (prompt tuning, top-$k$ sweeps, internal-LLM swaps) were run on 10–40 episode subsets due to compute costs. They also did not test implicit dependencies where the rule isn't explicitly stated and must be inferred from world knowledge.
Looking ahead, the authors argue that future memory architectures need three capabilities: storing dependencies as first-class citizens at ingest, propagating updates through those dependencies at maintenance time, and retrieving dependent facts even when they share no surface overlap with the user's query.
Summary updated