TL;DR
Weighted-Reward Preference Optimization (WRPO) is a novel "implicit" model fusion technique that transfers the strengths of multiple source LLMs into a single target model without the complexities of vocabulary alignment or matrix merging. By employing a progressive adaptation strategy, WRPO enables a smaller model (like Llama-3-8B) to learn from a diverse pool of larger "teacher" models, ultimately outperforming GPT-4-Preview on key instruction-following benchmarks.
What Problem Does This Paper Address?
The current era of "collective intelligence" in LLMs has produced dozens of high-quality open-source models, each with distinct architectures and strengths. Naturally, researchers aim to fuse these models to create a "super-model" that inherits the best traits of each.
Existing fusion methods generally fall into two camps, both carrying significant drawbacks:
- Ensembles/MoEs: These require keeping all models active during inference, which is computationally expensive and memory-intensive.
- Explicit Model Fusion (EMF): This involves multi-teacher knowledge distillation. Because different models use different vocabularies and internal structures, aligning them is a complex, noisy process that often introduces errors.
A third approach is Implicit Model Fusion (IMF)—learning exclusively from the outputs of other models. While promising, simply training a target model on another model's "preferred" responses using standard Direct Preference Optimization (DPO) often fails. This failure stems from distribution shift: the target model's internal probability distribution is so different from the source models' that it struggles to effectively learn from their "off-policy" data.
Methods
To bridge this distributional gap, the authors introduce Weighted-Reward Preference Optimization (WRPO).
The Core Algorithm
Instead of merely comparing a "good" source response to a "bad" target response, WRPO constructs a preference quadruple $(x, y_{w_s}, y_{w_t}, y_l)$:
- $y_{w_s}$: The best response from the pool of source models.
- $y_{w_t}$: The best response generated by the target model itself.
- $y_l$: The worst response generated by the target model.
Progressive Adaptation
The "secret sauce" of WRPO is a fusion coefficient ($\alpha$) that dynamically balances the training objective.
- Phase 1: At the start of training, $\alpha$ is low. The model focuses on preferring its own best outputs ($y_{w_t}$) over its worst ($y_l$). This anchors and stabilizes the model within its own distribution.
- Phase 2: As training progresses, $\alpha$ linearly increases. The model gradually shifts its focus toward preferring the superior source model outputs ($y_{w_s}$).
This "smoothing" process allows the target model to transition its distribution toward the high-performing source models without destabilizing.
Datasets
- Training: The authors utilized the UltraFeedback dataset (approx. 64k prompts). They discarded the original responses and generated new ones using 10 diverse source LLMs (including Mistral-Large, Qwen-2-72B, and Llama-3-70B).
- Reward Model: ArmoRM-Llama-3-8B-v0.1 was used to rank these responses and construct the preference pairs.
- Evaluation: The models were tested on MT-Bench, AlpacaEval-2, and Arena-Hard to measure instruction-following and reasoning capabilities.
Key Insights and Ideas
- The Distribution Gap is Real: The paper visualizes how the log-probability distributions of source and target models barely overlap initially. Direct DPO on this "deviated" data yields sub-optimal results because the model is essentially forced to jump into a foreign probability space.
- Implicit is Efficient: Because WRPO only evaluates text outputs, it bypasses all architectural compatibility issues. It seamlessly handles scenarios where one source model is a 236B MoE and the target is an 8B dense model.
- On-Policy vs. Off-Policy Balance: Relying only on source models (off-policy) is unstable, while relying only on the target model (on-policy) limits the ceiling of improvement. WRPO's weighted approach successfully finds the optimal balance.
Key Results
The researchers used Llama-3-8B-Instruct as their target model and fused it with 10 source models ranging from 9B to 236B parameters.
- Beating the Giants: The fused 8B model achieved a 55.9% length-controlled win rate against GPT-4-Preview-1106 on AlpacaEval-2.
- Arena-Hard: It reached a 46.2% win rate against GPT-4-0314, significantly outperforming the base Llama-3-8B-Instruct (20.6%).
- Superior to Baselines: WRPO consistently outperformed other alignment methods like standard DPO, SimPO, and IPO, as well as explicit fusion methods like FuseLLM.
- Scaling: The method scales effectively; adding more source models generally leads to better performance, proving it can robustly aggregate diverse "knowledge."
Limitations and Future Work
- Data Efficiency: Currently, WRPO only utilizes the single highest-scoring response from the source pool. Incorporating a broader range of high-quality source responses might further boost performance.
- Domain Specificity: While instruction-following improved dramatically, gains on general knowledge benchmarks like MMLU were more modest. This suggests the method's success is heavily tied to the diversity and domain coverage of the training prompts.
- Theoretical Depth: While the empirical results are strong, a more rigorous theoretical analysis of the internal fusion dynamics would be beneficial for future iterations.
Summary updated