RIFT:通过奖励引导微调重用负样本
RIFT: Repurposing Negative Samples via Reward-Informed Fine-Tuning
AI总结:
RIFT通过奖励引导微调利用所有自生成样本,重用负轨迹并重新加权损失,提升对齐效率。
摘要:
尽管监督微调(SFT)和拒绝采样微调(RFT)是LLM对齐的标准方法,但它们要么依赖昂贵的专家数据,要么丢弃有价值的负样本,导致数据不高效。为此,我们提出了奖励引导微调(RIFT),一个简单而有效的框架,利用所有自生成样本。不同于RFT的硬阈值处理,RIFT重用负轨迹,通过标量奖励重新加权损失,从模型输出的正负轨迹中学习。为克服由简单奖励整合导致的训练崩溃问题,其中直接相乘导致损失无界,我们引入了稳定的损失公式,确保数值稳健性和优化效率。在各种基础模型上的数学基准测试中,RIFT一致优于RFT。我们的结果表明,RIFT是使用混合质量自生成数据进行对齐的稳健且数据高效的替代方案。
英文摘要:
While Supervised Fine-Tuning (SFT) and Rejection Sampling Fine-Tuning (RFT) are standard for LLM alignment, they either rely on costly expert data or discard valuable negative samples, leading to data inefficiency. To address this, we propose Reward Informed Fine-Tuning (RIFT), a simple yet effective framework that utilizes all self-generated samples. Unlike the hard thresholding of RFT, RIFT repurposes negative trajectories, reweighting the loss with scalar rewards to learn from both the positive and negative trajectories from the model outputs. To overcome the training collapse caused by naive reward integration, where direct multiplication yields an unbounded loss, we introduce a stabilized loss formulation that ensures numerical robustness and optimization efficiency. Extensive experiments on mathematical benchmarks across various base models show that RIFT consistently outperforms RFT. Our results demonstrate that RIFT is a robust and data-efficient alternative for alignment using mixed-quality, self-generated data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。