Skip to main content
v2026.11,986 entries · CC-BY 4.0

Editorial · CASRAI · AI and ML research outputs

MAPE preprint evolves agent memory programs and tests retrieval patterns

A MAPE preprint studies evolved agent memory programs, raw conversation retention and query-specific evidence preparation.

Published 15 Nov 2026· 2 minute read

Ask CASRAI · free to try

Ask about this story

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

CASRAI is the reference for research administration — bookmark it for the next question.

A preprint submitted to arXiv on 12 November 2026 introduces MAPE, a framework for evolving complete AI agent memory programs. Xinheng Ding and colleagues report experiments on conversational-memory benchmarks that examine both what an agent retains and how it prepares retrieved evidence for an answer.

What MAPE changes in agent memory design

The authors’ code repository describes memory programs with three stages: building a memory from conversation history, retrieving evidence for a query and composing that evidence into answer context. A language model proposes program revisions, while a diagnosis agent examines execution traces to guide subsequent changes.

Two patterns recur in the authors’ analysis. Keeping original conversation material available alongside extracted memories can recover details that extraction omits. Their Query-Routed Scaffolding module organizes retrieved material according to the question’s intent before answering. The authors report accuracy improvements when they transplant that module into five existing memory systems.

This separates evidence selection from evidence preparation, a useful distinction for researchers studying retrieval-augmented generation. The result invites investigation of failures after retrieval as well as failures to retrieve the right material.

What the benchmark evidence covers

The MAPE paper evaluates LoCoMo and LongMemEval-S using separate search and evaluation partitions. Evolution uses the search partition; the evaluation partition subsequently supports final program selection and performance reporting. These are the authors’ experimental findings from a preprint.

Benchmark Scope described by its creators
LoCoMo Generated long conversations refined by human annotators; tasks include question answering, event summarization and multimodal dialogue.
LongMemEval Chat-assistant memory abilities including information extraction, reasoning across sessions and time, knowledge updates and abstention.

The authors also compare accuracy-only evolution with an objective that considers serving cost. They report that including cost changes the allocation of computation, moving work from memory construction toward selective processing at query time. That finding concerns the tested configurations rather than an established effect across agent applications.

What is available for research teams

The repository includes the evolution loop, baseline systems, evaluation components and an evolved program case study. Its project-owned code uses the Apache License 2.0; bundled upstream implementations retain their own licences. Benchmark data are downloaded separately and retain their original release terms.

For universities and research offices assessing AI research outputs, the contribution is a testable account of memory design choices. In CASRAI’s assessment, the distinction between retained evidence and its composition offers a useful experimental question for institutional pilots. Performance on conversational benchmarks alone does not establish suitability for research administration workflows.

Sources

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →