2025-02-13 · 进阶 · 自然语言处理 · 机器学习

Ignore the KL Penalty! Boosting Exploration on Critical Tokens to Enhance RL Fine-Tuning

这篇论文提出了一种改进的KL惩罚方法,通过优先探索关键标记来提高强化学习在微调大型语言模型时的探索效率。

更新于 2025-02-13。作者:Jean Vassoyan、Nathanaël Beau、Roman Plaud。

中文摘要

实现长期目标是当前大型语言模型(LLMs)发展中面临的关键挑战。为解决这一问题,可以通过强化学习(RL)对预训练的LLMs进行微调,以探索优化特定目标的解决方案。然而,LLMs的探索是困难的,因为需要在发现新解决方案和保持对预训练模型足够接近之间取得平衡,以免降低基本能力。这通常通过Kullback-Leibler(KL)惩罚来控制。在本文中,我们研究了一个小型语言模型在简单算术任务上的探索动态。我们展示了不同程度的预训练如何影响探索,并证明了“关键标记”的重要性,这些标记对最终结果有显著影响。因此,我们对KL惩罚进行了一种简单的修改,这种修改有利于在关键标记上进行探索,从而提高了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.

解读

一句话总结

这篇论文提出了一种改进的KL惩罚方法,通过优先探索关键标记来提高强化学习在微调大型语言模型时的探索效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt