RIFT: Repurposing Negative Samples via Reward-Informed Fine-Tuning
Zehua Liu, Shuqi Liu, Tao Zhong, Mingxuan Yuan
TL;DR
RIFT addresses data inefficiency in LLM alignment by reusing all self-generated samples and reweighting them with scalar rewards to learn from both correct and failing outputs. It formalizes a generalized signed-weighted objective, demonstrates instability in naive reward integration, and introduces a stabilized loss with a linear surrogate for negative samples. Empirical results on seven mathematical benchmarks across multiple Qwen base models show that RIFT consistently outperforms SFT, DFT, RFT, and DPO, while reducing memory usage and maintaining training efficiency. The approach enables robust, data-efficient post-training alignment without requiring a reference model, and it extends to reasoner models with substantial gains in Mean@8 and Pass@8. Overall, RIFT offers a practical, scalable pathway to improve alignment by learning from mixed-quality, self-generated data.
Abstract
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.
