MemComposer: Learning to Assemble Memories for LLM Agents via Reinforcement Learning
Yixuan Xie, Xueqiang Xu, Xinyi Fan, Xinxi Lyu, Tao Feng, Xing Fan, Chenlei Guo, Jie Hao,
Key points
From the paper's conclusion- These results demonstrate the value of learning query-specific memory assembly using downstream task feedback.
Abstract
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 $\tau^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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Discovering Effective Agent Memory Designs through Program EvolutionarXiv · 2026
- FlexA-Mem: Budget-Adaptive Agentic Memory for LLM AgentsarXiv · 2026
- All-in-One Memory: Process-Rewarded Reinforcement Learning for Memory AgentsarXiv · 2026
- Coding Agent Memory Post-Training II: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via On-Policy DistillationarXiv · 2026
- LIMBO: Lifelong Inference-Time Memory and Budget Optimization for LLM AgentsarXiv · 2026
- Agentic-OPD: Recovering Forgotten Agent Capabilities via On-Policy Distillation for Agentic TasksarXiv · 2026