MemComposer: Learning to Assemble Memories for LLM Agents via Reinforcement Learning
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Agent memory enables large language model (LLM) agents to reuse past experiences without updating their parameters. However, semantic similarity alone does not guarantee memory usefulness: downstream performance depends on how memories are selected and presented to the agent. We propose MemComposer, a memory composer that jointly examines the current query and retrieved candidates to decide which experiences to include, how many to select, and how to order them. We train the composer using Experience Policy Optimization (ExPO), a GRPO-based framework that evaluates assembled memory contexts through complete agent interactions and uses task-success feedback to optimize the assembly policy. Across three τ2-bench domains with two frozen executors, MemComposer outperforms the strongest baseline for each executor while reducing average memory-token usage by 16.9% and 4.9%, respectively. The learned policy also transfers to unseen domains, executors, and memory banks, and benefits from memories generated by stronger models without further training. These results demonstrate the value of learning query-specific memory assembly using downstream task feedback.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 32 of its 91 references that are in the map. Submitted 15 Oct 2026.
Builds on
32 of 91 references.
Closest ancestors · 6
Same direction, newest first
- 2026Useful Memories Become Faulty When Continuously Updated by LLMs13 May
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct
- 2025Memento: Fine-tuning LLM Agents without Fine-tuning LLMs22 Aug
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024A Survey on the Memory Mechanism of Large Language Model based Agents21 Apr
Other references · 26
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,549
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,990
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 3,138
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,180
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,714
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,508
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,502
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,272
14 more
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,181
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 675
- 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 514
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 396
- 2022Active Example Selection for In-Context Learningcited by 204
- 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 202
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 202
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 156
- 2023Compositional Exemplars for In-context Learningcited by 152
- 2023Unified Demonstration Retriever for In-Context Learningcited by 148
- 2025s3: You Don't Need That Much Data to Train a Search Agent via RLcited by 50
- 2023RetICL: Sequential Retrieval of In-Context Examples with Reinforcement Learningcited by 25
- 2025DynamicRAG: Leveraging Outputs of Large Language Model as Feedback for Dynamic Reranking in Retrieval-Augmented Generationcited by 18
- 2025CoRank: LLM-Based Compact Reranking with Document Features for Scientific Retrievalcited by 7
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
- 2026MemCo: Memory-Centric Collaboration for Generalizing LLM Agents to Unseen Environments
- 2026MemGym: a Long-Horizon Memory Environment for LLM Agents
- 2026MemFactory: Unified Inference & Training Framework for Agent Memory
- 2026MemAgent: Learning to Manage Heterogeneous Memory Providers for LLM Agents
- 2025Memp: Exploring Agent Procedural Memory
- 2026MemSkill: Learning and Evolving Memory Skills for Self-Evolving Agents
- 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers