Introduction
Reinforcement Learning from Human Feedback (RLHF) has become the standard for aligning large-scale generative models. However, the traditional approach, often utilizing Proximal Policy Optimization (PPO), is computationally intensive and notoriously difficult to tune. REBEL (REgression to RElative REward Based RL) offers a minimalist alternative by reframing policy optimization as a simple square-loss regression problem.
The Complexity of Modern RLHF
The current "workhorse" of RLHF, PPO, was originally designed for continuous control tasks. In the context of Large Language Models (LLMs), PPO requires maintaining multiple large models in memory: a policy network, a value network (critic), and a reference policy. This complexity leads to high memory overhead and sensitivity to implementation details. REBEL addresses these challenges by asking if we can achieve similar alignment goals through a simpler, more stable objective specifically tailored for generative modeling.
Methodology: Simplifying to Regression
REBEL reduces policy optimization to a sequence of regression problems focused on relative rewards. The core mathematical insight is that in a KL-constrained RL setting, the difference in rewards between two responses ($y$ and $y'$) for a given prompt ($x$) is directly proportional to the log-ratio of the policy probabilities.
The REBEL workflow involves:
- Sampling: Generating two completions for a single prompt.
- Regression: Updating the policy so the difference in log-probabilities of the completions matches the difference in their assigned rewards.
- Iteration: Repeating this process to refine the policy.
This approach eliminates the need for a value network and complex clipping mechanisms, significantly reducing memory usage and improving training stability.
Experimental Results
REBEL was evaluated across diverse tasks, including text summarization, general chat, and image generation.
Language Modeling
On the AlpacaEval 2.0 benchmark, REBEL-tuned models showed significant improvements over base instruct models. For instance, REBEL-Llama-3 achieved a length-controlled win rate of approximately 50%, more than doubling the performance of the base Meta-Llama-3-8B-Instruct model in some metrics.
Image Generation
In text-to-image tasks using Latent Consistency Models, REBEL reached high aesthetic scores faster than PPO-based methods. The resulting images often displayed higher diversity and more detailed backgrounds compared to baseline methods.
Key Insights
- Theoretical Foundation: REBEL is a scalable generalization of the Natural Policy Gradient (NPG) algorithm. Applying Gauss-Newton optimization to the REBEL objective recovers the foundational NPG algorithm.
- Efficiency: By removing the critic network, REBEL is more memory-efficient than PPO, allowing for the training of larger models on standard hardware.
- Robustness: The relative reward objective provides built-in variance reduction, similar to more complex methods like RLOO, without the added code complexity.
Conclusion
REBEL represents a shift towards simpler, more robust alignment techniques for the generative era. By replacing complex RL machinery with straightforward regression, it achieves state-of-the-art performance while being faster and more accessible for researchers and practitioners alike.
Summary updated