2025-03-11 · 进阶 · 机器学习 · 自然语言处理

RePO: ReLU-based Preference Optimization

RePO通过引入ReLU激活函数和消除超参数β,提出了一种简化的偏好优化算法,在保持高性能的同时降低了超参数调优的复杂性。

更新于 2025-03-12。作者:Junkang Wu、Kexin Huang、Xue Wang、Jinyang Gao、Bolin Ding、Jiancan Wu、Xiangnan He、Xiang Wang。

中文摘要

将大型语言模型(LLMs)与人类偏好对齐对于实际部署至关重要,然而现有的方法如RLHF面临着计算和稳定性挑战。虽然DPO通过单个超参数beta建立了一个离线范式,但随后的方法如SimPO通过引入双参数(beta,gamma)再次引入了复杂性。我们提出了ReLU-based Preference Optimization(RePO)算法,这是一种简化算法,通过以下两个进步消除了beta:(1)保留SimPO的无参考边缘,但通过梯度分析去除beta;(2)采用ReLU-based max-margin loss,它可以自然地过滤掉琐碎的配对。从理论上讲,RePO被描述为SimPO的极限情况(beta趋向于无穷大),其中逻辑权重会塌缩为二元阈值,形成0-1损失的凸包。在AlpacaEval 2和Arena-Hard上的实证结果表明,RePO在多个基础模型上优于DPO和SimPO,且只需要调整一个超参数。

英文摘要

Aligning large language models (LLMs) with human preferences is critical for real-world deployment, yet existing methods like RLHF face computational and stability challenges. While DPO establishes an offline paradigm with single hyperparameter beta, subsequent methods like SimPO reintroduce complexity through dual parameters (beta, gamma). We propose {ReLU-based Preference Optimization (RePO)}, a streamlined algorithm that eliminates beta via two advances: (1) retaining SimPO's reference-free margins but removing beta through gradient analysis, and (2) adopting a ReLU-based max-margin loss that naturally filters trivial pairs. Theoretically, RePO is characterized as SimPO's limiting case (beta to infty), where the logistic weighting collapses to binary thresholding, forming a convex envelope of the 0-1 loss. Empirical results on AlpacaEval 2 and Arena-Hard show that RePO outperforms DPO and SimPO across multiple base models, requiring only one hyperparameter to tune.

解读

一句话总结

RePO通过引入ReLU激活函数和消除超参数β,提出了一种简化的偏好优化算法,在保持高性能的同时降低了超参数调优的复杂性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源