Papers › REBEL: Reinforcement Learning via Regressing Relative Rewards

REBEL: Reinforcement Learning via Regressing Relative Rewards

25 Apr 2024arXiv:2404.16767archive 2025-07-28

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

While originally developed for continuous control problems, Proximal Policy Optimization (PPO) has emerged as the work-horse of a variety of reinforcement learning (RL) applications, including the fine-tuning of generative models. Unfortunately, PPO requires multiple heuristics to enable stable convergence (e.g. value networks, clipping), and is notorious for its sensitivity to the precise implementation of these components. In response, we take a step back and ask what a minimalist RL algorithm for the era of generative models would look like. We propose REBEL, an algorithm that cleanly reduces the problem of policy optimization to regressing the relative reward between two completions to a prompt in terms of the policy, enabling strikingly lightweight implementation. In theory, we prove that fundamental RL algorithms like Natural Policy Gradient can be seen as variants of REBEL, which allows us to match the strongest known theoretical guarantees in terms of convergence and sample complexity in the RL literature. REBEL can also cleanly incorporate offline data and be extended to handle the intransitive preferences we frequently see in practice. Empirically, we find that REBEL provides a unified approach to language modeling and image generation with stronger or similar performance as PPO and DPO, all while being simpler to implement and more computationally efficient than PPO. When fine-tuning Llama-3-8B-Instruct, REBEL achieves strong performance in AlpacaEval 2.0, MT-Bench, and Open LLM Leaderboard.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.16767")

Code

Syntology Ran 16 of 20 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 11 ran with no contract checked.

By repository: official repository: 20 samples from 2 repositories, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Owen-Oertell/rlcm officialmentioned in papermentioned on GitHubpytorch report
zhaolingao/rebel officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
ziyizhang27/sdpo mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 16 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
3ran · our draft was wrong
1ran · fixture could not drive it
11ran
4unverified

Licence: 6 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

betas_for_alpha_bar Owen-Oertell/rlcm/lcm_rl_pytorch/diffusers_patch/lcm_scheduler.py official repository ran · honoured contract no licence file found · pointer only · f1e3f7493aad4745 · report
compressibility Owen-Oertell/rlcm/lcm_rl_pytorch/rewards/rewards.py official repository ran no licence file found · pointer only · 1cf3d9a4597a653f · report
filter_same_responses zhaolingao/rebel/src/ultrafeedback_largebatch/filter_tokenize.py official repository ran Apache-2.0 (permissive) · b44d4582c73da402 · report
first_true_indices zhaolingao/rebel/src/nectar/rebel.py official repository ran Apache-2.0 (permissive) · 579f0202bb30e003 · report
generate zhaolingao/rebel/src/tldr/sft.py official repository ran Apache-2.0 (permissive) · 51062aca9db3f84c · report
get_cosine_schedule_with_warmup zhaolingao/rebel/src/ultrafeedback_largebatch/rebel.py official repository ran Apache-2.0 (permissive) · 70c923c8290a4fcc · report
get_message zhaolingao/rebel/src/ultrafeedback_largebatch/filter_tokenize.py official repository ran fingerprinted Apache-2.0 (permissive) · dc68fb166b4b7b89 · report
get_message zhaolingao/rebel/src/ultrafeedback_largebatch/generate.py official repository ran fingerprinted Apache-2.0 (permissive) · 93805966dfd5681a · report
get_message zhaolingao/rebel/src/ultrafeedback_largebatch/rank.py official repository ran fingerprinted Apache-2.0 (permissive) · 689d710104523822 · report
get_model_prediction Owen-Oertell/rlcm/lcm_rl_pytorch/util/model.py official repository ran no licence file found · pointer only · fc7498a95a58a987 · report
get_reward zhaolingao/rebel/src/tldr/rebel.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 724222affceacea6 · report
get_reward zhaolingao/rebel/src/tldr/rm.py official repository ran Apache-2.0 (permissive) · c02add7716c931ba · report
incompressibility Owen-Oertell/rlcm/lcm_rl_pytorch/rewards/rewards.py official repository ran no licence file found · pointer only · 11c329fa52d72b13 · report
layer_init zhaolingao/rebel/src/tldr/rebel.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 9ad5922df265477f · report
rescale_zero_terminal_snr Owen-Oertell/rlcm/lcm_rl_pytorch/diffusers_patch/lcm_scheduler.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 64b2196de5dcf1e5 · report
whiten zhaolingao/rebel/src/nectar/rebel.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · e78dac11b89dad63 · report
aesthetic Owen-Oertell/rlcm/lcm_rl_pytorch/rewards/rewards.py official repository unverified no licence file found · pointer only · 44735222f08d757a · report
evaluate zhaolingao/rebel/src/tldr/rm.py official repository unverified Apache-2.0 (permissive) · d58b842cdc7fda2b · report
gather_logprob zhaolingao/rebel/src/ultrafeedback_largebatch/rebel.py official repository unverified Apache-2.0 (permissive) · b45408e42f101791 · report
truncate_response zhaolingao/rebel/src/nectar/rebel.py official repository unverified Apache-2.0 (permissive) · 62ece7427179dea2 · report

Tasks

Continuous ControlImage GenerationLanguage ModelingLanguage ModellingReinforcement LearningReinforcement Learning (RL)continuous-controlreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

DPOEntropy RegularizationPPO

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections