arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07460cs.LGstat.ML
收藏

在线KL正则化强化学习的对数遗憾

Logarithmic Regret for Online KL-Regularized Reinforcement Learning

Heyang Zhao, Chenlu Ye, Wei Xiong, Quanquan Gu, Tong Zhang

AI总结:

本文提出了一种基于乐观的KL正则化在线上下文老虎机算法,实现了对数遗憾界,并扩展到强化学习领域。

摘要:

最近在人类反馈强化学习(RLHF)中的进展表明,KL正则化在提高大型语言模型(LLMs)强化学习微调效率方面起着关键作用。尽管在经验上具有优势,KL正则化强化学习与标准强化学习之间的理论差异仍 largely 未被充分探索。虽然最近有一些关于KL正则化目标在决策中的理论分析的工作,如[xiong2024iterative, xie2024exploratory,zhao2024sharp],但这些分析要么减少到传统的RL设置,要么依赖于强覆盖假设。在本文中,我们提出了一种基于乐观的KL正则化在线上下文老虎机算法,并提供了其遗憾的新型分析。通过仔细利用KL正则化诱导的良性优化景观和乐观奖励估计,我们的算法实现了O(η log (N_R T)·d_R)的对数遗憾界,其中η、N_R、T、d_R分别表示KL正则化参数、奖励函数类的基数、轮次数和奖励函数类的复杂度。此外,我们将我们的算法和分析扩展到强化学习,通过开发一种新的分解方式过渡步骤,并获得了类似的对数遗憾界。

英文摘要:

Recent advances in Reinforcement Learning from Human Feedback (RLHF) have shown that KL-regularization plays a pivotal role in improving the efficiency of RL fine-tuning for large language models (LLMs). Despite its empirical advantage, the theoretical difference between KL-regularized RL and standard RL remains largely under-explored. While there is a recent line of work on the theoretical analysis of KL-regularized objective in decision making \citep{xiong2024iterative, xie2024exploratory,zhao2024sharp}, these analyses either reduce to the traditional RL setting or rely on strong coverage assumptions. In this paper, we propose an optimism-based KL-regularized online contextual bandit algorithm, and provide a novel analysis of its regret. By carefully leveraging the benign optimization landscape induced by the KL-regularization and the optimistic reward estimation, our algorithm achieves an $\mathcal{O}\big(η\log (N_{\mathcal R} T)\cdot d_{\mathcal R}\big)$ logarithmic regret bound, where $η, N_{\mathcal R},T,d_{\mathcal R}$ denote the KL-regularization parameter, the cardinality of the reward function class, number of rounds, and the complexity of the reward function class. Furthermore, we extend our algorithm and analysis to reinforcement learning by developing a novel decomposition over transition steps and also obtain a similar logarithmic regret bound.

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

↑