RL for LLM Agents

Entropy Collapse: When RL Training Stops Exploring

Why policy entropy falls during RL fine-tuning, how to see it, and what helps preserve diversity.

RL for LLM Agents · 4 min read

During RL fine-tuning, a model’s outputs can become more and more alike. That helps in the short run and hurts later, because a policy that stops trying new things stops finding better ones.

What entropy measures here

The entropy of the policy’s next-token distribution measures how spread out its choices are. High entropy means many plausible continuations. Low entropy means the model is nearly deterministic.

Why it falls

Policy-gradient updates increase the probability of actions with positive advantage. If the same few high-probability behaviors keep getting rewarded, their probabilities rise, and the others shrink. Without a counterforce, entropy drops quickly early in training, and learning can plateau.

What to watch and what to try

  • Log policy entropy and the number of distinct sampled solutions per prompt.
  • An entropy bonus in the objective encourages spread, but a large one destabilizes training.
  • Asymmetric clipping that lets low-probability tokens rise more can help preserve diversity.
  • Sampling temperature during rollouts is a separate knob from the training objective.
  • Keep a diverse, appropriately hard problem set.

Connect it to evaluation

Falling entropy often shows up as pass-at-1 improving while pass-at-k for larger k stalls. If your application samples many candidates and verifies them, that diversity matters, so measure it rather than assuming more reward is always better.

More guides from this book