Preprint
Computer Vision

Reward rAnked FineTuning (RAFT)

April 1, 2023

0

Citations

0

Influential Citations

Venue

2023

Year

Abstract

An alignment framework for generative foundation models that iteratively refines the model by sampling outputs, ranking them based on a reward function, and then fine-tuning the model on the highest-ranked samples. This approach offers improved stability and efficiency compared to RLHF methods like PPO, reduces memory burden by decoupling data generation and fine-tuning, and is flexible across both LLMs and diffusion models.

Analysis

Why This Paper Matters

Aligning large generative models with human preferences is a critical challenge in AI safety and usability. Current state-of-the-art methods like RLHF with PPO are complex, unstable, and memory-intensive, often requiring simultaneous policy and value networks. RAFT introduces a refreshingly simple alternative: instead of online policy optimization, it uses reward-ranked sampling to select the best outputs for supervised fine-tuning. This decoupling dramatically reduces the engineering overhead and memory footprint, making alignment more accessible to practitioners.

The paper's significance lies in its potential to democratize alignment. By removing the need for a critic network and online interaction, RAFT can be applied with just a frozen reward model and standard supervised fine-tuning infrastructure. This is particularly valuable for diffusion models, where PPO-based RLHF is notoriously difficult to implement. If the claimed stability and efficiency hold in practice, RAFT could become a go-to baseline for alignment research.

Technical Contributions

  • Iterative reward-ranked fine-tuning: The core loop is straightforward: sample multiple outputs from the current model, score them with a reward function, keep the top-k, and fine-tune on those. This avoids the complexity of policy gradients.
  • Decoupled data generation: Unlike PPO which requires on-policy data generation during training, RAFT generates data offline, reducing memory requirements and allowing reuse of generated samples.
  • Model-agnostic framework: The method is applied to both autoregressive LLMs and diffusion models, suggesting broad applicability across generative architectures.
  • Stability improvement: By avoiding the high-variance gradient estimates of PPO, RAFT may converge more reliably without careful hyperparameter tuning.

Results

The abstract does not report any quantitative metrics (e.g., reward scores, human evaluation, or perplexity). The claims are qualitative: improved stability, efficiency, and reduced memory burden compared to PPO-based RLHF. No comparisons to other alignment methods like DPO or rejection sampling are mentioned. The lack of concrete numbers makes it difficult to assess the magnitude of improvement.

Significance

RAFT addresses a practical pain point in deploying aligned generative models: the complexity and resource demands of RLHF. If its simplicity translates to comparable or better alignment quality, it could lower the barrier for organizations to implement safety fine-tuning. The framework's flexibility across model types (LLMs and diffusion) suggests it could become a standard tool in the alignment toolbox. However, without empirical validation, its impact remains theoretical. Future work should benchmark RAFT against PPO and DPO on standard alignment tasks to substantiate the claims.