忽略KL惩罚!通过增强关键token的探索来提升强化学习微调效果
Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuning
AI总结:
针对LLMs实现长期目标的挑战,本文研究其RL微调中的探索动态,提出修改KL惩罚以增强关键token探索的方法,提升微调效率。
摘要:
实现长期目标的能力是当前大型语言模型(LLMs)发展中的关键挑战。为解决这一问题,预训练LLMs可通过强化学习(RL)微调来探索优化给定目标的解决方案。然而,LLMs的探索具有难度,因为需在发现新解决方案与足够贴近预训练模型以避免基础能力退化之间取得平衡,这通常由Kullback-Leibler(KL)惩罚控制。本文研究了小型语言模型在简单算术任务上的探索动态,展示了不同预训练程度对探索的影响,并证明了对最终结果有显著影响的“关键token”的重要性。因此,我们对KL惩罚进行了简单修改,使其倾向于在关键token上探索,从而提高RL微调阶段的效率。
英文摘要:
The ability to achieve long-term goals is a key challenge in the current development of large language models (LLMs). To address this, pre-trained LLMs can be fine-tuned with reinforcement learning (RL) to explore solutions that optimize a given goal. However, exploration with LLMs is difficult, as a balance has to be struck between discovering new solutions and staying close enough to the pre-trained model, so as not to degrade basic capabilities. This is typically controlled with a Kullback-Leibler (KL) penalty. In this paper, we investigate the exploration dynamics of a small language model on a simple arithmetic task. We show how varying degrees of pre-training influence exploration and demonstrate the importance of "critical tokens" which have a dramatic impact on the final outcome. Consequently, we introduce a simple modification to the KL penalty that favors exploration on critical tokens, increasing the efficiency of the RL fine-tuning stage.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。