11 minute read

A filing cabinet with index cards ranging from crisp white to yellowed, representing memory truth decay over time

TL;DR: Most agent memory layers store what an LLM extracted from a conversation, not the conversation itself, so memory can drift from what was actually said. MemMachine (arXiv 2604.04853) keeps raw conversational episodes as ground truth and puts its effort into retrieval. It does not solve the second kind of drift, facts that were true when stored and have since changed, which matters for persistent agent memory and hierarchical memory stacks alike.


Your agent remembers what it extracted, not what you said

Personalized agents are the product direction every major lab is pursuing. An agent that remembers your preferences, your projects, your communication style, your team structure, and uses that context to act on your behalf. The memory architectures to support this exist: Memori achieves 20x token efficiency with semantic triples, Mem0 manages conversational memory, MemGPT implements hierarchical working and long-term memory.

Most of these systems share one design choice. When a conversation happens, an LLM reads it and writes down what it thinks matters: a fact, a triple, a summary. The system stores the extract, and later retrieval works from the extract. MemMachine, an open-source memory system from MemVerge described in an April 2026 paper (arXiv 2604.04853), argues that this step is where memory starts to drift from the truth. LLM extraction is probabilistic. It drops details, misreads context, and its errors compound as later updates merge with and overwrite earlier extracts. It is also expensive, because every message costs an LLM call.

There is a second way memory drifts from the truth, which no extraction strategy fixes on its own: the fact was right when stored, and the world changed. You told the agent you work at Company A. You changed jobs three months ago. The agent still introduces you as working at Company A in every outbound email it drafts. This post calls that truth decay. MemMachine addresses the first problem directly and the second only partly.

How MemMachine preserves ground truth

MemMachine’s answer is to keep the raw record and put the intelligence into retrieval. It is built from a raw episode store and three memory layers on top of it:

  • Episodes as the source of truth. Every conversational turn is stored as an episode with its producer (user, agent or system), timestamp, session ID and optional metadata, in a central database.
  • Short-term memory. A window of the most recent episodes plus LLM-generated summaries of the session, available without a retrieval step.
  • Long-term episodic memory. Episodes that leave the short-term window are split into sentences, and each sentence is embedded and linked back to the episode it came from. Storage uses PostgreSQL with pgvector, plus Neo4j for graph traversal.
  • Profile memory. LLM-extracted user facts and preferences in SQL, used for personalization. When new information contradicts a stored profile fact, the profile can be updated to the latest state.

Retrieval is where the design pays off. MemMachine uses contextualized retrieval: a query first finds the best-matching “nucleus” episode, then pulls in its neighbors (one turn before, two after) to form an episode cluster. Clusters are reranked and the top ones go to the LLM. In conversation, the turn that holds an answer often makes sense only next to the turns around it, and plain embedding search tends to miss those neighbors.

The design reserves LLM calls for summaries and profile abstraction instead of running extraction on every message. The paper reports that this uses roughly 80% fewer input tokens than Mem0 under matched conditions.

graph TD
    A[New message] --> B[Episode store: raw turn + metadata]
    B --> C[Short-term memory: recent episodes + session summary]
    B --> D[Long-term memory: sentence index + embeddings]
    B --> E[Profile memory: LLM-extracted user facts]
    Q[Query] --> F[Find nucleus episode]
    D --> F
    F --> G[Add neighboring turns to form a cluster]
    G --> H[Rerank clusters]
    H --> I[Context for the LLM]
    C --> I
    E --> I

    style B fill:#4caf50,color:#fff

What the benchmarks show

  • LoCoMo: 0.9169 with gpt-4.1-mini. With gpt-4o-mini, used to match published baselines, MemMachine scored 0.8747, ahead of Memobase (0.7578), Zep (0.7514) and Mem0 (0.6688) in the paper’s comparison. Single-hop questions scored highest (0.9465); temporal questions trailed Memobase (0.7352 against 0.8505).
  • LongMemEval-S: 93.0% in the best configuration of a six-dimension ablation, with GPT-5-mini as the answer model. Retrieval-stage changes mattered most: retrieval depth (+4.2%), context formatting (+2.0%), search prompt design (+1.8%) and query bias correction (+1.4%), against +0.8% for sentence chunking at ingestion. GPT-5-mini beat GPT-5 by 2.6% once prompts were tuned.

Read these as vendor results. MemVerge builds MemMachine, the paper notes that its cross-system comparisons mix re-run results with numbers other teams published, and the scores are sensitive to the evaluation model and prompts. The ablation’s main lesson still supports the architecture: how memory is recalled mattered more than how it was stored, as long as storage kept the original record.

How other memory systems handle changed facts

The claim that agent memory systems ignore change entirely does not hold up. They handle it in different ways, all triggered by new information:

System What it stores How changed facts are handled
Mem0 LLM-extracted memories An LLM decides whether each new fact adds to, updates or deletes an existing memory
Zep Temporal knowledge graph built by LLM extraction Outdated facts are marked invalid with timestamps rather than deleted
MemGPT Tiered context that the agent manages itself The agent edits its own memory through function calls
MemMachine Raw episodes, a sentence index and profile facts Profile facts can be updated to the latest state; episodes are timestamped and searchable by time

What none of them does by default, as far as their papers describe, is go back and re-check a fact that nothing has contradicted yet. That is the gap truth decay lives in.

Where truth decay causes real damage

Truth decay is not just an inconvenience. In agentic systems with tool access, stale facts lead to wrong actions.

Personalized assistants: An agent with calendar management that remembers your meeting preferences from six months ago will schedule meetings at times that no longer work, with people you no longer work with, in rooms that have been reassigned.

CRM agents: An agent that remembers a customer’s company size, contract tier, and decision-maker from the initial onboarding will generate proposals, pricing, and outreach based on information that has drifted since.

Coaching and wellness agents: An agent tracking health goals, dietary restrictions, or fitness routines based on initial input will continue recommending protocols that the user has moved beyond or that conflict with updated medical advice.

In each case, the failure mode is not “the agent forgot.” The failure mode is “the agent remembered confidently and acted on stale information.” The confidence is the problem: most memory layers store a fact without any notion of how long it stays valid or how sure the agent should be about it today.

What MemMachine leaves open

MemMachine does not assign confidence scores that decay over time, does not schedule re-verification of stored facts, and does not keep a version history of profile facts. The paper lists memory consolidation and forgetting, including retiring stale information, as future work.

Its raw episode store still helps. Because the original turns are kept with timestamps, an agent can retrieve both “I work at Company A” from January and “I just joined Company B” from March and reason about the change, as long as retrieval surfaces both. Deciding what to keep, demote or drop over time is a separate design problem, covered in what to forget.

Implementing truth-aware memory in practice

MemMachine’s code is open source, and its core lesson applies to any memory layer. The staleness layer has to be built on top. The steps below are a practical design, not part of MemMachine.

Step 1: Keep the raw record. Store the original turns or documents next to any extracted fact, with a pointer from each fact to its source. Extraction errors become fixable, and you can re-extract when your extraction prompt improves.

Step 2: Add timestamps to every stored fact. Not just “when was this stored” but “when was this last confirmed.” The difference between a fact stored two months ago and confirmed yesterday versus stored two months ago and never re-verified is the difference between reliable and dangerous.

Step 3: Categorize facts by volatility. Tag each fact with a decay category, for example stable (name, native language), semi-stable (employer, city), volatile (current project, preferences) and ephemeral (today’s schedule, which should not persist at all). Use the category to set re-verification intervals. This is a one-time classification pass over your existing memory store.

Step 4: Implement contradiction detection on new information. When the agent ingests new data (conversation, document, API response), check whether it contradicts existing stored facts. This does not require a complex system; an LLM prompt comparing new information against high-priority stored facts is sufficient as a starting point.

Step 5: Version facts instead of overwriting. When a fact changes, preserve the history. “User moved from Company A to Company B in March 2026” is more useful than simply replacing Company A with Company B. The history enables the agent to reason about change patterns over time, and to ask “I have you at Company A from four months ago; is that still right?” when a volatile fact is overdue for a check.

Key takeaways

  • Most agent memory layers store LLM-extracted facts, triples or summaries, so memory can drift from what the user actually said
  • MemMachine (arXiv 2604.04853) keeps raw conversational episodes as ground truth, indexes them by sentence, and retrieves them with neighboring turns, alongside short-term and profile memory
  • It reports 0.9169 on LoCoMo (gpt-4.1-mini) and 93.0% on LongMemEval-S, with roughly 80% fewer input tokens than Mem0; these are vendor results with partly published rather than re-run baselines
  • Retrieval-stage tuning moved accuracy more than ingestion-stage changes, provided the original record was kept
  • MemMachine does not check whether facts have gone stale; timestamps, volatility categories, contradiction checks and versioned facts are still yours to build

FAQ

What does ground-truth-preserving mean in MemMachine? Every conversational turn is stored as a raw episode with its metadata and indexed by sentence. Summaries and profile facts sit on top of that record instead of replacing it, and LLM calls are reserved for summaries and profile abstraction rather than per-message extraction.

How is this different from Memori or Mem0? Memori extracts semantic triples and Mem0 extracts facts with an LLM at write time, then stores the extracts. MemMachine keeps the raw episodes as the primary record and invests in retrieval, which its paper says costs roughly 80% fewer input tokens than Mem0 under matched conditions.

Does MemMachine detect stale facts? Only partly. Profile facts can be updated when new information contradicts them, and episodes are timestamped. There is no confidence decay, scheduled re-verification or fact versioning; the paper lists retiring stale information as future work.

Can I implement truth-aware memory without MemMachine? Yes. Keep the raw record next to extracted facts, timestamp every fact with a “last confirmed” date, categorize facts by volatility, detect contradictions when new information arrives, and version facts instead of overwriting. These steps apply to any existing memory architecture.

Further reading