Abstract
Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) are standard but resource-intensive stages in Large Language Model (LLM) alignment. While model merging offers a computationally efficient alternative, it often suffers from performance "averaging" and a lack of clear optimization direction. We introduce Extrapolation Merging (ExMe), a post-processing paradigm that amplifies optimization directions from SFT checkpoints via model extrapolation before merging them. Empirical results across multiple model families (Qwen, Llama, Mistral) demonstrate that ExMe consistently outperforms standard SFT and traditional merging techniques, achieving significant performance gains without additional data or training.
Introduction
Aligning LLMs to follow instructions typically requires extensive labeled data and significant compute. Model merging has emerged as a cost-effective alternative, yet it frequently fails to surpass the performance of its parent models. This "average trap" stems from a lack of a principled direction for parameter optimization during the merging process. ExMe addresses this by identifying the "delta" between a base model and its fine-tuned counterparts as a valid optimization vector, which can be extrapolated to reach superior parameter states.
Methodology: The ExMe Pipeline
The ExMe framework consists of three distinct stages designed to push models beyond the limits of standard SFT.
- SFT Stage: A base model is fine-tuned on instruction datasets (e.g., Alpaca-GPT4). Multiple checkpoints are saved, and the two highest-performing ones (SFT-1 and SFT-2) are selected.
- Extrapolation Stage: Using Model Extrapolation (EXPO), the difference between each SFT checkpoint and the base model is amplified. This "boosts" the model along its learned optimization path, creating two extrapolated models, EXPO-1 and EXPO-2.
- Merging Stage: The two extrapolated models are combined using a weighted average. This step is crucial for stability; while pure extrapolation can lead to over-specialization or performance degradation in certain tasks, merging different extrapolated paths acts as a regularizer, resulting in a more balanced and robust final model.
Experimental Results
ExMe was evaluated across seven benchmarks (GSM8K, MATH, HumanEval, MMLU, CMMLU, C-Eval, and GaoKaoBench) using model architectures including Qwen2-7B, Qwen1.5-14B, Llama-3-8B, and Mistral-Nemo.
The results indicate that ExMe consistently achieves the highest average scores compared to base SFT and established merging methods like Ties-Merging and DARE. For instance, Qwen2-7B showed a 4.7% improvement over base SFT. Notably, on coding tasks (HumanEval), ExMe frequently surpassed the performance of both individual extrapolated models, suggesting a synergistic effect from merging.
Discussion and Conclusion
ExMe provides a "free lunch" for model alignment, improving performance through simple arithmetic on existing weights. By treating the SFT delta as a compass, extrapolation finds higher-performing regions in the parameter landscape, while merging ensures the final model remains generalizable. Future work will focus on providing formal mathematical proofs for these empirical observations and exploring the role of parameter redundancy in the extrapolation process.
Summary updated