Abstract
Supervised Fine-Tuning (SFT) is a critical step in aligning Large Language Models (LLMs) with human intent. However, scaling instruction data often leads to an "Alignment Tax," where the model's performance on general knowledge and reasoning benchmarks degrades. We introduce Disperse-Then-Merge (DTM), a framework that mitigates this tax by partitioning instruction data into clusters, training specialized sub-models, and merging them in the weight space. This approach reinforces common instruction-following capabilities while neutralizing idiosyncratic data biases. Our results across multiple benchmarks and model architectures demonstrate that DTM consistently outperforms standard SFT without incurring additional inference costs.
Introduction: The Alignment Tax Problem
As the volume of instruction-tuning data increases, LLMs typically become more helpful and better at following prompts. However, this often comes at the expense of the model's foundational capabilities. Benchmarks such as MMLU (general knowledge) and BBH (reasoning) frequently show a performance peak followed by a decline as more instruction data is introduced. This phenomenon is known as the Alignment Tax.
While previous theories attributed this to low-quality data or catastrophic forgetting, our research suggests that data bias is the primary culprit. In the later stages of SFT, models tend to stop learning generalizable skills and instead begin over-fitting on rare words, symbols, and idiosyncratic shortcuts present in the training set.
The Disperse-Then-Merge (DTM) Framework
To overcome the Alignment Tax, we propose the DTM framework, which consists of three main stages:
- Disperse: The instruction dataset is partitioned into $K$ non-overlapping clusters. This can be achieved through random splitting or more sophisticated methods like K-means clustering on sentence embeddings.
- Train: A base LLM is fine-tuned independently on each of the $K$ clusters, resulting in $K$ distinct sub-models. Each sub-model learns to follow instructions but develops its own unique set of data biases.
- Merge: The sub-models are merged into a single final model in the weight space, typically using simple weighted averaging.
The core intuition is that while all sub-models share the "signal" of instruction following, their "noise" (data-specific biases) is distinct. Merging reinforces the shared signal and cancels out the unique noise.
Key Insights: Token-Level Evidence of Bias
Our analysis of training dynamics reveals that late-stage SFT loss reduction is heavily driven by the memorization of rare tokens and symbols rather than improved logical reasoning.
By training on different data slices, DTM ensures that sub-models do not share the same "bad habits." When merged, these unique biases are diluted, while the core instruction-following capability—which is consistent across all slices—is preserved. Interestingly, sophisticated clustering and merging techniques did not significantly outperform simple random splitting and weight averaging, making DTM highly practical.
Experimental Results
We evaluated DTM using the TÜLU-V2-mix dataset across nine major benchmarks, including GSM8K (math), MMLU (knowledge), and BBH (reasoning).
- Performance Improvements: For Llama-2-7b, DTM achieved an MMLU score of 50.43 and a GSM8K score of 20.62, compared to vanilla SFT scores of 49.74 and 18.50, respectively. DTM also outperformed other methods like MoE and Deita.
- Instruction Following: On MT-bench, DTM scored 5.19, surpassing the vanilla baseline of 4.86.
- Scalability: The method proved effective across different model families, including Mistral-7b and Baichuan-2-7b, demonstrating its backbone-agnostic nature.
- Efficiency: Unlike model ensembles, DTM incurs zero extra cost at inference time because the final output is a single standard model.
Limitations and Future Work
This study primarily focuses on Supervised Fine-Tuning. Future research should explore how DTM interacts with preference-based alignment methods like RLHF or DPO. Additionally, while $K=4$ was effective in our experiments, the optimal number of sub-models relative to dataset size and model capacity remains an area for further investigation. Extension of DTM to multi-modal alignment tasks is also a promising direction.
Summary updated