Chiosa
NLP & Language

Evolving whole memory programs for conversation-history questions

3 min
Updated

In plain words

This paper introduces MAPE, a framework that evolves the whole memory program used to answer questions about past conversations. It tries different ways to save conversation details, find relevant parts, and prepare them for an answer, then uses test results to guide later versions.

On one conversation-question test, a cost-aware MAPE design was judged correct more often than SimpleMem, with a lower estimated token-serving cost. The study also found that keeping original conversation details and preparing retrieved evidence for the question helped a representative system.

The research

A memory system can miss details from earlier conversations or spend more computation than needed to answer later questions.

These results make the design choice more concrete: on one tested set of conversation questions, an evolved system paired higher judged accuracy with lower estimated token-serving cost than a human-designed baseline.

MAPE evolves whole memory programs from minimal designs, revising how they store, retrieve, and prepare conversation evidence for answering questions.

On LoCoMo, which tests answering questions from conversation histories, GPT-5 mini judged answers and researchers pooled the labels into accuracy.

With Qwen answering, MAPE-P LCM reached 81.33% accuracy, compared with SimpleMem’s 69.32%; its estimated lifecycle serving cost was $1.14 per 1,000 queries, compared with $3.24.

This shows that, in this evaluation, the cost-aware evolved program answered more questions correctly while using fewer priced serving tokens. A transfer to LongMemEval was mixed, so the result does not carry across every test.

The results cover two conversation-history question-answering tests, and the detailed component analysis centers on one evolved program. Cost estimates count priced language-model and embedding tokens, but exclude search calls, local computation, storage, and latency.

What the evidence shows

  • Search across the whole program

    MAPE is a framework that evolves complete memory programs for answering questions grounded in conversation histories. The question is whether changing the whole design from minimal starting points can produce effective memory systems, and how an accuracy-only search differs from one that also accounts for serving cost.

    Its search can revise memory construction, retrieval, and evidence composition under a shared answering procedure.

  • A gain on LoCoMo

    On LoCoMo, a test of answering questions from conversation histories, GPT-5 mini judged answers against reference answers and researchers pooled the correctness labels into accuracy. With Qwen answering, MAPE-P LCM scored 81.33% accuracy, compared with 69.32% for SimpleMem.

    This comparison supports a gain for this selected program on this evaluation set; it does not say every evolved design wins in every setting.

  • Transfer has a boundary

    The wider evaluation puts a boundary on that result. When LoCoMo-evolved programs were transferred to LongMemEval without further evolution, MAPE-A LCM scored 65.50% accuracy and RAG scored 66.00%.

    The transfer result shows that success on one test did not guarantee a lead on the other, even though the paper reports stronger results in other tested settings.

  • Two parts support answers

    Two separate tests of MAPE-A LME, a representative program evolved for LongMemEval, removed either retrieved raw conversation rounds or the query-specific evidence preparation stage. Accuracy fell by 12.17 percentage points on LoCoMo without the raw rounds and by 6.25 points on LongMemEval without evidence preparation.

    These comparisons support contributions from both parts within this program, not a universal rule for all memory systems.

  • The module transfers across systems

    Researchers also added the evidence preparation module to five human-designed systems and compared it with each system’s default rendering on LongMemEval. Accuracy increased by 2.75 to 9.25 percentage points across those systems.

    This extends the result beyond MAPE-A LME under the tested setup, while the varying gains leave the effect dependent on the system and question category.

Deep

Next paperSame-history replies help expose API relay substitutions