arXiv:2611.01747cs.LGNov 2026

Manuscript Offprint

arXiv:2611.01747

Evolving Memory, Learning to Meta-Control: Test-Time Adaptation for Experience-augmented LLM Agents

Zeyuan Zhao, Yuanyuan Shi, Peng Yu, Lingyue Fu, Shao Zhang, Ying Wen

Abstract

Self-evolving agents accumulate experience from task streams, but existing frameworks typically rely on fixed pipelines to retrieve and utilize this experience, neglecting when and how to deploy it. We introduce Online Meta-Control of Experience (OMCE), a framework that updates experience memory and learns a meta-control policy from task feedback during test-time adaptation. OMCE employs a lightweight contextual-bandit meta-controller that uses compact retrieval signals to select among four cognitive actions—DIRECT, EPISODE, GUIDE, and DISTILL. This routing mechanism operationalizes three coupled decisions: whether to invoke experience, which memory format to utilize, and when to consolidate new guidance. OMCE evolves online, leveraging task feedback to update the memory bank and refine the routing policy via contextual bandit updates. Experiments on four online adaptation benchmarks across four backbones show that OMCE improves first-attempt success by up to 20.5 percentage points over the strongest compared baseline, while reducing per-task token use by a factor of 5.7–62.5 relative to ACE with GPT-5.2. Controlled ablations further support the benefits of learned routing and continued routing policy adaptation.

1 Introduction

Experience-oriented self-evolving LLM agents turn interaction feedback into reusable experience for later tasks (Gao et al., 2025; Fang et al., 2025a; Chen et al., 2026). This experience can preserve concrete task cases or take more abstract forms, including reasoning guidance, reusable skills, and context playbooks (Fang et al., 2025b; Ouyang et al., 2025; Wang et al., 2023; Zhang et al., 2025a). Its availability, however, does not guarantee its utility for the current task: semantic similarity alone may retrieve unhelpful experience (Zhang et al., 2026b). Even when experience is useful, concrete cases retain execution details but may not transfer readily to different tasks, while distilled guidance captures reusable principles but can omit details needed for execution (Fang et al., 2025b; Ouyang et al., 2025). Extending this memory also poses a further choice: distilling guidance from accumulated episodes may help future tasks, but also incurs additional computational cost and can lead to excessive memory growth (Zhang et al., 2025a). These trade-offs leave open how experience should be used and expanded as tasks arrive.

We argue that scheduling accumulated experience is a learnable dimension of self-evolution, and make it precise through three requirements. (1) Adaptive invocation: whether experience is needed at all (Fang et al., 2025b; Ouyang et al., 2025). (2) Selective form: which of its forms to use (Fang et al., 2025b; Zhang et al., 2025a).

(3) Learnable consolidation: when to distill transferable guidance from episodic evidence (Zhang et al., 2025a; Shinn et al., 2023).

Meta-control research on adaptive tool use (Li et al., 2025) and cognitive-demand monitoring (Scoville et al., 2026) suggests that adapting reasoning effort to task demands can be more effective than uniformly allocating computation (De Sabbata et al., 2024). These frameworks, however, control external, fixed resources such as a tool set or a reasoning budget. Accumulated experience differs: the agent produces it itself, in heterogeneous forms, in a store that grows and shifts, so scheduling it requires a decision over use and consolidation, not a single invocation flag.

To this end, we propose Online Meta-Control of Experience (OMCE), an agent framework that learns to control experience use and consolidation through a lightweight meta-controller over episodic and guidance memory.

Implemented as a contextual bandit, the con-

∗^{*}Equal contribution.

†^{\dagger}Corresponding authors.

Three missing control decisions in self-evolving agents

Figure

Figure 1: From Fixed Pipelines to Learned Meta-Control. Up: Existing methods typically follow a fixed routine for using and consolidating experience, even when the retrieved experience does not help the current task. Down: OMCE learns from task feedback when to use experience, whether to draw on past cases or general guidance, and when to distill new guidance.

troller regulates whether to invoke experience, which form to use, and when to distill new guidance (Fig. 1).

At inference, it summarizes retrieval profiles in a nine-dimensional meta-state vector and uses linear reward models to select among DIRECT, EPISODE, GUIDE, and DISTILL, without an additional LLM call for action selection.

After execution, memory evolution records outcomes, generates case-specific insights, and refines injected guidance using task feedback, while meta-evolution adapts the routing policy through online bandit updates.

Experiments on four online adaptation benchmarks show that OMCE achieves the highest first-attempt success in most evaluated settings, with competitive cumulative success under the same retry budget. Ablations show that no fixed experience strategy is consistently the best, while controlled comparisons with shared memory demonstrate the value of learning when and how to use experience. Freezing the controller reduces first-attempt success, supporting continued policy adaptation as memory evolves. Finally, efficiency analysis shows that OMCE achieves a favorable performance–token trade-off, using substantially fewer tokens than ACE's full-playbook prompting.

References (72)