PAFT:一种用于有效LLM微调的并行训练范式
PAFT: A Parallel Training Paradigm for Effective LLM Fine-Tuning
AI总结:
本文提出PAFT并行训练范式,通过独立执行SFT和偏好对齐并利用参数稀疏化融合模型,有效解决顺序训练的对齐税问题,并在HuggingFace Open LLM Leaderboard上取得第一名。
摘要:
大型语言模型(LLMs)在多样的自然语言处理(NLP)任务中展现了卓越的能力。LLMs通常经历监督微调(SFT),随后进行偏好对齐,以在下游应用中可用。然而,这种顺序训练管道会导致对齐税,降低LLM性能。本文介绍了PAFT,一种用于有效LLM微调的新的并行训练范式,它在各自的数据集上使用相同的预训练模型独立执行SFT和偏好对齐(例如,DPO和ORPO等)。然后,通过参数融合,将SFT产生的模型和偏好对齐产生的模型合并为一个最终模型,以用于下游应用。这项工作揭示了重要发现,即像DPO这样的偏好对齐自然导致稀疏模型,而SFT导致自然密集模型,后者需要被稀疏化以实现有效的模型合并。本文介绍了一种有效的干扰解决方案,通过稀疏化delta参数来减少冗余。由新训练范式产生的LLM在HuggingFace Open LLM Leaderboard上获得了第一名。综合评估显示了并行训练范式的有效性。
英文摘要:
Large language models (LLMs) have shown remarkable abilities in diverse natural language processing (NLP) tasks. The LLMs generally undergo supervised fine-tuning (SFT) followed by preference alignment to be usable in downstream applications. However, this sequential training pipeline leads to alignment tax that degrades the LLM performance. This paper introduces PAFT, a new PArallel training paradigm for effective LLM Fine-Tuning, which independently performs SFT and preference alignment (e.g., DPO and ORPO, etc.) with the same pre-trained model on respective datasets. The model produced by SFT and the model from preference alignment are then merged into a final model by parameter fusing for use in downstream applications. This work reveals important findings that preference alignment like DPO naturally results in a sparse model while SFT leads to a natural dense model which needs to be sparsified for effective model merging. This paper introduces an effective interference resolution which reduces the redundancy by sparsifying the delta parameters. The LLM resulted from the new training paradigm achieved Rank #1 on the HuggingFace Open LLM Leaderboard. Comprehensive evaluation shows the effectiveness of the parallel training paradigm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。