TL;DR
Weight Averaged Rewarded Policies (WARP) is a post-training alignment framework that optimizes the delicate trade-off between reward maximization and Kullback-Leibler (KL) divergence in RLHF. By strategically merging model weights across three distinct stages—an exponential moving average (EMA) dynamic anchor, spherical interpolation across parallel policies, and linear interpolation toward initialization—WARP iteratively pushes the KL-reward Pareto front outward, achieving higher alignment rewards and downstream benchmark performance without any test-time compute overhead.
What Problem Does This Paper Address?
Reinforcement Learning from Human Feedback (RLHF) optimizes language models against a learned reward model (RM). However, naive reward maximization causes three critical failures:
- The Alignment Tax & Catastrophic Forgetting: The model loses general pre-trained reasoning and knowledge.
- Reward Hacking: The policy exploits blind spots in the RM, producing verbose, sycophantic, or nonsensical text.
- Diversity Collapse: The range of generated outputs shrinks drastically.
To prevent this, standard RLHF adds a KL penalty anchoring the policy to its supervised fine-tuned (SFT) initialization. However, a static anchor creates a rigid tension: keeping the policy close to initialization stunts reward optimization, but loosening the penalty triggers reward hacking. WARP tackles this fundamental KL-reward trade-off by manipulating models directly in weight space.
Methods
WARP incorporates weight averaging (WA) into RL fine-tuning (using REINFORCE) across three complementary stages, applied iteratively:
[SFT Init] ───► Run M Parallel RL fine-tunings (with EMA KL anchors)
│
▼
Stage 2: SLERP of Task Vectors (boosts reward, maintains norm)
│
▼
Stage 3: LITI towards Init (reveals optimal KL-reward Pareto front)
│
└─► Select intermediate model (η ≈ 0.3) as new Init ──► Repeat
- Stage 1: Exponential Moving Average (EMA) as a Dynamic KL Anchor. Instead of penalizing KL divergence against a static SFT anchor, the policy is regularized toward its own running EMA of weights. This dynamically anneals the KL constraint (tight early on, looser later) and distills knowledge from a smooth "mean teacher."
- Stage 2: Spherical Linear Interpolation (SLERP) of Task Vectors. $M$ independent policies are trained in parallel from the same initialization (varying prompt batch order). Rather than standard linear averaging (LERP)—which shrinks vector norms when directions diverge—WARP uses SLERP layer-by-layer on the task vectors ($\delta = \theta - \theta_{\text{init}}$) to preserve parameter update magnitudes and maximize rewards.
- Stage 3: Linear Interpolation Towards Initialization (LITI). WARP interpolates between the SLERP-merged policy and the initialization: $\theta_\eta = (1-\eta)\theta_{\text{init}} + \eta\theta_{\text{slerp}}$. Sweeping $\eta \in [0, 1]$ traces an improved Pareto front by balancing pre-trained features with newly acquired skills.
- Iterative WARP: An intermediate checkpoint on the Pareto front ($\eta \approx 0.3$) is chosen as the initialization for the next cycle, repeating the process over several iterations.
Datasets
- Training: Proprietary conversational prompt dataset $\mathcal{X}$ evaluated with a large-scale reward model.
- Evaluation & Benchmarks:
- Side-by-Side (SxS) Evaluations: Held-out conversational prompts scored against baseline open-weight models.
- Standard Academic Benchmarks: MMLU (general knowledge/STEM), GSM8K and MATH (mathematical reasoning), MBPP and HumanEval (code generation), and Big Bench Hard (BBH) (complex reasoning tasks).
Key Insights and Ideas
- RL Task Vectors are Orthogonal ($\Omega \approx 90^\circ$): In supervised fine-tuning, task vectors typically exhibit small angles ($40^\circ\text{–}80^\circ$) because models mimic fixed labels. In RL, generating self-sampled trajectories causes independently trained task vectors to be virtually orthogonal.
- SLERP Beats LERP for Orthogonal Vectors: Because task vectors are orthogonal, standard linear averaging (LERP) drastically shrinks the vector norm, reducing KL at the expense of reward. In contrast, SLERP maintains task vector length, preserving policy updates and driving up reward.
- Mathematical Synergy of LITI: The paper proves that prediction-level KL divergence is convex with respect to $\eta$, while reward is concave. Consequently, weight interpolation towards the initialization yields a reward-to-KL curve that stays strictly above the direct fine-tuning path.
- Multi-Objective Mitigation: Training one branch with an explicit length penalty and another without, then merging them via SLERP, eliminates RLHF verbosity bias while expanding policy diversity.
Key Results
Applying WARP to Gemma 7B produced consistent improvements over both standard RLHF baselines and competitive open models:
- Reasoning and Coding Benchmarks (Zero-Shot):
- GSM8K: Jumps from 55.6% (Gemma 7B 1.1) to 66.8% (WARP 3rd iteration).
- MATH: Increases from 25.6% to 31.0%.
- MBPP: Improves from 39.0% to 45.4%.
- HumanEval: Reaches 50.0% (up from 46.9%).
- BBH: Improves from 53.1% to 58.8%.
- MMLU: Increases slightly (56.4% $\to$ 57.6%), demonstrating that alignment tax/forgetting was mitigated.
- Head-to-Head Win Rates: In human/LLM-as-a-judge evaluations, WARP (3rd iteration) substantially outperformed Mistral 7B v1 (+0.45), Mistral 7B v2 (+0.26), and the much larger Mixtral 8x7B (+0.18).
Limitations and Future Work
- Compute Intensity: WARP scales post-training compute significantly by requiring multiple parallel RL runs across multiple sequential iterations.
- Diminishing Returns: Gains begin plateauing after the 3rd iteration; iterative cycling cannot scale indefinitely without fresh exploration or data.
- Imperfect Reward Models: In high-KL regimes, reward hacking still emerges (e.g., length inflation unless explicit penalties are added). WARP improves policy optimization, but does not solve underlying reward specification flaws.
Summary updated