arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.00030cs.LGcs.AI
收藏

RSPO:大语言模型的正则化自博弈对齐

RSPO: Regularized Self-Play Alignment of Large Language Models

University College London(伦敦大学学院);University of California, Los Angeles(加州大学洛杉矶分校)

Xiaohang Tang, Sangwoong Yoon, Seongho Son, Huizhuo Yuan, Quanquan Gu, Ilija Bogunovic

AI总结:

本研究提出RSPO框架,统一现有方法并保证收敛性,在多个基准测试中提升了自博弈微调LLMs的性能,为正则化自博弈对齐提供了基础。

摘要:

基于自博弈的策略优化已成为微调大语言模型(LLMs)的有效方法,它将偏好优化构建为双人博弈。然而,在自博弈对齐中,关于参考策略的正则化(这对缓解过优化至关重要)尚未得到充分研究。为研究不同正则化策略的影响,我们提出了正则化自博弈策略优化(RSPO)这一新框架,它统一了现有方法,支持即插即用的正则化项,同时保证对应正则化博弈收敛到纳什均衡。我们通过实验表明,带有合适正则化项的RSPO可在多个基础模型上大幅提升AlpacaEval-2上的长度控制胜率(LCWR),并在Arena-Hard、MT-Bench、ArmoRM和响应多样性上取得持续更优的性能。具体而言,使用Mistral-7B基础模型时,RSPO将AlpacaEval-2 LCWR从无正则化自博弈基线(SPPO)的28.5%提升至35.4%;使用LLaMA-8B时,从38.77%提升至43.66%;使用Gemma-2B时,从50.54%提升至51.83%。结合简洁性、收敛保证和显著的实验增益,RSPO为探索对齐中的正则化自博弈提供了坚实基础。代码可在该https URL获取。

英文摘要:

Self-play-based policy optimization has emerged as an effective approach for fine-tuning large language models (LLMs), formulating preference optimization as a two-player game. However, the regularization with respect to the reference policy, which is crucial for mitigating over-optimization, has been insufficiently investigated in self-play alignment. To study the impact of different regularization strategies, we propose Regularized Self-Play Policy Optimization (RSPO), a novel framework that unifies prior methods and enables simple plug-and-play regularizers, meanwhile preserving convergence to Nash equilibrium of the corresponding regularized game. We empirically show that RSPO with appropriate regularizers can substantially improve the length-controlled win rate (LCWR) on AlpacaEval-2 across a range of base models, while also achieving consistently superior performance on Arena-Hard, MT-Bench, ArmoRM, and response diversity. In particular, RSPO improves unregularized self-play baseline (SPPO) on AlpacaEval-2 LCWR from $28.5\%$ to $ 35.4\%$ with base model Mistral-7B, from $38.77\%$ to $43.66\%$ with LLaMA-8B, and from $50.54\%$ to $51.83\%$ with Gemma-2B. Combining simplicity, convergence guarantees, and significant empirical gains, RSPO offers a strong foundation for exploring regularized self-play in alignment. Code is available at https://github.com/xiaohangt/RSPO

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

↑