arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.03493cs.LGcs.AI
收藏

在LLM-RL算法中的熵控制

On Entropy Control in LLM-RL Algorithms

Ant Group(蚂蚁集团)

Han Shen

AI总结:

本文提出AEnt方法,通过改进的熵控制策略提升LLM-RL算法在数学推理任务中的性能。

摘要:

在强化学习算法中,适当的熵控制对其有效性至关重要。为了控制策略熵,常用的方法是熵正则化,该方法被应用于各种流行的强化学习算法中,包括PPO、SAC和A3C。尽管熵正则化在机器人和游戏强化学习中通常表现良好,但研究表明在LLM-RL训练中,它提供的增益很弱甚至没有。在本工作中,我们研究了LLM-RL设置中的熵奖励问题。具体来说,我们首先指出,传统的熵正则化在LLM的极大规模响应空间和最优输出的稀疏性方面存在困难。为了解决这一问题,我们提出了AEnt,一种利用新 clamped 熵奖励和自动调整系数的熵控制方法。clamped 熵通过在特定较小的token空间上定义重新规范化的策略进行评估,这鼓励在更紧凑的响应集内进行探索。此外,该算法根据clamped熵值自动调整熵系数,从而有效控制熵引起的偏差,同时利用熵的优势。AEnt在不同基础模型和数据集下的数学推理任务中进行了测试,并观察到AEnt在多个基准上均优于基线方法。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑