arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.06548stat.MLcs.ITcs.LGmath.ITmath.OCmath.STstat.TH
收藏

Q-Learning 是否极小极大最优?一项紧致样本复杂度分析

Is Q-Learning Minimax Optimal? A Tight Sample Complexity Analysis

University of Pennsylvania(宾夕法尼亚大学);Carnegie Mellon University(卡内基梅隆大学)

Gen Li, Changxiao Cai, Yuxin Chen, Yuting Wei, Yuejie Chi

AI总结:

本文研究同步 Q-learning 的精确样本复杂度,证明单动作时 TD learning 极小极大最优,而多动作时 Q-learning 严格次优,并扩展分析异步设置。

摘要:

Q-learning 以无模型方式学习 Markov 决策过程(MDP)的最优 Q 函数,是强化学习的核心。在同步设置下(每次迭代由生成模型为所有状态-动作对抽取独立样本),人们对 Q-learning 样本效率的理解已取得重大进展。考虑一个具有状态空间 S 和动作空间 A 的 γ 折扣无限视野 MDP:为得到最优 Q 函数的逐元素 ε 近似,Q-learning 的最先进理论所需样本量超过 |S||A|/((1-γ)^5 ε^2) 的量级,这与现有极小极大下界不匹配。由此产生自然的问题:Q-learning 的精确样本复杂度是什么?Q-learning 是否可证明地次优?本文针对同步设置回答这些问题:(1)当 |A|=1 时(此时 Q-learning 退化为 TD learning),我们证明 TD learning 的样本复杂度是极小极大最优的,其规模为 |S|/((1-γ)^3 ε^2)(不计对数因子);(2)当 |A|≥2 时,我们确定 Q-learning 的样本复杂度处于 |S||A|/((1-γ)^4 ε^2) 的量级(不计对数因子)。我们的理论揭示了当 |A|≥2 时 Q-learning 的严格次优性,并严格论证了 Q-learning 中过估计的负面影响。最后,我们将分析扩展到异步 Q-learning(即具有 Markov 样本的情形),将其样本复杂度的视野依赖锐化为 1/(1-γ)^4。

英文摘要:

Q-learning, which seeks to learn the optimal Q-function of a Markov decision process (MDP) in a model-free fashion, lies at the heart of reinforcement learning. When it comes to the synchronous setting (such that independent samples for all state-action pairs are drawn from a generative model in each iteration), substantial progress has been made towards understanding the sample efficiency of Q-learning. Consider a $γ$-discounted infinite-horizon MDP with state space $\mathcal{S}$ and action space $\mathcal{A}$: to yield an entrywise $\varepsilon$-approximation of the optimal Q-function, state-of-the-art theory for Q-learning requires a sample size exceeding the order of $\frac{|\mathcal{S}||\mathcal{A}|}{(1-γ)^5\varepsilon^{2}}$, which fails to match existing minimax lower bounds. This gives rise to natural questions: what is the sharp sample complexity of Q-learning? Is Q-learning provably sub-optimal? This paper addresses these questions for the synchronous setting: (1) when $|\mathcal{A}|=1$ (so that Q-learning reduces to TD learning), we prove that the sample complexity of TD learning is minimax optimal and scales as $\frac{|\mathcal{S}|}{(1-γ)^3\varepsilon^2}$ (up to log factor); (2) when $|\mathcal{A}|\geq 2$, we settle the sample complexity of Q-learning to be on the order of $\frac{|\mathcal{S}||\mathcal{A}|}{(1-γ)^4\varepsilon^2}$ (up to log factor). Our theory unveils the strict sub-optimality of Q-learning when $|\mathcal{A}|\geq 2$, and rigorizes the negative impact of over-estimation in Q-learning. Finally, we extend our analysis to accommodate asynchronous Q-learning (i.e., the case with Markovian samples), sharpening the horizon dependency of its sample complexity to be $\frac{1}{(1-γ)^4}$.

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

↑