Mitigating Training Imbalance in LLM Fine-Tuning via Selective Parameter Merging

Authors:
  • YJYiming Ju
    Yiming Ju
  • ZNZiyi Ni
    Ziyi Ni
  • XXXingrun Xing
    Xingrun Xing
  • ZZZhixiong Zeng
    Zhixiong Zeng
  • HZHanyu Zhao
    Hanyu Zhao
  • SFSiqi Fan
    Siqi Fan
  • ZZZheng Zhang
    Zheng Zhang

Abstract
Supervised fine-tuning (SFT) is crucial for adapting Large Language Models (LLMs) to specific tasks. In this work, we demonstrate that the order of training data can lead to significant training imbalances, potentially resulting in performance degradation. Consequently, we propose to mitigate this imbalance by merging SFT models fine-tuned with different data orders, thereby enhancing the overall effectiveness of SFT. Additionally, we introduce a novel technique, "parameter-selection merging," which outperforms traditional weighted-average methods on five datasets. Further, through analysis and ablation studies, we validate the effectiveness of our method and identify the sources of performance improvements.
All Related Versions