Seedlabs
Source research

WARP: On the Benefits of Weight Averaged Rewarded Policies

Alexandre Ramé, Johan Ferret, Nino Vieillard, Robert Dadashi, Léonard Hussenot, Pierre-Louis Cedoz et al. · 2024 · 45 citationsRead the paper

Reinforcement learning from human feedback (RLHF) aligns large language models (LLMs) by encouraging their generations to have high rewards, using a reward model trained on human preferences. To prevent the forgetting of pre-trained knowledge, RLHF usually incorporates a KL regularization; this forces the policy to remain close to its supervised fine-tuned initialization, though it hinders the reward optimization. To tackle the trade-off between KL and reward, in this paper we introduce a novel alignment strategy named Weight Averaged Rewarded Policies (WARP). WARP merges policies in the weight space at three distinct stages. First, it uses the exponential moving average of the policy as a dynamic anchor in the KL regularization. Second, it applies spherical interpolation to merge independently fine-tuned policies into a new enhanced one. Third, it linearly interpolates between this merged model and the initialization, to recover features from pre-training. This procedure is then applied iteratively, with each iteration's final model used as an advanced initialization for the next, progressively refining the KL-reward Pareto front, achieving superior rewards at fixed KL. Experiments with GEMMA policies validate that WARP improves their quality and alignment, outperforming other open-source LLMs.

What the full text shows

Shown in the lab
  • WARP improves performance across multiple benchmarks compared to the Gemma 7B SFT baseline. — MMLU: 57.6% vs 39.0%; GSM8K: 66.8% vs 56.4%; MATH: 31.0% vs 25.6%; HumanEval: 50.0% vs 46.9%; BBH: 58.8% vs 53.1%; MBPP: 45.4% vs 1.1% (Gemma 7B LLM)
  • Using an EMA anchor in KL regularization outperforms a static SFT anchor by achieving higher rewards at the same KL level. — SFT anchor with beta=0.01 saturates at -0.46 reward; EMA anchor achieves superior Pareto front (REINFORCE policy gradient, beta=0.1, EMA update rate=0.1)
  • Iterative application of the WARP procedure progressively refines the KL-reward Pareto front. — Improved rewards at fixed KL across 5 iterations (Gemma 7B LLM)
Setup
Gemma 7B LLM, REINFORCE policy gradient, batch size 128, learning rate 10^-6, 9k training steps, KL strength beta=0.1, EMA update rate 0.01, merging 2 policies.
How
The authors propose WARP, a three-stage weight-averaging strategy: using an EMA of the policy as a dynamic KL anchor, merging independently fine-tuned policies via spherical linear interpolation (SLERP), and linearly interpolating back toward the initialization (LITI). This process is applied iteratively, using the resulting model as the initialization for the next cycle.
Limitations
The reward model accurately approximates human preferences only in low KL regions. · Increased compute training cost due to multiple fine-tunings per iteration.

Summarized by Gemma 4 from the open-access full text · 10 Nov 2026. Read it