Source-linked AI summary

MemShift: Separating Detection from Repair in LLM-Derived Personal Memory

Zichuan Xu, Haochen Zhang, Yuyang Dong, Makoto Onizuka, Chuan Xiao

arXiv:2611.02338v1cs.CLcs.AIcs.LG

TL;DR

Benchmarks that score only final answers cannot separate missed detection from failed repair, and they state every change as new text. MemShift evaluates five shifts with item-level detection and repair measures against gold fixed before text. Its results show that detection helps only as much as repair allows, and programs over typed records close most of the gap to exact recomputation.

  • Problem

    Final-answer memory benchmarks cannot distinguish missed detection from failed repair, and they express every change as new text even though some shifts add none.

    Source: §1 · p. 1
  • Method

    MemShift uses counterfactual branches, gold values and dependencies fixed before text, deterministic scoring, and item-level measures of invalidation and repair correctness.

    Source: §1 · p. 1
  • Results

    Detection helps only as much as repair allows; open-weight writers re-derive at most 25% of changed definition values correctly, while exact recomputation gets at least 91% right and typed-record programs close most of the gap.

    Source: §1 · p. 2, §7 · p. 9
  • Takeaways & Limitations

    For values aggregated under a person’s definition, keys help mainly when paired with exact recomputation or a program over typed records.

    Source: §7 · p. 9

    The benchmark uses synthetic template-rendered worlds and one-sentence rules over structured fields, whereas real records are messier and real definitions vaguer.

    Source: Limitations · p. 9

Abstract

from arXiv · show

AI assistants store values that a language model derived from a person's records under the person's own definitions, such as their important contacts. Keeping such a value correct takes two steps: detection, noticing that an input changed, and repair, producing the correct new value. Benchmarks that score only the final answer cannot tell which step failed, and they state every change as new text. Seeing this limitation, we present MemShift, a benchmark of five shifts: source revision, deletion, redefinition, writer switch, and export. The first three fork a synthetic world into branches that differ only in the shift. Gold values and dependencies are fixed before any text, and a deterministic scorer replaces an LLM judge. For a memory that reports its invalidations, MemShift shows for each changed item whether the memory noticed the change and whether its repair was right. Moreover, we build a reference memory with known detection and repair to validate the measure. By evaluating four open-weight LLMs, we find that detection helps only as much as repair allows: the LLMs re-derive few values computed by the person's definitions correctly, and programs that the LLM writes over typed records close most of the gap to exact recomputation. Code and data are available at https://github.com/zichuanxu/memshift.

1 Introduction

MemShift separates detecting a change in a derived personal-memory item from repairing it, addressing benchmarks that score only final answers and express every change as new text. Its results show that detection helps only as much as repair allows, while programs over typed records close most of the gap to exact recomputation.

1 Introduction

  • MemShift covers source revision, deletion, redefinition, writer switch, and export; only the first two change records, while the other three add no text.The paper illustrates the separate detection and repair outcomes with HoldMem’s keyed and unkeyed settings.Source: §1 · p. 1, Figure 1 · p. 2
  • Final-answer benchmarks cannot distinguish missed detection from failed repair, and three MemShift shifts—redefinition, writer switch, and export—add no text.The same final accuracy can reflect different failures: after redefinition, the examples report 7.5% and 6.7% correctness despite different detection outcomes.Source: §1 · p. 1
  • MemShift forks synthetic worlds into branches differing only by the shift, fixes gold values and dependencies before text is written, and uses a deterministic scorer.For each changed item, it records invalidation, re-derived-value correctness, and what the memory otherwise served.Source: §1 · pp. 1–2
  • With exact recomputation, a key raises Update by +14.4 pp to +28.5 pp after redefinition and +5.0 pp to +26.4 pp after deletion, more than with writers’ re-derivation.A strong writer makes the key useful on its own.Source: §1 · p. 2
  • Programs over typed records close most of the gap between open-weight writers’ re-derivations and exact recomputation, which gets at least 91% of changed definition values right.Each open-weight writer re-derives at most 25% of these values correctly.Source: §1 · p. 2
  • Keys built from writer citations notice every redefinition but miss records that join an item later; the detection–repair interaction also holds on fresh worlds and held-out definitions.Most items that fail a writer switch are definition items.Source: §1 · p. 2
  • The paper contributes a reference memory with known detection and repair to validate the benchmark and measure keys’ and programs’ value when a language model re-derives items.Its design rules are drawn from the results.Source: §1 · p. 2

2 Related Work

Prior memory benchmarks often score only the final answer after a change stated in conversation text, leaving missed detection and failed repair indistinguishable. MemShift measures detection alongside repair across text and no-text shifts, with branches differing only by the shift and gold fixed before text.

2 Related Work

  • Most memory-update benchmarks state changes in the history and score only final answers, so missed detection and failed repair look the same.The cited benchmark families cover long-conversation recall, incremental interaction, and other memory tasks.Source: §2 · p. 2
  • MemoRepair assumes complete provenance, StateMemBench uses dialogue changes and an LLM judge, and PLANFENCE always repairs by language-model replanning.The paragraph also contrasts related approaches including executable typed state, fixed-fact tests, invalidation analysis, and writer switching.Source: §2 · p. 3
  • MemShift adds measurement of detection crossed with repair in branches differing only by the shift, including shifts adding no text, against gold fixed before text and without an LLM judge.Dependency tracking can detect affected items, but memory repair still depends on how well a language model re-derives them; programs offer another route for computing values.Source: §2 · p. 3

3 The MemShift Benchmark

MemShift tests whether a memory preserves derived values across five shifts, using controlled synthetic worlds and item-level measures that separate detection from repair. Its benchmark fixes gold values and dependencies before text generation and scores answers deterministically.

3.1 Worlds and Derived Items

  • Each twelve-month synthetic world contains six record sources, and a deterministic evaluator derives 48 items, including six values computed under the person’s definitions.The evaluator fixes each item's gold value, status, and dependencies; worlds contain about 2.2M tokens.Source: §3.1 · p. 3

3.2 Shifts

  • MemShift compares memories on five shifts, with branches differing only in source revision, deletion, or redefinition and writer switch or export changing the memory instead of the world.The first three shifts fork worlds; writer switch and export test whether derived values survive a new model or product.Source: §3.2 · p. 3, Table 1 · p. 4

3.3 Questions and Carryover

  • Probes ask about one item at the fork and four later checkpoints, and a deterministic scorer requires both status and typed value to match gold.Update measures accuracy on changed items, Stability on sampled unchanged items, and writer-switch retention tracks previously correct answers that remain correct.Source: §3.3 · pp. 3–4

3.4 Detection, Repair, and What Is Served

  • For changed items, missed invalidation, repair correctness, and accuracy on items not invalidated decompose what the memory serves into detection, repair, and otherwise-served outcomes.The interaction between detection and repair measures whether detection helps more under one repair setting than another.Source: §3.4 · p. 4

3.5 Interface and Diagnostic Tests

  • MemShift supports systems through one interface, while systems that report invalidations and re-derivations can be measured item by item on missed invalidation, repair correctness, and otherwise-served accuracy.Systems offering only add and search can use an adapter with the shared reader.Source: §3.5 · p. 4
  • Among 15 closest benchmarks, none has all three of shift-only branches, gold dependencies, and shifts that add no text; MemShift has all three and scores answers against gold.The benchmark comparison is summarized in Table 2.Source: §3.5 · p. 4, Table 2 · p. 5

4 HoldMem: A Reference Memory

HoldMem is a reference memory with controllable detection and repair, allowing the benchmark’s measures to be tested against known system behavior.

4 HoldMem: A Reference Memory

  • HoldMem derives each item from a 6,000-token BM25 selection and stores a statement with up to six cited records for the reader.The reader sees only the stored statement and cited records.Source: §4 · p. 5
  • The B switch controls invalidation: B=0 never invalidates items, while B=1 tracks source events, definition version, and writer and invalidates when a tracked input changes.The source key counts events by source; the citation key tracks cited record groups.Source: §4 · p. 5
  • The D switch controls repair: D=0 uses writer re-derivation, while D=1 checks the answer and uses exact recomputation where possible; writer-written programs provide a third repair setting.Exact recomputation matches gold for 43 of 48 items, making D=1 an upper bound on repair; programs run on typed live records.Source: §4 · p. 5

5 Experimental Setup

The experiments compare controlled HoldMem settings, models, baselines, and existing memory systems across shifts and additional robustness tests. Estimates use world-bootstrap intervals.

5 Experimental Setup

  • Qwen3.5-9B is the default writer and reader, with three other open-weight models tested in those roles and two Claude models tested as definition-item writers.The four open-weight models are Qwen3.5-9B, Llama-3.1-8B, gemma-4-12B, and gpt-oss-20b.Source: §5 · p. 5
  • The main study compares three baselines and six native memory systems, with the same reader used to answer through each system’s storage and retrieval.The baselines are plain RAG, oracle context, and no-store BM25.Source: §5 · p. 5
  • The main HoldMem experiment tests six cells after source revision, redefinition, and deletion on 20 twelve-month test worlds, alongside writer-switch and horizon experiments.Further tests cover programs, refresh, held-out definitions, other writers, native systems, export, and 20 fresh worlds.Source: §5 · p. 6
  • Estimates use 95% world-bootstrap intervals, with paired cell differences and 2,000 draws resampling test worlds.For held-out definitions, bootstrap draws also resample definitions.Source: §5 · p. 6

6 Results

Across the tested models, detection yields larger gains when repair is stronger, while definition-derived values expose a pronounced repair gap. Writer-written programs and complete record access narrow that gap, with additional tests examining key failures, robustness, and native systems.

6.1 Detection Helps Only as Much as Repair Allows

  • With Qwen3.5-9B, a key raised Update after redefinition by +0.2 pp with writer re-derivation, +25.4 pp with writer-written programs, and +26.9 pp with exact recomputation.The key’s gain was larger with exact recomputation than writer re-derivation for all four open-weight models.Source: §6.1 · p. 6, Table 4 · p. 8

6.2 Repair Fails on Definition Items, and Programs Fix Most of It

  • Each open-weight writer re-derived at most 25% of changed definition values correctly, while exact recomputation got at least 91% right; writer-written programs closed most of this gap.For Qwen3.5-9B, programs raised Update on changed definition items after source revision by +57.4 pp over writer re-derivation, versus +82.9 pp for exact recomputation.Source: §6.1 · p. 6, §6.2 · p. 6, Table 4 · p. 8

6.1 Detection Helps Only as Much as Repair Allows

  • The source key acts as a full refresh, while a refresh that keeps old items beside new ones still serves deleted-record items; a gold-dependency key invalidates fewer unchanged items.Programs’ errors on definition items were mostly wrong values rather than crashes, but after deletion they re-derived other items 15.1 pp less accurately than the writer.Source: §6.1 · p. 6, §6.2 · p. 6

6.3 Keys Built from Citations Miss Records That Join Later

  • The citation key missed 16.9% of changed items after source revision and 32.4% after redefinition, including later record or clock changes beyond its tracked definition version.After redefinition, every wrong answer on changed definition items at D=1 came from such a miss.Source: §6.3 · p. 8
  • Exporting HoldMem(1,1) with its keys matched the original after import into a second implementation, while export without keys detected no later change.Source: §6.3 · p. 8

6.4 Robustness and Native Systems

  • The source-key contrasts replicated on 20 fresh worlds, and the interaction on definition items after redefinition was +33.0 pp with 18 held-out definitions.At least 97% of answers correct before each writer switch stayed correct, and 32 of 41 failed items were definition items.Source: §6.4 · p. 8
  • At twelve months, no-store BM25 scored −25.8 pp compared with HoldMem(1,1), while the source key used 3.64 times as many tokens; native systems’ Update and Stability often fell outside matched HoldMem intervals.For Mem0, query-time programs on live typed records raised Update on changed definition items after redefinition by +64.4 pp, while source-record invalidation raised Update on other items after deletion by +35.9 pp.Source: §6.4 · pp. 8–9

7 Discussion

Detection is valuable only when the following repair can produce a correct value, especially for items aggregating records under a person’s definition. Diagnosing whether detection or repair failed, by item class, helps identify which fix is useful.

7 Discussion

  • Detection helps only as much as repair allows; language-model re-derivation is weakest for values aggregating many records under a person’s definition.Keys help these values mainly with exact recomputation or a program over typed records; a strong writer that sees every record comes close but must read every record again.Source: §7 · p. 9
  • Diagnosing the failed step and item class identifies which fix helps, as the Mem0 interventions show.The authors recommend reporting missed invalidation and repair correctness by item class.Source: §7 · p. 9
  • Spearman ρ=0.94 [0.75, 1.00] for HoldMem source-revision versus redefinition rankings, but ρ=0.52 [−0.09, 0.94] for native systems.The source-revision ranking nearly predicts the redefinition ranking for HoldMem, but not among the six native systems.Source: §7 · p. 9

8 Conclusion

MemShift evaluates detection and repair separately for each item changed by a shift, using gold values fixed before text is written. The results show that repair limits the benefit of detection, while programs over typed records close much of the gap to exact recomputation.

8 Conclusion

  • MemShift scores each item changed by a shift on detection and repair against gold fixed before any text is written.The conclusion identifies programs over typed records as closing most of the repair gap.Source: §8 · p. 9
  • Programs over typed records close most of the gap between language-model repair and exact recomputation for definition items.The conclusion also reports that repair fails on items computed using the person’s definitions.Source: §8 · p. 9
  • Future work can test memories where a language model decides invalidation and real records with vaguer definitions.These are the future evaluation settings named in the conclusion.Source: §8 · p. 9

Limitations

The evaluation’s scope is constrained by synthetic, templated worlds, designed reference-memory cells, a limited model and serving setup, and a small number of bootstrap clusters.

Limitations

  • Synthetic worlds use templates and one-sentence rules over structured fields; real records are messier, and real definitions are vaguer.Only a small share of message text was model-rewritten, extraction was tested only on model-written prose, and held-out definitions came from one grammar.Source: Limitations · p. 9
  • Known-setting cells use designed HoldMem configurations, while native systems ran on three-month worlds through adapters with noisy ingestion.The tested Mem0 release only adds memories, and Graphiti completed no world, so no native run measures invalidation decided by a language model.Source: Limitations · p. 9
  • The main writers and readers are open-weight models with 8–27B parameters; Update depends on the reader and serving format.Serving the same D=1 store as JSON records changes Update, so effect signs generalize better than absolute levels.Source: Limitations · p. 9
  • Main-study intervals use only 20 worlds, a small number of bootstrap clusters.A replication repeats every contrast on 20 fresh worlds; intervals are per contrast, and the stated corrections retain 35 and 36 of 36 intervals excluding zero.Source: Limitations · p. 10

Ethics Statement

The work studies personal-memory systems and notes privacy risks from persistent, portable profiles, including risks involving third parties and consent revocation.

Ethics Statement

  • Every stored derived memory measured still leaks after consent revocation.The benchmark scores consent revocation as an outcome.Source: Ethics Statement · p. 10
  • MemShift uses only synthetic worlds, collects no personal data, and involves no human subjects.The writer’s programs run only on synthetic records in a restricted, resource-limited process.Source: Ethics Statement · p. 10
  • Derived profiles can contain third-party facts, and exported provenance can reveal which sources and models produced an item.The passage gives contacts’ employers and cities as examples of third-party facts.Source: Ethics Statement · p. 10

Reproducibility Statement

MemShift’s related work distinguishes carryover from recall and situates its benchmark among memory, dependency, provenance, portability, and agent-benchmark research. Its experiments are reproducible from released artifacts, and its audit compares benchmark properties against prior work.

Reproducibility Statement

  • The repository releases the seeded worlds, generator, gold labels, model responses, and run manifests, and regenerates every reported number.Runs record code versions, world seeds, model revisions, and output hashes.Source: Reproducibility Statement · p. 10

A Extended Related Work

  • StateMemBench scores currentness after dialogue-text changes, whereas MemShift tests whether changes are noticed and values repaired across shifts that may add no text.The related-work discussion also distinguishes systems that recompute flagged items, withdraw dependent values, or replan after changes.Source: A Extended Related Work · p. 18
  • The benchmark audit compares 15 close benchmarks property by property; none has counterfactual branches, gold dependencies, and shifts that add no text together.The audit’s table reports benchmark properties from the papers being compared.Source: A Extended Related Work · p. 18, Table 6 · p. 19
  • Dependency tracking supports selective rebuilds, but an LLM’s lossy regeneration means a write-time read set or citation list is not a sound dependency set.The discussion connects redefinition to view redefinition, deletion propagation to removing source tuples, and invalidation to truth maintenance.Source: A Extended Related Work · p. 19
  • MemShift treats provenance as an invalidation key comprising source event counts, definition version, and writer, while Update measures whether reads reflect a shift.Prior provenance systems record or infer derivations; freshness and view-maintenance work specifies which input changes a derived result must reflect.Source: A Extended Related Work · pp. 19–20
  • Portable-memory systems carry provenance, but the surveyed systems do not record definition versions as dependencies; revoking consent over derived items requires dependencies beyond an approximate read set.MIF can optionally record source-document versions and records the creating agent’s version.Source: A Extended Related Work · p. 20
  • Carryover asks whether derived values remain correct after inputs change, unlike interactive benchmarks that evaluate an agent’s actions within one episode.Related work also covers stale-value suppression, post-retrieval assembly, knowledge editing, and checking derived values against records.Source: A Extended Related Work · pp. 18–20

B Benchmark Construction

MemShift builds seeded synthetic worlds from versioned source objects, fixes gold values and dependencies before rendering text, and creates branches differing only by a shift. It evaluates typed answers without an LLM judge and includes controlled variants and a worked redefinition example.

B Benchmark Construction

  • Each world has 48 items, including six definition-derived values; gold evaluation records each item’s value, status, and dependency set from live source objects.A missing current value receives abstain status, and definition items apply the version in effect to structured source fields.Source: B Benchmark Construction · p. 20
  • Branches share all events before the fork and differ only by the shift; redefinition changes the definition without a source event, while deletion removes source objects behind selected items.The section also describes source revisions, consent revocation, conflicts, writer switches, exports, and a bound on carryover after an unstated redefinition.Source: B Benchmark Construction · pp. 20–21
  • Answers are scored by typed matching and fixed normalization rules, and correctness requires the answer’s status to match gold.Dates, times, and weekdays are parsed as values, entities are normalized, and sets are compared as sets.Source: B Benchmark Construction · p. 21
  • Held-out definitions vary sources, conditions, aggregates, windows, or thresholds, with candidate filtering based only on gold statistics and no model outputs.Three draws of six definitions replace the fixed definitions on ten test worlds.Source: B Benchmark Construction · p. 21
  • Other probes restate definitions in the user’s words or omit the definition from the query, while preserving the codified task data model.The user-word version keeps the same sources, thresholds, windows, and conditions.Source: B Benchmark Construction · p. 21
  • Rewritten-world message bodies preserve gold facts and are accepted only after fidelity checks; sync simulations instead follow documented incremental-sync contracts.The sync setup polls every 15 minutes in pages of 50 and uses a visibility lag.Source: B Benchmark Construction · p. 21
  • Table 7 follows one active-project definition item through a redefinition, showing its definition, deciding records, stored item, and cell answers before and after.The example uses Qwen3.5-9B as writer and reader and compares the state before the fork with one week after redefinition.Source: B Benchmark Construction · p. 21, Table 7 · p. 22
  • Worlds are seeded and versioned, with typed source-object operations and revisions, deletions, versioned definitions, and per-agent consent; a fidelity checker verifies gold facts in rendered text.The checker succeeded on 100.0% of sampled development items and 274,232/274,232 gold facts across test branches.Source: B Benchmark Construction · pp. 20, 22

C.1 HoldMem Cells

This section specifies HoldMem’s detection and repair cells, along with controls, integrations, classification, prompts, and a standardized evaluation report with thresholded contrasts. Together, these components assess how detection and repair affect memory updates, stability, and survival across shifts.

C.1 HoldMem Cells

  • HoldMem crosses detection (B=0 or B=1) with repair (D=0 or D=1), using source or citation keys for its six B=1 cells.Source keys track source event counts, definition version, and writer; citation keys track cited record-group counts plus definition version and writer. Cells share writer outputs and reader context before intervention.Source: §C.1 · pp. 22–23

D Prompts and Templates

  • The released prompts define structured writer outputs, deterministic programs, stored-statement templates, and a shared reader that answers from returned evidence.The writer supplies a typed value, statement, and up to six exact-quote citations; the program request contains typed source fields and the definition, while the reader uses stored statements for HoldMem. Open-weight models use JSON-schema decoding, and run records pin model and software versions.Source: §C.1 · p. 22, §C.7 · p. 25, D Prompts and Templates · p. 26

C.1 HoldMem Cells

  • After source revision, the source key invalidated 63.7 pp [59.9, 67.5] more unchanged items than the citation key.The citation key counts only record groups containing records the writer cited, rather than every group its derivation read.Source: §C.1 · p. 23

C.2 The Writer’s Programs and the Check-Only Cell

  • The Dm cells use writer-generated programs on typed source records, while a check-only cell retains D=1 validation but supplies no replacement value.Programs are generated per item and definition version without world data; source changes rerun them and definition changes request a new program. If a needed program fails, the item is unverifiable.Source: §C.2 · pp. 23–24

C.3 Refresh and Upsert Cells

  • Refresh re-derives items with changed source keys without invalidating old items, whereas upsert retires an older item when a new item for its slot is written.Both reuse existing cell writes and run at D=0, D=1, and Dm on 20 test worlds; add-only refresh is also tested at D=1 on 10 worlds.Source: §C.3 · p. 24

C.4 Controls

  • Six controls vary one confound at a time, including oracle and scope keys, add-only refresh, template rendering, query-time programs, and a full-access writer.The controls ran on 10 test worlds; the oracle, scope, and source keys were audited offline without a model.Source: §C.4 · p. 24

C.5 Native Systems

  • Native-system runs compare storage and retrieval by using a shared writer and reader, while passing revisions and deletions through each system’s own API integration.The study includes Mem0 and five other systems; document systems replace or delete documents, while Mem0, A-Mem, and MemOS receive revisions through add paths and deletions as tombstone text. The tested Mem0 release only adds memories.Source: §C.5 · p. 24

C.6 Memory Systems on the (𝐷, 𝐵) Grid

  • The system-grid audit classifies memory systems by detection and repair using a shared rubric, while the native-system experiment infers settings from measurements.The six systems run natively all have D=0 because no export retains a typed value with a source span; partial D means typed structure or citations without a span-level check.Source: §C.6 · p. 25

E Setup, Contrasts, and Statistics

  • The standard report evaluates each system through a shared interface and reports update, stability, invalidation errors, re-derived-item accuracy, and diagnostic-test outcomes.Systems with only add-and-search functionality use an adapter that processes events in time order and retrieves context without generating answers.Source: E Setup, Contrasts, and Statistics · p. 29
  • Four diagnostic tests set minimum thresholds for retention, export carryover, pre-shift utility, and serving cost.Retention must be at least 97%; export carryover must match the original within ±3 pp; pre-shift accuracy must be within 3 pp of oracle context; serving cost must be at most half a full re-read. Some settings pass three tests by construction.Source: E Setup, Contrasts, and Statistics · p. 29

E.1 Contrasts and Thresholds

  • The contrasts test whether B improves revision updates, whether D changes missed invalidations, and whether writer agreement predicts survival after a switch.The B effect on Update is compared with +2 pp; D’s effect on missed invalidation is tested against ±2 pp across six contrasts; writer-agreement calibration slope is compared with 0 and AUROC with 0.60, using 90% intervals.Source: §E.1 · p. 29

E.2 Statistics and Compute

Keys increased Update after each shift, while repair setting did not change detection; exact recomputation improved accuracy on re-derived items. The section also reports statistical procedures and experiment settings.

E.2 Statistics and Compute

  • The reported intervals are 95% world-bootstrap intervals, paired by item and checkpoint, using 2,000 draws.Equivalence tests and writer-agreement analyses use 90% intervals; equivalence uses TOST with a test-specific margin.Source: §E.2 · p. 29
  • Holm correction retained 35 of 36 intervals excluding zero on test worlds and all 36 on replication; Benjamini–Hochberg retained all 36 in both.Without detection contrasts, Holm retained 23 on test worlds and 24 on replication among the remaining contrasts.Source: §E.2 · p. 30
  • Open-weight model servers used about 140 GPU-hours in total; Claude API runs used 278 million tokens and cost 336 US dollars.The Claude runs took place from 2026-10-16 to 2026-10-19.Source: §E.2 · pp. 30–31

F Extended Results

  • Results use 20 test worlds, Qwen3.5-9B as writer and reader, and the source key unless captions specify otherwise.Each cell was scored on changed item-times and a fixed-seed sample of unchanged item-times; the main-study counts varied by shift.Source: F Extended Results · p. 31
  • For fork-based scoring, a missed invalidation counts only when it occurs after the latest gold change; the source key misses no changed item-times in the fork-based analyses.There, its repair accuracy equals its Update.Source: F Extended Results · p. 31

F.1 Main Contrasts

  • The key raised Update by +9.2 pp after source revision, +13.5 pp after redefinition, and +51.7 pp after deletion; repair setting did not change detection.With either key, exact recomputation also raised accuracy on re-derived items after every shift.Source: §F.1 · p. 31

F.2 Where the Interaction Lies

The interaction between detection keys and exact recomputation is concentrated in definition items, while its size varies by definition and by which shifts caused the changes.

F.2 Where the Interaction Lies

  • After a source revision, on definition items, the key helped by +33.3 pp at D=1 versus +6.0 pp at D=0 with exact recomputation; on other items, interaction was near zero in both world sets.Source: §F.2 · p. 31
  • Across all items, the interaction on shift-caused changes was +2.5 pp after source revision, +38.7 pp after redefinition, and −0.1 pp after deletion.On definition items, the interaction after each shift was about as large on shift-caused changes as on other changes; writer programs gave +32.4 pp for redefinition-caused changes.Source: §F.2 · p. 32
  • Shift-caused source-revision changes included 14.1% definition items, whose +3.4 pp contribution combined with −0.9 pp from other items to yield +2.5 pp overall.Reweighting those changes to the class mix of all changed item-times gives +6.2 pp.Source: §F.2 · p. 32
  • The source-revision interaction on definition items was not specific to the shift: 60.4% of those item-times also changed without it, and shifted-minus-unshifted was −4.5 pp.The corresponding shifted-minus-unshifted difference was +13.5 pp after redefinition and +12.5 pp after deletion.Source: §F.2 · p. 32
  • Across the six fixed definitions, source-revision interactions ranged from −20.0 pp for active projects to +75.4 pp for important contacts.Leaving one definition out moved the class estimate to +16.5–+33.8 pp after source revision and +34.6–+47.3 pp after redefinition.Source: §F.2 · p. 33
  • Across held-out definitions, the interaction was positive after redefinition, source revision, and deletion with both exact recomputation and writer programs.It was positive for 17 of 18 definitions after redefinition.Source: §F.2 · p. 33
  • Naming the definition did not change the key’s +38.0 pp effect at exact recomputation after redefinition; 93% of that effect came where the append-only memory had no post-fork slot item.The unnamed and named effects were both +38.0 pp; the reported difference was 0.0 pp.Source: §F.2 · p. 33

F.3 Stored Value and Reader

This section examines how stored-value quality and the ability to read records shape repair across source revisions, redefinitions, deletion, and writer switches. It also covers key and refresh mechanisms, storage horizons, writer agreement, replication and model swaps, and limits exposed by export, consent, conflicts, and sync.

F.3 Stored Value and Reader

  • For definition items, Qwen3.5-9B used a right store in 98.1% of cases at D=0 and 99.7% at D=1 after source revision, so re-derivation failures were wrong stores, not reading errors.The reader part of the interaction was 0.0 pp after source revision and redefinition, and −0.3 pp after the third shift.Source: §F.3 · p. 34
  • On other items, exact recomputation raised right stores after redefinition from 73.7% to 96.5%, but the reader answered correctly for only 7.0% of right “no value” stores.For deleted records, 162 of 192 errors in the D=1 cell gave “there is no current value” with the status answer.Source: §F.3 · p. 34
  • With the same stores, Claude Sonnet 5.5 misread 1 of 1,210 right “no value” stores after redefinition, versus 281 for Qwen3.5-9B, and had a more positive interaction on other items.The interaction was +9.9 pp after redefinition and +5.3 pp after deletion with Sonnet, while Qwen’s redefinition reader part was −21.1 pp.Source: §F.3 · pp. 34–35, Figure 7 · p. 39, Table 22 · p. 41

F.4 What Repairs

  • Programs over typed records yield +25.3 pp interaction after redefinition and +11.0 pp after source revision, but −20.8 pp after deletion; they do not change missed invalidation.Before any shift, the programs ran for 90.6% of items and agreed with gold on 60.5%.Source: §F.4 · pp. 36–37
  • After redefinition, programs’ interaction on definition items was +34.9 pp, close to exact recomputation’s +38.8 pp; after source revision, their Update gain was +57.4 pp versus +82.9 pp for exact recomputation.The remaining interaction includes definition items whose full scope was absent from the writer’s selection; it never held the full scope for close friends or VIP senders.Source: §F.4 · pp. 37, 43, Table 20 · p. 38
  • Execution feedback made more definition programs valid but barely changed repair: validity rose from 85.8% to 90.4%, while repair correctness moved +0.9 pp after source revision and −0.3 pp after redefinition.Feedback did not fix the syntax-error program, and it cannot identify wrong values from programs that run.Source: §F.4 · p. 38, Table 25 · p. 42
  • Programs on fields extracted from rewritten prose retained positive definition-item interactions, +18.2 pp after source revision and +25.4 pp after redefinition, despite lower repair correctness.Extraction matched every typed field in 82.7% of distinct record contents; repair correctness fell from 77.0% to 55.8% after source revision and from 69.2% to 52.7% after redefinition.Source: §F.4 · pp. 39–40
  • Across programs from six writers, definition-item interactions remained positive: +23.1 pp after redefinition, +15.1 pp after source revision, and +19.4 pp after deletion, with substantial variation by writer.Programs written from definitions in the user’s own words also yielded positive interactions after all three shifts: +32.8 pp, +22.4 pp, and +29.0 pp, respectively.Source: §F.4 · pp. 40–41
  • With every record, Qwen3.5-9B re-derived 7.1% [4.2, 10.3] correctly (8.2% [3.3, 14.0] with selection), versus 99.7% [99.2, 100.0] for exact recomputation; Sonnet’s every-record derivation came close to exact recomputation but required reading every record.Source: §F.4 · p. 44
  • Giving Qwen3.5-9B every source record changed re-derived-item accuracy by 0.0 pp after source revision and +1.0 pp after redefinition, while exact recomputation led by +77.9 pp and +93.6 pp.A check alone lowered accuracy on re-derived definition items by −10.9 pp after source revision and −4.1 pp after redefinition; adding exact recomputation to the checker raised it by +15.2 pp and +31.4 pp over all items.Source: §F.4 · p. 44

F.5 Keys and Refresh

  • The refresh recovered 1.00 and 0.99 of the key’s effect at D=1 after source revision and redefinition, while the upsert recovered 0.01 across the same combinations.The key’s advantage comes from its re-derivation schedule; after deletion, the refresh keeps the stale item, while the key led it by +9.9 pp at D=1 and +4.0 pp at D=0 on other items.Source: Table 27 · p. 45, §F.5 · p. 46
  • Nearly all citation-key misses involved records entering or leaving an item’s scope; its Update effect was 0.0 pp after source revision and −1.3 pp after redefinition.Forcing re-derivation gained little on definition items at D=0 (+2.6 pp to +2.7 pp across shifts), but +94.4 pp to +94.9 pp at D=1, showing the benefit depends on repair succeeding.Source: §F.5 · pp. 46–47

F.6 Horizons, Cost, and No-Store BM25

  • After deletion, no-store BM25 tied HoldMem(1,1) on Update overall (71.3% against 73.1%; −1.8 pp) and won on other items (85.9% against 67.5%).At twelve months without a shift, no-store BM25 minus HoldMem(1,1) accuracy was −25.8 pp, while the source key cost 3.64 times no-store BM25’s tokens; Figure 8 presents accuracy and token costs by horizon.Source: §F.6 · p. 47, Figure 8 · p. 48, Table 29 · p. 49

F.7 Writer Switches

  • At every tier, switch survival exceeded checker pass rate: 98.6% against 79.3%, 99.6% against 82.0%, and 99.6% against 77.0%.Writer agreement predicted survival with a 1.01 calibration slope and 0.832 AUROC; the new writer’s accuracy reached 0.887 AUROC, compared with 0.800 for the old writer.Source: §F.7 · p. 48, Figure 9 · p. 49
  • Across eight writer switches, agreement predicted survival (slope 0.85; AUROC 0.827), while the new writer’s accuracy reached 0.849 versus 0.827 for agreement.After a same-tier switch, net accuracy rose by +8.3 pp, but retention fell mainly on free text because the span check rejected paraphrases.Source: §F.7 · pp. 49–50

F.8 Generality

  • Fresh-world replication, alternative model families and readers, and rewritten message bodies broadly preserved the main contrast directions, though rewriting reduced D’s re-derived-item accuracy effect.On fresh worlds, every source-key contrast had the main study’s sign with a 95% interval excluding zero, except D’s effect on missed invalidation, which remained zero.Source: §F.8 · pp. 50–51

F.9 Native Systems

  • Native settings matched documentation for 5/5 systems, yet only 12/36 comparisons fell within inferred HoldMem-cell intervals; source-revision rankings did not settle native-system rankings after redefinition.After a source revision, every native system except LightRAG lay within the intervals of no-store BM25 and plain RAG; the source-revision versus redefinition rank correlation among native systems was 0.52 [−0.09, 0.94].Source: §F.9 · pp. 51–53
  • For Mem0, query-time access to typed records and the writer’s program raised definition-item Update by +72.6 pp, +64.4 pp, and +71.4 pp across the three shifts, while invalidation effects included zero.Mem0 answered only 12.2%, 8.9%, and 10.7% of changed definition item-times correctly before the query-time view.Source: §F.9 · p. 53

F.10 Export, Consent, Conflicts, and Sync

  • Export with keys preserved HoldMem(1,1)’s result and passed the leaving test; without keys, missed invalidation rose by +100.0 pp.The outcomes follow from the design of the export and import mechanisms.Source: §F.10 · p. 53
  • Keys detected changed sources but not conflicting live values, while read-set consent still answered blocked probes and blocked some answerable ones.HoldMem(1,1) abstained on 0.0% of conflict probes; B=1 cells answered 63.0% of blocked probes and blocked 36.0% of answerable probes. Read-set revocation works only when the read set equals the dependency set.Source: §F.10 · p. 53
  • Calendar accuracy fell −21.2 pp for B=1, −18.8 pp for B=0, and −16.2 pp for no-store BM25; sync-contract and key effects did not interact measurably.The interaction on calendar probes was −2.5 pp [−11.2, +8.8], and pooled over six sources it was −3.4 pp [−8.1, +2.4].Source: §F.10 · p. 53

G Error Analysis

The error analysis finds that writer-written programs can return values from other live records after deletion, replacing the correct absence of a value. It also examines how failed programs affect accuracy and reports a syntax error that prevents the working-hours program from running.

Error Analysis

  • 35.8 pp [31.2, 39.9] fewer deleted item-times were correct with Dm than D=0; 68.9% [61.1, 76.6] of the loss came from storing a value where gold has none.Nearly all such stored values replaced the writer’s value (67.7% [60.0, 75.3]).Source: G Error Analysis · p. 53
  • Programs did not react to deletion: where the program’s value replaced the writer’s (394 item-times, 28.9% [24.5, 32.7]), exact recomputation stored no value every time.The reader answered about as often at D=1 as at Dm (Dm minus D=1 on this class: +1.8 pp [−2.3, +5.3]); none of the loss came from a failed program.Source: G Error Analysis · p. 53
  • 386 program values matched the same field of another live record; task programs always returned the most recently updated task’s due date (189 of 189).Task due dates were wrong on 83.3% [71.8, 93.2] of live versus 89.8% [81.9, 96.8] of deleted item-times; contact fields were wrong on 26.7% [21.4, 32.6] versus 28.5% [24.2, 32.9].Source: G Error Analysis · p. 54
  • Failed programs accounted for 68.8% [57.9, 81.2] of Dm’s −2.2 pp [−4.0, −0.2] accuracy loss on unchanged item-times.Across re-derived item-times, the accuracy difference was −7.8 pp [−10.0, −5.4], combining a +42.5 pp [+39.0, +45.5] gain on definition items with a −15.1 pp [−17.3, −12.5] loss on other items.Source: G Error Analysis · p. 54
  • The shared working-hours program had a syntax error and ran in none of 20 worlds, leaving the stored item unverifiable and unserved.The query-time view fell back to no-store BM25, which answered all 45 unchanged working-hours item-times; this was its only lead over the stored cell.Source: G Error Analysis · p. 54

H Datasheet and License

The datasheet describes MemShift as a fully synthetic benchmark for measuring memory carryover under controlled shifts, with deterministic gold labels and released code and data. Its results concern synthetic worlds and tested models, and evaluation-seed tuning makes results incomparable.

H Datasheet and License

  • MemShift measures memory carryover under controlled shifts, separating detection from repair and including shifts that add no text.Gold values are computed before text is written, and the authors created the dataset for this study.Source: H Datasheet and License · p. 54
  • Each synthetic world covers twelve months across six sources and contains 48 items, 1,505–1,654 events, about 2.2M tokens, and branches.Probes track an item at a given time with gold value, status, and dependency objects; the dataset is a sample from a generator, and further seeds yield further worlds.Source: H Datasheet and License · p. 54
  • All worlds are produced by a seeded generator; deterministic evaluators compute gold from source objects before text rendering, without annotators or an LLM judge.A language model rewrites message bodies only in rewritten worlds, preserving every gold fact verbatim.Source: H Datasheet and License · p. 54
  • Results describe synthetic worlds and the models tested, not how systems treat real people’s data; tuning on evaluation seeds 1000–1039 makes results incomparable.The worlds contain no personal data, real-person records, or human subjects.Source: H Datasheet and License · p. 54
  • The release packages code, generator, worlds, gold labels, run manifests, probes, and analyses; code is MIT-licensed and data CC BY 4.0.Open-weight models retain their own licenses, and responses from Claude Sonnet 5.5 and Opus 5.5 are released.Source: H Datasheet and License · p. 54
  • The authors maintain the package, and changes to the generator, scorer, or test threshold create a new tagged version.Run manifests tie results to code versions, while further seeds extend the dataset without changing existing worlds.Source: H Datasheet and License · p. 54
Loading 2611.02338v1…