The Entropy Mechanism of Reinforcement Learning for Reasoning Language Models
TL;DR. Without an entropy intervention, RL on reasoning models spends its policy entropy quickly and then stalls. Across 11 base models, validation performance follows , so the final score can be predicted early. The paper shows that one step of policy gradient changes entropy by minus the covariance between a token’s log-probability and its advantage. Because a tiny fraction of tokens has very high covariance, clipping or KL-penalizing just those tokens (Clip-Cov, KL-Cov) keeps entropy up and improves results, by +6.4 points on average for Qwen2.5-32B.
Why it matters now. “Entropy collapse” is the symptom behind several fixes you will meet in RLVR, including DAPO’s clip-higher. This paper gives the first clean answer to why entropy falls and which tokens cause it. For a researcher training search agents, it gives a diagnostic you can log (covariance per token) and a cheap, targeted control, instead of a global entropy bonus that is hard to tune.
Key idea
Section titled “Key idea”1. The empirical law
Section titled “1. The empirical law”The paper trains 11 base models (Qwen2.5 0.5B–32B, Mistral, LLaMA, DeepSeek-Math) with GRPO, REINFORCE++ and PRIME on math and code, with no KL and no entropy bonus. In every run, entropy drops fast: 73% of the entropy and 76% of the performance gain are used in the first 200 of 2,400 gradient steps. Plotting validation performance against entropy gives a curve with two fitted numbers:
Training moves left along this curve, buying reward with entropy. When entropy reaches 0, the predicted ceiling is . Fitting on the first 36 steps predicts the next 200 with RMSE 0.9% (math) and 1.2% (code). The coefficients do not depend on the RL algorithm, but they do depend on the model and data, and they are log-linear in model size within Qwen2.5.
2. Why entropy changes: a covariance
Section titled “2. Why entropy changes: a covariance”For a softmax policy with logits , the entropy change after one update is, to first order (Lemma 1):
What sets is the algorithm. With vanilla policy gradient, (Theorem 1); with natural policy gradient, (Theorem 2):
In words: rewarding a token the model already likes, or punishing a token it already dislikes, lowers entropy. Rewarding a rare token or punishing a likely one raises it. In RLVR the policy mostly samples likely tokens, and the ones in correct answers get positive advantage, so the covariance stays positive and entropy keeps falling. The paper measures this: and the covariance follow nearly the same curve during GRPO training, and easier prompts (higher group accuracy) have higher covariance.
Worked example. Take three tokens with , so and .
| Advantages | (NPG) | Reading | |
|---|---|---|---|
| sharpening on the favorite | |||
| rewarding a rare token |
A finite-difference check (update the logits by and recompute ) gives the same numbers. Adding a constant to every advantage leaves the covariance unchanged, so only which tokens get the high advantages matters, not the baseline.
3. Controlling entropy at the token level
Section titled “3. Controlling entropy at the token level”The paper first tries the usual tools. An entropy bonus is very sensitive: coefficients of 0.0001 and 0.001 do little, 0.01 makes entropy explode, and 0.005 holds entropy steady but does not beat the baseline. A reference-KL penalty keeps entropy up but lowers performance.
Instead, it looks at the per-token covariance term in a batch of tokens:
This is heavy-tailed. At step 1 on Qwen2.5-7B, the top 0.02% of tokens have mean covariance 5.65, the top 2% have 1.39, and the average over all tokens is 0.003. Two methods act only on that tail:
- Clip-Cov. Among tokens with covariance in (hundreds of times the mean), pick a random fraction of the batch and detach their gradient.
- KL-Cov. Add (with ) for the top fraction of tokens by covariance: for 7B and for 32B.
Clip-Cov targets 0.02% of batch tokens. KL-Cov targets 0.2% at 7B and 0.02% at 32B. Raising , or raises the entropy level, so entropy becomes a tunable quantity. KL-Cov is the more stable of the two.
Key results
Section titled “Key results”-
Setup (§4). Qwen2.5-7B and 32B base models trained on DAPO-Math data with 256 prompts × 8 samples, temperature 1, 8 policy updates per rollout, groups that are all right or all wrong filtered out, and up to 8,192 generated tokens. AIME and AMC are scored as avg@32 at temperature 0.6; the other benchmarks use greedy decoding.
-
Main table (Table 2, single runs). Average over seven math benchmarks:
Model GRPO Clip-higher Clip-Cov KL-Cov Qwen2.5-7B 38.6 38.8 40.4 40.6 Qwen2.5-32B 45.8 47.2 50.3 52.2 At 32B, KL-Cov raises AIME24 from 21.8 to 36.8 and AIME25 from 16.2 to 30.8. Clip-higher reaches 35.6 on AIME24 but drops MATH-500 from 84.2 to 77.2.
-
Dynamics. KL-Cov keeps entropy more than 10× above GRPO’s plateau, and responses grow longer. Clip-higher raises entropy early, then becomes unstable. The tokens it lets through have slightly negative average covariance (about −0.03), so it does push entropy up, but less selectively.
-
Scale. The paper reads the larger 32B gain as a sign that bigger models have more unused potential that entropy collapse hides.
Limitations & open questions
Section titled “Limitations & open questions”- The law is empirical. §2.6 notes it does not hold the same way for every policy or for off-policy data, and the summary in §2 even writes it in a second form, , which is a typo for the fitted equation. Treat the predicted ceiling as specific to a model, dataset and recipe.
- Table 2 has one run per cell and no seeds, and the methods produce longer answers, so token budget is not matched. Without repeated seeds, gains of 1–2 points at 7B are not enough to establish a robust advantage.
- What is the right entropy level? The paper can set entropy but finds no clear relation between entropy and final score.
- Token entropy is not strategy diversity. A policy can keep high per-token entropy by varying wording while still using one solution plan. Coverage measures such as pass@k at large k are the more direct check (see RL boundary).
- The theory is first-order and assumes a tabular softmax; with PPO-style clipping and many updates per rollout, it is a guide rather than an exact prediction.
Connections
Section titled “Connections”- Where the problem is first patched: DAPO’s clip-higher, which this paper explains and compares against.
- The base algorithm and advantages being correlated with probability: DeepSeekMath / GRPO, Dr. GRPO.
- The ceiling debate it takes a side in: Does RL really incentivize reasoning beyond the base model?
- Value-based alternative that also works on long-CoT stability: VAPO.
- Entropy bonus and natural policy gradient background: PPO.
- How to report entropy, pass@k and diversity fairly: Evaluating reasoning RL.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
A softmax policy over three tokens has probabilities [0.7, 0.2, 0.1]. Under natural policy gradient the entropy change is about −η·Cov(log π, A), with the covariance taken under π. Compute the covariance and the sign of the entropy change when the advantages are [1, −0.5, −0.5], and again when they are [−0.5, −0.5, 1]. Which case is "sharpening" and which is "exploring"?
What a strong answer covers
- log π ≈ [−0.357, −1.609, −2.303], with π-weighted mean ≈ −0.802. Case 1: mean advantage 0.55, covariance ≈ 0.47, so entropy falls by about 0.47·η.
- Case 2: mean advantage −0.35, covariance ≈ −0.23, so entropy rises by about 0.23·η.
- A finite-difference check with logits z + η·A matches both numbers, so the first-order formula is accurate for small η.
- Case 1 rewards the already-likely token (sharpening). Case 2 rewards a rare token (exploring). Shifting all advantages by a constant does not change the covariance, so only the pairing of probability and advantage matters.
- Derive / compute
The paper fits validation performance to entropy as R = −a·exp(H) + b. Derive the predicted ceiling, the marginal gain dR/dH, and explain why fitting only the first 15% of training steps can predict the final score. What does this imply about how much later training is worth without an entropy intervention?
What a strong answer covers
- At H = 0 the prediction is R = b − a, the ceiling once entropy is exhausted.
- dR/dH = −a·exp(H): each unit of entropy spent buys a gain of about a·exp(H), which is largest at high entropy and smallest near 0.
- Because R is a fixed function of H, observing the early part of the curve fixes a and b; the rest of training only moves along it. The paper fits 36 steps and predicts the next 200 with RMSE 0.9% (math) and 1.2% (code).
- 73% of the entropy and 76% of the gain are spent in the first 200 of 2,400 steps, so most later steps give marginal returns unless entropy is managed.
- Mechanism
Explain why a standard entropy bonus or a reference-KL penalty is a poor tool for preventing entropy collapse according to this paper, and why acting on only a tiny fraction of tokens (0.02% for Clip-Cov; 0.2% at 7B and 0.02% at 32B for KL-Cov) can work better.
What a strong answer covers
- An entropy bonus acts on every token. In §4.1 small coefficients (0.0001, 0.001) barely change entropy, 0.01 makes it explode, and 0.005 holds entropy but does not beat the baseline: the knob is very sensitive.
- Reference KL keeps entropy up by pulling the whole policy toward the start, which also undoes useful learning; performance degrades.
- The covariance is heavy-tailed: at step 1 on Qwen2.5-7B the top 0.02% of tokens have mean covariance 5.65 versus 0.003 overall (Table 1), so a tiny set of tokens drives most entropy loss.
- Clip-Cov detaches the gradient of a random fraction (2e-4) of tokens with covariance between 1 and 5; KL-Cov adds a KL term on the top 2e-3 (7B) or 2e-4 (32B). Both leave the rest of the update alone.
- What if…
Table 2 reports single runs on 7B and 32B Qwen2.5 for GRPO, clip-higher, Clip-Cov and KL-Cov. KL-Cov gains +2.0 average at 7B but +6.4 at 32B. Read the per-benchmark numbers and say what they do and do not support. What controls are missing?
What a strong answer covers
- 32B: GRPO averages 45.8, KL-Cov 52.2; AIME24 21.8 to 36.8 and AIME25 16.2 to 30.8. 7B: 38.6 to 40.6, with smaller and mixed per-benchmark changes.
- Clip-higher already reaches 35.6 on AIME24 at 32B but drops MATH-500 from 84.2 to 77.2, which fits the paper's report that it becomes unstable later.
- AIME has 30 problems per year, so a few problems move scores by over 10 points; one run per cell and no seeds means differences of 1–2 points on average are not reliable.
- Missing: several seeds, matched generated tokens (KL-Cov responses get longer), a tuned entropy-bonus baseline with the same entropy level, and pass@k to show whether the method extends coverage or only pass@1.
- Critique
The paper suggests the ceiling found by Yue et al. (base models beat RL models at large pass@k) is caused by entropy collapse rather than by RL itself. How strong is this argument, and what experiment would test it directly?
What a strong answer covers
- Supporting evidence: the fitted law predicts a ceiling when entropy reaches 0, and keeping entropy higher raised scores in Table 2.
- But the law is empirical and not universal: §2.6 notes other policies and off-policy data show different patterns, and the paper finds no clear link between entropy level and final performance.
- Entropy is per-token uncertainty; coverage at large k depends on whether whole solution strategies stay reachable, which token entropy measures only indirectly.
- Direct test: train with and without KL-Cov at matched compute and plot pass@k up to large k against the base model; if the crossover disappears or moves right, the entropy explanation gains support.
- Design
You RL-train a search agent and see query diversity collapse: after 100 steps, every rollout in a group issues nearly the same first query. Using this paper's covariance view, design an intervention and the measurements that would show it works.
What a strong answer covers
- Log per-token covariance between log-probability and advantage, separately for query tokens and answer tokens; expect high covariance on the first query tokens that the policy already favors and that get rewarded.
- Apply KL-Cov (or Clip-Cov) only to the top fraction of query tokens by covariance, leaving answer tokens free to sharpen.
- Measure distinct queries per group, retrieved-document overlap between rollouts, pass@1 and pass@k, at matched search calls.
- Check that higher entropy brings useful diversity (different documents, different strategies) rather than paraphrases of the same query.