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

磁偏好优化:实现语言模型对齐的最终迭代收敛

Magnetic Preference Optimization: Achieving Last-iterate Convergence for Language Model Alignment

Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);Beijing Academy of Artificial Intelligence(北京人工智能研究院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);China Telecom(中国电信);University of Pennsylvania(宾夕法尼亚大学)

Mingzhi Wang, Chengdong Ma, Qizhi Chen, Linjian Meng, Yang Han, Jiancong Xiao, Zhaowei Zhang, Jing Huo, Weijie J. Su, Yaodong Yang

AI总结:

本文提出磁偏好优化(MPO),基于磁镜像下降实现原始博弈纳什均衡的最终迭代线性收敛,克服现有自博弈方法平均迭代或正则化局限,显著提升LLM对齐性能。

摘要:

自博弈方法在增强各领域模型能力方面已展现出显著的成功。在基于人类反馈的强化学习(RLHF)背景下,自博弈不仅提升了大型语言模型(LLM)的性能,还通过寻找基于偏好的两人常数和博弈的纳什均衡(NE),克服了传统Bradley-Terry(BT)模型假设的局限性。然而,现有方法要么仅保证平均迭代收敛,导致高昂的存储和推理成本,要么收敛到正则化博弈的纳什均衡,未能准确反映真实的人类偏好。在本文中,我们引入了磁偏好优化(MPO),一种能够实现原始博弈纳什均衡最终迭代收敛的新方法,有效克服了现有方法的局限性。基于磁镜像下降(MMD),MPO实现了线性收敛速率,使其特别适用于微调大型语言模型。为确保我们的算法在理论上合理且实践上可行,我们提出了一种简单而有效的实现,将理论见解适配到RLHF环境中。实验结果表明,MPO能显著提升大型语言模型的性能,凸显了自博弈方法在对齐中的潜力。

英文摘要:

Self-play methods have demonstrated remarkable success in enhancing model capabilities across various domains. In the context of Reinforcement Learning from Human Feedback (RLHF), self-play not only boosts Large Language Model (LLM) performance but also overcomes the limitations of traditional Bradley-Terry (BT) model assumptions by finding the Nash equilibrium (NE) of a preference-based, two-player constant-sum game. However, existing methods either guarantee only average-iterate convergence, incurring high storage and inference costs, or converge to the NE of a regularized game, failing to accurately reflect true human preferences. In this paper, we introduce Magnetic Preference Optimization (MPO), a novel approach capable of achieving last-iterate convergence to the NE of the original game, effectively overcoming the limitations of existing methods. Building upon Magnetic Mirror Descent (MMD), MPO attains a linear convergence rate, making it particularly suitable for fine-tuning LLMs. To ensure our algorithm is both theoretically sound and practically viable, we present a simple yet effective implementation that adapts the theoretical insights to the RLHF setting. Empirical results demonstrate that MPO can significantly enhance the performance of LLMs, highlighting the potential of self-play methods in alignment.

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

↑