arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.12865cs.CL
收藏

面向偏好的监督微调:偏好目标模型胜过对齐的大型语言模型

Preference-Oriented Supervised Fine-Tuning: Favoring Target Model Over Aligned Large Language Models

Zuoyebang Education Technology (Beijing) Co., Ltd(作业帮教育科技(北京)有限公司)

Yuchen Fan, Yuzhong Hong, Qiushi Wang, Junwei Bao, Hongfei Jiang, Yang Song

AI总结:

提出PoFT方法,通过在SFT中引入偏好目标模型胜过对齐LLM的机制,利用数据质量信息提升微调效果,实验验证其稳定改进并可与数据过滤及DPO结合。

摘要:

对齐,即赋予预训练大型语言模型(LLM)遵循指令的能力,对其实际应用至关重要。传统的监督微调(SFT)方法通常将其形式化为因果语言建模,并采用交叉熵目标,需要大量高质量的指令-响应对。然而,由于在实践中创建和维护的高成本和密集劳动,广泛使用的SFT数据集的质量无法得到保证。为了克服与SFT数据集质量相关的局限性,我们引入了一种新颖的面向偏好的监督微调方法,即PoFT。其直觉是通过施加一种特定偏好来增强SFT:在相同的SFT数据上,偏好目标模型胜过对齐的LLM。这种偏好鼓励目标模型预测比对齐的LLM更高的可能性,从而将对齐的LLM预测的可能性所体现的数据质量评估信息纳入训练过程。我们进行了大量实验,结果验证了所提出方法的有效性。PoFT在不同的训练数据集和基础模型上,相对于SFT基线实现了稳定且一致的改进。此外,我们证明PoFT可以与现有的SFT数据过滤方法集成以获得更好的性能,并可通过后续的偏好优化程序(如DPO)进一步改进。

英文摘要:

Alignment, endowing a pre-trained Large language model (LLM) with the ability to follow instructions, is crucial for its real-world applications. Conventional supervised fine-tuning (SFT) methods formalize it as causal language modeling typically with a cross-entropy objective, requiring a large amount of high-quality instruction-response pairs. However, the quality of widely used SFT datasets can not be guaranteed due to the high cost and intensive labor for the creation and maintenance in practice. To overcome the limitations associated with the quality of SFT datasets, we introduce a novel \textbf{p}reference-\textbf{o}riented supervised \textbf{f}ine-\textbf{t}uning approach, namely PoFT. The intuition is to boost SFT by imposing a particular preference: \textit{favoring the target model over aligned LLMs on the same SFT data.} This preference encourages the target model to predict a higher likelihood than that predicted by the aligned LLMs, incorporating assessment information on data quality (i.e., predicted likelihood by the aligned LLMs) into the training process. Extensive experiments are conducted, and the results validate the effectiveness of the proposed method. PoFT achieves stable and consistent improvements over the SFT baselines across different training datasets and base models. Moreover, we prove that PoFT can be integrated with existing SFT data filtering methods to achieve better performance, and further improved by following preference optimization procedures, such as DPO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑