REBEL: Reinforcement Learning via Regressing Relative Rewards

Zhaolin Gao, Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Gokul Swamy, Kianté Brantley, Thorsten Joachims, J. Andrew Bagnell, Jason D. Lee, Wen Sun

TL;DR

REBEL (REgression to RElative REward Based RL) is a minimalist reinforcement learning algorithm that simplifies policy optimization by reducing it to a sequence of simple regression problems. By regressing the relative rewards between two completions, REBEL eliminates the complex heuristics and high memory overhead of standard methods like PPO while matching or exceeding their performance in fine-tuning large language and image generation models.

What Problem Does This Paper Address?

In the current era of generative AI, Proximal Policy Optimization (PPO) is the "workhorse" for aligning models with human preferences. However, PPO was originally designed for continuous control tasks using small neural networks. When applied to modern LLMs with billions of parameters, PPO becomes notoriously difficult to manage.

It relies on several "black magic" heuristics—such as value networks, advantage estimation, and clipping—that are highly sensitive to implementation details. Furthermore, PPO is memory-intensive, often requiring four separate models (policy, reference policy, critic, and reward model) to be held in memory simultaneously. The authors ask: can we build a simpler, more theoretically grounded RL algorithm specifically suited for the scale of generative models?

Methods

The core idea of REBEL is to transform the reinforcement learning problem into a sequence of squared-loss regression problems.

  1. Relative Reward Regression: Instead of calculating policy gradients, REBEL collects pairs of completions ($y, y'$) for a given prompt ($x$). It then solves a regression problem where the target is the difference in rewards between these two completions.
  2. Implicit Policy Improvement: The authors leverage a mathematical trick (similar to DPO) to express the reward function in terms of the policy itself. By training the policy to predict these reward differences, the model implicitly learns to prefer higher-reward actions.
  3. Iterative Updates: Unlike offline methods like DPO, REBEL is an online/hybrid algorithm. It iteratively collects new data from the current policy and solves the regression problem, ensuring the model stays on the right track as it improves.
Conceptual overview of REBEL vs. standard RLHF

Theoretically, REBEL is shown to be a generalization of Natural Policy Gradient (NPG). By applying first-order optimization to their regression objective, the authors recover NPG updates without the need to explicitly compute or invert the massive Fisher Information Matrix, making it far more scalable.

Datasets

The authors evaluated REBEL across several domains:

  • Language Modeling:
    • TL;DR Summarization: Using Reddit posts to test summarization quality.
  • General Chat: Fine-tuning Llama-3-8B-Instruct and OpenChat-3.5 using the Nectar and UltraFeedback datasets.
  • Image Generation: Fine-tuning a multi-step consistency model (distilled from Dreamshaper v7) using 45 common animal prompts to optimize for aesthetic quality.
  • Benchmarks: Performance was measured using AlpacaEval 2.0, MT-Bench, and the Open LLM Leaderboard.

Key Insights and Ideas

  • RL as Regression: The most powerful insight is that policy optimization can be cleanly reduced to supervised-style regression on reward differences. This removes the need for a separate "critic" or value network.
  • Theoretical Convergence: REBEL isn't just a heuristic; the authors prove it matches the strongest known theoretical guarantees for convergence and sample complexity in the RL literature.
  • Efficiency through Simplicity: Because it avoids the extra networks and complex clipping logic of PPO, REBEL is significantly faster and uses less memory.
  • Handling Intransitivity: The paper demonstrates that REBEL can be extended to handle "intransitive" preferences (e.g., a user preferring A over B, B over C, but C over A), which are common in real-world human feedback but break standard reward models.

Key Results

REBEL demonstrated superior or competitive performance across all tested tasks:

  • Summarization: On the TL;DR task, REBEL achieved a higher win-rate (78.1% for the 6.9B model) than PPO, DPO, and RLOO.
  • General Chat: When fine-tuning Llama-3-8B, REBEL achieved a 30.1% length-controlled win-rate on AlpacaEval 2.0 and an average score of 8.16 on MT-Bench, outperforming the base model and DPO baselines.
  • Computational Efficiency: REBEL showed significantly lower peak memory usage and faster runtimes than PPO and RLOO ($k=4$), primarily because it doesn't require a value network.
Runtime and memory usage comparison
  • Image Generation: In text-to-image tasks, REBEL converged faster than PPO-style clipping and produced images with more "lush" and artistic backgrounds.
Visual comparison of PPO vs. REBEL in image generation

Limitations and Future Work

  • Loss Function Exploration: The current version uses squared loss. The authors suggest that exploring other losses (like log loss or cross-entropy) might yield even better empirical results or tighter theoretical bounds.
  • Coverage Conditions: The theoretical analysis assumes a certain level of "data coverage" (the training data must sufficiently cover the space of the optimal policy). Investigating whether this is strictly necessary in practice is an open question.
  • Beyond Bandits: While highly effective for the "contextual bandit" setting of generative models, future work could explore applying REBEL to more general multi-step Reinforcement Learning problems with complex state transitions.

Summary updated

BibTeX
@inproceedings{gao2024rebel,
  author = {Zhaolin Gao and Jonathan D. Chang and Wenhao Zhan and Owen Oertell and Gokul Swamy and Kianté Brantley and Thorsten Joachims and J. Andrew Bagnell and Jason D. Lee and Wen Sun},
  title = {{REBEL: Reinforcement Learning via Regressing Relative Rewards}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=yxjWAJzUyV},
}
Figure