DigestAI news desk

Cut through the AI noise.

Research

MGMem framework offers deterministic memory for LLM agents

Researchers have introduced MGMem, a new framework designed to improve how long-horizon Large Language Model agents handle persistent memory. The system addresses common issues in existing methods, which often rely on generative LLMs to summarize history.

1 source primary source

Key points

  • MGMem uses a deterministic parser pipeline instead of costly generative LLM calls for indexing memory.
  • The framework preserves provenance by returning raw dialogue episodes rather than synthesized summaries.
  • MGMem outperformed baselines on LoCoMo and remained competitive on LongMemEval-S benchmarks.

These traditional approaches are described as costly, non-deterministic, and prone to erasing the provenance of original data.

MGMem replaces generative indexing with a deterministic discriminative-parser pipeline. It organizes recurring mentions into an incidence graph and uses a subject-conditioned resolver to handle questions. Crucially, it returns raw dialogue episodes to the reader rather than synthesized summaries, preserving the original context.

In evaluations on English multi-session dialogue QA, MGMem outperformed matched-protocol baselines on the LoCoMo dataset without using generative indexing calls. On the full LongMemEval-S benchmark, the framework remained competitive overall and led or tied on single-session types among local retrieval comparisons. The code for the framework is available on GitHub.

Read the original at arXiv cs.CL · by Junhong Huang, Xin Tong, Jun Xia primary sourceOpen source ↗

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Research

All →

Related stories