Manuscript Offprint

arXiv:2611.05266

Stabilizing On-Policy Targeted Guidance in Agentic Reinforcement Learning

Kevin Frans, Alexander M Rush, Sergey Levine, Pieter Abbeel, Ashvin Nair

ABSTRACT

Naive on-policy RL is often bottlenecked by the capabilities of the base model — insufficient coverage can result in an inability to learn from certain rewards. At the same time, rewards in modern post-training systems often come from rich textual sources, e.g. judge models with a rubric of criteria. Can we utilize such structures to provide a rich directional signal that enables improving on otherwise difficult to optimize rewards? In this work, we examine a framework we refer to as targeted guidance that learns from per-turn textual feedback via an on-policy self-distillation objective. Our focus is not only on directly improving hard-to-optimize behaviors, but on how to do so throughout the training process without degrading baseline RL performance. Over a range of settings across an agentic multi-turn software engineering environment, we find success by combining targeted self-distillation with a per-criteria RL reward, and by limiting feedback to turns where the policy specifically fails. We further examine the design choices that lead to stable entropy and reduce oscillatory behavior throughout training.

1 INTRODUCTION

The strength of large-scale reinforcement learning (RL) has been well established in recent years. However, there is often a limit to how much a policy can improve from naive on-policy RL [69]. The primary issue is that of insufficient coverage – even if a reward function is carefully selected to encourage desired behavior (e.g. use a new tool with the right format), the policy will nevertheless fail to improve if it does not have a chance of performing this behavior [18, 71]. These problems are especially prominent in agentic settings, with multi-turn tool-calling, where a policy may be required to chain together many complex actions in order to receive a reward signal. Fundamentally, while RL incentivizes existing good behaviors, such methods do not communicate how to perform new desirable behaviors.

At the same time, we argue that sources of signal for communicating new behaviors are already present in many modern post-training systems. Rewards in such systems often come from a range of rich textual sources, e.g. judge models provided with a rubric of stylistic criteria. Naive RL methods condense the set of such signals into a single scalar reward, incurring a significant loss of information. Rather, can we utilize these existing sources to provide rich directional signal that allows us to learn from otherwise hard-to-optimize rewards?

In this work, we explore a framework we refer to as targeted guidance which internalizes per-turn textual feedback via an expert distillation objective. The main idea is that each binary reward component can additionally define a textual feedback string. If a given rollout or agent turn fails to satisfy a given reward criteria, then alongside the typical policy gradient loss, we minimize KL towards an expert defined as a policy with the same underlying weights, but with the given feedback placed in context. For multi-turn settings, feedback is placed directly prior to the offending agent turn, and only that turn is affected by the distillation loss.

Our algorithmic setup builds on a rich body of prior work often referred to as on-policy self-distillation (OPSD) methods [72, 59, 27, 63]. In contrast to the one-shot benchmarks typically studied in such works, however, the main intent of this work is to study how such methods can be introduced directly to practical agentic RL systems with minimal regret to baseline RL performance.

Figure

Figure 1: Naive RL fails to optimize criterion that fall outside the support of base policies. Exploration issues in RL can manifest as slow learning (middle) or in the worst case a complete failure to improve (left). On the other hand, targeted guidance enables policies to directionally improve specific aspects of their behavior and thus continue to learn.

Naive on-policy distillation methods have previously been shown to cause phenomena such as reasoning shortening [31, 30, 48] or diversity collapse [28, 2], both of which can lead to critical issues if affecting primary RL performance. We find that by combining a self-distillation objective with a per-criteria standard RL reward, and by limiting the distillation loss to the turns where the policy specifically fails, we are able to stabilize the learning process and broaden the policy capabilities while maintaining performance on primary RL tasks.

We empirically examine our methodology throughout an agentic setting in which a Qwen3-Coder-30B model is post-trained to solve software engineering tasks through multi-turn harness involving tool calling and code editing. Notably our focus is not on improving coding pass-rate (which a well-tuned RL procedure can already do well), but rather on improving specific criterion in which naive RL procedures fail to improve – e.g. calling under-trained tool formats or writing with a specific style. We show that targeted guidance results in stable exploratory improvement even when multiple conflicting criterion are present, or a certain criterion must be satisfied across multiple turns. We find that by appropriately selecting the distillation weight and applying distillation to internal thinking traces, we are able to stabilize the entropy and reduce oscillations in the policy training trajectory.

References (73)