GroundMem: Layered Agent Memory with Evidence Links 20 August 2026

Most agent memory stores history first and governs it afterward, if at all. GroundMem reverses the order: every item is checked on the way in, versioned when it changes, and the system answers “I don’t know” when it has no supporting evidence. This report describes the design, the measured standing against mem0 and cognee, and the approaches that failed. The failures are included because they constrain the design more than the wins do. The measurement sections are dated snapshots; the design sections track the current implementation.

Summary of findings.

1. Problem

Agent memories are predominantly flat token histories or planar entity graphs. Both collapse abstraction levels: a retrieved triple carries no auditable path to its source span, and a summary carries no path to its supporting facts. The survey literature names the consequence directly: no traceable access paths, no verifiable updates, hallucination without abstention (Hu et al., 2026, §7.7). GroundMem is one minimal attempt at that frontier, scoped to factual memory only. It makes no claim on experiential strategies, skills, parametric storage, or privacy controls.

2. Architecture: three layers, one checker

The representation contract has three addressable planes with typed cross-layer edges:

LayerContainsWrite rule
L0 EvidenceImmutable interaction records (episodes, spans)Append-only, never edited
L1 DistilledRelational propositionsAdmitted only through adjudication, with validity windows; updates close windows, never delete
L2 SynthesizedSummaries, communitiesAlways list their sources; can never enter the warranted store
flowchart TB
    subgraph L2["<b>L2 Synthesized</b> · lossy gists, never warranted"]
        direction LR
        G1["<b>Gist</b><br/><span style='font-size:14px'>summary with full source set</span>"]
        G2["<b>Community</b><br/><span style='font-size:14px'>grouped related claims</span>"]
    end

    subgraph L1["<b>L1 Distilled</b> · adjudicated, bitemporal propositions"]
        direction LR
        P1["<b>Proposition</b><br/><span style='font-size:14px'>subject · relation · object<br/>valid from → valid to</span>"]
        P2["<b>Successor</b><br/><span style='font-size:14px'>new value, same relation</span>"]
        P1 -- "succeeded_by<br/>(window closed)" --> P2
    end

    subgraph L0["<b>L0 Evidence</b> · immutable, append-only"]
        direction LR
        E1["<b>Episode</b><br/><span style='font-size:14px'>interaction record</span>"] --- S1["<b>Span</b><br/><span style='font-size:14px'>exact source text</span>"]
    end

    G1 -- "gist membership" --> G2
    G1 == "derived_from" ==> P1
    G2 == "derived_from" ==> P2
    P1 == "sourced_from" ==> S1
    P2 == "sourced_from" ==> S1

    classDef l2 fill:#efe7f8,stroke:#8e6bbf,color:#2b1d3f
    classDef l1 fill:#e2eef6,stroke:#2a6f97,color:#12303f
    classDef l0 fill:#e6f0e0,stroke:#6a994e,color:#1f2f17
    class G1,G2 l2
    class P1,P2 l1
    class E1,S1 l0

Links between layers use a closed, domain-free vocabulary: sourcing (proposition to span), derivation, gist membership, lateral relation, community grouping, and temporal succession with lineage. Every distilled proposition links to at least one source span; every synthesis lists its full source set. Following the double arrows, any returned claim drills to its source span in at most three steps.

2.1 The write path

A single checker adjudicates each candidate proposition. The formal model defines it as a total function over four outcomes: endorse, endorse as redundant, succeed an earlier claim, or refuse with a recorded reason.

flowchart LR
    X["Untrusted input"] --> SP["Split into<br/>atomic assertions"]
    SP --> PR["Propose<br/>conjectured triples"]
    PR --> GT{"Admission<br/>entailment vs cited span"}
    GT -- "fail" --> MISS["Extraction miss<br/>(never repaired)"]
    GT -- "pass" --> AD{"Adjudicator Γ"}
    AD -- "prohibitive norm fires" --> RF["REFUSE<br/>reason recorded"]
    AD -- "same act already active" --> RD["ENDORSE_REDUNDANT<br/>no write"]
    AD -- "same subject, same relation,<br/>different value" --> SU["SUCCEED<br/>close old window,<br/>link lineage"]
    AD -- "otherwise" --> EN["ENDORSE<br/>new proposition"]

Three design decisions:

Governance is packaged as priority-ordered norms with a corroboration lifecycle (for example, dosage-required and recalled-drug-forbidden in a healthcare adapter, citation-shaped identity in a legal one, per-service deploy succession and main-branch-protected in an engineering one). The core stays domain-blind: it reasons about layers, never about patients, drugs, or contracts.

2.2 The read path

Reading is read-only and cited, through seven operations: overviews that start at syntheses, drill-downs that expand syntheses into propositions and then spans, coverage checks in the reverse direction, lateral walks with temporal and namespace filters, faceted slices by kind or provenance, time travel that reconstructs past states from validity windows, and provenance traces back to source spans for any returned item.

Consultation is deterministic. It filters to the claims of the query’s namespace that hold at the query time, ranks them by Okapi BM25 (k1 1.2, b 0.75) computed over each claim and its source text, optionally fuses semantic and cross-encoder ranks by reciprocal-rank fusion (k 60), and keeps the top 30. Graph traversal is a separate primitive: it seeds entities by name overlap and walks at most two hops, so lateral movement never mixes into retrieval scores. Scores are exposed, so tuning happens in visible parameters rather than in prompt wording, and an empty view returns an explicit empty with a reason, never filler. Every answer-or-abstain decision is recorded with one of five reasons: no claim matched, matching claims none of which holds at the query time, evidence the composer judged insufficient, a reply that cited nothing, or an answer that contradicts a competing holding claim.

Retention is tiered without deletion: hot and cold tiers hold consultation cost flat while every byte stays drillable. The only destructive operation, forget, removes claims, never log entries. Memory is scoped: tenant, application, user and agent stamp every proposition at write time and constrain every read, so one agent’s namespace cannot surface in another agent’s answers.

2.3 Components beyond the three layers

Several pieces the design reviews called for have since landed in the package:

3. Measured standing

All numbers below come from the project’s committed results ledger. Every external comparison uses the same harness, the same seed (42), the same questions, a shared answer composer and a shared token-F1/exact-match scorer. Single-conversation slices are diagnostic and carry no interval; only full runs do.

3.1 LoCoMo, matched slice

October 2026 remeasure on LoCoMo full-QA, conversation 30 (105 questions):

BackendF1EMWall timeNotes
mem0 2.2.10.4350.148223 sverbose partials
GroundMem0.4230.247594 shighest exact match
cognee 1.6.20.3210.037706 supstream regression noted in log

Bar chart of F1 and exact match on LoCoMo 105 questions for GroundMem, mem0 and cognee

The gap to mem0 on F1 is 0.012, about two questions. cognee fell from 0.443 to 0.321 on version 1.6.2 because its temporal search path raises QueryInterval validation errors and degrades silently; that is an upstream bug, not a harness artifact.

3.2 HaluMem, where abstention is scored

HaluMem QA probes whether a memory system answers, corrects, or refuses. Twenty seeded sessions yield 70 questions across five types.

SliceGroundMemcognee 1.6.2mem0 2.2.1
All (70)0.4570.4000.386
Memory Boundary (13)1.0000.7691.000
Basic Fact Recall (12)0.5000.5000.333
Generalization (13)0.3850.1540.385
Dynamic Update (11)0.2730.2730.273
Memory Conflict (21)0.2380.3330.095

Grouped bars of HaluMem QA score per question type for three backends

Per-slice notes:

On the doubled-length, distractor-packed variant (HaluMem-Long, 81 questions), the overall score is flat (0.469 vs 0.457) and boundary stays at 21 of 21. What collapses is generalization, from 0.385 to 0.150: near-miss evidence outranks the gold turn and the composer answers confidently from it. The degradation is confined to one question type.

3.3 Off the tuning slice

The LoCoMo table above is on the conversation the system was tuned against. The next two tables are not.

ConversationGroundMem F1 / EMmem0 F1 / EMcognee F1 / EM
conv-30 (105Q, tuning)0.405 / 0.2590.471 / 0.2100.399 / 0.099
conv-44 (158Q)0.289 / 0.1220.411 / 0.146timeout
conv-43 (242Q)0.332 / 0.1630.444 / 0.2300.386 / 0.101

Grouped bars of F1 across LoCoMo conversations showing GroundMem behind mem0 off the tuning slice

Across the full corpus (10 conversations, 1,986 questions, per-sample store reset), each backend with its intended configuration:

BackendF1EMDate EMadv_cleanEvidence linesContext tokensWall
mem0 @ 200.4110.1550.1800.9912~330~4.1 h
fullctx (base model, no memory)0.3900.0640.0870.9591,738~21,700~3.6 h
cognee GRAPH_COMPLETION @ 200.3520.0550.0870.8721,608~21,200~4.2 h
GroundMem llm @ 10.3000.1080.1220.99120~1,350~2.9 h

Horizontal bars of full-corpus F1 per backend with context token cost

Three observations. First, a base model reading the raw conversation beats GroundMem on F1 (0.390 vs 0.300), which means retrieval and extraction destroy more information than the composer rules recover once the question is off the tuning slice. Second, GroundMem keeps its edges where the design predicts them: exact match over raw context (0.108 vs 0.064, driven by deterministic date handling) and abstention honesty (0.991 vs 0.959, because the base model hallucinates on about 4 percent of adversarial probes). Third, mem0 leads F1 while answering from about 330 tokens, a result GroundMem does not match on cost either.

The first full-corpus run measured all ten conversations through one accumulating store and scored 0.286. A per-sample reset re-measured it at 0.300, with 9 questions fixed and 6 newly broken. The contamination effect is small, since retrieval is entity-anchored and foreign facts rarely surface. The invalidated number is kept in the ledger as a bound on the artifact, not deleted.

3.4 Where the errors come from

The 1,986-question GroundMem run produced a classified failure split:

Horizontal bars of failure categories: temporal_drop 649, abstention_miss 495, resolution_split 165, extraction_miss 59, retrieval_miss 7

Of 1,375 classified failures, only 7 are retrieval misses and 59 are extraction misses. The mass is in temporal handling (649) and composer abstentions (495). Most failures come from composing and dating answers, not from finding or extracting the fact, though coverage@K below shows evidence is still incomplete.

A 20-case manual audit of strong-coverage abstentions, each with evidence read in full, gives the mechanisms:

MechanismCases of 20Example
Distractor saturation or rank miss7other franchises outrank “Harry Potter”; phrasal fragments for “take up painting”
Date-mismatch caution4aerial yoga logged Dec 2022, asked about Dec 2023
Multi-hop or joint synthesis4answer spans two lines or two people’s records
Temporal scoping2outdated drum history outranks the as-of fact
Inference gap2residence implied by a family photo, never stated

A shrink-and-test control found that no case was fixed by simply supplying more evidence. The ranking-side classes (distractor saturation, temporal scoping) form the addressable plurality: 9 of 20.

Evidence coverage measured offline from the recorded composer log (n = 1,576 matched questions) shows how slowly a wider window pays:

Line chart of evidence coverage at K: 0.181 at K=1, 0.302 at K=5, 0.363 at K=10, 0.423 at K=20

The offline pipeline reproduces the manifest F1 (0.294 vs 0.300) and gives the first interval on a headline number: bootstrap 95% CI [0.275, 0.311].

3.5 What produces the lead on the tuning slice

An ablation disabled the deterministic date-answer rules (COMPOSER_NO_OVERRIDE=1) on a 12-question slice, leaving pure retrieval plus the LLM composer.

Bars of 12-question F1: GroundMem with date rules 0.705, without 0.556, graphiti 0.644, mem0 0.645, cognee 0.623

The rules contribute about +0.11 F1 and +0.17 EM. Without them GroundMem trails every external system on the slice. The LLM misreads dates even when the right facts are present (“next month” resolved from a raw span; “27 January” off by one day). So the lead on the tuning slice comes from validator-first date handling, not from superior retrieval. The design intends this, but the tuning-slice table should not be read as a retrieval win.

3.6 Trust is model-dependent

The same pipeline was run on Qwen3-4B (a Kaggle 2×T4 server behind vLLM) to test whether the architecture or the model carries the abstention behavior.

MetricGemmaQwen3-4B
105Q F10.4230.359
105Q EM0.2470.136
Resolution splits1634
Abstentions (105Q)not tabulated0
Boundary probes answered wrongly—13 of 13
Naive lexical floor F1—0.198

Bars comparing GroundMem F1 and EM on Gemma and Qwen3-4B

The SLM tax is about 0.06 F1 with coverage intact (3 extraction misses, same as before). But the 4B model answers everything, including all 13 boundary probes, wrongly. The trust story is model-dependent, not architecture-guaranteed. Memory still beats the lexical floor by +0.161 F1 on the same model.

The competitor cells on this hardware are blocked, and the reasons are specific. mem0’s extraction scaffold alone is about 7.9K input tokens (a 12K server context is required; the T4 ceiling is 8K usable). Qwen malforms mem0’s update-decision envelope about 21 times per 369-turn run, silently dropping facts. cognee’s single subtasks exceed a 100-second origin timeout at T4 throughput. A vendor system needs its vendor’s native context and throughput, not just ours.

3.7 Retrieval ceiling

LoCoMo QA rewards end-to-end answering and never probes the retriever. The LoCoMo-Plus probe isolates first-stage retrieval on 401 cue-to-trigger pairs with a closed corpus and the same embedder (bge-small-en-v1.5):

RankerMRRR@1R@5R@20Mean rank
dense (bge-small)0.0440.0100.0550.157115.0
BM250.0120.0000.0050.042212.1
RRF dense + BM250.0250.0020.0220.090142.7

Grouped bars of recall at 1, 5 and 20 for dense, BM25 and RRF on the LoCoMo-Plus probe

First-stage retrieval is nearly blind on time-gap relational pairs. This reproduces the original benchmark’s finding with an independent stack, and fusion does not rescue it. It is the likeliest ceiling on full-QA, since relationally linked evidence never reaches the answerer. A parallel preference-retention probe (113 items) found retention at 0.088 with no distractors, decaying to 0.044 at 50. The mean gold rank stays near 0 to 2, so ranking is fine; coverage is the disease, because preference questions share no content tokens with the stored fact (“bakeries” vs “gluten-free diet”).

3.8 Unsupported claims and cost

The hallucination side of the contribution is measured with a claim-level metric: a claim sentence is supported when half its content tokens meet in a single evidence line.

SystemClaimsUnsupportedRate
GroundMem, heuristic v1 (full corpus)1,063610.057
GroundMem, judge-calibrated1,063490.046
base model, full context (12-Q)1230.250

The heuristic overcounts by about 20 percent; a cached-verdict LLM judge rescues paraphrase-supported claims. A citation-precision proxy (one minus the unsupported rate) reads 0.954 for GroundMem versus 0.750 for the base model, though the base-model sample is only 12 claims and the judge numbers await a human spot-check and a kappa gate before they count as claims. These numbers are calibration, not results.

Cost sits beside quality because the 2026 survey found only about a fifth of memory papers report any efficiency metric. GroundMem answers from roughly 1,350 context tokens against about 21,700 for raw context, a 16-fold reduction, and finishes the full corpus in about 2.9 hours versus 3.6 to 4.2 for the others. mem0 is cheaper still on context (about 330 tokens), so cost does not rescue the F1 deficit.

3.9 Judge accuracy versus exact match

Exact match understates capability. Re-scoring the compact-configuration 12-question run with a rubric judge gives accuracy 0.667 (8 of 12) against EM 0.500; the gap is exactly the two partial-credit answers. The judge model equals the composer model, so same-model bias is declared and the calibration gate applies before any claim is made.

4. What did not work

Each negative below removed an option from the design space. The repository’s negatives file now carries twenty entries (span threshold 0.5, destructive succession, dual grounding paths, per-sentence LLM ingestion at 700 or more calls per conversation, a rule-based extractor yielding 5 propositions from 369 turns, a gate ablation that tied at 1.00 on clean data because nothing hallucinated, and others). The restudy round added the following.

4.1 Retrieval and ranking

4.2 Composition

4.3 Extraction

4.4 Long-context scale

4.5 Succession: the mechanism behind the update slice

Fifty original-to-updated pairs from HaluMem were replayed through a fresh store, then classified.

Horizontal bars: 11 superseded, 36 stale, 3 lost

The succession rate over extracted pairs is 0.234. Extraction is fine (47 of 50 stored both sides). The failure is closure: adjudication compares raw relation strings, but the LLM emits tense and paraphrase variants across turns (“explored” vs “is exploring”, “had” vs “has”), so both facts stay active. This is the mechanistic root of the 0.273 dynamic-update score.

The obvious fix, a head-verb canonicalization, was tried and reverted:

ConfigurationSuccession rate12-Q F1
Baseline0.2340.719
Head-verb canon, unguarded0.4040.528
Head-verb canon, guarded0.2770.665

The unguarded rule raises succession from 0.234 to 0.404 and costs 0.19 F1, because relations packed with their complements make “same act” undecidable lexically. Typed relations have since landed as the replacement: kinds, single-valued slots and qualifiers decide which held claim a new claim replaces, with a Relate judge for the ambiguous cases. The numbers above predate that change, and the frozen-split measurement is what would settle it.

4.6 The pattern

Prompt-level rules are noise-fragile, lexical fixes fail where the phenomenon is semantic, and anything that spends the abstention budget must carry its hallucination measurement with it.

Three 2025 to 2026 systems are the closest relatives. All three were checked against the full paper text (arXiv HTML versions).

A-MEM (Xu et al., 2025) builds Zettelkasten-style atomic notes with LLM-generated context, links and memory evolution. It reports an 85 to 93 percent token reduction against baselines on LoCoMo. Every interaction becomes a note, with no admission step. Evolution is destructive: the evolved note “replaces the original memory”, with a timestamp but no validity interval. Notes keep their original interaction content, which gives partial provenance. Its metrics are F1, BLEU, ROUGE, METEOR and SBERT similarity; the LoCoMo adversarial category is a question type, not a memory-side abstention mechanism. The two ideas compose rather than compete: A-MEM’s linking could sit above an adjudicated store.

PISA (Jia et al., 2025) maps Piaget’s assimilation and accommodation onto three update modes (schema updation, evolution, creation). Schemas start from templates derived from the agent’s goal with empty values and are then created at runtime. Matching uses similarity thresholds (0.70 at schema level), which route an experience to update or create but do not refuse it. Each schema entry carries an Experience ID linking to its source event, so provenance is present. Conflicts deactivate losing records without retaining them as history. Evaluation uses LLM-judged accuracy on LoCoMo and its own AggQA benchmark, with no abstention or hallucination metric.

Memanto (Abtahi et al., 2026) uses thirteen predefined memory categories. A built-in conflict check flags contradictions between same-type memories and asks the agent to supersede, retain or annotate before the contradiction is persisted, which is a write-time gate. It defines the “Memory Tax” as the cumulative increase in compute cost, latency and system complexity. All accuracy figures use Claude Sonnet 4 as judge, a different metric from token-F1, so the numbers should never be compared raw. Provenance is listed as a design goal; the architecture sections do not describe how it is stored. No abstention or hallucination rates are reported.

PropertyA-MEMPISAMemantoGroundMem
Write-time gatenone, every interaction storedsimilarity routing, no refusalconflict check, agent resolvesadjudicator with 4 outcomes and recorded refusal reasons
Superseded factsoverwrittendeactivatedsupersede, retain or annotateclosed validity window, lineage kept
Source provenanceoriginal content storedExperience ID linkstated goal, mechanism not describedspan link required, drill-down in at most 3 steps
Abstention or hallucination metricnonenonenoneboundary probes, unsupported-claim rate
Primary accuracy metricF1, BLEU, ROUGELLM judgeLLM judgetoken-F1, EM, partly judge-checked

Memanto is the closest relative on the write side, so the claim here is narrower than “no one gates writes”. None of the three reports abstention or unsupported-claim accounting alongside its gate, and none enforces a closed cross-layer link vocabulary or priority-ordered domain norms. That combination is what this report defends.

6. Threats to validity

7. Next steps

In order: a frozen-split measurement of the typed-relation succession path on the 36 stale pairs (the mechanism has landed; see §4.5); composer selection among good evidence (the exposed bottleneck after ranking fixes); formal model definitions with multi-model evaluation; one unified ablation table (configuration by F1, exact match, abstention, cost); and judge accuracy reported next to exact match everywhere.

Three claims would each constitute a publishable unit if they held at full-suite scale: citation precision at matched recall, temporal reconstruction accuracy, and unsupported-claim rate at bounded abstention cost. None is claimed as held yet. The supportable statement today: date precision and abstention honesty at lower cost than raw context, with F1 below the best baseline.

References

  1. Hu, Y. et al. (2026). Memory in the Age of AI Agents. https://arxiv.org/abs/2512.13564
  2. Maharana, A. et al. (2024). LoCoMo: Evaluating Very Long-Term Conversational Memory. https://arxiv.org/abs/2402.17753
  3. Xu, W. et al. (2025). A-MEM: Agentic Memory for LLM Agents. https://arxiv.org/abs/2502.12110
  4. Jia, S. et al. (2025). PISA: A Pragmatic Psych-Inspired Unified Memory System. https://arxiv.org/abs/2510.15966
  5. Abtahi, S. M. et al. (2026). Memanto: Typed Semantic Memory with Information-Theoretic Retrieval.