arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.09650cs.CLcs.AIcs.LG
收藏

面向对齐的原则性数据选择:困难样本的隐藏风险

Principled Data Selection for Alignment: The Hidden Risks of Difficult Examples

MBZUAI(穆罕默德·本·扎耶德人工智能大学);Tencent Inc(腾讯公司);HKUST (Guangzhou)(香港科技大学(广州))

Chengqian Gao, Haonan Li, Liu Liu, Zeke Xie, Peilin Zhao, Zhiqiang Xu

AI总结:

本文揭示过难偏好数据会超出模型容量并损害对齐,提出 Selective DPO 过滤困难样本,在 AlpacaEval 2 上将胜率较 DPO 提升 9–16%。

摘要:

大语言模型(LLM)的对齐通常假设使用更多干净数据会带来更好结果,却忽视了模型容量与样本难度之间的匹配。对此,我们提出一项新原则:偏好数据在难度上存在差异,过难样本会超出模型容量,从而妨碍对齐。通过系统性实验,我们以三个关键发现验证该原则:(1)偏好样本的难度确实不同,各次对齐运行中一致的学习顺序可作为证据;(2)过难样本会在四个 LLM 和两个数据集上显著降低性能;(3)模型容量决定其处理困难样本的阈值,凸显数据选择与模型容量之间的关键关系。基于该原则,我们提出 Selective DPO,用于过滤过难样本。与 DPO 基线相比,这一简单调整在 AlpacaEval 2 基准上的胜率使对齐性能提升 9–16%,并优于一系列采用不同算法调整的 DPO 变体。总体而言,这些结果阐明了使数据难度与模型容量相匹配的重要性,为改进 LLM 对齐策略提供了具有变革性的视角。代码位于 https://github.com/glorgao/SelectiveDPO。

英文摘要:

The alignment of large language models (LLMs) often assumes that using more clean data yields better outcomes, overlooking the match between model capacity and example difficulty. Challenging this, we propose a new principle: Preference data vary in difficulty, and overly difficult examples hinder alignment, by exceeding the model's capacity. Through systematic experimentation, we validate this principle with three key findings: (1) preference examples vary in difficulty, as evidenced by consistent learning orders across alignment runs; (2) overly difficult examples significantly degrade performance across four LLMs and two datasets; and (3) the capacity of a model dictates its threshold for handling difficult examples, underscoring a critical relationship between data selection and model capacity. Building on this principle, we introduce Selective DPO, which filters out overly difficult examples. This simple adjustment improves alignment performance by 9-16% in win rates on the AlpacaEval 2 benchmark compared to the DPO baseline, suppressing a series of DPO variants with different algorithmic adjustments. Together, these results illuminate the importance of aligning data difficulty with model capacity, offering a transformative perspective for improving alignment strategies in LLMs. Code is available at https://github.com/glorgao/SelectiveDPO.

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

↑