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

Yiming Ju, Ziyi Ni, Xingrun Xing, Zhixiong Zeng, hanyu Zhao +2 more
10/1/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ju2024mitigating,
  title  = {Mitigating Training Imbalance in LLM Fine-Tuning via Selective Parameter Merging},
  author = {Yiming Ju and Ziyi Ni and Xingrun Xing and Zhixiong Zeng and hanyu Zhao and Siqi Fan and Zheng Zhang},
  year   = {2024},
  eprint = {2410.03743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.03743v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.03743.svg)](https://codeofpaper.com/paper/2410.03743)

Discussion