arXiv(opens in a new tab)cs.LGOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.07792

ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?

Haizhong Zheng, Yizhuo Di, Ranajoy Sadhukhan, Shuowei Jin, Beidi Chen

Haizhong Zheng 1^{1}, Yizhuo Di 1^{1}, Ranajoy Sadhukhan 1^{1}, Shuowei Jin 2^{2}, Beidi Chen 1^{1}

1^{1}Carnegie Mellon University . 2^{2}Amazon

Large language model agents are increasingly deployed to perform complex tasks in real-world environments. However, the knowledge required for correct behavior in these environments is often implicit, undisclosed, and subject to change over time. Recent continual-learning harnesses seek to address this challenge by enabling agents to improve from serving experience. Yet the effectiveness and limitations of these methods are not yet well characterized. Existing benchmarks provide only partial coverage: some explicitly provide the target knowledge, others assume a static environment, and those that support continual adaptation remain limited in scale and knowledge diversity. To enable systematic evaluation, we formalize an evolving-environment streaming dataset (EESD), in which agents must infer, apply, and revise latent environment knowledge from interaction and outcome feedback as hidden policies evolve, and introduce ServeLearnBench, spanning retail support, banking, and sales-pitch generation with 53 environment windows and 7,718 tasks. We evaluate five learning harnesses (RAG, Mem0, SkillOpt, Continual Harness, and Prime) across six models (GPT-5.6 Terra, Opus 5, Kimi K3, GLM-5.3, DeepSeek V4.1 Flash, and GLM-5.3 Flash), covering 28 model–harness pairs and 252 learning runs. Our evaluation reveals three main findings: a substantial gap remains between task capability and learning from experience; continual adaptation is costly and can degrade already-correct behavior; and insufficient exploration emerges as a key bottleneck to effective adaptation. Overall, ServeLearnBench provides a controlled testbed for diagnosing these limitations and tracking progress toward agents that continually and reliably improve through serving experience.

Figure

GitHub: https://github.com/Infini-AI-Lab/ServeLearnBench

Website: https://infini-ai-lab.github.io/ServeLearnBench

Figure

(a) Tokens

(b) API cost

—Pareto frontier ■ RAG ■ Mem0 ■ CH ■ Prime ■ SkillOpt ● GLM-5.3 Flash ◆ DS-V4.1 Flash ■ GLM-5.3 ▲ Kimi K3 ● Opus 5 ✦ GPT-5.6 Terra

Figure 1 Cost vs. Performance. (a) Hidden-case reward versus token cost per test task (prefill, KV-cache hits and output tokens included). (b) Hidden-case reward versus API cost per test task. Reward is the Avg. H of Table 2 (mean over the nine settings). Lines connect Pareto-efficient pairs, for which no other plotted pair achieves both lower cost and higher reward.

1 Introduction

Language agents increasingly handle complex real-world workflows [10, 17, 34, 39, 48, 50], but deployment is not a one-time test of capability. Operational policies, system constraints, and user preferences may change over time, often without corresponding updates to the information available to the agent. Reliable service therefore requires agents to learn from interaction and failure rather than continue acting on an increasingly outdated model of their environment. Recent continual-learning harnesses, including SkillOpt [38], Continual Harness [20], and Prime [19], aim to support this process by updating persistent memories, skills, or strategies from experience. Yet the ability to update an agent does not necessarily imply that it has acquired useful, reusable knowledge. This raises a central question: how effectively can these systems infer previously unknown environment knowledge from serving experience, revise it as conditions change, and maintain reliable behavior over time?

Understanding this capability requires answering three questions: 1) How well do current agents learn continually from serving experience? 2) What does this learning cost, in both computation and existing capabilities? 3) What enables effective continual learning? Existing benchmarks have begun to study parts of this problem [3, 4, 11, 33, 35, 47], but leave important gaps. Some explicitly provide the target knowledge, testing whether agents can retain and apply it rather than discover it through interaction and failure [14, 26, 36]. Others require agents to discover hidden knowledge but assume static environments [13, 16, 46], while benchmarks that support changing environments remain limited in scale and knowledge diversity [3]. These limitations make it difficult to systematically measure how agents acquire and revise hidden knowledge over time, quantify the costs of adaptation, and identify the mechanisms that make continual learning effective.

An ideal benchmark for continual learning from serving experience should satisfy three criteria. First, it should require learning from interaction and failure: agents must infer the knowledge needed for future tasks from their previous interactions with the environment, including failed attempts and the resulting feedback, without being explicitly told that knowledge. Second, it should feature evolving environments: policies, constraints, or preferences should change during the task stream, requiring agents to recognize when learned knowledge becomes outdated and adapt their behavior using new experience. Third, it should offer sufficient scale: many tasks involving different kinds of environment knowledge should support systematic analysis of how agents acquire, retain, apply, and revise that knowledge over extended serving histories.

In this paper, we formalize this setting as an evolving-environment streaming dataset (EESD): a chronological stream of tasks governed by latent environment knowledge that evolves over time. We introduce ServeLearnBench as a controlled suite of EESDs (Figure 2). To enforce learning from interaction and failure, the target environment knowledge is never explicitly revealed in task inputs or feedback, agents must instead infer it from their accumulated experience interacting with the environment. To instantiate evolving environments, the hidden policy changes over time rather than remaining fixed, requiring agents to continually adapt their knowledge and behavior. Finally, to provide sufficient scale, ServeLearnBench comprises 53 environment windows, 4,508 serving tasks, and 3,210 held-out test tasks across retail support, banking case review, and sales-pitch generation, covering categorical rules, numeric and compositional thresholds, and latent preferences.

To evaluate how effectively current continual learning methods learn from serving experience and improve future behavior, we compare five learning harnesses across six models. We conduct the evaluation on five harnesses (RAG [23], Mem0 [5], SkillOpt [38], Continual Harness (CH) [20], Prime [19]) and six models (GPT-5.6 Terra [28], Opus 5 [2], Kimi K3 [21], GLM-5.3 [40], DeepSeek V4.1 Flash [7], and GLM-5.3 Flash [41]). The evaluation yields three key findings:

  1. Performance gaps remain in continual learning. (Section 4.2) All models can perform the tasks once the policy is disclosed: Oracle achieves 95.4% accuracy on Hidden cases on average. Yet no agent learns the policy reliably. On Retail L3, the best of the 28 model–harness pairs reaches only 59.6%, while the median pair achieves 22.0%.

  2. No free lunch for continual learning. (Sections 4.3 and 5.2) Harness with continual learning support is more expensive and can degrade already-correct behavior. Inferring a hidden policy costs 4−101×4-101 \times as much as following a disclosed one: on Kimi K3, Prime spends 2,479 compared with 102 for Oracle. Adaptation also hurts performance on tasks that require no learning.

Figure

Figure 2 ServeLearnBench protocol. Top: the stream is divided into environment windows, each containing feedback-provided serving tasks followed by feedback-hidden test tasks. The active policy in window s consists of behavioral components C(θs)\mathcal{C}(\theta_s), which may be introduced, withdrawn, or reactivated (dashed lines). Bottom left: the learner receives neither policy-component descriptions nor corrections, and must infer the active policy from serving interactions and outcome feedback. Bottom right: benchmark scale across domains, tiers, windows, and tasks.

  1. Effective exploration is critical for continual learning. (Section 5.3) A harness’s ability to explore during unsuccessful adaptation is strongly associated with its final performance. Harnesses that vary their candidate behaviors more achieve higher overall reward. This relationship highlights effective exploration as an important design target for future continual-learning harnesses.

References (47)