This separation directly matches a common systems pattern: keep short-lived dialogue state separate from durable knowledge, because mixing them increases the risk of stale context being treated as long-term truth and creates cross-session contamination. In the absence of a single universally accepted memory taxonomy for agents, Iβd treat this as a design prior that you validate empirically (see the benchmark/preregistration section below).
Write: store raw events selectively, with provenance and access policy. I use an explicit write gate so the system does not accumulate low-trust or redundant memories.
Retrieve: rank by task relevance, recency, confidence, and authorizationβnot similarity alone. I also enforce a trust gate so untrusted memories are not allowed to directly drive high-stakes actions.
Reflect: periodically consolidate repeated, corroborated events into semantic records, but only when the consolidated form can be traced back to evidence.
Forget: expire stale, contradicted, sensitive, or low-value entries, and actively handle memory mutation (updates that invalidate earlier facts). Forgetting-aware evaluation is important because agents often still reuse invalid memories unless explicitly penalized (e.g., via FAMA).
Verify: show the agent the evidence behind consequential memories before acting.
Concrete example policy (still worth benchmarking): write only if (1) the memory item is supported by at least one reliable signal (tool output, user confirmation, or deterministic calculation), (2) it passes privacy gating, and (3) it is either novel enough to justify storage budget or necessary to reconcile future updates. Delete/disable if (1) the item is later contradicted by higher-trust evidence, (2) it is outside the retention horizon, or (3) its provenance becomes invalid. This is exactly the failure mode targeted by forgetting-aware memory evaluation.
On the βdecay helps, but isnβt magicβ point: in long-term memory evaluation, the key failure mode is often not that decay is absent, but that agents continue to use invalidated memories. For example, Memora (with its Forgetting-Aware Memory Accuracy metric) reports frequent reliance on obsolete/invalidated memories and poor reconciliation with updated memory states, motivating explicit forgetting-aware evaluation rather than assuming any single mechanism (e.g., decay alone) yields correctness.
Goal: estimate which memory policy (stratified vs flat vs decaying) improves task success without increasing contamination or privacy risk, under fixed model + retrieval budget + write/forget rules.
For any persistent memory, treat write quality and retention safety as security properties, not just performance properties. A 2026 study on memory poisoning attacks on memory-augmented LLM agents evaluates robustness under realistic conditions and introduces defenses that combine (1) input/output moderation using composite trust scoring, and (2) trust-aware memory sanitization using temporal decay plus pattern-based filtering.
What to measure in your benchmark (minimum set): (i) the fraction of retrievals that are dominated by low-trust/expired memories, (ii) false-positive moderation/sanitization rate (dropping legitimate memories), (iii) time-to-recovery after memory updates/deletions, and (iv) performance under bounded write budgets (to force trade-offs between βremember moreβ and βremember safelyβ).
So in your benchmark, control and report: (i) how many βuntrustedβ writes are allowed, (ii) how often retrieval touches low-trust or expired items, (iii) the false-positive rate of moderation/sanitization (legitimate entries blocked), and (iv) the time gap between injection and harmful effect.
Confidence: moderate for the stratified architecture as a sensible engineering prior; low-to-moderate for βwhich policy is best,β because robust conclusions require benchmark designs that penalize obsolete memory use, decompose memory quality from answer quality, and measure poisoning/decay trade-offs.
There is no single βbestβ memory policy in the abstract; the best approach is the one that survives controlled stress tests (mutation/obsolescence, corruption/poisoning, and privacy constraints) under a fixed retrieval and write budget. As a design prior, use a layered memory (working/episodic/semantic/institutional) with explicit write/retrieve/forget/verify gates, then pick the specific topology/decay/consolidation policy via preregistered benchmarks such as forgetting-aware evaluation (FAMA) and poisoning-robustness evaluation.
Know what changed, what holds up, and what remains uncertain. Every Friday. No ads.