MemoryCPT: An End-to-End Agent Memory Framework for Cost-Performance Trade-off
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-horizon LLM agents require memory systems that recover useful evidence from large interaction histories without passing excessive context to downstream models. Existing memory pipelines often rely on hand-crafted heuristics and repeated LLM calls, which can introduce redundant context and high inference cost. We propose MemoryCPT, an end-to-end trainable agent memory pipeline that spans offline memory construction and online query-conditioned context generation. MemoryCPT consists of two stages: Query-agnostic Distillation (QAD), which distills a modular memory-construction pipeline into a compact model using explicit reasoning traces; and Query-aware Retrieval and Summarization (QAR), which combines reciprocal rank fusion (RRF) with a LoRA-based summarizer trained via Group Relative Policy Optimization (GRPO) under a cost-aware reward. We further introduce Quality per Cost (QPC) to quantify answer quality per unit inference cost. Experiments on LoCoMo and LongMemEval show that MemoryCPT improves the cost-performance trade-off over the evaluated baselines, while ablation and sensitivity analyses characterize the contributions of its components and the effects of key design choices.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 13 of its 23 references that are in the map. First posted on arXiv 5 Aug 2026.
Builds on
13 of 23 references.
Closest ancestors · 6
Same direction, newest first
- 2026M3Exam: Benchmarking Multimodal Memory for Realistic User-Agent Interactions5 Jun
- 2026Contextual Agentic Memory is a Memo, Not True Memory30 Apr
- 2026Beyond RAG for Agent Memory: Retrieval by Decoupling and Aggregation2 Feb
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents5 Jan
- 2025What Deserves Memory: Adaptive Memory Distillation for LLM Agents5 Aug
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
Other references · 7
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Learning to summarize from human feedbackcited by 2,562
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 656
- 2026Compress-Distill: Reasoning Trace Compression for Efficient Knowledge Distillationcited by 2
- 2026EvoEmbedding: Evolvable Representations for Long-Context Retrieval and Agentic Memorycited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
- 2026Harness the Memory: A Holistic Evaluation of Memory Substrates in Memory Agents
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents
- 2026EdgeMem: LLM-Free Agent Memory Construction and Retrieval via Evidence-Preserving Multi-Anchor Hypergraph
- 2026LAM: Efficient Lossy Agent Memory Framework With A Retrieval-Score Error Bound
- 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactions
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects
- 2026Just-In-Time Agent Memory with Runtime Agentic Research