Manuscript Offprint

arXiv:2610.39276

MemSteer: Turning User Histories into Supervision for Agent Memory Optimization

Jie Huang, Cuiling Lan, Qize Yu, Xiulian Peng, Yan Lu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

An effective agent memory system should adapt to a user's history and task requirements. Human-annotated supervision can guide this adaptation by providing feedback for evaluating and improving memory designs. Yet suitable labels are rarely available for new user histories, and manually constructing QA pairs and supporting evidence is costly. We introduce MemSteer, which turns unlabeled user histories into question-answer (QA) supervision with supporting evidence for memory-design optimization. MemSteer constructs an evidence-grounded answer plan that specifies how facts across related records jointly support a reference answer. The plan guides question generation, while source-grounded auditing and blind answer recovery check the resulting annotations. To study the utility of this supervision, we develop MemSteer-Opt, which combines QA-based design evaluation with evidence-guided failure diagnosis to revise memory store, retrieval, and context construction without updating model parameters. Experiments on ATM-Bench and RHELM show that this supervision is competitive with official-QA-guided optimization. Relative to Base-BM25, MemSteer-Opt improves ATM-Bench Question Score by 13.4 points and RHELM accuracy by 4.1 and 6.6 points without and with external data, respectively. The supervision also benefits two existing optimizers on ATM-Bench, while new-user experiments demonstrate continued design optimization using supervision generated from the target histories.

1 INTRODUCTION

Agents that assist users over time need to draw on information accumulated across conversations, emails, and documents. An external memory system supports this process by storing and organizing the user's history and retrieving relevant context for the agent. Storage granularity, retrieval strategy, and answer-context construction shape how effectively the agent can use that history. User histories differ in their content, modalities, and organization, so a memory design effective for one user may be less suitable for another. This motivates adapting memory designs to user histories.

Recent methods such as MemEvolve, ALMA, and M∗M^{*} optimize memory designs using downstream task feedback (Zhang et al., 2025; Xiong et al., 2026; Pan et al., 2026). While executable tasks can provide feedback through their outcomes, personal records and interactions often lack an explicit signal for assessing memory quality. Annotated question-answer (QA) pairs can

Figure

Figure 1: Motivation for MemSteer. User histories vary in data characteristics, so one memory design may not suit every user. Automatic design adaptation through iterative optimization requires feedback on memory performance. MemSteer supports this optimization by automatically generating QA–evidence supervision from unlabeled histories, avoiding labor-intensive manual labeling.

∗^{*}Work done during an internship at MSRA.

supply this signal (Pan et al., 2026), but constructing questions, reference answers, and supporting evidence for each new history is costly. This motivates our question (Figure 1): Can unlabeled user histories guide memory-design optimization?

Generating QA from the history itself offers a potential source of this feedback. Within agent memory, MemBuilder uses synthetic QA rewards to train memory-construction policies (Shen et al., 2026), while MemMA uses QA probes to repair stored memories (Lin et al., 2026). We instead investigate whether history-derived QA can provide reliable feedback for evaluating and improving memory-system designs. For memory-design optimization, reference answers determine how candidate designs are evaluated, while source evidence can help diagnose unsuccessful responses. Unsupported answers or mismatched evidence can misdirect design selection and later revisions.

We propose MemSteer, a framework that turns unlabeled user histories into source-grounded QA–evidence supervision for memory-design optimization (Figure 2). It brings together related source records and specifies how their facts jointly support a reference answer. The resulting evidence-grounded answer plan guides question generation. Source-grounded auditing checks the generated QA for evidence support and consistency, while blind answer recovery assesses whether the reference answer can be recovered from the sampled records.

To investigate the utility of MemSteer's generated supervision, we develop MemSteer-Opt, an evidence-guided memory-design optimizer. It uses source evidence and execution traces to identify whether incorrect responses stem from storage, retrieval, or answer generation, then proposes targeted design revisions and evaluates them using QA performance. Starting from a basic memory system, we use MemSteer-Opt to optimize memory representations, retrieval strategies, and context construction. We further supply the generated QA to M* and MemEvolve (Pan et al., 2026; Zhang et al., 2025), allowing each framework to optimize within its own design space.

Our contributions are threefold:

  • Memory-design optimization from unlabeled histories. MemSteer constructs QA–evidence supervision from unlabeled user histories for evaluating and improving memory designs without updating model parameters.

  • Evidence-grounded answer planning and verification. We construct answer plans that make explicit how source facts jointly support a reference answer for question generation. Source-grounded verification checks the resulting annotations.

  • Empirical validation across optimizers and user histories. Experiments with MemSteer-Opt on ATM-Bench and RHELM (Mei et al., 2026b; Zhang et al., 2026) show that generated supervision improves memory designs and is competitive with the Official-QA reference. Further experiments demonstrate its utility for two existing optimizers on ATM-Bench and for continued optimization on new user histories.

References (50)