探索性偏好优化:利用隐式 Q* 近似实现样本高效的 RLHF
Exploratory Preference Optimization: Harnessing Implicit Q*-Approximation for Sample-Efficient RLHF
AI总结:
提出探索性偏好优化(XPO)算法,通过在 DPO 目标中增加探索奖励实现 RLHF 在线探索,兼具理论可证明的样本高效性与实证优越性。
摘要:
人类反馈强化学习(RLHF)已成为语言模型对齐的核心工具。我们研究 RLHF 中的在线探索,它通过刻意鼓励模型产生多样化、最大化信息量的响应来利用与人类或 AI 反馈的交互式访问。通过允许 RLHF 自信地偏离预训练模型,在线探索提供了获得新颖、潜在超人类能力的可能性,但由于在直接适配现有强化学习技术时存在计算和统计瓶颈,其作为语言模型训练范式的全部潜力尚未实现。我们提出了一种用于 RLHF 在线探索的新算法——探索性偏好优化(XPO),该算法简单且实用——只需对(在线)直接偏好优化(DPO;Rafailov 等,2023)进行一行代码的修改——却享有已知最强的可证明保证和有前景的实证表现。XPO 用一种新颖且有原则的探索奖励增强 DPO 目标,使算法能够在初始模型和人类反馈数据的支持集之外进行探索。在理论上,我们证明 XPO 是可证明样本高效的,并且在自然探索条件下,无论初始模型是否具有良好的覆盖范围,都能收敛到近最优的语言模型策略。我们的分析基于 DPO 隐式执行一种 $Q^{\star}$ 近似(或 Bellman 误差最小化)的观察,通过 KL 正则化马尔可夫决策过程的视角,以一种偶然的方式结合了语言建模和理论强化学习中以前截然不同的技术。在实证上,我们发现在初步评估中,XPO 比非探索性 DPO 变体具有更高的样本效率。
英文摘要:
Reinforcement learning from human feedback (RLHF) has emerged as a central tool for language model alignment. We consider online exploration in RLHF, which exploits interactive access to human or AI feedback by deliberately encouraging the model to produce diverse, maximally informative responses. By allowing RLHF to confidently stray from the pre-trained model, online exploration offers the possibility of novel, potentially super-human capabilities, but its full potential as a paradigm for language model training has yet to be realized, owing to computational and statistical bottlenecks in directly adapting existing reinforcement learning techniques. We propose a new algorithm for online exploration in RLHF, Exploratory Preference Optimization (XPO), which is simple and practical -- a one-line change to (online) Direct Preference Optimization (DPO; Rafailov et al., 2023) -- yet enjoys the strongest known provable guarantees and promising empirical performance. XPO augments the DPO objective with a novel and principled exploration bonus, empowering the algorithm to explore outside the support of the initial model and human feedback data. In theory, we show that XPO is provably sample-efficient and converges to a near-optimal language model policy under natural exploration conditions, irrespective of whether the initial model has good coverage. Our analysis, which builds on the observation that DPO implicitly performs a form of $Q^{\star}$-approximation (or, Bellman error minimization), combines previously disparate techniques from language modeling and theoretical reinforcement learning in a serendipitous fashion through the perspective of KL-regularized Markov decision processes. Empirically, we find that XPO is more sample-efficient than non-exploratory DPO variants in a preliminary evaluation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。