On Entropy Control in LLM-RL Algorithms
Han Shen
TL;DR
This paper reveals that traditional entropy regularization offers limited benefits in LLM-RL due to the vast action space and sparse optimal outputs, leading to entropy bias and collapse. It introduces AEnt, which clamps entropy to a smaller, auto-densified token subset and adaptively tunes the entropy coefficient, balancing exploration and optimization bias. Theoretical insights explain why entropy helps only under certain conditions and empirical results show AEnt consistently improving performance across multiple math-reasoning benchmarks, while maintaining stable entropy and shorter, more concise outputs. The work offers a practical strategy to harness entropy benefits in LLM-RL and suggests future directions for refining token-space clamping and theoretical analysis of the clamped-entropy mechanism.
Abstract
For RL algorithms, appropriate entropy control is crucial to their effectiveness. To control the policy entropy, a commonly used method is entropy regularization, which is adopted in various popular RL algorithms including PPO, SAC and A3C. Although entropy regularization proves effective in robotic and games RL conventionally, studies found that it gives weak to no gains in LLM-RL training. In this work, we study the issues of entropy bonus in LLM-RL setting. Specifically, we first argue that the conventional entropy regularization suffers from the LLM's extremely large response space and the sparsity of the optimal outputs. As a remedy, we propose AEnt, an entropy control method that utilizes a new clamped entropy bonus with an automatically adjusted coefficient. The clamped entropy is evaluated with the re-normalized policy defined on certain smaller token space, which encourages exploration within a more compact response set. In addition, the algorithm automatically adjusts entropy coefficient according to the clamped entropy value, effectively controlling the entropy-induced bias while leveraging the entropy's benefits. AEnt is tested in math-reasoning tasks under different base models and datasets, and it is observed that AEnt outperforms the baselines consistently across multiple benchmarks.
