Manuscript Offprint

arXiv:2610.02846

Understanding Enrichment in Reinforcement Learning

Jinwoo Kim, Shraddha Barke

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

ABSTRACT

When rewards are sparse, reinforcement learning with verifiable rewards (RLVR) often uses hints or intermediate guidance to generate more successful rollouts. This enrichment biases policy-gradient updates unless corrected via importance weights, but existing methods omit correction or truncate importance weights in order to avoid the high variance of correction. It thus remains unclear what exactly is gained or lost in RLVR by correcting enriched rollouts. We show, mathematically, that omitted or truncated correction implicitly reweights the defined reward, and we decompose the resulting gradient error into scale, rotation, and variance to explain their distinct effects on learning. To make correction practical, we develop a novel sequential Monte Carlo (SMC) weight correction mechanism that, under stability and particle-order assumptions, tempers the exponential compounding of standard correction variance over the length of a sample to an additive accumulation. We then apply our analysis of enrichment to interpreting the results of a fine-tune of Qwen3-1.7B on a sparse band of OpenMathReasoning, establishing a concrete mechanism of how enrichment, both corrected and uncorrected, helps avoid collapse in sparse domains. Our main contribution is to understand, in general, how enrichment and correction can affect training, as opposed to claiming that either mode of operation is superior to unenriched RL.

1 INTRODUCTION

Reinforcement learning with verifiable rewards (RLVR) has produced strong results in a wide variety of domains (Lambert et al., 2024; Guo et al., 2025; Wei et al., 2026; Ren et al., 2025; Jin et al., 2025), its primary advantage being that the model can learn from its own generations and a deterministic verifier. However, RLVR struggles when the policy initially has a low success rate: verifier rewards are often binary (e.g., 1 if a math problem is solved correctly, 0 if not), and thus an incompetent policy often ends up generating many zero-reward samples (or entire groups) offering no learning signal (Zhang et al., 2026a). Failure to generate a learning signal forces more rollouts during training, making RLVR inefficient in some cases (Le et al., 2026; Foster et al., 2025).

A common response to this problem is to enrich the policy with external guidance that makes successful trajectories more probable. Several methods supply hints or solution prefixes and generate rollouts under the hinted context (Agrawal et al., 2026; Zhang et al., 2026b; Huang et al., 2025; Zhang et al., 2025; Li et al., 2026a). Others use process feedback to guide tree-structured rollouts: PaTR (Li et al., 2026b), for example, uses process scorers, including pretrained process reward models (PRMs), to expand promising partial trajectories and stop unpromising branches early, then trains on the resulting rollout groups with GRPO using task-outcome rewards.

A key observation is that such enriched policies alter the distribution from which samples are drawn. Calling the non-enriched base policy πθ\pi_{\theta} for a set of parameters θ\theta (e.g., the parameters of an LLM), the goal of reinforcement learning (RL) is to maximize the expectation of a reward function RR on samples xx drawn from πθ\pi_{\theta}, whose gradient is:

g=∇θJ(θ)=Ex∼πθ[R(x)∇θlog⁡πθ(x)](1)g=\nabla_{\theta}J(\theta)=\mathbb{E}_{x\sim\pi_{\theta}}[R(x)\nabla_{\theta}\log\pi_{\theta}(x)] \tag{1}

∗^{*}Work done while an intern at Microsoft Research.

Computing a gradient u over samples from an enriched policy qθq_{\theta} instead of πθ\pi_{\theta} changes its value:

u=Ex∼qθ[R(x)∇θlog⁡πθ(x)](2)u=\mathbb{E}_{x\sim q_{\theta}}[R(x)\nabla_{\theta}\log\pi_{\theta}(x)] \tag{2}

Clearly u≠gu \neq g in general, so updating θ\theta with the enriched gradient uu can lead to a different training outcome. It is possible to correct uu, by weighing the contribution of each sample to counterbalance the difference in sampling rate: computing Ex∼qθ[πθ(x)qθ(x)⋅R(x)∇θlog⁡πθ(x)]\mathbb{E}_{x \sim q_\theta} \left[ \frac{\pi_\theta(x)}{q_\theta(x)} \cdot R(x) \nabla_\theta \log \pi_\theta(x) \right] instead of Equation (2).

However, many existing enrichment-based RLVR methods (Li et al., 2026a; Zhang et al., 2026b; 2025) do not compute the correction, or compute only a clipped approximation (Agrawal et al., 2026). Two reasons help explain this practice. First, full correction obtained by multiplying the correction weight πθ(x)/qθ(x)\pi_{\theta}(x)/q_{\theta}(x) often results in significant variance when using a finite number of samples to estimate g during training, especially for long-horizon samples generated using LLMs (Shen et al., 2026a). Second, perhaps more importantly, existing work has shown that uncorrected or partially corrected gradients, where the correction weight πθ(x)/qθ(x)\pi_{\theta}(x)/q_{\theta}(x) is truncated to stay within a fixed range, still often lead to good results. Consequently, most existing work focuses on developing methods of enrichment whose benefits hold under uncorrected or partially corrected gradients, as opposed to directly investigating the effects of weight correction on training or methods to reduce variance correction. This leads to the central question we aim to answer in this paper:

What does enrichment do to RL training, and what is gained or lost by correcting for it?

Our paper primarily investigates this question through a mathematical analysis that characterizes enrichment as implicitly modifying the objective used by RL, and correction as a process that recovers the declared objective (Section 2.1). We also observe that training on the modified objective does not necessarily always lead to a worse policy. The reweighted rewards manifest in training as a bias in the expected gradient, and we decompose the bias into scale and rotation terms, along with an additional variance term induced by finite estimation and correction, and isolate the effect that each element has on training through controlled experiments (Sections 2.2.1 and 2.2.2).

Our theory suggests that full correction may be worth investigating as an alternative for uncorrected enrichment in RL, but we observe that in LLMs-as-policies, the variance of the correction weights can be so high that standard correction results in computations that may not be stably representable in float32 (Shen et al., 2026a; Sheng et al., 2025). We thus develop a method for drawing rollouts from the enriched policy qθq_{\theta} while keeping the variance cost of correction low, based on sequential Monte-Carlo sampling (SMC) (Doucet et al., 2001). A key feature of our SMC-correction is an additive-in-length variance bound (under some mathematical assumptions in Section B.2) in contrast to the exponential bound of standard weight correction, and to the best of our knowledge, is the first approach that enables practical, untruncated weight correction for real RL training.

Finally, we fine-tune Qwen3-1.7B (Yang et al., 2025a) on a sparse-success subset of OpenMath-Reasoning (Moshkov et al., 2025), via (i) uncorrected enriched, (ii) SMC-corrected enriched, and (iii) unenriched RL as an application of our theory to analyze a real RL run (Section 4). Our results identify a concrete mode of training where enrichment, including the uncorrected variant, becomes useful: when the base policy has a behavioral profile that has a small number of successes concentrated on a few problems, unenriched base RL collapses towards them. Enrichment can expose the policy towards a more diverse set of successes and delay the collapse or avoid it altogether.

Overall, our paper is positioned as a study of enrichment and its correction, providing a theoretical basis for understanding enrichment and correction that future work can build upon rather than a novel algorithm that achieves state-of-the-art results.

References (64)