MGMem: An Efficient, Deterministic, and Provenance-Preserving Framework for Long-Horizon Agent Memory

arXiv cs.CL Papers

Summary

MGMem is a framework for long-horizon LLM agent memory that replaces costly, non-deterministic generative indexing calls with a deterministic discriminative-parser pipeline using an incidence graph and subject-conditioned resolver, outperforming baselines on LoCoMo and remaining competitive on LongMemEval-S.

arXiv:2611.33174v1 Announce Type: new Abstract: Long-horizon Large Language Model (LLM) agents need persistent memory that surfaces the right past interaction at the right time across thousands of turns. Many systems index by invoking generative LLMs to rewrite history into summaries, facts, or knowledge graphs--a step that is (a) costly (thousands of generative calls per build), (b) non-deterministic (undermining reproducibility and giving inconsistent answers across runs), and (c) provenance-erasing (the reader sees synthesized text, not the original turn). We propose MGMem, a framework with no generative indexing calls that replaces this step with a deterministic discriminative-parser pipeline: recurring mentions across sessions are organized into an incidence graph, question mentions are resolved by a subject-conditioned three-stage resolver, and raw dialogue episodes are returned to the reader. On English multi-session dialogue QA, MGMem outperforms matched-protocol baselines on LoCoMo without generative indexing calls; on the full LongMemEval-S, it remains competitive overall and leads or ties on single-session types among local retrieval comparisons. Code: https://github.com/junhong-h/MGMem
Original Article
View Cached Full Text

Cached at: 11/26/26, 09:30 AM

# MGMem: An Efficient, Deterministic, and Provenance-Preserving Framework for Long-Horizon Agent Memory
Source: [https://arxiv.org/html/2611.33174](https://arxiv.org/html/2611.33174)
Junhong HuangAffiliation:The Hong Kong University of Science and Technology \(Guangzhou\)Email:[jhuang341@connect\.hkust\-gz\.edu\.cn](mailto:)Xin TongAffiliation:The Hong Kong University of Science and Technology \(Guangzhou\)Affiliation:The Hong Kong University of Science and TechnologyEmail:[xint@hkust\-gz\.edu\.cn](mailto:)Jun Xia††thanks:Corresponding author\.Affiliation:The Hong Kong University of Science and Technology \(Guangzhou\)Affiliation:The Hong Kong University of Science and TechnologyEmail:[junxia@hkust\-gz\.edu\.cn](mailto:)

###### Abstract

Long\-horizon Large Language Model \(LLM\) agents need persistent memory that surfaces the right past interaction at the right time across thousands of turns\. Many systems index by invoking generative LLMs to rewrite history into summaries, facts, or knowledge graphs—a step that is \(a\) costly \(thousands of generative calls per build\), \(b\) non\-deterministic \(undermining reproducibility and giving inconsistent answers across runs\), and \(c\) provenance\-erasing \(the reader sees synthesized text, not the original turn\)\. We propose MGMem, a framework with no generative indexing calls that replaces this step with a deterministic discriminative\-parser pipeline: recurring mentions across sessions are organized into an incidence graph, question mentions are resolved by a subject\-conditioned three\-stage resolver, and raw dialogue episodes are returned to the reader\. On English multi\-session dialogue QA, MGMem outperforms matched\-protocol baselines on LoCoMo without generative indexing calls; on the full LongMemEval\-S, it remains competitive overall and leads or ties on single\-session types among local retrieval comparisons\. code:[https://github\.com/junhong\-h/MGMem](https://github.com/junhong-h/MGMem)\.

## 1Introduction

Figure 1:Generative indexing calls vs\. LoCoMo accuracy\. Updated local results use three\-run means;†denotes quoted references \(Section[4\.2](https://arxiv.org/html/2611.33174#S4.SS2)\)\.Long\-horizon Large Language Model \(LLM\) agents—conversational companions, productivity assistants, multi\-agent systems—are increasingly expected to remember interactions that span days, weeks, and months\([Packer et al\., 2023](https://arxiv.org/html/2611.33174#bib.bib3);[Maharana et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib4);[Wu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib5)\)\. Because language models are stateless beyond their context window, sustained interaction requires either ever\-longer prompts—expensive, vulnerable to lost\-in\-the\-middle effects that drop information from long contexts\([Liu et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib1);[Laban et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib2)\), and prone to LLM\-side hallucination as context length stresses the model’s capacity—or an external memory system that indexes past interactions and surfaces the right episode at query time\.

The dominant design pattern for such indexed memory is*generate\-then\-retrieve*: a generative LLM rewrites past interactions into summaries, facts, or knowledge graphs that the retriever then indexes\([Zhong et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib6);[Xu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib7);[Kang et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib8);[Chhikara et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib10);[Edge et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib15);[Gutiérrez et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib17)\)\. This places generative LLM inference on the indexing path: new interactions require extraction or rewriting calls, and the artifact that the reader ultimately consumes is no longer a turn from the original interaction\.

This generative indexing step incurs three concrete drawbacks\.\(a\) Cost\.Building memory for ten LoCoMo conversations requires309309–6,0816\{,\}081generative indexing calls on average in our local runs of LightMem, AnchorMem, and EMem; complete build times range from984984to2,8162\{,\}816seconds \(Table[3](https://arxiv.org/html/2611.33174#S4.T3)\)\.\(b\) Non\-determinism\.Generative inference yields different summaries, facts, or graphs on repeated runs of the same input, so two indexing passes over the same dialogue may produce two different memories—and two different downstream answers, further undermining reproducibility, complicating debugging and ablation attribution, and giving end users an inconsistent agent across sessions\.\(c\) Loss of provenance\.The reader consumes synthesized text rather than the original interaction; the trace from a returned answer back to the dialogue turn that supports it is broken or indirect\.

We propose MGMem, a framework with no generative indexing calls for long\-horizon agent memory that addresses all three drawbacks\. MGMem replaces the generative indexing step with a deterministic discriminative\-parser mention extractor, organizes recurring mentions across sessions into an incidence graph, and returns the original dialogue episodes to the reader so that the audit trail from answer to source is preserved by construction\. The framework is*efficient*\(zero generative LLM calls during indexing\),*deterministic*\(the same input produces the same index\), and*provenance\-preserving*\(the reader sees raw dialogue episodes, never synthesized text\)\. Figure[1](https://arxiv.org/html/2611.33174#S1.F1)positions MGMem on the indexing\-cost vs\. end\-to\-end QA\-accuracy plane, where it combines high accuracy with zero generative indexing calls\.

Figure 2:An illustrative example of how three memory paradigms handle the same query\.#### Contributions\.

- \(1\)MGMem provides a memory\-system architecture that is simultaneously efficient \(zero generative indexing calls\), deterministic, and provenance\-preserving \(raw dialogue episodes are returned to the reader\)\.
- \(2\)We introduce a subject\-conditioned three\-stage resolver \(exact→\\tosubject\-local bridge→\\tofull\-graph bridge\) over an incidence graph of mention recurrence, with a stratified analysis pinpointing when the surface\-recurrence prior is informative\.
- \(3\)On English multi\-session dialogue QA in LoCoMo, three locally matched runs yield75\.89±0\.10%75\.89\\pm 0\.10\\%accuracy \(\+2\.60\+2\.60pp over EMem;\+9\.27\+9\.27pp over Hybrid\) with zero generative indexing calls; on LongMemEval\-S, MGMem remains competitive overall and leads or ties on single\-session types among local retrieval comparisons \(Appendix[G](https://arxiv.org/html/2611.33174#A7)\)\.

## 2Related Work

#### Long\-horizon memory for LLM agents\.

Memory systems for multi\-session dialogue differ in what they store and how aggressively they rewrite the interaction stream, with many adopting generative LLMs to produce the artifacts—notes, facts, summaries, hierarchical abstractions—that the reader consumes at query time\. A context\-extension family pages or retrieves dialogue itself\([Packer et al\., 2023](https://arxiv.org/html/2611.33174#bib.bib3);[Zhong et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib6)\); a rewriting family compresses the stream into structured artifacts—A\-Mem\([Xu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib7)\)into evolving notes, Mem0\([Chhikara et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib10)\)into compact facts and graph memories, MemoryOS\([Kang et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib8)\)and MemOS\([Li et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib9)\)into system\-level memory tiers, LightMem\([Fang et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib11)\)into compressed summary streams; and a reference\-indexing family explores finer units—AnchorMem\([Shen et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib12)\)atomic facts with preserved contexts, EMem\([Zhou and Han, 2025](https://arxiv.org/html/2611.33174#bib.bib18)\)event\-like EDUs, HyperMem\([Yue et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib19)\)hyperedges over topics, episodes, and facts\. For systems with LLM\-generated indexing targets, cost, non\-determinism, and indirect provenance enter during memory construction\.

#### Graph\- and IDF\-based retrieval\.

A second line of work organizes retrieval through graph structure or surface\-text statistics over a static external corpus: classical sparse retrieval grounded in Inverse Document Frequency \(IDF\) weighting\([Robertson and Zaragoza, 2009](https://arxiv.org/html/2611.33174#bib.bib22)\), the Retrieval\-Augmented Generation \(RAG\) family that pairs such retrievers with a downstream reader\([Gao et al\., 2023](https://arxiv.org/html/2611.33174#bib.bib14)\), and graph\-based extensions such as GraphRAG\([Edge et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib15)\), LightRAG\([Guo et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib16)\), and HippoRAG\([Gutiérrez et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib17)\)that build entity or community graphs from documents and traverse them with personalized PageRank or graph summaries\. These methods establish that surface and structural priors carry strong retrieval signal, but they operate over corpora that are external to the agent and stable across queries\.

#### Positioning\.

MGMem draws on both lines: it adopts the IDF\-style scoring and graph\-traversal access patterns from the second, and targets the multi\-session, user\-specific interaction stream studied by the first\. The point of departure is the indexing target\. Rather than organizing external documents by general semantic similarity or compressing dialogue through a generative LLM, MGMem indexes raw dialogue episodes by deterministic recurrence of user\-specific mentions—a friend, a recurring activity, a project name—and returns the original episodes to the reader, so that the resulting memory is personalized by construction, reproducible, and directly traceable to the dialogue turns that support each answer\.

## 3Method

### 3\.1Problem Setup and Design Principles

A long\-horizon interaction stream consists of sessions𝒟=\{S1,…,ST\}\\mathcal\{D\}=\\\{S\_\{1\},\\ldots,S\_\{T\}\\\}, partitioned into a setℰ\\mathcal\{E\}of topical episodes \(Section[3\.3](https://arxiv.org/html/2611.33174#S3.SS3)\); we instantiate this on English multi\-session dialogue\. The formulation could in principle extend to assistant logs and other multi\-session interaction records \(untested; Section[7](https://arxiv.org/html/2611.33174#S7)\)\. Given a queryqq, the memory system returns an ordered subset𝒞q⊆ℰ\\mathcal\{C\}\_\{q\}\\subseteq\\mathcal\{E\}on which the reader conditions its answer\. Three design commitments instantiate the three advantages of MGMem\.*Efficient*: the indexing pipeline must not call a generative LLM, with computation governed by parsing, graph construction, and retrieval \(Appendix[J](https://arxiv.org/html/2611.33174#A10)\)\.*Deterministic*: every index component—nodes, edges, and the incidence relation—is a function of the surface text under fixed extractor and normalizer settings\.*Provenance\-preserving*: raw episodes are the source of truth; the memory locates them and never substitutes a generated artifact, so every retrieved episode has an audit trail back to specific dialogue turns; this does not guarantee faithful reader generation\. Concretely: nodes are surface handles, not LLM\-generated propositions; edges encode observed episode\-level co\-occurrence, not entailment or causation\.

Figure 3:Overview of the MGMem framework\. Top: offline episodic indexing of the dialogue stream into the mention incidence graphGG\. Bottom: online retrieval resolves question mentions through the three\-stage resolver, ranks candidate episodes, and returns raw dialogue to the reader\.
### 3\.2Cross\-Session Mention Incidence Graph

MGMem represents long\-term memory as an undirected weighted graph

G=\(𝒱,ℰG,ℛ,ϕ\),G\\;=\\;\(\\mathcal\{V\},\\,\\mathcal\{E\}\_\{G\},\\,\\mathcal\{R\},\\,\\phi\),\(1\)where𝒱\\mathcal\{V\}is a set of normalized*mention types*—people, places, objects, activities, dates, and other content\-bearing expressions—each identified by a deterministic lexical key, so distinct surfaces such asrainbow sidewalksandthe rainbow sidewalkcollapse to a single node\. For eache∈ℰe\\in\\mathcal\{E\}, letTe⊆𝒱T\_\{e\}\\subseteq\\mathcal\{V\}be its mention set\. Edges are weighted by episode\-level co\-occurrence,

wu​v=\|\{e∈ℰ:u,v∈Te\}\|,w\_\{uv\}\\;=\\;\\bigl\|\\\{e\\in\\mathcal\{E\}:u,v\\in T\_\{e\}\\\}\\bigr\|,\(2\)and the incidence relationℛ=\{\(v,e\):v∈Te\}\\mathcal\{R\}=\\\{\(v,e\):v\\in T\_\{e\}\\\}records every node’s source episodes, givingGGits provenance: any node, edge, or downstream score can be traced back to specific dialogue turns\. Finally,ϕ⁡\(⋅\):𝒱→ℝd\\phi\(\\cdot\):\\mathcal\{V\}\\to\\mathbb\{R\}^\{d\}is a dense embedding map over mention keys, used only for query\-time bridging\. The graph is intentionally weaker than a knowledge graph: an edge records co\-occurrence, not entailment or causation, andϕ\\phinever rewrites dialogue content—this is what makes MGMem auditable\.

### 3\.3Deterministic Index Construction

#### Mention identification\.

Following the memory literature, “LLM call” denotes generative LLM inference; MGMem issues none during indexing\. We extract mentions withspaCy\([Honnibal et al\., 2020](https://arxiv.org/html/2611.33174#bib.bib20)\)using the transformer\-based pipelineen\_core\_web\_trf, a discriminative parser that returns deterministic token\-level annotations \(POS, dependency, named entity\)\. A progressive cascade over the parse—named entities on a closed proper\-noun whitelist, noun chunks, verb\-headed subtrees, POS patterns, and content singletons—collects each turn’s mentions in trust order; the union of a turn’s mentions with the speaker identifier forms the episode mention setTeT\_\{e\}\. Cascade stages, the proper\-noun whitelist, and a worked example are deferred to Appendix[A](https://arxiv.org/html/2611.33174#A1)\.

#### Lexical normalization and merging\.

A normalizerν⁡\(⋅\)\\nu\(\\cdot\)maps each surface to a canonical key via speaker alias resolution if the surface matches a known speaker; otherwise by casefolding, stripping leading articles and punctuation, and per\-token lemmatization\. Two surfaces collapse iffν⁡\(s1\)=ν⁡\(s2\)\\nu\(s\_\{1\}\)=\\nu\(s\_\{2\}\)\. The merge is deliberately lexical:husbandandspousestay apart at indexing time, since committing to a paraphrase before the query is known would no longer be reversible; semantic proximity is recovered at query time \(Section[3\.4](https://arxiv.org/html/2611.33174#S3.SS4)\)\.

#### Episode boundaries and incidence completion\.

Sessions are segmented at embedding change points \(cohesion\-drop peaks\); a closed\-world pass adds any literal\-but\-missed mention toℛ\\mathcal\{R\}via word\-boundary regex\. Both passes are deterministic\. Parameters and recomputation ofdfv\\mathrm\{df\}\_\{v\},ϕ⁡\(v\)\\phi\(v\)are in Appendix[D](https://arxiv.org/html/2611.33174#A4)\.

### 3\.4Subject\-Conditioned Memory Resolution

The questionqqis mapped to content mentionsMqM\_\{q\}and subjectsAq⊆MqA\_\{q\}\\subseteq M\_\{q\}by running the*same*extractor as indexing over the question text\. A mention entersAqA\_\{q\}iff its dependency tag isnsubj/nsubjpassor it matches a known speaker alias\. Source\-aligned parsing is critical: with one extractor on both sides, modifier and verb tokens \(e\.g\.*specific themes*,*explored*\) become valid lookup keys rather than being silently dropped by a question\-only LLM parser\. Eachm∈Mqm\\in M\_\{q\}is then localized by a three\-stage resolver, with at mostk=5k\{=\}5accepted evidence nodes per mention \(Stage 1 first; up tokego=3k\_\{\\mathrm\{ego\}\}\{=\}3from Stage 2; remaining slots from Stage 3\)\.

Stage 1 \(exact\)\.Ifν⁡\(m\)∈𝒱\\nu\(m\)\\in\\mathcal\{V\}, the corresponding node is taken withω=1\.0\\omega=1\.0\.

Stage 2 \(subject\-local bridge\)\.Subjects are projected into the graph asAq⋆=\{ν⁡\(a\):a∈Aq\}∩𝒱A\_\{q\}^\{\\star\}=\\\{\\nu\(a\):a\\in A\_\{q\}\\\}\\cap\\mathcal\{V\}, defining the ego graph

N⁡\(Aq⋆\)=\(⋃a∈Aq⋆\{v∈𝒱:wa​v\>0\}\)∖Aq⋆\.N\(A\_\{q\}^\{\\star\}\)\\;=\\;\\Bigl\(\\bigcup\_\{a\\in A\_\{q\}^\{\\star\}\}\\\{v\\in\\mathcal\{V\}:w\_\{av\}\>0\\\}\\Bigr\)\\setminus A\_\{q\}^\{\\star\}\.\(3\)For eachmmunresolved by Stage 1, the topkego=3k\_\{\\mathrm\{ego\}\}=3neighbors inN⁡\(Aq⋆\)N\(A\_\{q\}^\{\\star\}\)above similarity floorθ=0\.45\\theta=0\.45are accepted withω=cos⁡\(ϕ⁡\(m\),ϕ⁡\(v\)\)\\omega=\\cos\(\\phi\(m\),\\phi\(v\)\)\.

Stage 3 \(full\-graph bridge\)\.The remaining quota up tok=5k=5per mention is filled from𝒱∖N⁡\(Aq⋆\)\\mathcal\{V\}\\setminus N\(A\_\{q\}^\{\\star\}\)above the same floor\.

Stage 2 is the principal personalization mechanism \(an abstract cue such as “family” is grounded in the queried subject’s co\-occurring mentions, not a global synonym pool\); Stage 3’s noisier provenance is propagated as lower confidence into the ranker\.

### 3\.5Episode Scoring and Selection

LetZq𝒱Z\_\{q\}^\{\\mathcal\{V\}\}be the set of evidence nodes from the resolver, with confidenceω⁡\(v\)\\omega\(v\)and a flag indicating an exact or bridged origin\. For each episodeee, the hit setH⁡\(e,q\)=Te∩Zq𝒱H\(e,q\)=T\_\{e\}\\cap Z\_\{q\}^\{\\mathcal\{V\}\}collects matched nodes; episodes withH=∅H=\\varnothingare excluded\. The remaining episodes are ranked by an additive composition

S⁡\(e,q\)=Sevi​\(e,q\)\+Scov​\(e,q\)\+Scoh​\(e,q\)\.S\(e,q\)\\;=\\;S\_\{\\mathrm\{evi\}\}\(e,q\)\+S\_\{\\mathrm\{cov\}\}\(e,q\)\+S\_\{\\mathrm\{coh\}\}\(e,q\)\.\(4\)
The evidence term aggregates the IDF\-weighted, confidence\-modulated contribution of every hit:

Sevi​\(e,q\)=∑v∈H⁡\(e,q\)idf⁡\(v\)⋅ω​\(v\)α,S\_\{\\mathrm\{evi\}\}\(e,q\)\\;=\\;\\sum\_\{v\\in H\(e,q\)\}\\mathrm\{idf\}\(v\)\\cdot\\omega\(v\)^\{\\alpha\},\(5\)withω⁡\(v\)=1\\omega\(v\)=1for an exact \(Stage 1\) hit andω⁡\(v\)∈\(0,1\)\\omega\(v\)\\in\(0,1\)for a bridged hit \(thecos\\cossimilarity recorded by Stage 2 or 3\)\. The IDF is a square\-root variant,idf⁡\(v\)=log⁡\(N/dfv\)\\mathrm\{idf\}\(v\)=\\sqrt\{\\log\(N/\\mathrm\{df\}\_\{v\}\)\}for0<dfv<N0<\\mathrm\{df\}\_\{v\}<N\(and zero for hub nodes withdfv=N\\mathrm\{df\}\_\{v\}=N, such as the two speaker identifiers that appear in every episode\), withN=\|ℰ\|N=\|\\mathcal\{E\}\|\. The⋅\\sqrt\{\\cdot\}compresses dynamic range so a single rare proper noun does not dominate scoring; the exponentα=2\\alpha=2amplifies the gap between an exact hit \(ω=1\\omega=1\) and a low\-confidence bridge \(ω≈0\.5\\omega\\approx 0\.5\) by a factor of four, encoding the prior that one literal match outweighs several weak paraphrastic ones\.

The coverage and coherence terms are

Scov​\(e,q\)\\displaystyle S\_\{\\mathrm\{cov\}\}\(e,q\)=β​\|H⁡\(e,q\)\|\|Zq𝒱\|,Scoh​\(e,q\)=\{γ​∑\{u,v\}⊆H⁡\(e,q\)wu​v\(\|H⁡\(e,q\)\|2\)​wmax,\|H⁡\(e,q\)\|≥2,0,\|H⁡\(e,q\)\|<2,\\displaystyle=\\beta\\,\\frac\{\|H\(e,q\)\|\}\{\|Z\_\{q\}^\{\\mathcal\{V\}\}\|\},\\quad S\_\{\\mathrm\{coh\}\}\(e,q\)=\\begin\{cases\}\\gamma\\,\\dfrac\{\\sum\_\{\\\{u,v\\\}\\subseteq H\(e,q\)\}w\_\{uv\}\}\{\\binom\{\|H\(e,q\)\|\}\{2\}w\_\{\\max\}\},&\|H\(e,q\)\|\\geq 2,\\\\ 0,&\|H\(e,q\)\|<2,\\end\{cases\}\(6\)with production weightsβ=0\.3\\beta=0\.3,γ=0\.2\\gamma=0\.2, andwmax=maxu≠v⁡wu​vw\_\{\\max\}=\\max\_\{u\\neq v\}w\_\{uv\}\. Both terms are bounded tie\-shapers \(Scov∈\[0,β\]S\_\{\\mathrm\{cov\}\}\\in\[0,\\beta\],Scoh∈\[0,γ\]S\_\{\\mathrm\{coh\}\}\\in\[0,\\gamma\]\) around the IDF\-weighted evidence; the graph’s deeper role is the incidence relationℛ\\mathcal\{R\}plus subject\-local ego expansion \(Section[3\.4](https://arxiv.org/html/2611.33174#S3.SS4)\), which together define how memory is accessed\.

#### Selection, tie\-breaking, and reader context\.

We rank the top\-1010episodes for retrieval evaluation and pass the top\-55to the reader as raw dialogue \(utterances with speaker labels, captions, and timestamps; no graph artifacts are surfaced\)\. When two adjacent episodes’ graph scores agree within numerical tolerance, a conservative dense tie\-break consults whole\-episode similarity to decide order; outside ties dense similarity is ignored\. Tolerance value, dense similarity formulation, and the matched\-protocol top\-kkchoice are documented in Appendix[A](https://arxiv.org/html/2611.33174#A1)\.

## 4Experiments

### 4\.1Settings

Datasets\.We evaluate on*two*long\-term dialogue memory benchmarks\. The primary benchmark is LoCoMo\([Maharana et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib4)\), a multi\-session conversational QA dataset with gold evidence annotations\. Following matched\-protocol memory work\([Shen et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib12);[Fang et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib11)\), we use the four\-category subset \(single\-hop, multi\-hop, temporal, open\-domain\),1,5401\{,\}540questions from ten conversations; the446446adversarial questions are evaluated separately \(Appendix[F](https://arxiv.org/html/2611.33174#A6)\)\. The second benchmark is LongMemEval\-S\([Wu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib5)\), an independently constructed long\-horizon memory QA benchmark; we report results on the full500500\-question test set across six question types \(single\-session\-user, single\-session\-assistant, single\-session\-preference, multi\-session, temporal, knowledge\-update\) run end\-to\-end with the same reader and judge models as LoCoMo, with dataset\-specific prompts and retrieval budgets detailed in Appendix[G](https://arxiv.org/html/2611.33174#A7)\(Table[8](https://arxiv.org/html/2611.33174#A7.T8)\)\.

Baselines and baseline provenance\.We compare against retrieval baselines \(BM25\([Robertson and Zaragoza, 2009](https://arxiv.org/html/2611.33174#bib.bib22)\), Dense, BM25\+Dense Hybrid via reciprocal\-rank fusion\([Cormack et al\., 2009](https://arxiv.org/html/2611.33174#bib.bib23)\), NaiveRAG, HippoRAG 2\([Gutiérrez et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib17)\)\) and generated\-memory systems \(A\-Mem\([Xu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib7)\), Mem0\([Chhikara et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib10)\), LightMem\([Fang et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib11)\), MemoryOS\([Kang et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib8)\), AnchorMem\([Shen et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib12)\), EMem\([Zhou and Han, 2025](https://arxiv.org/html/2611.33174#bib.bib18)\)\)\. Dense and Hybrid use theall\-MiniLM\-L6\-v2episode encoder\([Reimers and Gurevych, 2019](https://arxiv.org/html/2611.33174#bib.bib21)\)consistent with prior LoCoMo memory comparisons\.*MGMem, EMem, AnchorMem, LightMem, and Hybrid are locally rerun with seeds 42–44 under the same raw conversations, question set, reader, judge, QA prompt, and evaluation code\.*Other generated\-memory rows are retained as reference values from[Shen et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib12);[Fang et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib11);[Xu et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib13); other local rows retain the original single\-run results\. Primary comparisons use the locally matched reruns; literature values are contextual references rather than controlled local comparisons\. We use the same judge prompt \(Appendix[L](https://arxiv.org/html/2611.33174#A12)\)\.

Implementation\.The reader is GPT\-4o\-mini \(gpt\-4o\-mini\-2024\-07\-18\) and the judge isQwen2\.5\-32B\-Instruct, both held fixed across methods; the separate graph\-guidance ablation uses GPT\-4o\-mini as judge, while a Qwen2\.5\-32B\-Instruct reader\-substitution check is reported in Appendix[G](https://arxiv.org/html/2611.33174#A7)\(Table[7](https://arxiv.org/html/2611.33174#A7.T7)\)\. MGMem usesspaCyen\_core\_web\_trfas the source\-aligned mention extractor on both dialogue and question sides,all\-MiniLM\-L6\-v2for mention embeddings, and the production scoring configuration \(\\sqrt\{\}\-IDF,α=2\\alpha\{=\}2,β=0\.3\\beta\{=\}0\.3,γ=0\.2\\gamma\{=\}0\.2,θ=0\.45\\theta\{=\}0\.45\)\. Local reruns report mean±\\pmsample standard deviation across seeds 42–44\. The six retrieval settings were fixed onconv\-26; its 152 answerable questions are also excluded in a separate 1,388\-question analysis \(Appendix[F](https://arxiv.org/html/2611.33174#A6)\); full model identifiers, hyperparameter neighborhoods, prompts, and trial pointers are in Appendices[A](https://arxiv.org/html/2611.33174#A1),[I](https://arxiv.org/html/2611.33174#A9), and[L](https://arxiv.org/html/2611.33174#A12)\.

Metrics\.End\-to\-end QA accuracy is measured by an LLM\-as\-a\-judge \(primary\) with token\-level F1/BLEU\-1 as secondary signals, on all1,5401\{,\}540four\-category LoCoMo questions\. Episode\-level hit@kk/MRR is reported on the1,5311\{,\}531questions with gold\-episode annotations \(the remaining99unanchored queries are predominantly open\-domain, with one each in multi\-hop and temporal\)\. Indexing cost includes complete wall time, generative calls/tokens, memory, and persisted index size\.

### 4\.2Main Results

Table[1](https://arxiv.org/html/2611.33174#S4.T1)reports end\-to\-end QA accuracy, broken down by LoCoMo question category in addition to the overall column\. We organize the comparison into two parts: against generated\-memory systems \(which rewrite the dialogue into LLM\-generated artifacts before indexing\), and against retrieval baselines operating on raw dialogue units\.

#### Versus generated\-memory systems\.

MGMem reaches75\.89±0\.10%\\mathbf\{75\.89\\pm 0\.10\\%\}overall judge accuracy, surpassing locally rerun EMem \(73\.29±0\.10%73\.29\\pm 0\.10\\%,\+2\.60\+2\.60pp\), AnchorMem \(71\.69±0\.36%71\.69\\pm 0\.36\\%,\+4\.20\+4\.20pp\), and LightMem \(62\.42±0\.10%62\.42\\pm 0\.10\\%,\+13\.47\+13\.47pp\)\. The paired MGMem–EMem conversation\-bootstrap 95% interval is\[\+0\.22,\+5\.15\]\[\+0\.22,\+5\.15\]pp; removing the development conversation preserves the ranking \(Appendix[F](https://arxiv.org/html/2611.33174#A6)\)\. The gap holds with zero generative indexing calls for MGMem; complete local indexing costs are reported in Section[4\.3](https://arxiv.org/html/2611.33174#S4.SS3)\.

#### Versus retrieval baselines\.

MGMem improves over the locally rerun Hybrid \(66\.62±0\.34%66\.62\\pm 0\.34\\%\) by9\.279\.27pp and has the largest mean accuracy in all four categories among the three\-run comparisons\. On open\-domain, however, its mean accuracy of49\.65%49\.65\\%is below the50\.00%50\.00\\%reference results of Dense and HippoRAG 2\. Original single\-run retrieval rows remain reference results; Section[5\.1](https://arxiv.org/html/2611.33174#S5.SS1)analyzes the surface\-recurrence prior separately\.

#### Episode\-level retrieval\.

MGMem reaches hit@1=0\.591=0\.591, hit@5=0\.837=0\.837, hit@10=0\.893=0\.893, MRR=0\.701=0\.701\(Table[2](https://arxiv.org/html/2611.33174#S4.T2)\), exceeding BM25, Dense, and Hybrid on every metric\. Generated\-memory systems retrieve synthesized artifacts whose units do not align with LoCoMo gold episodes, so episode\-level metrics are restricted to raw\-episode retrievers\. The “Full Context” row in Table[1](https://arxiv.org/html/2611.33174#S4.T1)feeds the entire dialogue with no retrieval; its15\.06%15\.06\\%accuracy reflects the lost\-in\-the\-middle effect \(Appendix[B](https://arxiv.org/html/2611.33174#A2)\) and motivates indexed memory access\.

MethodSingle\-HopMulti\-HopOpen\-DomainTemporalOverallRetrieval baselinesBM2571\.1134\.7538\.5455\.7659\.22Dense†64\.2148\.2350\.0048\.9157\.14Hybrid‡78\.8378\.8346\.4546\.4547\.2247\.2258\.1558\.1566\.6266\.62NaiveRAG61\.2441\.4945\.8343\.6152\.99HippoRAG 266\.1155\.6750\.0059\.5061\.82Full Context14\.1518\.7927\.0810\.5915\.06Generated\-memory systemsA\-Mem57\.4042\.9123\.9651\.0951\.35Mem045\.5430\.8528\.1233\.9639\.31LightMem67\.3067\.3051\.3051\.3045\.8345\.8364\.3864\.3862\.4262\.42MemoryOS55\.6556\.7442\.7123\.3648\.31AnchorMem81\.2181\.2156\.6256\.6248\.2648\.2666\.9866\.9871\.6971\.69EMem85\.7785\.7754\.6154\.6146\.1846\.1865\.1165\.1173\.2973\.29Ours87\.79\\mathbf\{87\.79\}57\.80\\mathbf\{57\.80\}49\.65\\mathbf\{49\.65\}68\.43\\mathbf\{68\.43\}75\.89\\mathbf\{75\.89\}Table 1:LoCoMo QA accuracy \(%\); reader: GPT\-4o\-mini, judge: Qwen2\.5\-32B\-Instruct\. MGMem, Hybrid, EMem, AnchorMem, and LightMem report means over three locally matched runs \(seeds 42–44\); bold marks the largest mean among these methods\. Other retrieval rows retain original single\-run values; A\-Mem, Mem0, MemoryOS, and HippoRAG 2 are quoted references\.†MiniLM encoder;‡BM25\+Dense RRF \(k=60k=60\)\.Methodhit@1hit@5hit@10MRRBM250\.1820\.6110\.7460\.369Dense†0\.3250\.5900\.7040\.451Hybrid‡0\.4430\.7060\.8050\.564NaiveRAG0\.2490\.5500\.6780\.392Ours0\.5910\.8370\.8930\.701Table 2:Episode\-level retrieval quality; hit@kkand MRR as fractions in\[0,1\]\[0,1\]\. Best inbold, second\-bestunderlined\.†all\-MiniLM\-L6\-v2encoder;‡BM25 fused with Dense†via reciprocal\-rank fusionMethodComplete indexing \(s\)Gen\. callsGen\. tokens \(M\)MGMem199\.02±43\.37199\.02\\pm 43\.3700AnchorMem984\.26±41\.76984\.26\\pm 41\.764,058\.7±21\.14\{,\}058\.7\\pm 21\.13\.989±0\.0293\.989\\pm 0\.029EMem2,816\.44±273\.392\{,\}816\.44\\pm 273\.396,081\.3±5\.56\{,\}081\.3\\pm 5\.53\.792±0\.0043\.792\\pm 0\.004LightMem2,552\.47±100\.632\{,\}552\.47\\pm 100\.63309\.0±4\.4309\.0\\pm 4\.40\.860±0\.0030\.860\\pm 0\.003BM251\.67±0\.081\.67\\pm 0\.0800Dense13\.62±0\.1713\.62\\pm 0\.1700Hybrid13\.53±0\.7613\.53\\pm 0\.7600NaiveRAG12\.98±0\.3912\.98\\pm 0\.3900Table 3:Complete indexing cost over all ten LoCoMo conversations, mean±\\pmsample standard deviation across three fresh\-index local runs\. Wall time includes initialization, segmentation, parsing, embedding, graph construction, and serialization as applicable\. Software installation and model downloads are excluded\. Generative calls/tokens are separate from total computation\.

### 4\.3Efficiency and Provenance

Table[3](https://arxiv.org/html/2611.33174#S4.T3)reports complete indexing costs over three fresh\-index runs on the same Apple M5 Pro, from raw input to persisted retrieval\-ready indices; installation and model downloads are excluded\. MGMem takes199\.02±43\.37199\.02\\pm 43\.37s, versus984\.26±41\.76984\.26\\pm 41\.76s for AnchorMem,2,816\.44±273\.392\{,\}816\.44\\pm 273\.39s for EMem, and2,552\.47±100\.632\{,\}552\.47\\pm 100\.63s for LightMem, with zero generative indexing calls/tokens\. BM25, Dense, and Hybrid build faster than MGMem; zero generative calls do not imply zero computation\. The contrast is structural: every generated\-memory system pays for an extraction or summarization step whose output becomes the storage layer the reader consumes; MGMem replaces that step with a deterministic discriminative parser plus a co\-occurrence graph, removing the generative inference path during indexing entirely\.

Provenance\.Because the reader sees raw dialogue episodes, retrieved evidence is traceable to specific turns throughℛ\\mathcal\{R\}; generated answers can still be unsupported\. A stratified 200\-answer human audit finds94\.00%94\.00\\%evidence support and94\.50%94\.50\\%human–judge agreement \(Appendix[F](https://arxiv.org/html/2611.33174#A6)\)\.

Online cost\.In the three\-run profiling experiment, retrieval and reader wall totals over LoCoMo are159\.36±45\.10159\.36\\pm 45\.10s and207\.28±4\.34207\.28\\pm 4\.34s, respectively; resource details are in Appendix[A](https://arxiv.org/html/2611.33174#A1)\. The reader sees at most five raw episodes\. This bounds the returned item count, while token count depends on segmentation and retrieval still depends on graph size\.

LongMemEval transfer\.On the full LongMemEval\-S benchmark \(500500questions, six types\), MGMem reaches72\.60%72\.60\\%overall, versus BM25 at74\.60%74\.60\\%and Hybrid at73\.80%73\.80\\%,and leads or ties on single\-session types among local retrieval comparisons \(Table[8](https://arxiv.org/html/2611.33174#A7.T8); quoted generated\-memory rows are not strictly matched\-protocol\)\.

Additional ablations on the IDF variant and dense\-fusion strategy, as well as sensitivity sweeps over the resolver hyperparametersθ\\theta,kk, and the scoring weightsα,β,γ\\alpha,\\beta,\\gamma, are reported in Appendices[H](https://arxiv.org/html/2611.33174#A8)–[I](https://arxiv.org/html/2611.33174#A9)\.

## 5Analysis

### 5\.1When is the surface\-recurrence prior informative?

To explain the category\-dependent pattern in Section[4\.2](https://arxiv.org/html/2611.33174#S4.SS2), we stratify the1,5401\{,\}540LoCoMo queries by \(i\) whether at least one non\-subject content mention exact\-matches a graph node, and \(ii\) the maximum IDF tertile of the query’s content mentions; subjects and speakers are excluded so the stratification reflects content\-reference recurrence\. This is the original single\-run stratification, separate from the three\-run main table\. Figure[4](https://arxiv.org/html/2611.33174#S5.F4)\(a\) reports the judge accuracy of MGMem and the Hybrid retriever in each bucket\. The gap is largest in the*No exact match*bucket \(\+13\.10\+13\.10pp,n=84n\{=\}84\): when no query mention exact\-matches a graph node, Stage 2/3 bridges recover evidence\. This tests English query\-side lexical mismatch, rather than a dedicated paraphrase benchmark\. Among exact\-match buckets, the*Medium*\-IDF tertile leads \(\+9\.85\+9\.85pp,n=485n\{=\}485\) over the*High*\-IDF \(\+7\.96\+7\.96pp,n=540n\{=\}540\) and*Low*\-IDF \(\+7\.89\+7\.89pp,n=431n\{=\}431\) tertiles: High\-IDF queries typically resolve on a single rare proper\-noun match where Stage 1 alone suffices, while Medium\-IDF queries combine multiple moderately rare mentions, which is where subject\-local bridging contributes most\. Within LoCoMo’s answerable categories, mention indexing provides gains across the analyzed surface\-match and IDF buckets: the largest gain occurs when surface match is absent \(\+13\.1\+13\.1pp on*No exact match*, where dense retrieval would normally be the fallback\), and gains remain\+7\.9\+7\.9to\+9\.9\+9\.9pp across IDF tertiles when surface match is present, supporting its use as an always\-on substrate in this LoCoMo setting\.

### 5\.2What carries the personalization gain?

The following original single\-run component analysis remains separate from the main reruns\. Figure[4](https://arxiv.org/html/2611.33174#S5.F4)\(b\) removes one mechanism at a time and breaks the judge\-accuracy drop down by category; full retrieval metrics are in Appendix[H](https://arxiv.org/html/2611.33174#A8), Table[10](https://arxiv.org/html/2611.33174#A8.T10)\.Subject\-conditioned bridging is the largest lever\.Removing the subject\-local bridge stage costs−6\.1\-6\.1pp \(−5\.7\-5\.7pp hit@1, the largest single drop\); removing all bridging \(*exact match only*\) costs a near\-identical−6\.0\-6\.0pp, while disabling only Stage 3 \(full\-graph bridge\) costs−0\.26\-0\.26pp hit@1\. Subject\-local bridging carries the largest gain; Stage 3 provides residual recall when subject anchors are unavailable \(Appendix[H](https://arxiv.org/html/2611.33174#A8)\)\.Source\-aligned parsing and conservative dense are next\.Replacing thespaCyquestion parser with a separate LLM parser drops accuracy by−2\.6\-2\.6pp; conservative dense tie\-breaking \(−4\.3\-4\.3pp\) and IDF weighting \(−4\.1\-4\.1pp\) contribute secondary lifts\.Per\-category\.Subject\-local bridge removal has the deepest single\-category drop \(−9\.4\-9\.4pp on open\-domain\) and hurts every category; removing IDF*improves*open\-domain by\+3\.1\+3\.1pp because square\-root IDF zeroes hub nodes \(speaker names\) that open\-domain preference questions actually benefit from\.

\(a\) Stratification by exact\-match×\\timesIDF tertile\.

![Refer to caption](https://arxiv.org/html/2611.33174v1/figure_e_ablation_heatmap.png)

\(b\) Component ablation by LoCoMo category \(Δ\\Deltapp vs\. Full\)\.

Figure 4:\(a\) Stratification of LoCoMo queries by exact\-match×\\timesIDF tertile\. Each bucket pairs Hybrid \(orange\) with MGMem \(blue, hatched\);Δ\\Deltaabove the bar pair is the judge\-accuracy gap in pp\. The first three buckets cover queries with at least one exact\-matched content mention split by Low / Med / High IDF tertile; the rightmost*No exact*bucket groups queries with no exact\-matched content mention\. \(b\) Component ablation by LoCoMo category: each cell showsΔ\\Deltajudge accuracy in pp relative to Full MGMem \(red==drop, blue==gain\)\.

## 6Conclusion

We presented MGMem, a framework with no generative indexing calls that replaces generative indexing with a deterministic discriminative\-parser pipeline over a mention incidence graph, addressing cost, non\-determinism, and provenance loss in one move\. On LoCoMo, it exceeds the strongest matched\-protocol baselines at zero generative indexing calls \(three locally matched runs\); on LongMemEval\-S, it remains competitive overall and leads or ties on single\-session question types among local retrieval comparisons\. The substrate composes with dense or LLM\-generated complements without changing the indexing path\.

## 7Limitations

MGMem prioritizes deterministic, source\-traceable access over richer semantic, temporal, or relational structure\. Evaluation is on English conversational QA withen\_core\_web\_trf; non\-English and code\-switched settings need dedicated evaluation\. Fixed retrieval budgets can omit evidence for multi\-session and temporal reasoning, and graph operations depend on history size\. Transfer to other interaction streams is left for future work\.

## Acknowledgments and Disclosure of Funding

We sincerely thank the anonymous reviewers for their insightful comments and constructive suggestions\. This research is supported by the National Natural Science Foundation of China Project \(No\.62606430, No\. 623B2086\), Sponsored by CCF\-GHFund \(No\. OF 2026005\), Sponsored by CIPS\-SMP\-Zhipu Large Model Fund, Ant Group and Shanghai AI Lab\. We acknowledge funding support from the Guangzhou Municipal–University Joint Research Program \(Grant No\. SL2025A03J4490\)\.

This work is partially supported by the Research Travel Grant of the Base of Red Bird MPhil \(RBM\) at The Hong Kong University of Science and Technology \(Guangzhou\)\. We would like to thank our RBM Project Supervisor Landu Jiang for the academic support\.

## References

- P\. Chhikara, D\. Khant, S\. Aryan, T\. Singh, and D\. YadavMem0: building production\-ready AI agents with scalable long\-term memory\.InECAI 2025,Frontiers in Artificial Intelligence and Applications,pp\. 2993–3000\.External Links:[Document](https://dx.doi.org/10.3233/FAIA251160),2504\.19413,[Link](https://doi.org/10.3233/FAIA251160)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Cormacket al\.\(2009\)G\. V\. Cormack, C\. L\. A\. Clarke, and S\. BüttcherReciprocal rank fusion outperforms Condorcet and individual rank learning methods\.InProceedings of the 32nd International ACM SIGIR Conference on Research and Development in Information Retrieval,pp\. 758–759\.External Links:[Document](https://dx.doi.org/10.1145/1571941.1572114)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px3.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Edgeet al\.\(2024\)D\. Edge, H\. Trinh, N\. Cheng, J\. Bradley, A\. Chao, A\. Mody, S\. Truitt, D\. Metropolitansky, R\. O\. Ness, and J\. LarsonFrom local to global: a graph RAG approach to query\-focused summarization\.arXiv preprint arXiv:2404\.16130\.External Links:[Link](https://arxiv.org/abs/2404.16130)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px2.p1.1)\.
- Fanget al\.\(2026\)J\. Fang, X\. Deng, H\. Xu, Z\. Jiang, Y\. Tang, Z\. Xu, S\. Deng, Y\. Yao, M\. Wang, S\. Qiao, H\. Chen, and N\. ZhangLightMem: lightweight and efficient memory\-augmented generation\.InThe Fourteenth International Conference on Learning Representations,External Links:2510\.18866,[Link](https://openreview.net/forum?id=dyJ0GWpjJB)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px3.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Gaoet al\.\(2023\)Y\. Gao, Y\. Xiong, X\. Gao, K\. Jia, J\. Pan, Y\. Bi, Y\. Dai, J\. Sun, M\. Wang, and H\. WangRetrieval\-augmented generation for large language models: a survey\.arXiv preprint arXiv:2312\.10997\.External Links:[Link](https://arxiv.org/abs/2312.10997)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px2.p1.1)\.
- Guoet al\.\(2025\)Z\. Guo, L\. Xia, Y\. Yu, T\. Ao, and C\. HuangLightRAG: simple and fast retrieval\-augmented generation\.InFindings of the Association for Computational Linguistics: EMNLP 2025,pp\. 10746–10761\.External Links:[Document](https://dx.doi.org/10.18653/v1/2025.findings-emnlp.568),[Link](https://aclanthology.org/2025.findings-emnlp.568/)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px2.p1.1)\.
- Gutiérrezet al\.\(2025\)B\. J\. Gutiérrez, Y\. Shu, W\. Qi, S\. Zhou, and Y\. SuFrom RAG to memory: non\-parametric continual learning for large language models\.InProceedings of the 42nd International Conference on Machine Learning,Proceedings of Machine Learning Research, Vol\.267,pp\. 21497–21515\.External Links:[Link](https://proceedings.mlr.press/v267/gutierrez25a.html)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Honnibalet al\.\(2020\)M\. Honnibal, I\. Montani, S\. Van Landeghem, and A\. BoydspaCy: industrial\-strength natural language processing in python\.External Links:[Document](https://dx.doi.org/10.5281/zenodo.1212303),[Link](https://spacy.io/)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px4.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§3\.3](https://arxiv.org/html/2611.33174#S3.SS3.SSS0.Px1.p1.1)\.
- Kanget al\.\(2025\)J\. Kang, M\. Ji, Z\. Zhao, and T\. BaiMemory OS of AI agent\.InProceedings of the 2025 Conference on Empirical Methods in Natural Language Processing,pp\. 25961–25970\.External Links:[Document](https://dx.doi.org/10.18653/v1/2025.emnlp-main.1318),[Link](https://aclanthology.org/2025.emnlp-main.1318/)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Labanet al\.\(2026\)P\. Laban, H\. Hayashi, Y\. Zhou, and J\. NevilleLLMs get lost in multi\-turn conversation\.InThe Fourteenth International Conference on Learning Representations,External Links:2505\.06120,[Link](https://openreview.net/forum?id=VKGTGGcwl6)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p1.1)\.
- Liet al\.\(2025\)Z\. Li, S\. Song, H\. Wang, S\. Niu, D\. Chen, J\. Yang, C\. Xi, H\. Lai, J\. Zhao, Y\. Wang, J\. Ren, Z\. Lin, J\. Huo, T\. Chen, K\. Chen, K\. Li, Z\. Yin, Q\. Yu, B\. Tang, H\. Yang, Z\. J\. Xu, and F\. XiongMemOS: an operating system for memory\-augmented generation \(MAG\) in large language models\.arXiv preprint arXiv:2505\.22101\.External Links:[Link](https://arxiv.org/abs/2505.22101)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1)\.
- Liuet al\.\(2024\)N\. F\. Liu, K\. Lin, J\. Hewitt, A\. Paranjape, M\. Bevilacqua, F\. Petroni, and P\. LiangLost in the middle: how language models use long contexts\.Transactions of the Association for Computational Linguistics12,pp\. 157–173\.External Links:[Document](https://dx.doi.org/10.1162/tacl%5Fa%5F00638),[Link](https://aclanthology.org/2024.tacl-1.9/)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p1.1)\.
- Maharanaet al\.\(2024\)A\. Maharana, D\. Lee, S\. Tulyakov, M\. Bansal, F\. Barbieri, and Y\. FangEvaluating very long\-term conversational memory of LLM agents\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 13851–13870\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.acl-long.747),[Link](https://aclanthology.org/2024.acl-long.747/)Cited by:[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix19.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§1](https://arxiv.org/html/2611.33174#S1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p1.1)\.
- Packeret al\.\(2023\)C\. Packer, S\. Wooders, K\. Lin, V\. Fang, S\. G\. Patil, I\. Stoica, and J\. E\. GonzalezMemGPT: towards LLMs as operating systems\.arXiv preprint arXiv:2310\.08560\.External Links:[Link](https://arxiv.org/abs/2310.08560)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p1.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1)\.
- Reimers and Gurevych \(2019\)N\. Reimers and I\. GurevychSentence\-BERT: sentence embeddings using Siamese BERT\-networks\.InProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing \(EMNLP\-IJCNLP\),pp\. 3982–3992\.External Links:[Document](https://dx.doi.org/10.18653/v1/D19-1410),1908\.10084,[Link](https://aclanthology.org/D19-1410/)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px4.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Robertson and Zaragoza \(2009\)S\. Robertson and H\. ZaragozaThe probabilistic relevance framework: BM25 and beyond\.Foundations and Trends in Information Retrieval3\(4\),pp\. 333–389\.External Links:[Document](https://dx.doi.org/10.1561/1500000019)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px2.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Shenet al\.\(2026\)Z\. Shen, S\. Cheng, Z\. Guo, W\. Wang, Y\. Wang, and H\. HuangAnchorMem: anchored facts with associative contexts for building memory in large language models\.InFindings of the Association for Computational Linguistics: ACL 2026,pp\. 34784–34798\.External Links:[Document](https://dx.doi.org/10.18653/v1/2026.findings-acl.1736),2604\.17377,[Link](https://aclanthology.org/2026.findings-acl.1736/)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px3.p1.1),[Table 7](https://arxiv.org/html/2611.33174#A7.T7),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Wuet al\.\(2025\)D\. Wu, H\. Wang, W\. Yu, Y\. Zhang, K\. Chang, and D\. YuLongMemEval: benchmarking chat assistants on long\-term interactive memory\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=pZiyCaVuti)Cited by:[Table 8](https://arxiv.org/html/2611.33174#A7.T8),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix19.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§1](https://arxiv.org/html/2611.33174#S1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p1.1)\.
- Xuet al\.\(2026\)B\. Xu, Y\. Chen, J\. Fang, R\. Zhong, Y\. Yao, Y\. Zhu, L\. Du, and S\. DengStructMem: structured memory for long\-horizon behavior in LLMs\.InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics \(Volume 2: Short Papers\),pp\. 122–146\.External Links:[Document](https://dx.doi.org/10.18653/v1/2026.acl-short.12),2604\.21748,[Link](https://aclanthology.org/2026.acl-short.12/)Cited by:[Appendix A](https://arxiv.org/html/2611.33174#A1.SS0.SSS0.Px3.p1.1),[NeurIPS Paper Checklist](https://arxiv.org/html/2611.33174#Ax1.I3.ix47.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Xuet al\.\(2025\)W\. Xu, Z\. Liang, K\. Mei, H\. Gao, J\. Tan, and Y\. ZhangA\-Mem: agentic memory for LLM agents\.InAdvances in Neural Information Processing Systems,Vol\.38,pp\. 17577–17604\.External Links:[Document](https://dx.doi.org/10.52202/085713-0593),2502\.12110,[Link](https://doi.org/10.52202/085713-0593)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.
- Yueet al\.\(2026\)J\. Yue, C\. Hu, J\. Sheng, Z\. Zhou, W\. Zhang, T\. Liu, L\. Guo, and Y\. DengHyperMem: hypergraph memory for long\-term conversations\.InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 35237–35254\.External Links:[Document](https://dx.doi.org/10.18653/v1/2026.acl-long.1627),2604\.08256,[Link](https://aclanthology.org/2026.acl-long.1627/)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1)\.
- Zhonget al\.\(2024\)W\. Zhong, L\. Guo, Q\. Gao, H\. Ye, and Y\. WangMemoryBank: enhancing large language models with long\-term memory\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 19724–19731\.External Links:[Document](https://dx.doi.org/10.1609/aaai.v38i17.29946),[Link](https://ojs.aaai.org/index.php/AAAI/article/view/29946)Cited by:[§1](https://arxiv.org/html/2611.33174#S1.p2.1),[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1)\.
- Zhou and Han \(2025\)S\. Zhou and J\. HanA simple yet strong baseline for long\-term conversational memory of LLM agents\.arXiv preprint arXiv:2511\.17208\.External Links:[Link](https://arxiv.org/abs/2511.17208)Cited by:[§2](https://arxiv.org/html/2611.33174#S2.SS0.SSS0.Px1.p1.1),[§4\.1](https://arxiv.org/html/2611.33174#S4.SS1.p2.1)\.

## Appendix AReproducibility Details

#### Mention identification cascade\.

The deterministic progressive cascade in Section[3\.3](https://arxiv.org/html/2611.33174#S3.SS3)fires in trust order, and each stage claims only the token spans the earlier stages did not cover\. The five stages are: \(i\) named\-entity spans whose label is on a closed proper\-noun whitelist \(PERSON,GPE,LOC,ORG,WORK\_OF\_ART, dates\); \(ii\) noun chunks; \(iii\) verb\-headed dependency subtrees containing a content verb; \(iv\) closed POS patterns over uncovered tokens; \(v\) leftover content singletons \(proper nouns, content nouns, content verbs\)\. For example, “Calvin found a new puppy at the adoption agency” yields three nodes:calvin\(Stage i, named entity\),new puppy\(Stage ii, noun chunk\),adoption agency\(Stage ii, noun chunk\); the verb*found*is recovered as a content singleton in Stage v\.

#### Conservative dense tie\-breaking\.

The numerical tolerance in Section[3\.5](https://arxiv.org/html/2611.33174#S3.SS5)is10−610^\{\-6\}in absolute graph score\. Within a tie, episodes are reranked bymaxu∈e⁡cos⁡\(ϕtxt​\(q\),ϕtxt​\(u\)\)\\max\_\{u\\in e\}\\cos\(\\phi\_\{\\mathrm\{txt\}\}\(q\),\\phi\_\{\\mathrm\{txt\}\}\(u\)\)between the query and any utterance ofee; outside ties dense similarity is ignored\. This preserves the mention\-graph signal in the typical case and uses dense similarity strictly to break draws\.

#### Reader context\.

The reader receives the original utterances of the selected top\-55episodes with speaker labels, image captions, and session timestamps; no nodes, normalized keys, or co\-occurrence summaries are passed in\. Hybrid baselines fuse BM25 and dense rankings via reciprocal\-rank fusion\([Cormack et al\., 2009](https://arxiv.org/html/2611.33174#bib.bib23)\)\(k=60k\{=\}60\)\. The matched top\-1010/top\-55retrieval/reader budget follows the matched\-protocol convention\([Shen et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib12);[Fang et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib11);[Xu et al\., 2026](https://arxiv.org/html/2611.33174#bib.bib13)\)\.

#### Models\.

The primary reader is GPT\-4o\-mini \(gpt\-4o\-mini\-2024\-07\-18\) and the judge isQwen2\.5\-32B\-Instructin the primary evaluation; the separate graph\-guidance ablation uses GPT\-4o\-mini as judge; the judge uses the LLM\-as\-a\-judge rubric prompt in Appendix[L](https://arxiv.org/html/2611.33174#A12), held fixed across methods\. A Qwen2\.5\-32B\-Instruct reader\-substitution check is reported in Table[7](https://arxiv.org/html/2611.33174#A7.T7)\(Appendix[G](https://arxiv.org/html/2611.33174#A7)\)\. The mention extractor isspaCy\([Honnibal et al\., 2020](https://arxiv.org/html/2611.33174#bib.bib20)\)en\_core\_web\_trf\(zero\-shot, content verbs included\), reused on both dialogue and question sides; mention and episode embeddings useall\-MiniLM\-L6\-v2\([Reimers and Gurevych, 2019](https://arxiv.org/html/2611.33174#bib.bib21)\)\.

#### Trial provenance\.

The implementation stores intermediate artifacts per trial \(extracted mention nodes, episode\-to\-node incidence, bridge candidates, scored episodes, query plans, reader inputs, reader outputs, judge outputs\)\. Original retrieval/component diagnostics correspond to trial2026\-05\-05\-024\-locomo\-spacy\-no\-meta\(full pipeline, source\-alignedspaCyparser on the question side, reader prompt without parser\-side metadata, ten LoCoMo conversations,1,5401\{,\}540four\-category questions\)\. The earlier LLM\-parser configuration \(trial2026\-05\-05\-004\-locomo\-paper\-graph\) is reported as the*w/ LLM query parser*ablation row in Table[10](https://arxiv.org/html/2611.33174#A8.T10); the reader\-bottleneck oracle row in Table[4](https://arxiv.org/html/2611.33174#A2.T4)is taken from trial2026\-05\-05\-009\-locomo\-paper\-graph\-oracle, which reuses the same retrieval cache and swaps only the reader input\.

#### Updated run provenance and compute\.

The primary QA result is the mean over seeds 42–44 \(75\.89±0\.10%75\.89\\pm 0\.10\\%\); seed 42/43 results are 75\.78%/75\.91%\. The original 74\.85% result and the separate GPT\-4o\-mini\-judge graph ablation \(75\.65%\) are not interchangeable\. Paired comparisons use outputs from the same run and protocol\. Peak RSS and persisted index size are3\.332±0\.1863\.332\\pm 0\.186GiB and138\.885±0\.057138\.885\\pm 0\.057MiB for MGMem,3\.200±0\.0483\.200\\pm 0\.048/61\.669±0\.18161\.669\\pm 0\.181for AnchorMem,3\.980±0\.2883\.980\\pm 0\.288/361\.484±0\.601361\.484\\pm 0\.601for EMem, and1\.327±0\.1411\.327\\pm 0\.141/38\.874±0\.05538\.874\\pm 0\.055for LightMem\. Mean MGMem phase times \(s\) are 16\.30 initialization, 37\.67 segmentation, 85\.66 extraction, 55\.57 normalization/backfill/graph/embedding, and 2\.40 serialization; independent total wall time includes orchestration\.

#### Local retrieval configurations\.

BM25 usesBM25Okapion raw sessions \(k1=1\.5k\_\{1\}=1\.5,b=0\.75b=0\.75,ϵ=0\.25\\epsilon=0\.25\), with lowercased Unicode regex tokenization and no stemming or stop\-word removal\. Dense exhaustively ranks L2\-normalized MiniLM raw\-episode vectors by cosine; Hybrid fuses BM25 sessions and Dense episodes with RRF \(k=60k=60\)\. NaiveRAG uses non\-overlapping five\-turn chunks, retains remainders, speakers, and captions, and scores episodes by maximum overlapping\-chunk cosine with chronological tie\-breaking\. Top\-five item budgets do not imply equal token budgets\.

## Appendix BReader\-Context Sensitivity

In the original single\-run diagnostic, conditional on a fixed reader/judge, how much accuracy is the memory access step itself leaving on the table? Table[4](https://arxiv.org/html/2611.33174#A2.T4)sweeps the reader’s input from MGMem’s retrieved episodes to gold evidence \(oracle\), to the entire originating session, to the entire dialogue history\. Oracle evidence lifts judge accuracy from0\.74850\.7485to0\.8950\.895\(\+14\.6\+14\.6pp\), the headroom available to a stronger memory selector\. Feeding the full originating session reaches0\.8150\.815, while feeding the entire dialogue history \(3030–5050k tokens\) collapses the judge to15\.1%15\.1\\%;55%55\\%of temporal errors under Full Context are confident refusals \(“No mention of X”\) even when the gold event is present\. This is a long\-context grounding failure, not a context\-size limit, and confirms that organizing the index—not enlarging the context—is the right axis\. A qualitative breakdown of residual reader errors is in Appendix[C](https://arxiv.org/html/2611.33174#A3)\.

Reader contextJudge Acc\.F1Top\-kkretrieved episodes \(MGMem\)0\.74850\.526Gold evidence episodes \(oracle\)0\.8950\.646Full gold sessions0\.8150\.577Full dialogue history0\.1510\.109Table 4:Reader\-context sweep with reader \(GPT\-4o\-mini\) and judge \(Qwen2\.5\-32B\-Instruct\) held fixed \(1,5401\{,\}540four\-cat QA\)\.
## Appendix CResidual Reader Errors

Across conversations, hit@55is only weakly correlated with judge accuracy while hit@11correlates strongly with token\-level F1: the reader frequently sees the correct evidence among the top five but still fails to produce the exact benchmark answer\. Manual inspection of hit@55\-but\-wrong single\-hop questions surfaces two recurrent failures—the reader paraphrases too much or adds details not present in the gold, and it conflates multiple retrieved episodes when several discuss the same subject—both supporting the separation of memory access and answer generation as separable research problems\.

## Appendix DIndex Construction Details

#### Episode segmentation\.

Each sessionStS\_\{t\}is segmented at embedding change points\. For every gapiibetween two consecutive utterances we compute a cohesion drop

ci=1−cos\(ϕ¯\(St\[i−w:i\]\),ϕ¯\(St\[i:i\+w\]\)\),c\_\{i\}\\;=\\;1\-\\cos\\\!\\bigl\(\\bar\{\\phi\}\(S\_\{t\}\[i\{\-\}w:i\]\),\\,\\bar\{\\phi\}\(S\_\{t\}\[i:i\{\+\}w\]\)\\bigr\),\(7\)withϕ¯​\(⋅\)\\bar\{\\phi\}\(\\cdot\)the mean utterance embedding over aww\-utterance window \(w=3w=3\)\. A boundary is inserted at every local peak satisfyingci\>1\.10​c¯c\_\{i\}\>1\.10\\,\\bar\{c\}, with a minimum segment length of two utterances; both parameters were chosen onconv\-26, also included in the full benchmark and excluded in the nine\-conversation analysis\. The resulting episodes are short enough for precise mention\-based selection yet long enough to preserve the local context that anchors a recurring reference to its surrounding turns\.

#### Closed\-world incidence completion\.

The mention\-extraction cascade can miss literal occurrences of a known mention in some episodes \(e\.g\.,adoption agencyextracted ineae\_\{a\}but not inebe\_\{b\}\)\. For every\(v,e\)\(v,e\)withv∉Tev\\notin T\_\{e\}we scan the raw text and captions ofeewith a word\-boundary regex against any known surface form ofvvand add the incidence on a literal match; the step modifiesℛ\\mathcal\{R\}and\{Te\}\\\{T\_\{e\}\\\}only and never introduces new nodes\. After completion,ℰG\\mathcal\{E\}\_\{G\}, document frequenciesdfv=\|\{e:v∈Te\}\|\\mathrm\{df\}\_\{v\}=\|\\\{e:v\\in T\_\{e\}\\\}\|, and node embeddingsϕ⁡\(v\)\\phi\(v\)are recomputed from the final\{Te\}\\\{T\_\{e\}\\\}\.

## Appendix EAlgorithms

We summarize the offline index construction \(Algorithm[1](https://arxiv.org/html/2611.33174#alg1)\) and the online episode selection \(Algorithm[2](https://arxiv.org/html/2611.33174#alg2)\) that, together, instantiate the framework described in Section[3](https://arxiv.org/html/2611.33174#S3)\. Algorithm[1](https://arxiv.org/html/2611.33174#alg1)producesG=\(𝒱,ℰG,ℛ,ϕ\)G=\(\\mathcal\{V\},\\mathcal\{E\}\_\{G\},\\mathcal\{R\},\\phi\)from a raw dialogue with zero generative LLM calls during indexing; Algorithm[2](https://arxiv.org/html/2611.33174#alg2)consumesGGtogether with a parsed query plan and emits a query\-type\-conditioned list of original episodes for the reader\.

Algorithm 1Offline mention\-incidence index construction\.1:Dialogue

𝒟=\{S1,…,ST\}\\mathcal\{D\}=\\\{S\_\{1\},\\ldots,S\_\{T\}\\\}, normalizer

ν⁡\(⋅\)\\nu\(\\cdot\), mention encoder

ϕtxt​\(⋅\)\\phi\_\{\\mathrm\{txt\}\}\(\\cdot\), change\-point parameters

\(w,κ\)\(w,\\kappa\), similarity floor parameters used downstream

2:Memory graph

G=\(𝒱,ℰG,ℛ,ϕ\)G=\(\\mathcal\{V\},\\mathcal\{E\}\_\{G\},\\mathcal\{R\},\\phi\)with statistics

\{dfv\}\\\{\\mathrm\{df\}\_\{v\}\\\}
3:

ℰ←∅,𝒱←∅,ℛ←∅,𝑠𝑢𝑟𝑓←\{\}\\mathcal\{E\}\\leftarrow\\varnothing,\\;\\;\\mathcal\{V\}\\leftarrow\\varnothing,\\;\\;\\mathcal\{R\}\\leftarrow\\varnothing,\\;\\;\\mathit\{surf\}\\leftarrow\\\{\\\}
4:for

t=1,…,Tt=1,\\ldots,Tdo

5:Compute gap scores

\{ci\}\\\{c\_\{i\}\\\}for

StS\_\{t\}via Eq\. \([7](https://arxiv.org/html/2611.33174#A4.E7)\); insert boundaries at local peaks with

ci\>κ​c¯c\_\{i\}\>\\kappa\\bar\{c\}
6:

ℰ←ℰ∪Episodes​\(St\)\\mathcal\{E\}\\leftarrow\\mathcal\{E\}\\cup\\textsc\{Episodes\}\(S\_\{t\}\)
7:endfor

8:for

e∈ℰe\\in\\mathcal\{E\}do

9:

Ce←ProgressiveCascade​\(e\)∪\{speaker​\(u\):u∈utterances​\(e\)\}C\_\{e\}\\leftarrow\\textsc\{ProgressiveCascade\}\(e\)\\cup\\\{\\text\{speaker\}\(u\):u\\in\\text\{utterances\}\(e\)\\\}
10:

Te←\{ν\(s\):s∈Ce,ν\(s\)≠ε\}T\_\{e\}\\leftarrow\\\{\\nu\(s\):s\\in C\_\{e\},\\;\\nu\(s\)\\neq\\varepsilon\\\}
11:for

v∈Tev\\in T\_\{e\}do

12:

𝒱←𝒱∪\{v\}\\mathcal\{V\}\\leftarrow\\mathcal\{V\}\\cup\\\{v\\\};

ℛ←ℛ∪\{\(v,e\)\}\\mathcal\{R\}\\leftarrow\\mathcal\{R\}\\cup\\\{\(v,e\)\\\};

𝑠𝑢𝑟𝑓⁡\[v\]←𝑠𝑢𝑟𝑓⁡\[v\]∪\{s:ν⁡\(s\)=v\}\\mathit\{surf\}\[v\]\\leftarrow\\mathit\{surf\}\[v\]\\cup\\\{s:\\nu\(s\)=v\\\}
13:endfor

14:endfor

15:for

\(v,e\)\(v,e\)with

v∈𝒱,v∉Tev\\in\\mathcal\{V\},\\,v\\notin T\_\{e\}do⊳\\trianglerightclosed\-world completion

16:ifany pattern in

𝑠𝑢𝑟𝑓⁡\[v\]∪\{v\}\\mathit\{surf\}\[v\]\\cup\\\{v\\\}matches the raw text or captions of

eeunder a word\-boundary regexthen

17:

Te←Te∪\{v\}T\_\{e\}\\leftarrow T\_\{e\}\\cup\\\{v\\\};

ℛ←ℛ∪\{\(v,e\)\}\\mathcal\{R\}\\leftarrow\\mathcal\{R\}\\cup\\\{\(v,e\)\\\}
18:endif

19:endfor

20:

ℰG←\{\(\{u,v\},wu​v\):wu​v=\|\{e:u,v∈Te\}\|\>0\}\\mathcal\{E\}\_\{G\}\\leftarrow\\\{\(\\\{u,v\\\},w\_\{uv\}\):w\_\{uv\}=\|\\\{e:u,v\\in T\_\{e\}\\\}\|\>0\\\}⊳\\trianglerightEq\. \([2](https://arxiv.org/html/2611.33174#S3.E2)\)

21:

dfv←\|\{e:v∈Te\}\|\\mathrm\{df\}\_\{v\}\\leftarrow\|\\\{e:v\\in T\_\{e\}\\\}\|for every

v∈𝒱v\\in\\mathcal\{V\}
22:

ϕ​\(v\)←ϕtxt​\(v\)\\phi\(v\)\\leftarrow\\phi\_\{\\mathrm\{txt\}\}\(v\)for every

v∈𝒱v\\in\\mathcal\{V\}⊳\\trianglerightsingle batch pass

23:return

G=\(𝒱,ℰG,ℛ,ϕ\)G=\(\\mathcal\{V\},\\mathcal\{E\}\_\{G\},\\mathcal\{R\},\\phi\),

\{dfv\}\\\{\\mathrm\{df\}\_\{v\}\\\}

Algorithm 2Online subject\-conditioned episode selection\.1:Query

qq, graph

GG, parser

π⁡\(⋅\)\\pi\(\\cdot\), normalizer

ν⁡\(⋅\)\\nu\(\\cdot\), query encoder

ϕtxt​\(⋅\)\\phi\_\{\\mathrm\{txt\}\}\(\\cdot\), similarity floor

θ\\theta, ego budget

kegok\_\{\\mathrm\{ego\}\}, total budget

kk, score\-tie tolerance

ε\\varepsilon, reader budget

krk\_\{r\}
2:Ordered episode list

𝒞q\\mathcal\{C\}\_\{q\}
3:

\(Mq,Aq\)←π⁡\(q\)\(M\_\{q\},A\_\{q\}\)\\leftarrow\\pi\(q\)⊳\\trianglerightdeterministic; same extractor as indexing

4:

Aq⋆←\{ν⁡\(a\):a∈Aq\}∩𝒱A\_\{q\}^\{\\star\}\\leftarrow\\\{\\nu\(a\):a\\in A\_\{q\}\\\}\\cap\\mathcal\{V\}
5:

N←\(⋃a∈Aq⋆\{v:wa​v\>0\}\)∖Aq⋆N\\leftarrow\\bigl\(\\bigcup\_\{a\\in A\_\{q\}^\{\\star\}\}\\\{v:w\_\{av\}\>0\\\}\\bigr\)\\setminus A\_\{q\}^\{\\star\}⊳\\trianglerightEq\. \([3](https://arxiv.org/html/2611.33174#S3.E3)\)

6:

𝒵q←∅\\mathcal\{Z\}\_\{q\}\\leftarrow\\varnothing;

resolved←∅\\textit\{resolved\}\\leftarrow\\varnothing
7:for

m∈Mqm\\in M\_\{q\}with

ν⁡\(m\)∈𝒱\\nu\(m\)\\in\\mathcal\{V\}do⊳\\trianglerightStage 1: exact

8:

𝒵q←𝒵q∪\{\(ν⁡\(m\),1\.0,exact\)\}\\mathcal\{Z\}\_\{q\}\\leftarrow\\mathcal\{Z\}\_\{q\}\\cup\\\{\(\\nu\(m\),\\,1\.0,\\,\\textsc\{exact\}\)\\\};

resolved←resolved∪\{m\}\\textit\{resolved\}\\leftarrow\\textit\{resolved\}\\cup\\\{m\\\}
9:endfor

10:for

m∈Mq∖resolvedm\\in M\_\{q\}\\setminus\\textit\{resolved\}do

11:

Sm←\{\(v,cos\(ϕtxt\(m\),ϕ\(v\)\)\):v∈𝒱,cos≥θ\}S\_\{m\}\\leftarrow\\\{\(v,\\cos\(\\phi\_\{\\mathrm\{txt\}\}\(m\),\\phi\(v\)\)\):v\\in\\mathcal\{V\},\\;\\cos\\geq\\theta\\\}
12:Take top\-

kegok\_\{\\mathrm\{ego\}\}by similarity from

Sm∩\(N×ℝ\)S\_\{m\}\\cap\(N\\times\\mathbb\{R\}\)assubject\_ego\_bridge⊳\\trianglerightStage 2

13:Fill remaining quota up to

kkfrom

Sm∖\(N×ℝ\)S\_\{m\}\\setminus\(N\\times\\mathbb\{R\}\)assemantic\_bridge⊳\\trianglerightStage 3

14:Add accepted candidates with

ω=cos\\omega=\\costo

𝒵q\\mathcal\{Z\}\_\{q\}
15:endfor

16:

Zq𝒱←\{v:\(v,⋅,⋅\)∈𝒵q\}Z\_\{q\}^\{\\mathcal\{V\}\}\\leftarrow\\\{v:\(v,\\cdot,\\cdot\)\\in\\mathcal\{Z\}\_\{q\}\\\}
17:for

e∈ℰe\\in\\mathcal\{E\}with

H⁡\(e,q\)=Te∩Zq𝒱≠∅H\(e,q\)=T\_\{e\}\\cap Z\_\{q\}^\{\\mathcal\{V\}\}\\neq\\varnothingdo

18:Compute

S⁡\(e,q\)S\(e,q\)from Eq\. \([4](https://arxiv.org/html/2611.33174#S3.E4)\) using Eqs\. \([5](https://arxiv.org/html/2611.33174#S3.E5)\) and \([6](https://arxiv.org/html/2611.33174#S3.E6)\)

19:endfor

20:Sort episodes by

S⁡\(e,q\)S\(e,q\)descending; for

e,e′e,e^\{\\prime\}with

\|S⁡\(e,q\)−S⁡\(e′,q\)\|<ε\|S\(e,q\)\-S\(e^\{\\prime\},q\)\|<\\varepsilon, resort by

maxu∈e⁡cos⁡\(ϕtxt​\(q\),ϕtxt​\(u\)\)\\max\_\{u\\in e\}\\cos\(\\phi\_\{\\mathrm\{txt\}\}\(q\),\\phi\_\{\\mathrm\{txt\}\}\(u\)\)
21:returnthe sorted list capped at the reader budget

krk\_\{r\}

## Appendix FAdditional Experimental Results

Table[5](https://arxiv.org/html/2611.33174#A6.T5)reports per\-category episode recovery hit@kkfork∈\{1,3,5,10\}k\\in\\\{1,3,5,10\\\}\. Figure[5](https://arxiv.org/html/2611.33174#A6.F5)plots the same retrieval breakdown against rank for MGMem and the Hybrid retrieval baseline; MGMem leads the Hybrid baseline across the reported ranks and categories\.

Categorynnhit@1hit@3hit@5hit@10Multi\-hop2810\.4270\.6830\.7810\.866Temporal3200\.6130\.7700\.8200\.883Open\-domain890\.2920\.4490\.5390\.640Single\-hop8410\.6720\.8540\.8930\.931Overall1,5310\.5910\.7810\.8370\.893Table 5:Per\-category episode recovery hit@kkon LoCoMo\.Figure 5:Cumulative episode\-level hit rate as a function of retrieval rank, broken down by question category\. MGMem \(blue, solid\) and Hybrid \(orange, dashed\) under the same reader / judge configuration\.#### Repeated runs and development exclusion\.

MethodAll ten conversationsconv\-26Excludingconv\-26MGMem75\.89±0\.1075\.89\\pm 0\.1077\.19±1\.9077\.19\\pm 1\.9075\.74±0\.2575\.74\\pm 0\.25EMem73\.29±0\.1073\.29\\pm 0\.1074\.78±1\.5274\.78\\pm 1\.5273\.13±0\.2273\.13\\pm 0\.22AnchorMem71\.69±0\.3671\.69\\pm 0\.3676\.97±1\.1476\.97\\pm 1\.1471\.11±0\.5071\.11\\pm 0\.50LightMem62\.42±0\.1062\.42\\pm 0\.1064\.47±1\.7464\.47\\pm 1\.7462\.20±0\.1562\.20\\pm 0\.15Table 6:Accuracy \(%\), mean±\\pmsample SD over seeds 42–44\. Excluding the development conversation leaves 1,388 questions\.For the paired MGMem–EMem interval, 10,000 replicates resample ten conversation IDs with replacement, retain all question pairs within each conversation, and compute question\-count\-weighted differences\. The same sampled conversation list is applied to all seeds before averaging; the percentile 95% interval is\[\+0\.22,\+5\.15\]\[\+0\.22,\+5\.15\]pp\. Only ten clusters are available\. F1/BLEU\-1 means \(sample SD\) are 0\.3988 \(0\.0006\)/0\.3365 \(0\.0006\) for MGMem, 0\.3955 \(0\.0005\)/0\.3263 \(0\.0011\) for EMem, 0\.3588 \(0\.0026\)/0\.2920 \(0\.0030\) for AnchorMem, and 0\.3434 \(0\.0028\)/0\.2713 \(0\.0015\) for LightMem\.

#### Human audit and adversarial questions\.

Two annotators independently check 50 answers per answerable category and agree on final labels\. Human–judge agreement is 46/50 multi\-hop, 48/50 temporal, 46/50 open\-domain, and 49/50 single\-hop \(189/200 overall; 94\.50%, Wilson 95% CI \[90\.42%, 96\.90%\]\)\. Evidence support counts are 46, 48, 45, and 49 \(188/200; 94\.00%, CI \[89\.81%, 96\.53%\]\)\. These are category\-balanced sample rates\. In matched Run 42 over 446 adversarial questions, correct refusals are 153 for MGMem \(34\.30%, CI \[30\.05%, 38\.83%\]\), 144 for Hybrid \(32\.29%, \[28\.11%, 36\.76%\]\), and 123 for AnchorMem \(27\.58%, \[23\.64%, 31\.90%\]\)\.

## Appendix GReader and Benchmark Generalization

This appendix retains the original reader\-substitution and LongMemEval\-S evaluations\. The Qwen reader also serves as judge, so this check is not judge\-independent; it is separate from the revised three\-run main comparison\. LongMemEval\-S generated\-memory rows are quoted references rather than locally matched comparisons\.

MethodSingle\-HopMulti\-HopOpen\-DomainTemporalOverallRetrieval baselinesBM2571\.6237\.5031\.9155\.1759\.43Dense†66\.3053\.4148\.9649\.2259\.26Hybrid‡76\.5747\.1243\.1655\.0664\.60NaiveRAG62\.3242\.2940\.0046\.2053\.89HippoRAG 262\.6656\.3842\.7156\.0758\.90Full Context12\.3515\.6421\.059\.5212\.90Generated\-memory systemsA\-Mem47\.5643\.6228\.1234\.5842\.92Mem036\.7529\.4331\.2531\.1533\.88LightMem64\.3350\.7140\.6361\.9959\.87MemoryOS55\.6556\.7442\.7123\.3648\.31AnchorMem78\.8358\.5144\.7962\.3169\.54Ours84\.7764\.6444\.6867\.8175\.07Table 7:End\-to\-end QA judge accuracy on LoCoMo \(%\) withQwen2\.5\-32B\-Instructas the reader; the judge is alsoQwen2\.5\-32B\-Instruct, unchanged from Table[1](https://arxiv.org/html/2611.33174#S4.T1)\. This is the original single\-run reader substitution, with the original segmentation and retrieval budgets; it is separate from the revised three\-run main table\. Generated\-memory baselines and HippoRAG 2 numbers are quoted from[Shen et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib12), which evaluates each system under the same Qwen2\.5\-32B\-Instruct reader\+judge protocol\. Best inbold, second\-bestunderlinedamong reported rows\.†all\-MiniLM\-L6\-v2encoder;‡BM25 fused with Dense†via reciprocal\-rank fusion \(k=60k\{=\}60\)\.MethodSingle\-User\(n=70n\{=\}70\)Single\-Asst\.\(n=56n\{=\}56\)Single\-Pref\.\(n=30n\{=\}30\)Multi\-Session\(n=133n\{=\}133\)Temporal\(n=133n\{=\}133\)Knowl\.\-Upd\.\(n=78n\{=\}78\)OverallRetrieval baselinesBM2595\.7198\.2180\.0059\.4067\.6774\.3674\.60Dense†82\.8698\.2163\.3359\.4056\.3966\.6767\.60Hybrid‡95\.7196\.4380\.0065\.4160\.9071\.7973\.80NaiveRAG90\.0098\.2153\.3348\.4839\.8567\.9561\.00Full Context87\.1489\.2936\.6745\.4531\.5876\.9256\.80Generated\-memory systemsA\-Mem92\.8696\.4346\.6748\.8747\.3664\.1162\.60Mem081\.4341\.0760\.0046\.2140\.1570\.1253\.61LightMem87\.1432\.1468\.1871\.7467\.1883\.1268\.64MemoryOS80\.0064\.2930\.0031\.0632\.3348\.7244\.80Ours97\.14100\.0080\.0055\.6461\.6575\.6472\.60Table 8:End\-to\-end QA judge accuracy onLongMemEval\-S\([Wu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib5)\)\(%\), broken down by the six question types\. Generated\-memory rows are quoted references; highlighting compares local retrieval rows only\.#### Multi\-session and temporal coverage\.

Type \(n=133n=133each\)MethodAny gold sessionAll gold sessionsConditional accuracyMulti\-sessionMGMem98\.50%65\.41%73\.56%BM2596\.99%66\.17%82\.95%Hybrid98\.50%78\.20%79\.81%TemporalMGMem91\.73%68\.42%76\.92%BM2594\.74%77\.44%76\.70%Hybrid96\.24%77\.44%68\.93%Table 9:Top\-five evidence coverage\. Conditional accuracy is evaluated on each method’s all\-gold\-session subset; subsets can differ\.Incomplete all\-session coverage is one measured factor, especially for temporal questions, and does not explain the full multi\-session gap\. Conditional accuracies are not a controlled cross\-method comparison\. The paired question\-bootstrap interval for MGMem minus BM25 overall \(−2\.00\-2\.00pp\) is\[−5\.40,\+1\.40\]\[\-5\.40,\+1\.40\]pp, which is not evidence of equivalence\.

## Appendix HAdditional Ablations

#### Component ablation: full retrieval metrics\.

Table[10](https://arxiv.org/html/2611.33174#A8.T10)reports the per\-ablation hit@1, hit@5, MRR, and absolute / relative drops in judge accuracy that underlie the heatmap in Figure[4](https://arxiv.org/html/2611.33174#S5.F4)\(b\)\.

VariantHypothesis testedhit@1hit@5MRRJudge Acc\.Δ\\DeltappΔ\\Delta%Full MGMemall mechanisms0\.5910\.8370\.7010\.74850\.00—w/ LLM query parserquery mentions from separate LLM parser0\.5740\.8290\.6890\.723−2\.6\-2\.6−3\.4\-3\.4Exact match onlyflat literal mention\-IDF access0\.5330\.7900\.6510\.689−6\.0\-6\.0−7\.9\-7\.9w/o IDFremove rare\-mention weighting0\.5590\.8020\.6690\.708−4\.1\-4\.1−5\.4\-5\.4w/o subject\-local bridgeremove subject ego expansion0\.5340\.7910\.6520\.688−6\.1\-6\.1−8\.1\-8\.1w/o graph coherenceremove co\-occurrence tie\-shaper0\.5740\.8300\.6890\.727−2\.2\-2\.2−2\.9\-2\.9w/o conservative denseremove dense tie\-break0\.5480\.8110\.6640\.706−4\.3\-4\.3−5\.7\-5\.7Stage\-isolation ablationStage 1\+2, no Stage 3disable full\-graph bridge stage only0\.5890\.8330\.698———Table 10:Original single\-run component ablation on LoCoMo \(1,5401\{,\}540four\-cat QA\), separate from the revised main table\. Each row removes or replaces one mechanism from the full method\.Δ\\Deltapp is the absolute drop in judge accuracy in percentage points;Δ\\Delta% is the same drop as a fraction of Full MGMem’s judge accuracy\. The*Stage 1\+2*row is retrieval\-only \(judge skipped\)\.
#### Graph guidance, Stage 3, and segmentation\.

A separate matched GPT\-4o\-mini\-reader/judge run yields 75\.65% for Full and 73\.31% for Inverted\-Index\-Only \(\+2\.34\+2\.34pp\); hit@1/hit@5/MRR are 0\.5911/0\.8372/0\.7010 versus 0\.5651/0\.8008/0\.6723\. The flat variant retains mentions, embeddings, incidence, global bridging, IDF, and coverage, removing subject\-local guidance and coherence\. This measures graph\-guided retrieval within the architecture; no paired CI is available, so the result is descriptive\. A separate 1,536\-question retrieval run finds Stage 3 adds 0\.26/0\.39/0\.31 pp in hit@1/hit@5/MRR overall, 1\.33/2\.00/1\.58 pp on 300 queries where it produces candidates, and 2\.39/3\.35/2\.69 pp on 209 queries without a subject anchor\.

Segmentationhit@1hit@5MRRWords@5Session0\.63350\.89580\.74733200\.3Topic\-fine \(κ=0\.8\\kappa=0\.8\)0\.55340\.80920\.6680735\.9Topic\-default \(κ=1\.1\\kappa=1\.1\)0\.59240\.83790\.7018993\.0Topic\-coarse \(κ=1\.4\\kappa=1\.4\)0\.62500\.87630\.73402108\.1Table 11:Separate 1,536\-question segmentation analysis: coarser units improve recall while returning more text\. Absolute metrics are not pooled with the original 1,531\-question retrieval analysis\.
#### IDF and combiner\.

Tables[12](https://arxiv.org/html/2611.33174#A8.T12)and[13](https://arxiv.org/html/2611.33174#A8.T13)report two ablations on development conversationconv\-26\(199 questions\) along axes complementary to those in Section[5](https://arxiv.org/html/2611.33174#S5): the IDF variant used inSeviS\_\{\\mathrm\{evi\}\}\(Section[3\.5](https://arxiv.org/html/2611.33174#S3.SS5)\), and the dense\-fusion strategy applied on top of the mention\-graph ranking\.

IDF modehit@1hit@5Cat3 h@1Cat4 h@1Standard0\.6380\.8780\.4550\.729Smoothed0\.6330\.8830\.3640\.743Sqrt0\.6280\.8880\.4550\.729No IDF0\.5870\.8370\.2730\.714Table 12:IDF ablation on a 199\-question development conversation\. These runs predate the spaCy\-parser switch \(LLM parser used to keep cross\-mode comparison clean\)\. Production uses square\-root IDF\.Combinerhit@1Cat4 hit@1Tie\-break only0\.6380\.729RRF \+ dense0\.4800\.586Dense access top\-100\.3980\.514Table 13:Dense\-fusion ablation on the same dev conversation\. Production uses tie\-break only\.

## Appendix IHyperparameter Sensitivity

Production values were fixed onconv\-26beforehand \(Section[4\.1](https://arxiv.org/html/2611.33174#S4.SS1)\); this sweep is a post\-hoc sensitivity analysis and was not used for selection\.

Table[14](https://arxiv.org/html/2611.33174#A9.T14)and Figure[6](https://arxiv.org/html/2611.33174#A9.F6)report sensitivity sweeps over the five MGMem hyperparameters: the bridge similarity floorθ\\theta\(production:0\.450\.45\), the per\-mention evidence\-node budgetkk\(production:55\), the evidence\-aggregation exponentα\\alpha\(production:22\), the cue\-coverage weightβ\\beta\(production:0\.30\.3\), and the pair\-coherence weightγ\\gamma\(production:0\.20\.2\)\. Each sweep varies one parameter and holds the others at their production values; all four retrieval metrics are reported\. Aggregating across all1818tested settings, hit@1 spans≤0\.85\\leq 0\.85pp and hit@5 spans≤1\.36\\leq 1\.36pp of the production setting, with theα\\alphasweep contributing the largest single\-axis variation andβ,γ\\beta,\\gammabeing effectively flat\. This supports the deterministic, hyperparameter\-light design: the production setting is robust within the practical neighborhood, and no axis is fragile\.

Sweep axisSettinghit@1hit@5hit@10MRRθ\\theta\(prod 0\.45\)θ=0\.35\\theta=0\.350\.58980\.83790\.89520\.7011θ=0\.45\\theta=0\.45\(prod\)0\.59110\.83720\.89320\.7010θ=0\.55\\theta=0\.550\.58790\.83590\.89260\.6998kk\(prod 5\)k=3k=30\.59110\.83720\.89190\.7014k=5k=5\(prod\)0\.59110\.83720\.89320\.7010k=10k=100\.58850\.83660\.89260\.6995α\\alpha\(prod 2\)α=1\\alpha=10\.58330\.83850\.89450\.6965α=2\\alpha=2\(prod\)0\.59110\.83720\.89320\.7010α=3\\alpha=30\.58850\.82940\.89130\.6980α=4\\alpha=40\.58790\.82490\.88870\.6957β\\beta\(prod 0\.3\)β=0\.0\\beta=0\.00\.59180\.83590\.89260\.7007β=0\.3\\beta=0\.3\(prod\)0\.59110\.83720\.89320\.7010β=0\.5\\beta=0\.50\.59050\.83660\.89320\.7007β=0\.7\\beta=0\.70\.59050\.83590\.89320\.7007γ\\gamma\(prod 0\.2\)γ=0\.0\\gamma=0\.00\.59180\.83720\.89260\.7014γ=0\.2\\gamma=0\.2\(prod\)0\.59110\.83720\.89320\.7010γ=0\.4\\gamma=0\.40\.59110\.83660\.89320\.7007γ=0\.6\\gamma=0\.60\.59110\.83720\.89320\.7007Table 14:Five\-axis sensitivity sweep on LoCoMo \(1,5401\{,\}540four\-cat QA, retrieval\-only\)\. Each block varies one hyperparameter while holding the others at production \(marked*prod*\)\.Figure 6:Retrieval\-metric sensitivity to all five MGMem hyperparameters: bridge similarity floorθ\\theta, evidence\-node budgetkk, evidence\-aggregation exponentα\\alpha, cue\-coverage weightβ\\beta, pair\-coherence weightγ\\gamma\. Production setting marked with⋆\\star\.
## Appendix JGraph Statistics

Table[15](https://arxiv.org/html/2611.33174#A10.T15)reports structural statistics of the mention incidence graph across the ten LoCoMo conversations\. Table[16](https://arxiv.org/html/2611.33174#A10.T16)reports the share of queries whose evidence is supplied by each of the three resolver stages of Section[3\.4](https://arxiv.org/html/2611.33174#S3.SS4)\.

StatisticMeanStd\.MinMaxepisodes per dialogue120\.123\.178138mention nodes1,608\.9260\.91,0391,927incidence links6,458\.41,231\.93,8887,828co\-occurrence edges111,76222,07865,164146,295avg\. node degree138\.329\.78125\.44155\.80Table 15:Structural statistics of the mention incidence graph across the ten LoCoMo conversations\.Resolution pathCountShareExact match only66343\.1%Exact \+ subject\-local bridge63441\.2%Full\-graph bridge \(semantic \+ whole\-q\)22114\.4%Subject\-local bridge only \(no exact\)221\.4%Table 16:Resolver\-stage usage across the 1,540 LoCoMo four\-cat queries\.#### Complexity\.

WithNNepisodes,MMmention nodes,rer\_\{e\}mentions in episodeee,I=∑ereI=\\sum\_\{e\}r\_\{e\}, and embedding dimensiondd, co\-occurrence construction costsO⁡\(∑ere2\)O\(\\sum\_\{e\}r\_\{e\}^\{2\}\), storageO⁡\(I\+\|ℰG\|\+M​d\)O\(I\+\|\\mathcal\{E\}\_\{G\}\|\+Md\), full semantic scanningO⁡\(\|Mq\|​M​d\)O\(\|M\_\{q\}\|Md\)per query, and subject\-neighbor inspectionO⁡\(∑adeg⁡\(a\)\)O\(\\sum\_\{a\}\\deg\(a\)\)\. Literal completion uses up toO⁡\(M​N\)O\(MN\)match attempts plus text scanning\. Stage 2 has no recursive expansion; five accepted nodes per mention and five reader episodes bound outputs, not graph\-size\-dependent computation\.

## Appendix KParadigm Comparison

Table[17](https://arxiv.org/html/2611.33174#A11.T17)contrasts MGMem with the dominant long\-term memory paradigms along five dimensions: the unit stored in memory, the structure imposed on those units, whether dialogue history is rewritten during construction, the retrieval signal used at query time, and the provenance of the content fed to the reader\.

ParadigmMemory unitStructureRewrites history?Retrieval signalProvenanceFlat RAGchunksnone / vector indexnodense or sparse similarityraw chunksRewriting memorysummaries / notesevolving memory storeyesgenerated memory textoften indirectFact or semantic graph memoryfacts / entitiesgenerated relationspartlygraph traversal and similarityfact\-to\-source links varyHierarchical memorytopics / episodes / factshierarchy or hypergraphpartlycoarse\-to\-fine retrievalsource context variesMGMemraw episodes indexed by mentionsmention incidence graphnomention coverage and graph coherenceraw episodesTable 17:Memory paradigms compared along five dimensions: memory unit, structure, whether history is rewritten, retrieval signal, and reader provenance\.
## Appendix LPrompts

This appendix lists the two LLM prompts used at evaluation time\. There is no LLM\-side query\-parsing prompt in the production configuration: the question is parsed by running the same dialogue spaCy mention extractor on the question text, so\(Mq,Aq\)\(M\_\{q\},A\_\{q\}\)are produced deterministically without any generative LLM call\.

### L\.1Reader Prompt

The reader is called with a system message containing general instructions for grounded multi\-session QA, followed by a per\-question user message that pastes the question, the parsed query type and subject set, and the formatted episode evidence\. The system message is held fixed across all matched\-protocol runs\.

Reader System PromptYou are answering questions about a long\-running multi\-session dialogue\. You have access to a set of memories — each memory is a snippet of dialogue from one session, prefixed with a session\_time timestamp\. Your answer must be grounded in these memories; you may use general world knowledge only to interpret or complete information that the memories themselves introduce \(e\.g\., resolving a landmark named by description\)\.Instructions\.1\.Carefully analyze every memory\. Synthesize information across multiple memories when a single one is insufficient\.2\.Pay close attention to session\_time\. If memories contradict, the most recent memory is the source of truth\.3\.For factual questions, look for direct evidence in the memories\.4\.For time questions, you MUST resolve relative phrases against the memory’s session\_time:•Precise \(“yesterday”, “2 days ago”\): compute the exact date \(e\.g\., “yesterday” \+ session\_time 5 July 2023→\\rightarrow“4 July 2023”\)\.•Vague \(“last week”, “last summer”\): anchor to the reference date \(e\.g\., “last week” \+ session\_time 10 October 2023→\\rightarrow“the week before 10 October 2023”\)\.Always convert relative references to absolute dates, months, or years in the final answer\.5\.Match the LoCoMo gold\-answer style for date precision: Year only “2022”; Month \+ year “July 2023”; Full date “2 July 2023”; Anchored relative “the Friday before 15 July 2023” / “the week of 23 August 2023”; Range start “Since 2016”\.6\.Do NOT confuse character names mentioned inside memory text with the actual speakers who own the dialogue\.7\.Output ONLY the final answer:•factoid / single\-fact: under 5–6 words, no preamble\.•list / aggregation: items separated by commas, each item short\.•comparative: per\-subject facts, separated by “;”\.No reasoning, no quoting of memories, no “Based on the memories…”\.Approach\(think step by step internally; do NOT print the steps\)\.1\.Identify the memories relevant to the question\.2\.Synthesize across memories if needed; resolve conflicts by session\_time recency\.3\.Extract explicit dates, names, events\.4\.If a calculation is needed \(relative→\\rightarrowabsolute date\), perform it\.5\.Formulate a precise, concise answer\.6\.Verify the answer addresses the question and obeys the format rules above\.

Reader User MessageQuestion: \{question\}Memories:\{formatted episodes: each prefixed by “\#\#\# Episode \{eid\}” and “session\_time: \{date\}”, followed by speaker\-tagged turns “\[\{dia\_id\}\] \{speaker\}: \{text\}”\}Final answer:

### L\.2Judge Prompt

The judge is invoked once per question with the entire rubric, the gold answer, and the model’s predicted answer in a single user message\. The model is asked to emit a one\-sentence rationale followed by a JSON\-wrapped CORRECT/WRONG label, which our parser strips back down to the binary outcome reported in the tables\. The same prompt is used for every method; only\{question\},\{gold\}, and\{pred\}are filled in per example\.

Prompt for LLM JudgeYour task is to label an answer to a question as ‘CORRECT’ or ‘WRONG’\. You will be given the following data: \(1\) a question \(posed by one user to another user\), \(2\) a ‘gold’ \(ground truth\) answer, \(3\) a generated answer which you will score as CORRECT/WRONG\.The point of the question is to ask about something one user should know about the other user based on their prior conversations\.The gold answer will usually be a concise and short answer that includes the referenced topic, for example: Question: Do you remember what I got the last time I went to Hawaii? Gold answer: A shell necklace The generated answer might be much longer, but you should be generous with your grading — as long as it touches on the same topic as the gold answer, it should be counted as CORRECT\.For time related questions, the gold answer will be a specific date, month, year, etc\. The generated answer might be much longer or use relative time references \(like “last Tuesday” or “next month”\), but you should be generous with your grading — as long as it refers to the same date or time period as the gold answer, it should be counted as CORRECT\. Even if the format differs \(e\.g\., “May 7th” vs “7 May”\), consider it CORRECT if it’s the same date\.Now it’s time for the real question: Question: \{question\} Gold answer: \{gold\_answer\} Generated answer: \{generated\_answer\}First, provide a short \(one sentence\) explanation of your reasoning, then finish with CORRECT or WRONG\. Do NOT include both CORRECT and WRONG in your response, or it will break the evaluation script\. Just return the label CORRECT or WRONG in a json format with the key as “label”\.

## NeurIPS Paper Checklist

1. 1\.Claims
2. Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
3. Answer:\[Yes\]
4. Justification: The abstract and introduction scope the claims to the evaluated memory architecture; Table[1](https://arxiv.org/html/2611.33174#S4.T1)reports matched reruns and Table[3](https://arxiv.org/html/2611.33174#S4.T3)complete indexing costs\. Benchmark and reader\-substitution scope are specified in Appendix[G](https://arxiv.org/html/2611.33174#A7)\.
5. Guidelines: - •The answer\[N/A\]means that the abstract and introduction do not include the claims made in the paper\. - •The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations\. A\[No\]or\[N/A\]answer to this question will not be perceived well by the reviewers\. - •The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings\. - •It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper\.
6. 2\.Limitations
7. Question: Does the paper discuss the limitations of the work performed by the authors?
8. Answer:\[Yes\]
9. Justification: The Limitations section discusses English parsing, evidence coverage for multi\-session and temporal reasoning, graph\-size\-dependent computation, and transfer to other interaction streams\.
10. Guidelines: - •The answer\[N/A\]means that the paper has no limitation while the answer\[No\]means that the paper has limitations, but those are not discussed in the paper\. - •The authors are encouraged to create a separate “Limitations” section in their paper\. - •The paper should point out any strong assumptions and how robust the results are to violations of these assumptions \(e\.g\., independence assumptions, noiseless settings, model well\-specification, asymptotic approximations only holding locally\)\. The authors should reflect on how these assumptions might be violated in practice and what the implications would be\. - •The authors should reflect on the scope of the claims made, e\.g\., if the approach was only tested on a few datasets or with a few runs\. In general, empirical results often depend on implicit assumptions, which should be articulated\. - •The authors should reflect on the factors that influence the performance of the approach\. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting\. Or a speech\-to\-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon\. - •The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size\. - •If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness\. - •While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper\. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community\. Reviewers will be specifically instructed to not penalize honesty concerning limitations\.
11. 3\.Theory assumptions and proofs
12. Question: For each theoretical result, does the paper provide the full set of assumptions and a complete \(and correct\) proof?
13. Answer:\[N/A\]
14. Justification: The paper is an empirical systems contribution; it does not state formal theorems and therefore has no proofs\. All algorithmic equations \(mention extraction, IDF weighting, scoring\) are constructive and stated alongside the components they govern in Section[3](https://arxiv.org/html/2611.33174#S3)\.
15. Guidelines: - •The answer\[N/A\]means that the paper does not include theoretical results\. - •All the theorems, formulas, and proofs in the paper should be numbered and cross\-referenced\. - •All assumptions should be clearly stated or referenced in the statement of any theorems\. - •The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition\. - •Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material\. - •Theorems and Lemmas that the proof relies upon should be properly referenced\.
16. 4\.Experimental result reproducibility
17. Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper \(regardless of whether the code and data are provided or not\)?
18. Answer:\[Yes\]
19. Justification: Section[3](https://arxiv.org/html/2611.33174#S3)fully specifies the indexing pipeline; Section[4](https://arxiv.org/html/2611.33174#S4)specifies datasets \(LoCoMo four\-category1,5401\{,\}540\-question subset; full LongMemEval\-S500500\-question test set\), the reader \(GPT\-4o\-mini\) and judge \(Qwen2\.5\-32B\-Instruct\), and the matched\-protocol convention; Appendix[A](https://arxiv.org/html/2611.33174#A1)lists trial identifiers; Appendix[D](https://arxiv.org/html/2611.33174#A4)gives change\-point and incidence\-completion parameters; Appendix[E](https://arxiv.org/html/2611.33174#A5)provides pseudocode for offline indexing and online retrieval; Appendix[L](https://arxiv.org/html/2611.33174#A12)gives the verbatim reader and judge prompts\.
20. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •If the paper includes experiments, a\[No\]answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not\. - •If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable\. - •Depending on the contribution, reproducibility can be accomplished in various ways\. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model\. In general\. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model \(e\.g\., in the case of a large language model\), releasing of a model checkpoint, or other means that are appropriate to the research performed\. - •While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution\. For example 1. \(a\)If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm\. 2. \(b\)If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully\. 3. \(c\)If the contribution is a new model \(e\.g\., a large language model\), then there should either be a way to access this model for reproducing the results or a way to reproduce the model \(e\.g\., with an open\-source dataset or instructions for how to construct the dataset\)\. 4. \(d\)We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility\. In the case of closed\-source models, it may be that access to the model is limited in some way \(e\.g\., to registered users\), but it should be possible for other researchers to have some path to reproducing or verifying the results\.
21. 5\.Open access to data and code
22. Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
23. Answer:\[Yes\]
24. Justification: An anonymous code repository is linked in the title footnote on page 1\. The two evaluation datasets \(LoCoMo\([Maharana et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib4)\), LongMemEval\([Wu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib5)\)\) are public; we include preprocessing scripts, the deterministic indexing code, the matched\-protocol baselines used here, and the reader/judge prompts in the released repository\.
25. Guidelines: - •The answer\[N/A\]means that paper does not include experiments requiring code\. - • - •While we encourage the release of code and data, we understand that this might not be possible, so\[No\]is an acceptable answer\. Papers cannot be rejected simply for not including code, unless this is central to the contribution \(e\.g\., for a new open\-source benchmark\)\. - •The instructions should contain the exact command and environment needed to run to reproduce the results\. See the NeurIPS code and data submission guidelines \([https://neurips\.cc/public/guides/CodeSubmissionPolicy](https://neurips.cc/public/guides/CodeSubmissionPolicy)\) for more details\. - •The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc\. - •The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines\. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why\. - •At submission time, to preserve anonymity, the authors should release anonymized versions \(if applicable\)\. - •Providing as much information as possible in supplemental material \(appended to the paper\) is recommended, but including URLs to data and code is permitted\.
26. 6\.Experimental setting/details
27. Question: Does the paper specify all the training and test details \(e\.g\., data splits, hyperparameters, how they were chosen, type of optimizer\) necessary to understand the results?
28. Answer:\[Yes\]
29. Justification: Section[4](https://arxiv.org/html/2611.33174#S4)specifies the data split \(LoCoMo four\-category1,5401\{,\}540\-question subset; full LongMemEval\-S500500\-question test set\), the reader \(gpt\-4o\-mini\-2024\-07\-18\), the judge \(Qwen2\.5\-32B\-Instruct\), the mention extractor \(spaCyen\_core\_web\_trf\), the embedding model \(all\-MiniLM\-L6\-v2\), and the production hyperparameters \(\\sqrt\{\}\-IDF,α=2\\alpha\{=\}2,β=0\.3\\beta\{=\}0\.3,γ=0\.2\\gamma\{=\}0\.2,θ=0\.45\\theta\{=\}0\.45\); the framework has no trainable parameters\. Hyperparameter sensitivity is reported in Appendix[I](https://arxiv.org/html/2611.33174#A9)\.
30. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them\. - •The full details can be provided either with the code, in appendix, or as supplemental material\.
31. 7\.Experiment statistical significance
32. Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
33. Answer:\[Yes\]
34. Justification: The local primary comparisons report mean and sample SD across seeds 42–44; Appendix[F](https://arxiv.org/html/2611.33174#A6)specifies the paired conversation bootstrap and its ten\-cluster limitation\. Original single\-run diagnostics are identified separately\.
35. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The authors should answer\[Yes\]if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper\. - •The factors of variability that the error bars are capturing should be clearly stated \(for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions\)\. - •The method for calculating the error bars should be explained \(closed form formula, call to a library function, bootstrap, etc\.\) - •The assumptions made should be given \(e\.g\., Normally distributed errors\)\. - •It should be clear whether the error bar is the standard deviation or the standard error of the mean\. - •It is OK to report 1\-sigma error bars, but one should state it\. The authors should preferably report a 2\-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified\. - •For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range \(e\.g\., negative error rates\)\. - •If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text\.
36. 8\.Experiments compute resources
37. Question: For each experiment, does the paper provide sufficient information on the computer resources \(type of compute workers, memory, time of execution\) needed to reproduce the experiments?
38. Answer:\[Yes\]
39. Justification: Table[3](https://arxiv.org/html/2611.33174#S4.T3)reports complete indexing wall time and generative calls/tokens over three fresh\-index runs on an Apple M5 Pro\. Section[4\.3](https://arxiv.org/html/2611.33174#S4.SS3)reports collection\-level retrieval/reader wall totals; Appendix[A](https://arxiv.org/html/2611.33174#A1)reports footprint and phase timing\.
40. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage\. - •The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute\. - •The paper should disclose whether the full research project required more compute than the experiments reported in the paper \(e\.g\., preliminary or failed experiments that didn’t make it into the paper\)\.
41. 9\.Code of ethics
43. Answer:\[Yes\]
44. Justification: We use only public benchmarks \(LoCoMo, LongMemEval\) under their stated terms; no human\-subjects data was collected, no scraping was performed, and the released code does not depend on private or restricted\-access assets\. Anonymity is preserved throughout\.
45. Guidelines: - •The answer\[N/A\]means that the authors have not reviewed the NeurIPS Code of Ethics\. - •If the authors answer\[No\], they should explain the special circumstances that require a deviation from the Code of Ethics\. - •The authors should make sure to preserve anonymity \(e\.g\., if there is a special consideration due to laws or regulations in their jurisdiction\)\.
46. 10\.Broader impacts
47. Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
48. Answer:\[Yes\]
49. Justification: Positive impacts: deterministic, provenance\-preserving memory makes long\-horizon agent behavior more auditable, reduces the energy cost of repeated index re\-construction \(zero generative LLM calls\), and avoids storing or surfacing LLM\-synthesized content that may misrepresent the original interaction\. Negative impacts: the framework indexes user\-specific recurring references, which are personally identifying by design; deployment should follow the user\-data handling and consent norms of the host application\. These trade\-offs are discussed in the Limitations section\.
50. Guidelines: - •The answer\[N/A\]means that there is no societal impact of the work performed\. - •If the authors answer\[N/A\]or\[No\], they should explain why their work has no societal impact or why the paper does not address societal impact\. - •Examples of negative societal impacts include potential malicious or unintended uses \(e\.g\., disinformation, generating fake profiles, surveillance\), fairness considerations \(e\.g\., deployment of technologies that could make decisions that unfairly impact specific groups\), privacy considerations, and security considerations\. - •The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments\. However, if there is a direct path to any negative applications, the authors should point it out\. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation\. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster\. - •The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from \(intentional or unintentional\) misuse of the technology\. - •If there are negative societal impacts, the authors could also discuss possible mitigation strategies \(e\.g\., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML\)\.
51. 11\.Safeguards
52. Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse \(e\.g\., pre\-trained language models, image generators, or scraped datasets\)?
53. Answer:\[N/A\]
54. Justification: The paper does not release any pre\-trained language model, image generator, or scraped dataset\. MGMem is an indexing/retrieval framework whose only released artifact is source code; the language and embedding models it depends on are unmodified third\-party models\.
55. Guidelines: - •The answer\[N/A\]means that the paper poses no such risks\. - •Released models that have a high risk for misuse or dual\-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters\. - •Datasets that have been scraped from the Internet could pose safety risks\. The authors should describe how they avoided releasing unsafe images\. - •We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort\.
56. 12\.Licenses for existing assets
57. Question: Are the creators or original owners of assets \(e\.g\., code, data, models\), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
58. Answer:\[Yes\]
59. Justification: We cite the original source of every asset used: LoCoMo\([Maharana et al\., 2024](https://arxiv.org/html/2611.33174#bib.bib4)\)and LongMemEval\([Wu et al\., 2025](https://arxiv.org/html/2611.33174#bib.bib5)\)for benchmarks;spaCy\([Honnibal et al\., 2020](https://arxiv.org/html/2611.33174#bib.bib20)\)\(MIT\) and theen\_core\_web\_trfpipeline for parsing; Sentence\-BERT MiniLM\([Reimers and Gurevych, 2019](https://arxiv.org/html/2611.33174#bib.bib21)\)\(Apache 2\.0\) for embeddings; GPT\-4o\-mini for the reader andQwen2\.5\-32B\-Instructfor the primary judge; matched\-protocol baseline numbers are attributed to[Shen et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib12);[Fang et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib11);[Xu et al\. \(2026\)](https://arxiv.org/html/2611.33174#bib.bib13)\.
60. Guidelines: - •The answer\[N/A\]means that the paper does not use existing assets\. - •The authors should cite the original paper that produced the code package or dataset\. - •The authors should state which version of the asset is used and, if possible, include a URL\. - •The name of the license \(e\.g\., CC\-BY 4\.0\) should be included for each asset\. - •For scraped data from a particular source \(e\.g\., website\), the copyright and terms of service of that source should be provided\. - •If assets are released, the license, copyright information, and terms of use in the package should be provided\. For popular datasets,[paperswithcode\.com/datasets](https://paperswithcode.com/datasets)has curated licenses for some datasets\. Their licensing guide can help determine the license of a dataset\. - •For existing datasets that are re\-packaged, both the original license and the license of the derived asset \(if it has changed\) should be provided\. - •If this information is not available online, the authors are encouraged to reach out to the asset’s creators\.
61. 13\.New assets
62. Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
63. Answer:\[Yes\]
64. Justification: The new asset introduced is the MGMem reference implementation, released through the anonymous repository linked on page 1\. The repository ships with a README describing the indexing pipeline, the configuration files for the production hyperparameters, the reader/judge prompts \(also reproduced in Appendix[L](https://arxiv.org/html/2611.33174#A12)\), and scripts that reproduce the LoCoMo and LongMemEval results reported in the paper\.
65. Guidelines: - •The answer\[N/A\]means that the paper does not release new assets\. - •Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates\. This includes details about training, license, limitations, etc\. - •The paper should discuss whether and how consent was obtained from people whose asset is used\. - •At submission time, remember to anonymize your assets \(if applicable\)\. You can either create an anonymized URL or include an anonymized zip file\.
66. 14\.Crowdsourcing and research with human subjects
67. Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation \(if any\)?
68. Answer:\[N/A\]
69. Justification: An additional two\-annotator audit of 200 benchmark answers checks correctness and evidence support \(Appendix[F](https://arxiv.org/html/2611.33174#A6)\); no crowdsourcing or participant interaction study is conducted\.
70. Guidelines: - •The answer\[N/A\]means that the paper does not involve crowdsourcing nor research with human subjects\. - •Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper\. - •According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector\.
71. 15\.Institutional review board \(IRB\) approvals or equivalent for research with human subjects
72. Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board \(IRB\) approvals \(or an equivalent approval/review based on the requirements of your country or institution\) were obtained?
73. Answer:\[N/A\]
74. Justification: The paper does not involve human subjects, so no IRB approval was required\.
75. Guidelines: - •The answer\[N/A\]means that the paper does not involve crowdsourcing nor research with human subjects\. - •Depending on the country in which research is conducted, IRB approval \(or equivalent\) may be required for any human subjects research\. If you obtained IRB approval, you should clearly state this in the paper\. - •We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution\. - •For initial submissions, do not include any information that would break anonymity \(if applicable\), such as the institution conducting the review\.
76. 16\.Declaration of LLM usage
77. Question: Does the paper describe the usage of LLMs if it is an important, original, or non\-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does*not*impact the core methodology, scientific rigor, or originality of the research, declaration is not required\.
78. Answer:\[Yes\]
79. Justification: The core indexing method of MGMem contains no generative LLM call by design \(this is one of the paper’s central claims; see Section[3](https://arxiv.org/html/2611.33174#S3)\)\. Generative LLMs enter the evaluation pipeline only as the downstream reader \(gpt\-4o\-mini\-2024\-07\-18\) and the LLM\-as\-a\-judge \(Qwen2\.5\-32B\-Instruct\); both roles are declared in Section[4](https://arxiv.org/html/2611.33174#S4)and their full prompts are reproduced verbatim in Appendix[L](https://arxiv.org/html/2611.33174#A12), matching prior matched\-protocol work\.
80. Guidelines: - •The answer\[N/A\]means that the core method development in this research does not involve LLMs as any important, original, or non\-standard components\. - •Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described\.

Similar Articles

MemGym: a Long-Horizon Memory Environment for LLM Agents

arXiv cs.CL

MemGym is a benchmark for evaluating memory formation in LLM agents over long-horizon tasks, unifying existing agent gyms and synthetic pipelines with memory-isolated scores. It spans tool-use dialogue, multi-turn search, coding, and computer use, and includes a lightweight reward model (MemRM) for efficient evaluation.

MoM: Memory of Memory

arXiv cs.CL

This paper introduces Memory of Memory (MoM), a framework for LLM agent memory that commits current values on arrival while retaining displaced values as provenance, improving accuracy and reducing stale answers.