Papers
Topics
Authors
Recent
Search
2000 character limit reached

Human-Inspired Memory Architecture for LLM Agents

Published 8 May 2026 in cs.AI, cs.CL, cs.IR, and cs.LG | (2605.08538v1)

Abstract: Current LLM agents lack principled mechanisms for managing persistent memory across long interaction horizons. We present a biologically-grounded memory architecture comprising six cognitive mechanisms: (1) sleep-phase consolidation, (2) interference-based forgetting, (3) engram maturation, (4) reconsolidation upon retrieval, (5) entity knowledge graphs, and (6) hybrid multi-cue retrieval. Each mechanism addresses a specific failure mode of naive memory accumulation. We introduce a synthetic calibration methodology that derives all pipeline thresholds without benchmark data exposure, eliminating a common source of evaluation leakage. We evaluate on two benchmarks. First, a VSCode issue-tracking dataset (13K issues, 120K events) where deduplication-based consolidation achieves 97.2% retention precision with 58% store reduction (+21.8 pp over baseline). Second, the LongMemEval personal-chat benchmark where we conduct the first streaming M-tier evaluation (475 sessions, ~540K unique turns). At a 200K-token context budget, our pipeline matches raw retrieval accuracy (70.1% vs. 71.2%, overlapping 95% CI) while exposing a tunable accuracy/store-size operating curve. At S-tier scale (50 sessions), dedup-based consolidation yields a +13.3 pp improvement in preference recall.

Summary

  • The paper introduces a six-part memory lifecycle for LLM agents—consolidation, forgetting, maturation, reconsolidation, knowledge graphs, and multi-cue retrieval—implemented through episodic and semantic storage tiers.
  • The architecture achieves 97.2% retention precision with 58% fewer stored events on a 13,127-issue VSCode dataset, while deduplication—not summarization—drives most of the improvement.
  • The paper shows non-destructive performance on LongMemEval, matching raw RAG within overlapping confidence intervals, but finds that maturation and reconsolidation still require real-world benchmarks with repeated retrieval and contradictions.

Overview

"Human-Inspired Memory Architecture for LLM Agents" (2605.08538) presents a memory system for LLM agents that translates six neuroscientific principles into concrete pipeline components: sleep-phase consolidation, interference-based forgetting, engram maturation, reconsolidation upon retrieval, entity knowledge graphs, and hybrid multi-cue retrieval. The work is motivated by the observation that existing approaches—stateless agents, context-window stuffing, rolling summarization, and vanilla RAG—either discard context entirely or treat all stored information as equally valuable, with no principled mechanisms for prioritization, forgetting, or updating.

The paper's empirical claims are deliberately modest and carefully bounded. On a VSCode issue-tracking dataset (13,127 issues, 120K events), consolidation achieves 97.2% retention precision with a 58% store reduction (+21.8 pp over a keep-everything baseline). On LongMemEval, the pipeline matches raw RAG accuracy at both S-tier (76.8% vs. 78.4%) and M-tier at a 200K-token budget (70.1% vs. 71.2%), with overlapping 95% confidence intervals—the authors frame these as non-destruction results rather than accuracy gains. Two of the six mechanisms (maturation and reconsolidation) receive no ablation evidence because current benchmarks structurally cannot exercise them; the authors state this plainly rather than claiming otherwise.

Biological grounding and architecture

The design follows complementary learning systems theory: a high-fidelity episodic vector store plays the hippocampal role, while an entity knowledge graph accumulates semantic relationships through offline consolidation, playing the neocortical role. Three storage tiers map to biological systems—a hot in-memory cache (minutes to hours TTL), a warm episodic store (days to weeks), and a permanent semantic graph—all sharing a unified data layer for governance.

The mapping from neuroscience to system components is explicit throughout. Consolidation mirrors sharp-wave ripples via scheduled batch processing (default every six hours); forgetting combines exponential decay (I(t)=I0e−λtI(t) = I_0 e^{-\lambda t}) with retrieval-induced interference weighted toward retroactive disruption (0.6 retroactive vs. 0.4 proactive); maturation follows Kitamura et al.'s finding that engrams are initially "silent," implemented as a sigmoid activation curve reaching threshold at one week; reconsolidation gives retrieved memories a 60-minute lability window during which new information can be blended in. Graceful degradation proceeds through six fidelity levels, from full episodic record down to a tombstone preserving only the fact that a memory existed.

Consolidation and importance scoring

Each pending event receives a composite score over five factors—recency (0.25), frequency (0.25), Bayesian surprise (0.20), entity salience (0.15), and outcome (0.15)—with events classified into promote/retain/prune bands. A temporal validation stage quarantines out-of-order arrivals, duplicates, and causal inversions before filtering, preventing what the authors call "agent déjà vu."

Notably, the calibrated scoring formula actually deployed differs from this five-factor specification. Synthetic calibration revealed that content length (ROC AUC = 0.77, weight 0.363) and turn position (weight 0.325) dominate, while recency provides negligible discrimination (AUC = 0.51, weight 0.019); frequency and outcome were dropped as degenerate or unavailable at turn level. This divergence between the biologically motivated design and its empirically calibrated instantiation is disclosed honestly and is one of the more instructive methodological points in the paper.

Synthetic calibration methodology

A central contribution is the elimination of threshold leakage. All similarity thresholds (near-dedup at 0.559, cluster distance at 0.404, interference at 0.542) are derived from percentile rules computed on eight synthetic personal-chat sessions embedded with the same model used in evaluation; importance weights come from fifty LLM-generated sessions spanning fourteen topics over three simulated months, generated from a fixed specification with explicit substantive/filler labels. No evaluation benchmark data touches the calibration process. The percentile rules reportedly transfer across domains without retuning, though cross-domain validation beyond qualitative checks remains incomplete.

Evaluation itself uses a streaming protocol: sessions are processed sequentially in temporal order, consolidating every NN sessions so the pipeline sees only past data—an operationally realistic departure from LongMemEval's batch setting. A consistent finding across all benchmarks is that including timestamps and the current date in prompts contributes +10 percentage points, a cheap intervention worth noting independently of the memory architecture.

VSCode benchmark results

On the VSCode dataset, evaluated by temporal streaming with quarterly windows against retention precision (whether retained events match those referenced by future activity), deduplication-based consolidation reaches 97.2% precision with 58% store reduction versus 75.4% for keeping everything. The store self-regulates at 300–500 events regardless of input volume. Two findings stand out: deduplication drives most of the quality improvement, and the optimal decay half-life is approximately 29 days—far longer than human memory timescales—leading the authors to conclude that decay rates should track domain rhythm rather than circadian biology. Because graph retrieval and maturation are not yet integrated into this pipeline, the result is explicitly labeled a lower bound for the full architecture. The caveat is that retention precision is a proxy metric; no downstream QA task exists for this dataset.

LongMemEval S-tier ablation

Nine configurations were evaluated on S-tier (50 sessions per question) with bootstrapped 95% CIs. All five moderate configurations statistically overlap the raw-RAG baseline CI [74.8, 82.0], establishing non-destructiveness across a range of budgets. The aggressive configurations fail unambiguously: adaptive-10K drops to 57.0% and aggressive clustering-with-merge to 48.4%, well outside the baseline CI. The latter result supports a clear design claim: consolidation should deduplicate, not summarize—merging turns into cluster summaries destroys the specific details factual questions require, avoiding the compounding-error problem of rolling summarization chains used in systems like MemGPT.

Preference recall improves directionally from 56.7% to 70.0% (+13.3 pp) under dedup-only, but with only 30 preference questions per tier the per-category CIs are wide and the difference is not individually significant; the authors correctly report it as directional pending M-tier replication. Reconsolidation shows marginal impact at S-tier scale because few genuine contradictions exist within 50 sessions.

LongMemEval M-tier streaming evaluation

The M-tier evaluation (475 sessions per question, ~540K unique turns) is described as the first published streaming M-tier run. Since raw history exceeds GPT-4o's context window, even the baseline must select content. At a 200K-token budget the pipeline's overall CI [66.0, 74.2] overlaps raw RAG's [67.2, 75.0]; the −1.1 pp gap is within noise, with directional gains on multi-session (+1.2 pp) and temporal reasoning (+3.0 pp). Lower budgets degrade sharply (49.2% at 50K, 38.8% at 25K), sketching a tunable accuracy/store-size operating curve whose non-destructive crossover lies between 115K and 200K tokens. For context, Wu et al.'s best-optimized LongMemEvalM pipeline reports 72.0%; the simple baseline here (71.2%) and the 200K pipeline (70.1%) are competitive without conversational-RAG-specific engineering such as fact-augmented key expansion or chain-of-note reading.

The honest framing here matters: at M-tier scale the pipeline's demonstrated value is configurability at parity, not absolute accuracy. The authors argue the balance should invert in operational settings where users return with related queries benefiting from consolidated structure—but that claim is not tested in this paper.

Limitations

The limitations section is unusually candid. Maturation and reconsolidation remain design-rationale claims rather than ablation evidence: LongMemEval's independent haystacks prevent repeated-access signals, and its construction deliberately avoids cross-session contradictions, so all experiments run with uniform activation strength. Statistical power rests on single runs with bootstrap CIs reflecting question-sampling variance only; judge variance is not separately estimated, though the cited >97% judge–human agreement suggests it is small. No head-to-head comparison against MemGPT, Reflexion, RAISE, or Generative Agents is performed, since none publish LongMemEval results—porting them to the streaming protocol is left open. Graph-enhanced retrieval performs comparably but not superiorly at S-tier (74.8%), with benefits expected only above ~1,000 memories. Most substantively, the authors acknowledge a benchmark–architecture mismatch: LongMemEval presents a single linear conversation with no redundancy, no repeated actions, and no agent decision-making—an adversarial case for a system designed for high-volume repetitive event streams. The VSCode result reflects the intended regime; the LongMemEval parities bound the damage elsewhere.

Four extensions are underway: integrating maturation dynamics into streaming, scaling graph retrieval with ingestion-time entity extraction, benchmarking against MemGPT and Reflexion under the streaming protocol, and converting the VSCode proxy into an end-to-end triage-agent task metric.

Conclusion

The paper delivers a fully specified, biologically grounded memory lifecycle for LLM agents with a leakage-free calibration methodology and a streaming evaluation protocol. Its strongest quantitative result—97.2% retention precision with 58% store reduction on VSCode—demonstrates value in the operational regime the architecture targets, while the LongMemEval results establish statistical non-destructiveness at parity with strong baselines and expose a tunable operating curve. The central unresolved question is whether maturation and reconsolidation, currently unverifiable on available benchmarks, deliver measurable benefit in genuine multi-month deployment conditions with contradictory updates and repeated retrievals; answering it requires the downstream agent benchmarks the authors have begun constructing.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.