Xwin-LM:面向LLM的强大且可扩展的对齐实践
Xwin-LM: Strong and Scalable Alignment Practice for LLMs
AI总结:
本文提出Xwin-LM对齐方法套件,涵盖SFT、RM、RS和DPO等关键技术,通过构建高质量数据集与多规模模型,在AlpacaEval和MT-bench上取得显著提升,证明了其强大与可扩展性。
摘要:
在这项工作中,我们提出了Xwin-LM,一套针对大型语言模型(LLMs)的全面对齐方法套件。该套件包含几项关键技术,包括监督微调(SFT)、奖励建模(RM)、拒绝采样微调(RS)和直接偏好优化(DPO)。关键组件如下:(1)Xwin-LM-SFT,使用高质量指令数据初始微调的模型;(2)Xwin-Pair,使用GPT-4精心标注的大规模多轮偏好数据集;(3)Xwin-RM,在Xwin-Pair上训练的奖励模型,开发了7B、13B和70B参数规模;(4)Xwin-Set,一个多元偏好数据集,其中每个提示词关联64个由Xwin-LM-SFT生成并由Xwin-RM评分的独特回答;(5)Xwin-LM-RS,使用Xwin-Set中得分最高的回答微调的模型;(6)Xwin-LM-DPO,使用DPO算法在Xwin-Set上进一步优化的模型。我们在AlpacaEval和MT-bench上的评估表明,整个流程取得了一致且显著的提升,证明了Xwin-LM的强大与可扩展性。代码库https://github.com/Xwin-LM/Xwin-LM将持续更新以促进社区研究。
英文摘要:
In this work, we present Xwin-LM, a comprehensive suite of alignment methodologies for large language models (LLMs). This suite encompasses several key techniques, including supervised finetuning (SFT), reward modeling (RM), rejection sampling finetuning (RS), and direct preference optimization (DPO). The key components are as follows: (1) Xwin-LM-SFT, models initially finetuned with high-quality instruction data; (2) Xwin-Pair, a large-scale, multi-turn preference dataset meticulously annotated using GPT-4; (3) Xwin-RM, reward models trained on Xwin-Pair, developed at scales of 7B, 13B, and 70B parameters; (4) Xwin-Set, a multiwise preference dataset in which each prompt is linked to 64 unique responses generated by Xwin-LM-SFT and scored by Xwin-RM; (5) Xwin-LM-RS, models finetuned with the highest-scoring responses from Xwin-Set; (6) Xwin-LM-DPO, models further optimized on Xwin-Set using the DPO algorithm. Our evaluations on AlpacaEval and MT-bench demonstrate consistent and significant improvements across the pipeline, demonstrating the strength and scalability of Xwin-LM. The repository https://github.com/Xwin-LM/Xwin-LM will be continually updated to foster community research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。