arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01067cs.LG
收藏

条条大路通似然:强化学习在微调中的价值

All Roads Lead to Likelihood: The Value of Reinforcement Learning in Fine-Tuning

Carnegie Mellon University(卡内基梅隆大学);Cornell University(康奈尔大学)

Gokul Swamy, Sanjiban Choudhury, Wen Sun, Zhiwei Steven Wu, J. Andrew Bagnell

AI总结:

本文从理论和实证角度探究强化学习在微调中的价值,发现两阶段在线微调因只需搜索简单验证器对应的策略子集,所需数据少于离线微调。

摘要:

从第一性原理的角度来看,基础模型微调(FT)中最强的结果是通过一个相对复杂的两阶段训练过程实现的,这似乎有些奇怪。具体来说,首先在某个数据集(例如人类偏好)上训练一个奖励模型(RM),然后将其用于提供在线反馈,作为下游强化学习(RL)过程的一部分,而不是直接通过离线最大似然估计在该数据集上优化策略参数。事实上,从信息论的角度来看,通过奖励模型只会丢失信息,而不能通过在线策略采样创造任何新信息。为了解释这一差异,我们从理论和实证两个角度审视了关于RL在微调中价值的几个假设。在考虑的假设中,我们发现最支持的解释是:在存在生成-验证差距的问题上,(1)从偏好数据中学习相对简单的奖励模型(验证器)相对容易。然后,(2)下游RL过程只返回对这些相对简单的验证器最优的策略(生成器)。因此,端到端的两阶段在线微调只需在完整策略空间的缩减子集上进行搜索,所需数据少于离线微调。

英文摘要:

From a first-principles perspective, it may seem odd that the strongest results in foundation model fine-tuning (FT) are achieved via a relatively complex, two-stage training procedure. Specifically, one first trains a reward model (RM) on some dataset (e.g., human preferences) before using it to provide online feedback as part of a downstream reinforcement learning (RL) procedure, rather than directly optimizing the policy parameters on said dataset via offline maximum likelihood estimation. In fact, from an information-theoretic perspective, we can only lose information via passing through a reward model and cannot create any new information via on-policy sampling. To explain this discrepancy, we scrutinize several hypotheses on the value of RL in FT through both theoretical and empirical lenses. Of the hypotheses considered, we find the most support for the explanation that on problems with a generation-verification gap, (1) it is relatively easy to learn the relatively simple RM (verifier) from the preference data. Then, (2) the downstream RL procedure only returns policies (generators) that are optimal for such relatively simple verifiers. Thus, end-to-end, two-stage online FT only has to search over a reduced subset of the full space of policies, requiring less data than offline FT.

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

↑