Governance state corruption in LLM agents' long-term memory: cross-model stress testing
The authors stress-test memory governance-state corruption across six LLM providers: 96.25% of the 2,080 fault pairs change the visible context projection, and oracle recovery is 100%.
- LLM agents can correctly retrieve a memory yet may misuse it after the memory's validity state (deleted, superseded, expired) changes. The authors state that existing memory systems and benchmarks mainly examine whether correct evidence is retained or retrieved, not whether the retrieved content is still valid and usable.
- The authors propose a formalization of governance-state corruption and a paired-intervention benchmark: fixing task, evidence, answer, model, and prompt, corrupting only governance state, and constructing clean/corrupted/enforced three-sibling conditions; 731 benchmark base cases come from LongMemEval, Memora, and OAKS, producing 2,080 fault pairs, run on six providers, supplemented by an offline projection audit and non-probability-sampled native-style validation.
- In the offline audit, corruption changes the visible projection of 96.25% of pairs, and oracle recovery is 100%. On the Formal-300 panel, LongMemEval damage is +40.54 points and Memora FAMA +30.60 points, with recovery in both; the full frozen proxy effect is −27.55/+27.51 points, which the authors emphasize is only a proxy score.
- The authors note that the full results depend on an insufficiently validated frozen Boolean scorer (LongMemEval same-unit agreement rate 60/96), that Formal-300 is a non-probability sample and does not include OAKS, that deletion events appear only in Memora, and that oracle recovery does not represent autonomous repair at deployment; the public repository does not contain per-case data, so full reproduction is not possible.
- Evaluated models
- DeepSeek V4 ProGPT-5.6 SolClaude Sonnet 5Gemini 3 FlashKimi K2.6 no-thinkingGrok 4.3 no-reasoning
- Benchmarks
- LongMemEvalMemoraOAKS Novel
- Metrics
- frozen proxy correctnessFAMAcorruption/recovery effect (percentage points)projection-change rateOAKS option parity
An arXiv paper (arXiv:2610.30698) stress-tests governance-state corruption of LLM agent long-term memory across six providers, finding that such failures markedly reduce agents' downstream accuracy, while oracle-supported enforcement can fully restore it. Governance-state corruption refers to a failure that, without changing stored content or the task, changes which retained records enter the model-visible context; an agent may correctly retrieve a memory yet use it incorrectly after a validity-state change; the study generates 2,080 matched failure pairs from 731 benchmark-based memory stores. In offline control-plane checks, corruption changed the effective projection on 96.25% of failure pairs, and oracle enforcement restored 100%. The paper states that the full-cohort frozen-scorer corruption/restoration effects (-27.55/+27.51 percentage points) are only a descriptive proxy, and on that basis argues for evaluating memory control-state integrity alongside retrieval accuracy.
Paper analysis
What problem does this paper attempt to solve?
Studies corruption of memory governance state: what happens to an agent when the retrieved content is unchanged but the state controlling its use is wrong.
Core problem: LLM agents can correctly retrieve memories yet use them incorrectly after the memory's validity state (whether it is current, superseded, or deleted) changes—the authors call this governance-state corruption.
- Problem scenario: The authors use a weekly to-do query in Memora as an example: two relevant entries u and v are both stored, a missing-metadata fault excludes u from the model-visible context, neither the task nor the stored content changes, and the frozen-proxy correctness across six providers shows a correct–incorrect–correct pattern.
- Shortcomings of existing work: The authors state that existing memory systems and benchmarks (MemGPT, Mem0, LongMemEval, etc.) mainly ask whether the agent retains or retrieves the correct evidence, and that this is insufficient—a retrieved entry may be genuine evidence of an earlier state yet no longer be the currently valid answer.
- Core observation: The authors separate stored evidence (data plane) from the lifecycle/validity state that determines what enters the model context (control plane); deletion, supersession, and temporal updates can invalidate retained evidence without changing its content.
- What the paper proposes: A formalization of governance-state corruption (the G → A → C → Y pathway), a paired sibling-intervention benchmark that fixes task and evidence and intervenes only on governance state (731 base cases, 2,080 fault pairs, six providers), and an offline control-plane audit plus native-style validation.
- Threat model: This is not an attack paper and has no attacker setting; its intervention setting is:
- Intervention target: the governance state g of a memory entry (whether current, active, superseded, deleted), without changing content (X corr = X clean).
- Fault operators: four types—missing, stale, flipped, conflicting—instantiated only when the benchmark's native evidence supports both the clean state and the corrupted state.
- Victim system: an LLM agent using long-term memory, with downstream model M and prompt protocol P fixed.
- enforced condition: the benchmark-supported oracle state is restored before context construction; this measures an oracle upper bound, not autonomous repair.
What related research exists?
Related work falls into four groups: long-term memory systems, governance and forgetting, control-plane foundations, and the three benchmarks used in this paper.
Long-term agent memory
- MemGPT (Packer et al., 2023)—introduced virtual-context management for persistent agents.
- Mem0, A-Mem, LangMem (Chhikara et al., 2025; Xu et al., 2025; LangChain, 2025)—developed mechanisms for memory extraction, organization, consolidation, and retrieval.
- LongMemEval and its successors (Wu et al., 2025, 2026)—evaluate retention, multi-session reasoning, updating, and abstention. The authors note that these works and benchmarks mainly examine whether the correct evidence is retained or retrieved, whereas a retrieved entry may be genuine but no longer valid.
Governance, forgetting, and temporal validity
- GateMem (Ren et al., 2026)—studies access control and active forgetting of shared memory.
- Memora (Uddin et al., 2026)—evaluates deletion- and update-aware memory with forgetting-sensitive criteria; the authors note that Memora's FAMA is a memory-presence and forgetting-absence criterion, whereas the full panel in this paper uses a Boolean proxy score, and the two cannot be treated as the same unit of measurement.
- Safety-governed memory and MemGuard (Lam et al., 2026; Wang et al., 2026)—propose validation, lifecycle signals, and controlled admission.
- MemConflict (Tao et al., 2026)—distinguishes temporal validity, factual correctness, and contextual applicability. The authors state that these works advance explicit control state but differ from this paper's paired corruption stress test, which fixes task and evidence and changes only the state selection.
Control-plane foundations
- Saltzer and Schroeder (1975)—complete mediation and fail-safe defaults require trustworthy authorization checks.
- UCON (Park and Sandhu, 2004)—treats access-related attributes and decisions as mutable. The authors adapt this control-state perspective into a G → A → C → Y pipeline for agent memory, and state that this paper neither proposes a new access control model nor demonstrates autonomous recovery.
Benchmarks and baselines: this paper has no comparison method baseline; the evaluated subjects are six provider models, the data come from three benchmarks—LongMemEval, Memora, and OAKS Novel—and the questions and reference answers are taken from the source benchmarks rather than synthetically generated.
Positioning: the authors state that this paper's distinction lies in the paired state-corruption design, which fixes task and stored evidence and changes only the state that determines what becomes operative, and in explicitly separating descriptive comparisons confounded by source from supported intervention claims.
How does the paper address this problem?
Formalize memory governance as a G→A→C→Y pathway, and construct a three-sibling paired benchmark with fixed inputs that corrupts only the governance state.
Overall approach: formalize governance-state corruption as a control-plane intervention—fix the task, evidence, answer, model, and prompt, apply fault operators only to governance state, and compare the visible context and downstream outputs of the three sibling conditions clean, corrupted, and enforced.
Problem Formalization
- A benchmark base case is b = (q, X, y⋆): task q, benchmark-native memory evidence X, scoring target y⋆; a memory entry is m = (x, g), where x is content and g is governance state (current/active/superseded/deleted, etc.).
- A fault operator f turns the clean governance state into Gcorr = φf(Gclean) while keeping task and evidence unchanged; four operator types: missing (removes governance information needed for the decision), stale (makes a superseded/expired state operative), flipped (reverses a benchmark-supported decision), conflicting (makes incompatible states simultaneously operative).
- The downstream is modeled as G → A → C → Y: A = E(R, G, q) is the admission decision, C = H(R, A, q) is the model-visible context, Y = M(q, C); the authors observe only changes in the operative context and do not treat each arrow as a separately identified mediator.
Paired Sibling Intervention
- Each eligible base case constructs three siblings: clean (benchmark-supported state), corrupted (injected supported fault), and enforced (the same base case–fault pair, with the benchmark-supported state restored before context construction).
- (q, X, y⋆, M, P) are fixed across siblings; the paired estimators are corruption sensitivity Ycorr − Yclean and oracle recovery Yenf − Ycorr.
- Causal claims are limited to these sibling interventions with fixed inputs; the authors state that oracle forcing does not demonstrate autonomous state reconstruction, deployment fault rates, or downstream harm.
Cohort and Fault Instantiation
- 731 base cases: 380 deletion (all from Memora), 169 temporal, 182 update; yielding 4,891 conditions (731 clean, 2,080 corrupted, 2,080 enforced).
- Support sets are incomplete: 618 base cases support three faults, and 113 LongMemEval temporal base cases support two; deletion overlaps with Memora, and event and source are inseparable (Table 1).
- All eligibility decisions and the intervention list were frozen before the formal run; the enforced correction does not use model-generated downstream answers.
Scoring and Statistics
- The full panel uses a frozen source-aware deterministic Boolean correctness proxy score, not a benchmark-native semantic evaluator; the main estimator first averages, within each event, the faults supported by each base case with equal weight per base case, then weights the three events equally (event macro).
- Uncertainty uses paired bootstrap (seed 42, 95% intervals); robustness analyses include balanced events (169 base cases per event), OAKS document-level cluster resampling, and leave-one-document-out.
- Offline diagnostics compare ordered visible projections for the 2,080 pairs and define projection-change and recovery indicators; Formal-300 uses deterministic stratified sampling with seed 20261010, taking 25 complete triples per provider–source cell (non-probability sampling).
Models and Reasoning Protocols
- Six providers: DeepSeek V4 Pro, GPT-5.6 Sol, Claude Sonnet 5, Gemini 3 Flash, Kimi K2.6 no-thinking, Grok 4.3 no-reasoning; each provider's reasoning configuration and output budget are fixed across siblings.
- A unified prompt requires using only the given context, avoiding unsupported facts, and returning a JSON answer string; Kimi no-thinking uses temperature 0.6/top-p 0.95, and Grok is set to reasoning effort=none.
- Final provider or parse failures are scored 0; truncations caused by insufficient output budget were rerun with a larger budget and merged in.
What experiments did the paper conduct?
Full frozen proxy panel across six providers plus 298-triple native-style validation, supplemented by offline projection audit and multiple robustness checks.
Experimental Setup
- Models tested: DeepSeek V4 Pro, GPT-5.6 Sol, Claude Sonnet 5, Gemini 3 Flash, Kimi K2.6 no-thinking, Grok 4.3 no-reasoning, six providers in total.
- Data: 731 benchmark base cases (LongMemEval 191, Memora 380, OAKS Novel 160), 2,080 supported fault pairs, 4,891 conditions; questions and answers all come from the source benchmarks.
- Metrics: the full panel uses a frozen Boolean correctness proxy score; in Formal-300, LongMemEval uses binary correctness, Memora uses native FAMA, and OAKS uses native deterministic option agreement.
- Evaluation method: the full panel uses a deterministic scorer; in Formal-300, LongMemEval uses answer-level correctness/abstention judgment and blind semantic review (native-style, not the original harness), including one recorded human adjudication of the blind review; Memora aggregates native atomic criteria into FAMA.
- Sample size: Formal-300 selected 300 triples and parsed 298 (238 distinct base cases, 894 observations); the clean-repeat control is 60 paired blocks; bootstrap uses 10,000 resamples.
- Baselines: no method baseline; the comparison is among clean/corrupted/enforced sibling conditions of the same base case.
Main Results
According to Table 5 (frozen deterministic scorer, not independently validated native semantic accuracy; effect columns are event macro, in percentage points):
Swipe horizontally to read the table
Model Clean Corrupted Enforced Corruption macro [95% CI] Recovery macro [95% CI] DeepSeek V4 Pro 45.96 19.47 47.07 −28.05 [−31.30, −24.82] +28.10 [24.97, 31.21] GPT-5.6 Sol 43.23 17.02 43.51 −31.10 [−34.11, −28.09] +31.11 [28.15, 34.07] Claude Sonnet 5 43.23 18.03 43.85 −28.19 [−31.30, −25.02] +28.36 [25.51, 31.23] Gemini 3 Flash 43.78 16.35 44.13 −31.88 [−35.00, −28.75] +31.29 [28.21, 34.36] Kimi K2.6 no-thinking 42.95 19.23 45.29 −27.63 [−30.78, −24.46] +28.59 [25.75, 31.42] Grok 4.3 no-reasoning 28.59 12.02 28.56 −18.47 [−21.82, −15.14] +17.58 [14.65, 20.54] - The authors state that the corruption contrast is negative and the recovery contrast is positive for all six providers, and that all provider-level intervals exclude zero; the descriptive means are −27.55/+27.51 points.
- The authors note that the condition-level accuracy of enforced differs from clean by within about 2.4 percentage points, but the accuracy columns and effect columns are aggregated differently, so the difference need not equal the macro effect.
- The authors emphasize that these are historically measured proxy-score comparisons, not six independently validated estimates of semantic correctness.
Native-style Validation (Formal-300)
- What was measured: damage and recovery were re-estimated on the 298 parsed triples using source-native-style scoring (Table 3). LongMemEval (n=148, binary): damage +40.54 points [30.32, 50.71], recovery +39.19 points; Memora (n=150, FAMA): damage +30.60 points [23.31, 37.69], recovery +26.24 points.
- Exception: the Memora enforced-minus-clean residual is −4.35 points [−8.29, −0.66], i.e., recovery did not fully return to clean; the LongMemEval residual is −1.35 points [−5.88, 3.29].
- Authors' interpretation: the two sources agree in direction under their respective native-style units, but this panel is a deterministic non-probability sample and does not include OAKS; the intervals describe only this panel and do not calibrate the full −27.55-point proxy effect.
Control-Plane Propagation Diagnostics and Scorer Validity
- Offline diagnostics (Table 8): of the 2,080 pairs, 2,002 (96.25%) show a visible projection change, and oracle recovery restores all 2,080 pairs (100%); the descriptive mean corruption effect is −26.04 points for projection-changed pairs and only −1.28 points for unchanged pairs.
- Induced failures and recovery: among cases that are clean-correct and projection-changed, 68.5%–76.9% become incorrect after corruption; oracle forcing recovers 71.9%–98.1% of these induced failures (intervals span the six providers, per Table 8 and the main text).
- Scorer validity: the frozen scorer's same-unit agreement rate on LongMemEval is 60/96 (62.50%, Cohen's κ = 0.259); Memora's 508 atomic criteria cover only 42 answers and cannot be compared with the Boolean proxy in the same unit; all 6,714 parsed OAKS outputs agree with the native comparator (6 of 6,720 rows excluded as ambiguous).
Other Ablations and Analyses
- Fault operators (Table 6): stale has the largest effect, −32.19 to −58.40 points across providers; conflicting is smallest (−2.59 to −8.41); support sets differ, so these are not randomized comparisons.
- Matched-support analysis: on the 351 base cases supporting both stale and missing, stale causes an additional 12.25–13.68 points of damage; on the 238 base cases supporting both stale and conflicting, an additional 31.09–62.61 points; stale–flipped has no common support and cannot be estimated.
- Event dimension (Table 7): update-event damage is generally larger than deletion; deletion overlaps with Memora and cannot be separated from source/task/scoring differences.
- Source dimension (Table 9): the within-source effect for OAKS is the largest for every provider (about −48.54 to −59.58 points); Grok 4.3's LongMemEval contrast reverses sign to +3.70/−4.35.
- clean-repeat control (Table 10): overall ∆ = −0.21 points [−11.16, +10.75] across 60 blocks; within LongMemEval, 9/30 binary results flip between two clean generations (70% agreement).
- Robustness: the balanced event queue (169 base cases per event, 507 total) preserves the overall direction; OAKS document clustering and leave-one-document-out preserve the within-source direction.
What are some points that can be further explored?
The authors list four types of limitations—scorer validity, sampling, identification, and reproducibility—and state that oracle recovery is not a deployment-level mechanism.
Limitations and future directions noted by the authors
- Scorer validity (Limitations): The full −27.55/+27.51 point effects use a frozen Boolean proxy; the same-unit agreement rate on LongMemEval is only 60/96 (κ = 0.259), and Memora's 508 criteria across 42 answers cannot be compared in the same unit; no full native re-evaluation of LongMemEval/Memora was done.
- Sampling (Limitations): Formal-300 is a deterministic, non-probability selection (298 parsed triples, 238 base cases) and does not include OAKS; the damage intervals for small vendor–source cells (DeepSeek–Memora, Grok–Memora) can cover zero.
- Identification and generalization (Limitations): Causal claims are limited to paired interventions with fixed inputs, and do not concern deployment failure rates or user harm; deletion appears only in Memora, and no base case supports both stale and flipped; the offline diagnosis cannot identify admission and context as distinct mediators.
- Reproducibility (Limitations / Data Availability): The 731/731 audit only verifies provenance and pattern consistency consistent with the construction assumptions, and shared explanatory errors may still exist; the aggregate repository does not contain licensed source texts, instantiated prompts, per-request outputs, or adjudication records, so end-to-end reproduction from the ZIP alone is not possible.
- Oracle assumption (Limitations): Oracle recovery assumes the correct state is obtainable, and is not a deployment-level mechanism for authentication, malicious-state detection, or synchronization.
- Future directions (Discussion): The authors say deployment-level extension requires validating state references without a benchmark oracle, preserving provenance of conflicting versions, and independently recording whether failures originate from state assignment, admission, context assembly, or model response; and they recommend that memory systems preserve provenance and current version state, fail closed on unverifiable control state, and separate historical from operative records.
Experimental coverage
- The models tested are one configuration each from six vendors: DeepSeek V4 Pro, GPT-5.6 Sol, Claude Sonnet 5, Gemini 3 Flash, Kimi K2.6 no-thinking, Grok 4.3 no-reasoning.
- The data cover three sources, LongMemEval, Memora, and OAKS Novel, totaling 731 base cases and 2,080 failure pairs; native-style validation covers only the 298 triples of LongMemEval and Memora, and OAKS has only an option-consistency check.
- The failure operators are four types: missing, stale, flipped, conflicting, and the support set is incomplete (618 base cases support three, 113 base cases support two).
- Each vendor–source cell has 24–25 blocks, which the authors say is insufficient to establish model rankings; the clean-repeat control has only 60 blocks, with one additional generation per block.
- The paper does not report timestamps or retry histories for each vendor's API (the text states these cannot be independently reconstructed from the released aggregate).
Summarize the main content of the paper
The authors propose a memory governance-state corruption benchmark: state faults change 96.25% of visible projections, and the native-style panel confirms the direction of damage and recovery.
An evaluation paper on the reliability of long-term memory in LLM agents, whose core claim is: correct retrieval does not equal memory that can still be used validly.
- Problem: governance-state changes such as deletion, supersession, and temporal updates can invalidate retained evidence without changing stored content; the authors state that existing memory systems and benchmarks mainly examine retention and retrieval, not this distinction.
- Method: governance is formalized as a G → A → C → Y pathway, and clean/corrupted/enforced three-sibling paired interventions are constructed—fixing task, evidence, answer, model, and prompt, and injecting only four types of state faults: missing, stale, flipped, conflicting; 731 base cases come from LongMemEval, Memora, and OAKS Novel, producing 2,080 fault pairs, run on six providers.
- Control-plane results: in the offline audit, corruption changes the model-visible projection of 96.25% of pairs, and oracle forcing recovers 100%; the mean corruption effect is −26.04 points for projection-changed pairs and −1.28 points for unchanged pairs.
- Downstream results: on the full frozen proxy panel, the six-provider corruption effect is −18.47 to −31.88 points and recovery +17.58 to +31.29 points; on the Formal-300 native-style panel, LongMemEval damage is +40.54 points and Memora FAMA +30.60 points, with recovery in both, but Memora leaves a −4.35-point residual.
- Boundaries: the authors emphasize that the full effects are insufficiently validated proxy scores (LongMemEval same-unit agreement rate 60/96), that Formal-300 is a non-probability sample and does not include OAKS, and that oracle recovery does not represent autonomous repair.
- Authors' conclusion: these bounded findings motivate evaluating the integrity check of memory control state alongside retrieval accuracy and appropriately benchmarked downstream outcome evaluation.