Settling the Sample Complexity of Online Reinforcement Learning
Princeton Department of Electrical and Computer Engineering, Princeton University(普林斯顿大学电气与计算机工程系);UPenn Department of Statistics and Data Science, University of Pennsylvania(宾夕法尼亚大学统计与数据科学系);Princeton(普林斯顿大学);University of Washington(华盛顿大学);Paul G. Allen School of Computer Science and Engineering, University of Washington(华盛顿大学保罗·G·阿伦计算机科学与工程学院)
Zihan Zhang, Yuxin Chen, Jason D. Lee, Simon S. Du
备注:
accepted to Journal of the ACM (also appeared in COLT 2024 as an extended abstract)
在线强化学习(RL)的核心问题是数据效率。尽管最近许多工作在在线RL中实现了渐近最小遗憾,但这些结果的最优性仅在“大样本”机制下得到保证,导致其算法要达到最优运行需付出巨大的预热成本。如何在没有任何预热成本的情况下实现极小化极大最优遗憾,一直是RL理论中的一个开放问题。我们在有限时域非齐次马尔可夫决策过程的背景下解决了这一问题。具体而言,我们证明了由\cite{zhang2020reinforcement}提出的基于模型的算法Monotonic Value Propagation (MVP)的修改版本,其遗憾达到(忽略对数因子)\begin{equation*} \min\big\{ \sqrt{SAH^3K}, \\,HK \big\} \end{equation*}的数量级,其中$S$是状态数,$A$是动作数,$H$是规划时域,$K$是总回合数。该遗憾在整个样本量$K\geq 1$范围内均匹配极小化极大下界,从根本上消除了任何预热要求。这还转化为在忽略对数因子下为$\frac{SAH^3}{\varepsilon^2}$的PAC样本复杂度(即产生$\varepsilon$-精度所需的回合数),在整个$\varepsilon$范围内都是极小化极大最优的。此外,我们扩展了理论,揭示了最优值/代价及某些方差等问题相关量的影响。关键技术创新在于开发了新的遗憾分解策略和一种新颖的分析范式,以解耦复杂的统计依赖性——这是样本匮乏机制下在线RL分析长期面临的挑战。
英文摘要:
A central issue lying at the heart of online reinforcement learning (RL) is data efficiency. While a number of recent works achieved asymptotically minimal regret in online RL, the optimality of these results is only guaranteed in a ``large-sample'' regime, imposing enormous burn-in cost in order for their algorithms to operate optimally. How to achieve minimax-optimal regret without incurring any burn-in cost has been an open problem in RL theory.
We settle this problem for the context of finite-horizon inhomogeneous Markov decision processes. Specifically, we prove that a modified version of Monotonic Value Propagation (MVP), a model-based algorithm proposed by \cite{zhang2020reinforcement}, achieves a regret on the order of (modulo log factors) \begin{equation*}
\min\big\{ \sqrt{SAH^3K}, \,HK \big\}, \end{equation*} where $S$ is the number of states, $A$ is the number of actions, $H$ is the planning horizon, and $K$ is the total number of episodes. This regret matches the minimax lower bound for the entire range of sample size $K\geq 1$, essentially eliminating any burn-in requirement. It also translates to a PAC sample complexity (i.e., the number of episodes needed to yield $\varepsilon$-accuracy) of $\frac{SAH^3}{\varepsilon^2}$ up to log factor, which is minimax-optimal for the full $\varepsilon$-range.
Further, we extend our theory to unveil the influences of problem-dependent quantities like the optimal value/cost and certain variances. The key technical innovation lies in the development of a new regret decomposition strategy and a novel analysis paradigm to decouple complicated statistical dependency -- a long-standing challenge facing the analysis of online RL in the sample-hungry regime.
Online Pre-Training for Offline-to-Online Reinforcement Learning
LG AI Research, Seoul, Republic of Korea.(LG人工智能研究所在韩国首尔);School of Electrical Engineering, KAIST, Daejeon, Republic of Korea(韩国成均馆大学电气工程学院);Department of XXX, University of YYY, Location, Country(YYY大学XXX系);School of ZZZ, Institute of WWW, Location, Country(WWW研究所ZZZ学院)
Efficient and Uncertainty-Aware Diffusion Framework for Offline-to-Online Reinforcement Learning
Department of Computer Science, Johns Hopkins University, Baltimore, MD, U.S.A.(约翰霍普金斯大学计算机科学系);AMLab, University of Amsterdam, Amsterdam, Netherlands(阿姆斯特丹大学AM实验室)
Energy-Guided Diffusion Sampling for Offline-to-Online Reinforcement Learning
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Polixir Technologies(Polixir科技公司);Department of Computer Science, The University of Hong Kong(香港大学计算机科学系)
Towards Robust Offline-to-Online Reinforcement Learning via Uncertainty and Smoothness
Northwestern Polytechnical University(西北工业大学);Harbin Institute of Technology(哈尔滨工业大学);The Hong Kong University of Science and Technology(香港科技大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Shenzhen Research Institute of Northwestern Polytechnical University(西北工业大学深圳研究院)
Improving HPC Code Generation Capability of LLMs via Online Reinforcement Learning with Real-Machine Benchmark Rewards
Department of Computer Science, Nagoya University(名古屋大学计算机科学系);Graduate School of Informatics, Nagoya University(名古屋大学信息科学研究生院);Information Technology Center, Nagoya University(名古屋大学信息技术中心)
Online Estimation and Inference for Robust Policy Evaluation in Reinforcement Learning
School of Mathematics, Shanghai University of Finance and Economics(上海财经大学数学学院);Stern School of Business, New York University(纽约大学斯特恩商学院);Daniels School of Business, Purdue University(普渡大学丹尼尔斯商学院)
Settling the Variance of Multi-Agent Policy Gradients
Imperial College London(帝国理工学院);Huawei R&D UK(华为英国研发中心);Shanghai Jiao Tong University(上海交通大学);Institute of Automation, Chinese Academy of Science(中国科学院自动化研究所);University College London(伦敦大学学院);Institute for AI, Peking University(北京大学人工智能研究院)