MGMem: A Deterministic, Provenance-Preserving Framework for Long

Overview


Long-horizon Large Language Model (LLM) agents require persistent memory capable of surfacing the right past interaction at the right moment across thousands of turns. Many existing systems build this memory by invoking generative LLMs to rewrite dialogue history into summaries, extracted facts, or knowledge graphs—an approach that is costly, non-deterministic, and provenance-erasing.


A new arXiv paper (arXiv:2611.33174 [cs.CL], submitted 21 October 2026) introduces MGMem, a framework that eliminates generative indexing calls entirely and replaces them with a deterministic discriminative-parser pipeline.


Authors: Junhong Huang, Xin Tong, Jun Xia


The Problem with Generative Indexing


Conventional agent-memory systems rely on generative LLM calls during index construction. This design carries three significant drawbacks:


  • Cost: Building an index can require thousands of generative calls per run.
  • Non-determinism: Because outputs vary across runs, reproducibility suffers and agents may return inconsistent answers to identical queries.
  • Provenance erasure: Readers are shown synthesized text—summaries or extracted facts—rather than the original dialogue turn, obscuring the source of the information.

The MGMem Approach


MGMem eliminates generative indexing altogether. Instead, it constructs memory through a deterministic discriminative-parser pipeline with three core components:


  1. Incidence graph construction: Recurring mentions across sessions are organized into an incidence graph, capturing how entities and references connect over time.
  2. Subject-conditioned resolver: Question mentions are resolved through a three-stage resolver conditioned on the query subject, enabling precise retrieval without generative rewriting.
  3. Raw episode return: The reader receives the original dialogue episodes rather than synthesized text, preserving full provenance for every surfaced interaction.

  4. Because no generative model is invoked during indexing, MGMem offers deterministic, reproducible behavior at substantially lower cost.


    Experimental Results


    MGMem was evaluated on English multi-session dialogue QA benchmarks:


    • LoCoMo: MGMem outperforms matched-protocol baselines—without any generative indexing calls.
    • LongMemEval-S (full): MGMem remains competitive overall and leads or ties on single-session question types among local retrieval comparisons.

    2026 Context


    As LLM agents move toward longer-running, multi-session deployments—from personal assistants to enterprise workflow automation—memory systems face growing pressure to be both scalable and auditable. Deterministic, provenance-preserving designs like MGMem address a rising demand in 2026 for agent infrastructure that supports reproducibility, regulatory traceability, and cost-efficient operation at scale, particularly as organizations seek to verify the origin of information surfaced by autonomous systems.


    Resources


    • Paper: arXiv:2611.33174 [cs.CL]
    • DOI: https://doi.org/10.48550/arXiv.2611.33174
    • Code: https://github.com/junhong-h/MGMem
    • Length: 11 pages of main text plus appendix, 6 figures, 17 tables

    Subjects: Computation and Language (cs.CL)

    via ArXiv CL+LG

Related