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

此刻正确,此后错误:在偏好漂移下的非平稳直接偏好优化

Right Now, Wrong Then: Non-Stationary Direct Preference Optimization under Preference Drift

Department of Computer Science, University College London, London, United Kingdom(计算机科学系,伦敦大学学院,英国);Department of Electronic and Electrical Engineering, University College London, London, United Kingdom(电子与电气工程系,伦敦大学学院,英国);Department of Computer Science and Engineering, IIT Kanpur, India(计算机科学与工程系,印度IIT坎浦尔)

Seongho Son, William Bankes, Sayak Ray Chowdhury, Brooks Paige, Ilija Bogunovic

AI总结:

NS-DPO通过动态Bradley-Terry模型建模时间依赖奖励函数,在偏好漂移下提升LLM微调性能。

摘要:

当前大型语言模型(LLM)的偏好优化算法没有考虑时间偏好漂移,这可能导致严重的不一致。为了解决这一限制,我们提出了非平稳直接偏好优化(NS-DPO),该方法使用动态Bradley-Terry模型来建模时间依赖性奖励函数。NS-DPO提出了一种计算效率高的解决方案,通过在损失函数中引入仅一个折扣参数,用于指数加权,从而按比例关注更相关的时间数据点。我们理论分析了NS-DPO在一般情况下收敛性,其中偏好漂移的确切性质未知,提供了关于估计误差和因非平稳偏好导致的遗憾的上界。最后,我们展示了NS-DPO在漂移偏好下微调LLM的有效性。使用引入了不同水平偏好漂移的场景,结合流行LLM奖励模型和数据集,我们证明NS-DPO微调的LLM在非平稳情况下保持稳健,显著优于忽略时间偏好变化的基线算法,而在平稳情况下不牺牲性能。

英文摘要:

Current Large Language Model (LLM) preference optimization algorithms do not account for temporal preference drift, which can lead to severe misalignment. To address this limitation, we propose Non-Stationary Direct Preference Optimisation (NS-DPO) that models time-dependent reward functions with a Dynamic Bradley-Terry model. NS-DPO proposes a computationally efficient solution by introducing only a single discount parameter in the loss function, which is used for exponential weighting that proportionally focuses learning on more time-relevant datapoints. We theoretically analyze the convergence of NS-DPO in a general setting where the exact nature of the preference drift is not known, providing upper bounds on the estimation error and regret caused by non-stationary preferences. Finally, we demonstrate the effectiveness of NS-DPO for fine-tuning LLMs under drifting preferences. Using scenarios where various levels of preference drift is introduced, with popular LLM reward models and datasets, we show that NS-DPO fine-tuned LLMs remain robust under non-stationarity, significantly outperforming baseline algorithms that ignore temporal preference changes, without sacrificing performance in stationary cases.

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

↑