An RL run does not crash, it drifts
When an ordinary program has a bug, it stops and prints an error. A reinforcement learning run does not. It keeps going, the loss stays at plausible values, no exception is raised, and yet somewhere between day three and day ten the model stopped learning anything useful, or worse, learned something nobody wanted.
That is what makes these failures hard: they are pathologies, not crashes. You diagnose them like diseases, by their symptoms, and the same symptom can have several very different causes. "Responses are getting longer" may mean the model is reasoning better, that it is exploiting a flaw in the loss function, or that it has found a way to please the judge without answering better. Three diagnoses, three opposite treatments.
This page walks through the best-documented failure modes of RL on LLMs, each following the same triptych: observable symptom → cause → countermeasure. Two of them are covered in depth elsewhere on this site; they are placed here so the map is complete, with a pointer.
Two pieces of vocabulary will keep coming back. A rollout is one complete response produced by the model during training, reasoning draft included, nothing more mysterious than that. And policy gradient is the basic principle behind all these algorithms: make what worked more likely, make what failed less likely.
1. Entropy collapse
The symptom
A policy's entropy measures its hesitation. High entropy: at each token, the model spreads probability across several plausible continuations. Low entropy: it almost always produces the same thing.
The symptom is a curve, and a very recognizable one. Policy entropy drops sharply right at the start of training, then sits on the floor. In parallel, reward rises fast… then saturates. Responses sampled from the same prompt become nearly identical to one another. Adding compute changes nothing: the curve is flat, permanently.
The cause
The cause is structural, not accidental. A policy-gradient algorithm reinforces what worked. But what worked is mostly made of actions the model already considered likely, those are the ones it samples most often. Every update therefore makes what was already probable a little more probable. It is a loop closing on itself.
Symmetric clipping (clipping means cutting off whatever goes past a bound) makes it worse, for the reason spelled out in the page on GRPO variants: because the upper bound is multiplicative, a rare but promising token has almost no room to break through, while a dominant token is barely constrained at all.
The key point is that you can only reinforce what you first sampled. A policy that no longer explores produces no new trajectories to reinforce; RL runs out of raw material.
This work describes entropy collapse as a systematic obstacle, observed across a great many runs whenever no intervention is planned. The authors establish an empirical relation between entropy and downstream performance of the form : here is the policy's entropy, the downstream score, Euler's constant (the base of the exponential) and and two coefficients fitted to the measurements. From it they draw a striking reading: performance is bought with entropy, and the attainable ceiling is predictable in advance, it is the value reached when hits zero.
They further show that the change in entropy is driven by the covariance between an action's probability and the change in its logit, a logit being the raw score the model gives a token before it is turned into a probability. That covariance stays mostly positive throughout training, which explains the monotonic decrease. Their two fixes, named Clip-Cov and KL-Cov, restrict updates on high-covariance tokens.
The countermeasures
- Loosen the upper clipping bound (DAPO's "clip-higher"), giving rare tokens room to grow.
- A Kullback-Leibler penalty toward the reference model, the Kullback-Leibler divergence, abbreviated KL after its two authors, measures how far apart two probability distributions are, or an entropy bonus added to the objective. Careful: the entropy bonus is notoriously fiddly, too small it does nothing, too large it pushes the policy toward noise.
- Target the tokens that actually carry exploration instead of treating all tokens alike. That is the idea in the work below.
- Watch entropy like a fuel gauge, not as a secondary metric. If it is on the floor, any additional compute is wasted.
Looking at where entropy actually sits inside a chain of thought, the authors find that only a small fraction of tokens has high entropy. These are forking tokens: the points where reasoning can tip one way or another. The remaining tokens merely unroll what follows. They also observe that RLVR, Reinforcement Learning with Verifiable Rewards, covered in the Reward modeling and RLVR page, largely preserves the base model's entropy structure and mostly adjusts those tokens. The practical conclusion: restricting policy-gradient updates to the top 20% highest-entropy tokens gives performance comparable to, and on the larger models better than, full-gradient updates. Conversely, training only on the 80% lowest-entropy tokens degrades results markedly.
2. Reward hacking (placed here, covered elsewhere)
Symptom: reward climbs, clearly and steadily, but independent evaluations do not move, or get worse. On reading, the responses are odd: they tick the boxes without solving the problem.
Cause: the reward is never the real objective, only a measurable proxy for it. Any sufficiently powerful optimizer eventually finds the gap between the two and pours into it. The model is not "cheating" in any moral sense: it is doing exactly what it was told to maximize.
Countermeasure: make the proxy harder to detach from the objective, hence the value of verifiable rewards, where success is established by a machine rather than estimated by a learned model.
Reward hacking is the central subject of the Reward modeling and RLVR page, which explains why learned reward models are particularly exposed and what an exact verifier changes. The page on RL infrastructure for agents also shows that a verifiable reward reduces the risk without eliminating it: an agent can still pass the tests without solving the real problem. We do not repeat that here.
3. Response length explosion
The symptom
Mean response length climbs step after step, often dramatically. The context window eventually saturates. Generation cost explodes, so training throughput collapses. And most of the time, accuracy does not follow, or stops following.
The cause: there are several, and they must be told apart
This is the textbook case of one symptom with multiple causes.
a) Legitimate lengthening. On a reasoning task, thinking longer genuinely helps. A model that learns to check its result, consider a second case, or back out of a mistake mechanically produces longer and more accurate responses. This is not a pathology, and you must resist the urge to fix it.
b) A bias in the loss function. If each response's loss is divided by that response's length, then a wrong response is penalized less per token the longer it is. The model therefore has an incentive to be wrong at length. This is a pure implementation artifact, and it is the bias Dr. GRPO corrects.
c) Reward-length correlation. A learned judge (meaning a reward model, as opposed to a mechanical verifier) often prefers long, structured, confident answers. A long answer also mechanically has a better chance of containing the right answer somewhere. Either way, length is rewarded without quality rising: this is reward hacking, with length as the vector.
d) Plain degeneration. Repetition loops, rambling, paragraphs that copy themselves. This is no longer reasoning, it is a collapse of generation.
The discriminating test
The question to ask is simple: is accuracy rising along with length?
- Length up and accuracy up → case (a); leave it alone.
- Length up, accuracy flat → case (b), (c) or (d). You have to look at the responses themselves.
A second indicator is highly informative: does the length of wrong responses evolve differently from that of correct ones? If only the bad answers are inflating, the diagnosis leans heavily toward the normalization bias.
The countermeasures
- Token-level loss rather than sequence-level (DAPO), so end-of-generation failures are actually penalized.
- Remove the length normalization in the advantage (Dr. GRPO).
- A graded length penalty past a soft threshold, instead of a guillotine at the hard limit.
- Repetition detection during generation: identify repeating sequences, cut early, and optionally attach an explicit penalty. This is a piece of the rollout system, not of the algorithm.
4. The length and difficulty biases introduced by normalizations
These two deserve to be named separately because they are invisible: they show up on no curve. You only see them by re-reading the formula.
The length bias comes from dividing each response's loss by its own length. Effect: long responses are under-weighted token by token, in both directions, their good passages are barely learned, their bad passages barely punished.
The difficulty bias comes from dividing the advantage by the group standard deviation . That standard deviation is small when a question is almost always solved or almost never solved. Dividing by it therefore amplifies the weight of trivial and impossible questions, precisely the ones that teach nothing.
The limiting case of the second is spectacular: if every response in a group carries the same reward, the advantage is zero for all of them. You paid to generate an entire group for a zero gradient. And the share of such groups grows as the model improves.
The general lesson is that in RL, the denominator is a choice of objective, not a detail of scale. Dividing by length, by standard deviation, by the number of responses, or by the batch's total token count does not change the order of magnitude of the gradient: it changes what is being optimized. A good share of the "improvements" published since 2025 consists, literally, of changing a denominator.
The detail of these two biases, their demonstration, and their correction by Dr. GRPO (along with DAPO's dynamic sampling, which discards uniform-reward groups before the gradient is even computed) are developed in the GRPO variants page.
5. Off-policyness from stale rollouts (placed here, covered elsewhere)
A word on the vocabulary, because it misleads. An algorithm is on-policy when the responses it learns from come from the very version of the model it is updating, and off-policy when they come from another version. Papers call the degree of that mismatch off-policyness.
Symptom: the Kullback-Leibler divergence against the generating policy climbs, the fraction of clipped samples rises, training gets jumpy and then diverges, typically right after you pushed parallelism up or made rollouts longer.
Cause: in an asynchronous system, rollouts are produced by a version of the model that is already out of date by the time you use them for the update.
Countermeasure: bound rollout staleness; correct with importance sampling, that is, reweight each response by the ratio between the probability the current model gives it and the probability the model that generated it gave it; clip that weight.
This whole point is developed in the RL infrastructure for agents: rollouts, environments, off-policy page, which explains why the asynchronous architecture creates this gap and how the throughput-versus-freshness trade-off is arbitrated.
What needs adding: the silent off-policyness
There is a second source of mismatch, less well known and particularly treacherous, because it survives even in a perfectly synchronous system where you believe you are strictly on-policy.
In nearly every modern setup, generation and training are not done by the same code. You generate with an inference engine tuned for throughput, and you train with a framework tuned for backpropagation. These two engines do not implement the same compute kernels, do not necessarily work in the same numerical precision, and do not group requests the same way.
The result: for exactly the same tokens, the two engines do not compute rigorously the same probability. The discrepancies are tiny, but the importance ratio takes them full in the face. You think you are computing a ratio of 1 (same policy, same tokens) and you get something else. The algorithm reads that numerical discrepancy as a policy shift and "corrects" it, when there is nothing to correct.
It is pernicious because nothing announces it: no error message, no obvious curve. You wrote an on-policy training run, and you are in fact doing low-grade off-policy RL, continuously.
Countermeasures: have the training engine compute the reference log-probabilities (the logarithm of the probability a model assigns a token, and numerical stability says why one never works on the raw probability) rather than reusing the generation engine's; use kernels whose result does not depend on batch size, which several teams are explicitly working on; or pick a less sensitive algorithm such as GSPO, whose sequence-level ratio smooths these micro-discrepancies out instead of absorbing them token by token.
This is a very active engineering topic in 2025-2026, documented largely in technical posts from infrastructure teams rather than in peer-reviewed papers. That the phenomenon exists is not disputed; how much it matters across configurations still is.
6. Partial rollouts and interrupted generations
The symptom
A non-negligible share of trajectories have no ending: they hit the maximum token budget. The verifier, looking for a final answer, finds nothing and scores zero. And that share grows exactly when training is working, since the model is learning to reason at greater length.
The cause
Two distinct problems hide behind this symptom.
The first is a reward problem. Scoring a truncated trajectory zero means conflating "wrong" with "unfinished". A chain of reasoning cut off mid-flight may have been excellent up to the cut. So you inject noise into the signal, and worse, noise systematically correlated with length: you punish thinking for a long time, which is exactly the behaviour you are trying to elicit.
The second is a credit-assignment problem, the question of which decision deserves the credit or the blame for the final outcome. Some systems do not discard unfinished trajectories: they resume them. The portion already produced is set aside, and generation continues at the next iteration. This is the technique known as partial rollouts, and it is very effective for training on long contexts without every iteration waiting on the slowest trajectory.
But it creates a conceptual difficulty: a single trajectory ends up stitched together from several versions of the model. Its beginning was produced by the policy of five iterations ago, its ending by today's. Treating that seam as a homogeneous sample from one policy is simply false, the importance ratio no longer has a well-defined referent.
The body of the technical report, the mechanism does not appear in the abstract, describes it unambiguously: you fix an output token budget; if a trajectory exceeds the limit during the rollout phase, the unfinished portion is saved to a replay buffer and continued in the next iteration. Only the current segment requires on-policy computation; earlier segments are reused from the buffer rather than regenerated. The authors note that certain segments can be excluded from the loss computation, which is precisely the countermeasure to the attribution problem above. They also mention repetition detection built into the system: repeating sequences are terminated early, and repetition can be given an additional penalty.
The countermeasures
- Mask the loss on truncated trajectories: they contribute neither positively nor negatively. This is the simplest and safest remedy.
- Exclude from the loss any segment produced by a policy that is too old, rather than training on the whole seam.
- A soft, graded penalty before the hard limit, so the model learns to wrap up instead of being guillotined.
- Track the truncation rate as a first-class metric. If it climbs fast, either the token budget is too tight or a length explosion is under way.
7. Diversity collapse and forgetting of general capabilities
The symptom
Two faces of the same drift.
On diversity: the model succeeds more often on the first try, but the attempts it produces on a given problem have become interchangeable. Technically: pass@1 rises while pass@k for large stalls or falls. The two notations read "pass in 1 attempt" and "pass in attempts": pass@1 is the probability of getting the right answer first time, pass@k the probability that at least one of attempts is right. The model has become more reliable, but its repertoire has narrowed.
On forgetting: evaluations unrelated to the training domain degrade quietly. You trained on competition maths; six days later the model follows instructions less well, writes worse in other languages, adopts an exam-paper tone everywhere. Nobody was watching those metrics, because you were optimizing something else.
The cause
Forgetting has a simple explanation: you optimize, at length and forcefully, on a narrow distribution. Nothing preserves what lies outside it. This is classic catastrophic forgetting applied to post-training.
The loss of diversity runs deeper and touches a question the community has not settled.
This work probes the capability boundary of RLVR-trained models across several model families, several RL algorithms and several domains, using pass@k at large values of . "Base model" here means the model as it comes out of pretraining, before any RL stage. The finding is uncomfortable: RLVR-trained models do beat their base model at small , but the base model achieves a higher pass@k once gets large. Their coverage analyses conclude that the observed reasoning abilities originate from the base model and are bounded by it. The authors further note that six widespread RLVR algorithms behave comparably and all remain far from optimal in exploiting the base model's potential, whereas distillation, training a model to imitate a stronger model's outputs, see On-policy distillation can introduce genuinely new reasoning patterns.
These results are important and seriously established, but they are not unanimous: the debate turns in particular on what pass@k at large actually measures and on what happens at far larger RL compute scales. Take them as a solid result on the configurations tested, not as a final verdict on what RL can do.
If that reading is right, then diversity loss is not a repairable accident but the very way RLVR works as currently practised: it concentrates probability mass on the winning trajectories the base model already knew how to produce. The gain in pass@1 and the loss in pass@k are two sides of the same operation.
The countermeasures
- Measure pass@k, not just pass@1. This is the main countermeasure, because it is the one that makes the problem visible. A run that improves pass@1 while destroying pass@k has not made the model more capable, only more confident.
- Keep a Kullback-Leibler penalty toward the reference model, or mix general data into the domain data, to limit forgetting.
- Evaluate broadly and regularly, including outside the trained domain. Regressions happen where nobody is looking.
- Merge or average weights with the starting model, to recover some general capability without giving up all the reasoning gain, see Model merging: TIES.
- Do not expect from RL what it does not do. If the goal is to install a reasoning capability the base model does not have at all, distillation from a stronger model is a different and complementary tool.
Summary table: symptom, cause, countermeasure
| Observable symptom | Likely cause | Countermeasure |
|---|---|---|
| Entropy collapsing early, reward saturating | Policy gradient reinforces what is already likely; symmetric clipping | Clip-higher, Kullback-Leibler penalty, cautious entropy bonus, target forking tokens |
| Reward rising, independent evals flat or falling | Reward hacking: the proxy detaches from the objective | Verifiable rewards (see the RLVR page) |
| Length rising together with accuracy | Genuinely longer reasoning | Do nothing, this is not a failure |
| Only the wrong answers get longer | Length bias from the denominator | Remove length normalization (Dr. GRPO), token-level loss |
| Length rising, accuracy flat, verbose answers | The judge rewards length | Graded length penalty, revisit the reward |
| Repetition, rambling at end of generation | Generation degeneration | Repetition detection and early stop, explicit penalty |
| Many zero-gradient groups | Trivial or impossible questions, zero advantage | Dynamic sampling (DAPO), difficulty filtering |
| Kullback-Leibler climbing, clipping rate rising | Stale rollouts, off-policyness | Bound staleness, importance sampling (see the RL infrastructure page) |
| Instability with no obvious cause, even when synchronous | Numerical gap between generation engine and training engine | Recompute log-probabilities on the training side, batch-size-invariant kernels, sequence-level ratio (GSPO) |
| Truncation rate climbing | Token budget saturated; trajectories wrongly scored zero | Mask the loss on truncated samples, soft penalty before the limit |
| pass@1 up, pass@k down | Policy concentration, narrowed repertoire | Measure pass@k, KL, weight merging |
| Regressions outside the training domain | Catastrophic forgetting | Mix in general data, evaluate broadly |
The minimal dashboard
Almost all of these pathologies can be caught early if you watch the right curves. The minimal set, in practice:
- Policy entropy, the fuel gauge for exploration.
- Mean length, separately for correct and for incorrect responses, the split is what makes the diagnosis, not the global mean.
- Truncation rate, what share of trajectories have no ending.
- Fraction of uniform-reward groups, how much compute is being thrown away.
- Clipping rate and Kullback-Leibler divergence, the health of the off-policy approximation.
- pass@1 and pass@k, plus an out-of-domain evaluation, the only way to see diversity loss and forgetting.
None of these metrics is expensive to instrument. All of them are very expensive to discover three days too late.
Why this matters
RL on LLMs has a reputation for fragility, and it is deserved, but it is misunderstood. It is not an unstable process in the sense of producing unpredictable results: it is a process that optimizes too well. Every time a shortcut exists between the measured behaviour and the intended behaviour, optimization finds it. Wrong answers getting longer, exploration disappearing, verbose responses, a narrowing repertoire: these are not malfunctions, they are correct answers to badly specified objectives.
That shifts the nature of the work. Running RL on an LLM is less about choosing an algorithm than about carefully specifying what you measure (denominator included) and then instrumenting enough to see the drift coming. It also explains why so many recent contributions in this field are diagnoses rather than new formulas: once the pathology is named, the fix often fits on one line.
Key takeaways
- An RL run does not crash, it drifts: failures are pathologies to be diagnosed by symptom, and one symptom can have several opposite causes.
- Entropy collapse is the field's structural ailment: policy gradient reinforces what is already likely, the policy freezes early, and you can only reinforce what you first sampled. Performance is literally paid for in entropy.
- Longer responses are not always a disease. The discriminating test is whether accuracy follows, and whether the lengthening affects mainly the wrong answers, in which case the cause is a denominator bias, not reasoning.
- Normalizations are choices of objective. Dividing by length creates a length bias, dividing by the group standard deviation creates a difficulty bias; both are invisible on the curves and are fixed by changing the formula.
- Truncated rollouts must not be scored wrong: doing so conflates "unfinished" with "incorrect" and punishes reasoning at length. Resuming them as partial rollouts is efficient but stitches a trajectory from several policies, which requires excluding some segments from the loss.
- Diversity loss shows up in pass@k, not pass@1: a model more reliable on the first attempt may have a poorer repertoire, and whether RLVR truly expands the base model's capabilities or merely sorts them remains an open question.
1. During an RL run, the average response length climbs steadily. What is the first question to ask?
2. Why does the policy's entropy collapse so often, without intervention, right from the start of an RL run?
3. In an RL loss function, is dividing by the response length or by the group's standard deviation just a matter of scale?
4. A team runs a perfectly synchronous, strictly on-policy training loop. Can they still suffer off-policy drift?
5. After an RLVR run, pass@1 rises sharply but pass@k at large k stalls, or even drops below the base model. What does that suggest?