38
9

Minimax Optimal Q Learning with Nearest Neighbors

Abstract

Analyzing the Markov decision process (MDP) with continuous state spaces is generally challenging. A recent interesting work \cite{shah2018q} solves MDP with bounded continuous state space by a nearest neighbor QQ learning approach, which has a sample complexity of O~(1ϵd+3(1γ)d+7)\tilde{O}(\frac{1}{\epsilon^{d+3}(1-\gamma)^{d+7}}) for ϵ\epsilon-accurate QQ function estimation with discount factor γ\gamma. In this paper, we propose two new nearest neighbor QQ learning methods, one for the offline setting and the other for the online setting. We show that the sample complexities of these two methods are O~(1ϵd+2(1γ)d+2)\tilde{O}(\frac{1}{\epsilon^{d+2}(1-\gamma)^{d+2}}) and O~(1ϵd+2(1γ)d+3)\tilde{O}(\frac{1}{\epsilon^{d+2}(1-\gamma)^{d+3}}) for offline and online methods respectively, which significantly improve over existing results and have minimax optimal dependence over ϵ\epsilon. We achieve such improvement by utilizing the samples more efficiently. In particular, the method in \cite{shah2018q} clears up all samples after each iteration, thus these samples are somewhat wasted. On the other hand, our offline method does not remove any samples, and our online method only removes samples with time earlier than βt\beta t at time tt with β\beta being a tunable parameter, thus our methods significantly reduce the loss of information. Apart from the sample complexity, our methods also have additional advantages of better computational complexity, as well as suitability to unbounded state spaces.

View on arXiv
Comments on this paper