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

信任区域偏好近似:一种用于LLM推理的简单稳定的强化学习算法

Trust Region Preference Approximation: A simple and stable reinforcement learning algorithm for LLM reasoning

Beijing Jiaotong University(北京交通大学);Microsoft Research AI for Science(微软研究院科学智能部);Zhongguancun Academy(中关村学院);University of Chinese Academy of Sciences(中国科学院大学)

Xuerui Su, Shufang Xie, Guoqing Liu, Yingce Xia, Renqian Luo, Peiran Jin, Zhiming Ma, Yue Wang, Zun Wang, Yuting Liu

AI总结:

提出TRPA算法,融合规则与偏好优化,消除奖励黑客,在推理任务上性能竞争且稳定,具单调改进保证。

摘要:

近年来,大型语言模型(LLMs)快速发展,在接近通用人工智能(AGI)的同时,受益于大规模强化学习以增强人类对齐(HA)和推理能力。最近的基于奖励的优化算法,如近端策略优化(PPO)和组相对策略优化(GRPO),在推理任务上取得了显著性能,而基于偏好的优化算法如直接偏好优化(DPO)则显著提升了LLMs在人类对齐方面的性能。然而,尽管基于奖励的优化方法在对齐任务中表现出色,它们仍然容易受到奖励黑客攻击。此外,基于偏好的算法(如在线DPO)在推理任务上尚未达到基于奖励的优化算法(如PPO)的性能,使得在这一特定领域的探索仍然值得进行。受这些挑战的启发,我们提出了信任区域偏好近似(TRPA)算法,该算法将基于规则的优化与基于偏好的优化相结合,用于推理任务。作为一种基于偏好的算法,TRPA自然消除了奖励黑客问题。TRPA使用预定义规则构建偏好级别,形成相应的偏好对,并利用一种新颖的优化算法进行强化学习训练,该算法具有理论上的单调改进保证。实验结果表明,TRPA不仅在推理任务上取得了有竞争力的性能,而且表现出稳健的稳定性。本文的代码已发布并持续更新于https://github.com/XueruiSu/Trust-Region-Preference-Approximation.git。

英文摘要:

Recently, Large Language Models (LLMs) have rapidly evolved, approaching Artificial General Intelligence (AGI) while benefiting from large-scale reinforcement learning to enhance Human Alignment (HA) and Reasoning. Recent reward-based optimization algorithms, such as Proximal Policy Optimization (PPO) and Group Relative Policy Optimization (GRPO) have achieved significant performance on reasoning tasks, whereas preference-based optimization algorithms such as Direct Preference Optimization (DPO) significantly improve the performance of LLMs on human alignment. However, despite the strong performance of reward-based optimization methods in alignment tasks , they remain vulnerable to reward hacking. Furthermore, preference-based algorithms (such as Online DPO) haven't yet matched the performance of reward-based optimization algorithms (like PPO) on reasoning tasks, making their exploration in this specific area still a worthwhile pursuit. Motivated by these challenges, we propose the Trust Region Preference Approximation (TRPA) algorithm, which integrates rule-based optimization with preference-based optimization for reasoning tasks. As a preference-based algorithm, TRPA naturally eliminates the reward hacking issue. TRPA constructs preference levels using predefined rules, forms corresponding preference pairs, and leverages a novel optimization algorithm for RL training with a theoretical monotonic improvement guarantee. Experimental results demonstrate that TRPA not only achieves competitive performance on reasoning tasks but also exhibits robust stability. The code of this paper are released and updating on https://github.com/XueruiSu/Trust-Region-Preference-Approximation.git.

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

↑