RL's Razor:为什么在线强化学习遗忘更少
RL's Razor: Why Online Reinforcement Learning Forgets Less
AI总结:
该研究提出RL's Razor原理,指出同策略RL微调因隐含偏向KL散度最小的解,比SFT更能保留模型原有知识,并通过大语言模型与机器人基础模型实验及理论分析验证了该结论。
摘要:
对使用强化学习(RL)微调模型与监督微调(SFT)的对比显示,尽管二者在新任务上性能相近,但RL对原有知识与能力的保留效果显著更优。我们发现遗忘程度由分布偏移决定,该偏移以新任务上评估的微调策略与基础策略间的KL散度来衡量。分析表明,在众多可解决新任务的方案中,同策略(on-policy)RL隐含地偏向KL散度最小的解,而SFT可能收敛到与基础模型分布差异任意大的结果。我们通过大语言模型与机器人基础模型的实验验证了这些发现,并进一步为同策略RL更新带来更小KL变化的原因提供了理论依据。我们将这一原理命名为$\textit{RL's Razor}$:在所有解决新任务的方法中,RL更偏好与原始模型KL散度最接近的方案。
英文摘要:
Comparison of fine-tuning models with reinforcement learning (RL) and supervised fine-tuning (SFT) reveals that, despite similar performance at a new task, RL preserves prior knowledge and capabilities significantly better. We find that the degree of forgetting is determined by the distributional shift, measured as the KL-divergence between the fine-tuned and base policy evaluated on the new task. Our analysis reveals that on-policy RL is implicitly biased towards KL-minimal solutions among the many that solve the new task, whereas SFT can converge to distributions arbitrarily far from the base model. We validate these findings through experiments with large language models and robotic foundation models and further provide theoretical justification for why on-policy RL updates lead to a smaller KL change. We term this principle $\textit{RL's Razor}$: among all ways to solve a new task, RL prefers those closest in KL to the original model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。