arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2408.13518cs.CLcs.AIcs.LG
收藏

基于Token级奖励函数估计的选择性偏好优化

Selective Preference Optimization via Token-Level Reward Function Estimation

National Centre for Text Mining, The University of Manchester(曼彻斯特大学文本挖掘中心);School of Artificial Intelligence, Wuhan University(武汉大学人工智能学院);Center for Language and Information Research, Wuhan University(武汉大学语言与信息研究中心);The Fin AI(Fin AI公司);Baidu Inc.(百度公司);Archimedes Research(阿基米德研究)

Kailai Yang, Zhiwei Liu, Qianqian Xie, Jimin Huang, Erxue Min, Sophia Ananiadou

AI总结:

本文提出选择性偏好优化SePO,通过训练小型oracle模型估计Token级奖励函数来高效选择关键Token,仅用30%的关键Token即可显著超越基线方法,并支持弱到强泛化。

摘要:

大语言模型对齐的最新进展利用Token级监督来执行细粒度的偏好优化。然而,现有的Token级对齐方法要么在所有可用Token上进行优化,这可能存在噪声且效率低下,要么采用复杂且昂贵的关键Token选择策略进行选择性训练。在这项工作中,我们提出了选择性偏好优化(SePO),这是一种以高效关键Token选择为核心的新型选择性对齐策略。SePO提出了首个基于直接偏好优化(DPO)的Token选择方法,该方法训练一个oracle模型来估计目标数据上的Token级奖励函数。该方法适用于任何具有响应级标注的现有对齐数据集,并能够利用小规模oracle模型和训练数据实现成本高效的Token选择。随后,利用估计得到的奖励函数对目标数据集中的所有Token进行评分,仅选择关键Token来监督目标策略模型,并使用无参考模型的对比目标函数进行训练。在三个公开评估基准上的大量实验表明,SePO仅优化目标数据集中30%的关键Token,就显著优于竞争性基线方法。SePO在弱到强泛化上的应用表明,弱oracle模型能够有效监督参数量最多达其16.8倍的强策略模型。SePO还能有效地从分布外数据中选择关键Token,以增强强策略模型并缓解过度优化问题。

英文摘要:

Recent advancements in large language model alignment leverage token-level supervisions to perform fine-grained preference optimization. However, existing token-level alignment methods either optimize on all available tokens, which can be noisy and inefficient, or perform selective training with complex and expensive key token selection strategies. In this work, we propose Selective Preference Optimization (SePO), a novel selective alignment strategy that centers on efficient key token selection. SePO proposes the first token selection method based on Direct Preference Optimization (DPO), which trains an oracle model to estimate a token-level reward function on the target data. This method applies to any existing alignment datasets with response-level annotations and enables cost-efficient token selection with small-scale oracle models and training data. The estimated reward function is then utilized to score all tokens within the target dataset, where only the key tokens are selected to supervise the target policy model with a reference model-free contrastive objective function. Extensive experiments on three public evaluation benchmarks show that SePO significantly outperforms competitive baseline methods by only optimizing 30% key tokens on the target dataset. SePO applications on weak-to-strong generalization show that weak oracle models effectively supervise strong policy models with up to 16.8x more parameters. SePO also effectively selects key tokens from out-of-distribution data to enhance strong policy models and alleviate the over-optimization problem.

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

↑