Abstract
FuseChat-3.0 introduces a framework for Implicit Model Fusion (IMF), which distills the collective intelligence of massive, heterogeneous source models (e.g., Qwen-72B, Llama-70B) into compact, efficient target models ranging from 1B to 9B parameters. By combining a distribution-aligning Supervised Fine-Tuning (SFT) stage with a novel Direct Preference Optimization (DPO) strategy using intra-model preference pairs, FuseChat-3.0 achieves state-of-the-art performance for small-scale models across 14 diverse benchmarks.
Introduction
As Large Language Models (LLMs) grow in capability, their increasing size presents significant challenges for cost-effective and low-latency deployment. While numerous powerful "source" models exist, a "specialization gap" remains: small models often excel in specific domains like mathematics but underperform in others like creative writing.
Existing model combination techniques face notable hurdles. Ensemble and routing methods are computationally expensive as they require multiple active large models. Model merging is restricted to identical architectures. Explicit fusion, which distills internal probability distributions, is hindered by differing vocabularies and architectures. FuseChat-3.0 addresses these challenges through Implicit Model Fusion, allowing a target model to learn directly from the outputs of diverse source models, bypassing architectural constraints.
Methodology
The FuseChat-3.0 training pipeline consists of two primary stages designed to bridge the gap between small target models and massive source models.
1. Supervised Fine-Tuning (SFT)
To mitigate the "distribution shift" between a small target model and a massive source model, the target is first fine-tuned on high-quality responses generated by the source models. This stage aligns the target's output style with the sources, providing a stable foundation for subsequent preference learning.
2. Direct Preference Optimization (DPO) with Intra-Model Pairing
The core innovation of FuseChat-3.0 is its DPO strategy. Traditional DPO often compares responses from different models, which can introduce "reward bias" due to varying inherent styles. FuseChat-3.0 instead constructs preference pairs by selecting the best and worst responses from the same source model. This "intra-model" approach provides a cleaner signal, forcing the target model to learn logical correctness rather than just mimicking a specific model's personality. Additionally, Length Normalization is implemented during DPO to prevent the model from favoring verbosity over accuracy.
Data Construction
The researchers curated a diverse dataset of approximately 158,667 entries, split into 94,539 for SFT and 64,128 for DPO. The data spans four key domains:
- Instruction Following: Utilizing UltraFeedback, Magpie-Pro-DPO, and HelpSteer2.
- Mathematics: Sourced from OpenMathInstruct-2.
- Coding: Derived from LeetCode and Self-Oss-Instruct-SC2.
- Chinese Language: Including Alpaca-GPT4-Zh and Magpie-Qwen2-Pro-Zh.
Experimental Results
FuseChat-3.0 was evaluated across a comprehensive suite of 14 benchmarks, including AlpacaEval-2, Arena-Hard, MMLU-Pro, GSM8K, and HumanEval.
Performance Gains
- Llama-3.1-8B-Instruct: The fused model achieved an average improvement of 6.8 points across all benchmarks. Significant jumps were observed in instruction following: +37.1 points on AlpacaEval-2 and +30.1 points on Arena-Hard.
- Cross-Architecture Success: The method proved effective across various target architectures, including the ultra-compact Llama-1B and 3B models, as well as Gemma-9B and Qwen-7B. Notably, a fused Llama-3.2-3B model nearly matched the performance of the original Llama-3.1-8B.
- Domain-Specific Outcomes: While mathematics (+6.3 points) and general knowledge (+1.6 points) saw solid gains, coding performance remained relatively flat (-0.3 points), likely due to the smaller volume of coding data in the training set.
Discussion and Conclusion
FuseChat-3.0 demonstrates that heterogeneity is a strength; by leveraging source models from different families (Gemma, Mistral, Qwen, Llama), target models inherit a broader range of expertise. The use of intra-model comparisons effectively mitigates reward hacking, focusing the model on reasoning nuances.
Despite its success, some limitations remain. The slight dip in coding performance suggests a need for more specialized high-quality coding samples. Furthermore, the DPO stage was omitted for Chinese language tasks due to the lack of a sufficiently robust reward model at the time. Future work will explore scaling these implicit fusion techniques to mid-sized models (e.g., 14B to 30B parameters) and refining data construction for specialized domains.
Summary updated