Manuscript Offprint

arXiv:2609.10413

Fortunate Recall: Ontology-Driven Memory Lifecycle Management for Persistent Coherence in LLMs

Ansuman Mullick, Eray Tüzün

Abstract

Current LLM memory systems treat all personal facts identically, storing them in flat vector stores or knowledge graphs with uniform retention, so stores grow unboundedly while retrieval precision degrades. The core challenge is lifecycle management: which memories should persist, which should be replaced, and at what rate, conditioned on the behavioral type of each fact. Fortunate Recall (FR) is a composable policy layer that classifies personal facts into a 10+1 behavioral ontology and applies category-specific lifecycle policies (differential temporal decay, slot-key supersession, event-time validity, and category-aware retrieval routing) as deterministic functions over LLM-extracted metadata. The lifecycle policy layer is pure math; the LLM is used at ingestion and for a single lightweight candidate-selection step at retrieval. FR-Bank, our infrastructure-independent implementation, achieves 76.9% pass rate on LifecycleBench, a new 516-question temporal-disambiguation benchmark, outperforming Mem0 (61%), A-MEM (65.3%), Memory-R1 (66.9%), and MemoryOS (70.5%) across seven system configurations, and reaches 75.2% on the full 500-question LongMemEval-S benchmark under the canonical Wu et al. (ICLR 2025) judge protocol, demonstrating that lifecycle policies impose no measurable aggregate cost on standard retrieval tasks. A pre-registered ablation locates where the gains originate. Replacing the typed layer with three generic lifecycle primitives over a semantic-only ranker leaves correctness statistically unchanged (Δ=−1.7\Delta = -1.7pp, 95% CI [-6.0, +2.7], n.s.), so the generic lifecycle metadata carries the correctness advantage; what the behavioral ontology carries is calibration, halving downstream confabulation (12.0% vs. 24.2% over all queries, p<0.001p < 0.001) by making per-category parameterization feasible where no single global weight is. End-to-end, FR-Bank reduces confabulation from Mem0's 45.1% to 22.4% over answered queries and from 32.2% to 13.0% over all 516 queries, while answering more of them correctly (31.2% vs. 18.6%); the hierarchy replicates on the open-weight Kimi K2.5 generator, and upgrading Mem0's extractor to gpt-4.1-mini narrows the retrieval gap without touching its structural deficits on supersession and retraction. The decomposition transfers to BEAM (ICLR 2026), a benchmark constructed independently of this work: 46.8% correct vs. Mem0's 32.9% over 280 questions, splitting into +23 to +26 from the generic metadata and +10 to +13 from the ontology, concentrated in contradiction resolution. A six-point granularity sweep places the ontology's benefit on a plateau from roughly seven effective policy clusters, so 10+1 is an interpretable point on that plateau rather than a uniquely necessary granularity. The ontology, benchmark, and code are released as supplementary material and will be made publicly available upon publication.

Preprint. Under review.

1 Introduction

Large language models lose coherence over extended conversations because existing memory systems treat all personal facts uniformly. A user's ethnicity, current food preference, and six-month-old dentist appointment coexist in the same store with identical retrieval priority, yet their appropriate persistence dynamics differ by orders of magnitude. The core challenge is not retrieval but lifecycle management: determining which memories should persist, which should be replaced, and at what rate, conditioned on the behavioral type of each fact.

Building on early work on LLM agent memory [20], recent systems have established strong infrastructure: temporally-aware knowledge graphs (Zep/Graphiti [2]), Zettelkasten organization (A-MEM [4]), OS-inspired hierarchies (MemoryOS [9]), RL-learned operations (Memory-R1 [10]), and adaptive structure selection (FluxMem [12]). None distinguishes a current preference from a superseded one, recognizes expired logistics, or models an approaching deadline, and existing benchmarks [1] likewise do not measure whether a system can tell current from outdated state.

We introduce Fortunate Recall (FR), a composable lifecycle policy layer that classifies each extracted fact into one of 10+1 behavioral categories (Table 1)—not cognitive types (episodic/semantic/procedural) but behavioral domains that directly determine temporal dynamics—and applies category-specific decay, supersession, event-time validity, and routing policies as deterministic functions. Every retrieval decision is a named term of a single closed-form log-score, with no learned black box mediating lifecycle behavior, at a median 47 µs and empirically linear O(k)O(k) scaling.

Contributions. (1) A behavioral ontology derived from how personal facts change over time, with per-category deterministic lifecycle policies (Table 1). (2) A lifecycle non-identifiability theorem with sufficiency, minimality, and individual-necessity results for the metadata basis (c,κ,ξ,h)(c, \kappa, \xi, h); these are representation-level results about the basis and do not claim the 10+1 partition, the rates, or the pipeline are optimal (§4 scopes each claim). (3) LifecycleBench, a 516-question temporal-disambiguation benchmark over 40 personas with 9 attack vectors, positioned as a dense lifecycle stress test rather than the first benchmark to touch temporal updates. (4) FR-Bank, the infrastructure-independent reference implementation, at 76.9% on LifecycleBench and 75.2% on full LongMemEval-S under the Wu et al. protocol, with end-to-end validation across seven configurations and two generator families under both the answered-query and all-query denominators. (5) An attribution and transfer study separating the stack's two layers: a pre-registered untyped ablation (§6.5), transfer to the independently built BEAM benchmark (§6.6), a six-point granularity sweep, a full metadata-noise grid, and two machine audits of our own judge. Ontology, benchmark, code, pre-registration files, and raw per-question judgments are released and will be made public upon publication.

References (21)