arXiv:2609.15851cs.CLSep 2026

Manuscript Offprint

arXiv:2609.15851

Learning to Coach for Experiential Learning

Guanheng Chen, Tianzhu Ye, Li Dong, Xun Wu, Shaohan Huang, Furu Wei

Guanheng Chen1,2∗^{1,2*} Tianzhu Ye1∗^{1*} Li Dong1∗^{1*}

Xun Wu1^{1} Shaohan Huang1^{1} Furu Wei1^{1}

1^{1} Microsoft Research

2^{2} Tsinghua University

https://aka.ms/GeneralAI

Language models can learn from experience, but raw solution trajectories are often too long and noisy to provide effective guidance. In this work, we propose Learning to Coach (L2C), a framework that trains a dedicated LLM-as-a-Coach to extract actionable experiential knowledge from an actor model's previous trajectory. The actor remains frozen, while the LLM-as-a-Coach is trained to maximize a reward given by the correctness of the actor's guided response. We study two such rewards: a same-instance reward, which improves subsequent responses on the original problem, and a cross-instance reward, which elicits knowledge that transfers to other instances. Across mathematical reasoning and interactive text-games, L2C consistently outperforms self-refinement and an untrained LLM-as-a-Coach. Running experiential learning for more iterations further improves accuracy and uses additional inference compute more effectively than enlarging the actor's decoding budget. The trained LLM-as-a-Coach also transfers to out-of-distribution tasks and adapts its guidance to the specific actor it coaches.

Code: aka.ms/l2c-code

Figure

Figure 1: Through experiential learning, a trained LLM-as-a-Coach steadily improves the actor's accuracy, while an untrained LLM-as-a-Coach quickly plateaus (left). Meanwhile, responses become progressively shorter (right), indicating that learned coaching enables more accurate and efficient test-time scaling.

∗^{*} Equal contribution.

1 Introduction

Large language models (LLMs) have demonstrated strong capabilities in mathematical reasoning [GYZ +^{+}25, YLY +^{+}25] and, as language agents, in planning and interactive decision making [WXJ +^{+}23, POC +^{+}23]. Beyond solving a problem in a single pass, an LLM can often improve its answer by inspecting an earlier response, identifying errors, and trying again. Its own interaction history therefore carries valuable experiential knowledge: failed approaches, useful intermediate results, latent environment rules, and promising directions for subsequent responses.

However, extracting useful knowledge from a solving trajectory is itself a challenging reasoning problem. A raw trajectory can be long, redundant, or misleading, and may contain incorrect conclusions alongside useful evidence. Simply conditioning the model on its entire previous response, as in self-refinement, does not distinguish between these components [MTG+23,AAK+23][MTG^{+}23, AAK^{+}23]. As a result, the model may repeat its original mistakes, attend to irrelevant details, or even regress after an additional solve. Alternatively, one can fine-tune the solving model directly using task-level rewards, but doing so changes the model's parameters and can be expensive when the same model must retain broad, general-purpose capabilities.

This motivates a different division of labor: instead of updating the model that performs the task, we train a separate model to learn how to extract useful experience from prior trajectories, while keeping the task-performing model frozen. This separation lets the solving model retain its original parameters while delegating the interpretation of prior trajectories to a dedicated model. It also makes the extracted knowledge explicit and inspectable, rather than implicitly encoded.

We term this delegated model an LLM-as-a-Coach, as in [YDC +^{+}26]. An LLM-as-a-Coach reads the actor's prior trajectory and expresses, in natural language, what went wrong, which intermediate results are worth keeping, and which directions are promising for the next response. It distills the trajectory into concise, actionable experiential knowledge for the actor's subsequent response.

In this work, we propose Learning to Coach (L2C), a framework that trains a dedicated LLM-as-a-Coach to extract actionable experiential knowledge from a frozen actor model's previous solving trajectory. In L2C, experiential learning proceeds as follows: the actor first makes an initial response, the LLM-as-a-Coach converts the resulting trajectory into concise experiential knowledge, and the actor makes a guided response. Rather than supervising the LLM-as-a-Coach with human-written critiques, we optimize it with reinforcement learning, using the correctness of the actor's guided response as the reward. The LLM-as-a-Coach therefore learns to produce guidance that improves the downstream behavior of the specific actor being coached.

We study two reward variants. The same-instance reward evaluates the guided response on the instance from which the experiential knowledge was extracted, encouraging the LLM-as-a-Coach to diagnose errors and preserve useful intermediate results. The cross-instance reward evaluates the extracted knowledge on disjoint instances, encouraging it to capture reusable task structure. L2C also supports experiential learning over multiple iterations, where the LLM-as-a-Coach repeatedly updates its experiential knowledge from the actor's latest trajectory before the actor solves again.

We evaluate L2C across two domains, mathematical reasoning and interactive text-games. Across tasks and model sizes, L2C consistently outperforms the frozen base actor, Self-Refinement, and an untrained LLM-as-a-Coach. The gains are particularly large in text-games, where interaction trajectories expose latent environment rules. Training with the cross-instance reward further produces transferable knowledge when such rules are shared across instances.

Our analysis shows that experiential learning provides an effective form of test-time scaling: performance continues to improve across iterations, while an untrained LLM-as-a-Coach quickly plateaus. On math, L2C with more iterations outperforms doubling the actor's decoding budget across all evaluated model sizes. The trained LLM-as-a-Coach also transfers to out-of-distribution evaluations, and adapts its guidance to the specific actor. These results show that learning to extract actor-specific experiential knowledge can improve language models without updating their parameters.