arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.04625cs.LGstat.ML
收藏

KL正则化上下文老虎机与RLHF的精细分析

Sharp Analysis for KL-Regularized Contextual Bandits and RLHF

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Heyang Zhao, Chenlu Ye, Quanquan Gu, Tong Zhang

AI总结:

针对KL正则化RLHF现有理论分析样本复杂度与无正则化相同的问题,通过精细分析揭示小ε下$\mathcal{O}(1 / \varepsilon)$的样本复杂度,并探索数据覆盖作用,为高效RLHF算法设计提供理论启示。

摘要:

反向KL(Reverse-Kullback-Leibler,KL)正则化已成为强化学习(RL)和人类反馈强化学习(RLHF)中增强策略优化的主导技术,它迫使学习到的策略与参考策略保持接近。尽管KL正则化的有效性和必要性已在各种实际场景中得到实证,但当前对KL正则化RLHF的理论分析仍得出与无KL正则化问题相同的$\mathcal{O}(1 / \varepsilon^2)$样本复杂度。为理解带KL正则化和无KL正则化的策略学习目标之间的根本区别,我们首次通过对KL正则化上下文老虎机和RLHF进行精细分析来从理论上证明KL正则化的作用,揭示了当$\varepsilon$足够小时样本复杂度为$\mathcal{O}(1 / \varepsilon)$。我们进一步探索了数据覆盖在上下文老虎机和RLHF中的作用。尽管覆盖假设在离线RLHF中常被用于将参考策略的样本与最优策略关联,且通常以覆盖系数的乘法依赖为代价,但其对在线RLHF样本复杂度的影响仍不明确。以往在线RLHF的理论分析通常需要显式探索和对奖励函数类的额外结构假设。相比之下,我们表明,当参考策略提供足够覆盖时,简单的两阶段混合采样策略可实现仅依赖覆盖系数加法项的样本复杂度。我们的结果全面理解了KL正则化和数据覆盖在RLHF中的作用,为设计更高效的RLHF算法提供了启示。

英文摘要:

Reverse-Kullback-Leibler (KL) regularization has emerged to be a predominant technique used to enhance policy optimization in reinforcement learning (RL) and reinforcement learning from human feedback (RLHF), which forces the learned policy to stay close to a reference policy. While the effectiveness and necessity of KL-regularization have been empirically demonstrated in various practical scenarios, current theoretical analysis of KL-regularized RLHF still obtains the same $\mathcal{O}(1 / ε^2)$ sample complexity as problems without KL-regularization. To understand the fundamental distinction between policy learning objectives with KL-regularization and ones without KL-regularization, we are the first to theoretically demonstrate the power of KL-regularization by providing a sharp analysis for KL-regularized contextual bandits and RLHF, revealing an $\mathcal{O}(1 / ε)$ sample complexity when $ε$ is sufficiently small. We further explore the role of data coverage in contextual bandits and RLHF. While the coverage assumption is commonly employed in offline RLHF to link the samples from the reference policy to the optimal policy, often at the cost of a multiplicative dependence on the coverage coefficient, its impact on the sample complexity of online RLHF remains unclear. Previous theoretical analyses of online RLHF typically require explicit exploration and additional structural assumptions on the reward function class. In contrast, we show that with sufficient coverage from the reference policy, a simple two-stage mixed sampling strategy can achieve a sample complexity with only an additive dependence on the coverage coefficient. Our results provide a comprehensive understanding of the roles of KL-regularization and data coverage in RLHF, shedding light on the design of more efficient RLHF algorithms.

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

↑