Papers
arxiv:2610.21091

MemComposer: Learning to Assemble Memories for LLM Agents via Reinforcement Learning

Published on Oct 15
Authors:
,
,
,
,
,
,
,
,
,
,

Abstract

MemComposer learns to assemble relevant past experiences for LLM agents by optimizing memory selection and ordering via downstream task feedback, improving performance while reducing token usage.

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.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2610.21091
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 1

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2610.21091 in a Space README.md to link it from this page.

Collections including this paper 1