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

少即是多:通过偏好数据选择改进大语言模型对齐

Less is More: Improving LLM Alignment via Preference Data Selection

University of Science and Technology of China(中国科学技术大学);Peking University(北京大学);Massachusetts Institute of Technology(麻省理工学院);Alibaba Cloud Computing(阿里云计算);MoE Key Lab of BIPC, University of Science and Technology of China(中国科学技术大学MoE关键实验室)

Xun Deng, Han Zhong, Rui Ai, Fuli Feng, Zheng Wang, Xiangnan He

AI总结:

通过改进偏好数据选择策略,提升大语言模型对齐效果,实验显示在较少数据下实现显著性能提升。

摘要:

直接偏好优化(DPO)已崭露头角,成为对齐大语言模型与人类偏好的有前途的方法。尽管先前的工作主要从目标函数的角度扩展DPO,我们却从被忽视但至关重要的数据选择方面来改进DPO。具体来说,我们通过提出一种新的边际最大化原则,解决由噪声数据引起的参数收缩问题,用于DPO训练的数据集整理。为进一步减轻不同奖励模型中的噪声,我们提出了一个贝叶斯聚合方法,将多个边际来源(外部和隐含的)统一为一个偏好概率。在各种设置中进行的广泛实验展示了我们方法的一致高数据效率。令人印象深刻的是,通过仅使用Ultrafeedback数据集的10%,我们的方法在AlpacaEval2基准上对各种Llama、Mistral和Qwen模型实现了3%到8%的改进。此外,我们的方法无缝扩展到迭代DPO,使用25%的在线数据获得大约3%的改进,揭示了这种预设高质量数据构建方式中的高冗余性。这些结果突显了数据选择策略在推进偏好优化方面的潜力。

英文摘要:

Direct Preference Optimization (DPO) has emerged as a promising approach for aligning large language models with human preferences. While prior work mainly extends DPO from the aspect of the objective function, we instead improve DPO from the largely overlooked but critical aspect of data selection. Specifically, we address the issue of parameter shrinkage caused by noisy data by proposing a novel margin-maximization principle for dataset curation in DPO training. To further mitigate the noise in different reward models, we propose a Bayesian Aggregation approach that unifies multiple margin sources (external and implicit) into a single preference probability. Extensive experiments in diverse settings demonstrate the consistently high data efficiency of our approach. Remarkably, by using just 10\% of the Ultrafeedback dataset, our approach achieves 3\% to 8\% improvements across various Llama, Mistral, and Qwen models on the AlpacaEval2 benchmark. Furthermore, our approach seamlessly extends to iterative DPO, yielding a roughly 3\% improvement with 25\% online data, revealing the high redundancy in this presumed high-quality data construction manner. These results highlight the potential of data selection strategies for advancing preference optimization.

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

↑