Skip to main navigation Skip to search Skip to main content

Logarithmic Regret for Online KL-Regularized Reinforcement Learning

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

Research output: Contribution to journal › Conference article › peer-review

Abstract

Recent advances in Reinforcement Learning from Human Feedback (RLHF) have shown that KLregularization 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 KLregularized objective in decision making (Xiong et al., 2024a; Xie et al., 2024; Zhao et al., 2024), these analyses either reduce to the traditional RL setting or rely on strong coverage assumptions. In this paper, we propose an optimismbased 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 O (η log(NRT) · dR) logarithmic regret bound, where η,NRT, dRdenote the KLregularization 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.

Original languageEnglish (US)
Pages (from-to)77864-77884
Number of pages21
JournalProceedings of Machine Learning Research
Volume267
StatePublished - 2025
Event42nd International Conference on Machine Learning, ICML 2025 - Vancouver, Canada
Duration: Jul 13 2025 → Jul 19 2025

ASJC Scopus subject areas

  • Software
  • Control and Systems Engineering
  • Statistics and Probability
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Logarithmic Regret for Online KL-Regularized Reinforcement Learning'. Together they form a unique fingerprint.

Cite this