{"title":"Minimax Optimal Q Learning With Nearest Neighbors","authors":"Puning Zhao;Lifeng Lai","doi":"10.1109/TIT.2024.3522347","DOIUrl":null,"url":null,"abstract":"Markov decision process (MDP) is an important model of sequential decision making problems. Existing theoretical analysis focus primarily on finite state spaces. For continuous state spaces, a recent interesting work (Shah and Xie, 2018) proposes a nearest neighbor Q learning approach. Under the streaming setting, in shich samples are received in a sequential manner, the sample complexity of this method is <inline-formula> <tex-math>$\\tilde {O}\\left ({{\\frac {|\\mathcal {A}|}{\\epsilon ^{d+3}(1-\\gamma)^{d+7}}}}\\right)$ </tex-math></inline-formula> for <inline-formula> <tex-math>$\\epsilon $ </tex-math></inline-formula>-accurate Q function estimation of infinite horizon discounted MDP with discount factor <inline-formula> <tex-math>$\\gamma $ </tex-math></inline-formula>, in which <inline-formula> <tex-math>$|\\mathcal {A}|$ </tex-math></inline-formula> is the size of the action space. However, the sample complexity is not optimal, and the method is suitable only for bounded state spaces. In this paper, we propose two new nearest neighbor Q learning methods, one for the offline setting and the other for the streaming setting. We show that the sample complexities of these two methods are <inline-formula> <tex-math>$\\tilde {O}\\left ({{\\frac {|\\mathcal {A}|}{\\epsilon ^{d+2}(1-\\gamma)^{d+2}}}}\\right)$ </tex-math></inline-formula> and <inline-formula> <tex-math>$\\tilde {O}\\left ({{\\frac {|\\mathcal {A}|}{\\epsilon ^{d+2}(1-\\gamma)^{d+3}}}}\\right)$ </tex-math></inline-formula> for offline and streaming settings respectively, which significantly improve over existing results and have minimax optimal dependence over <inline-formula> <tex-math>$\\epsilon $ </tex-math></inline-formula>. We achieve such improvement by utilizing samples more efficiently. In particular, the method by Shah and Xie, 2018, 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 streaming method only removes samples with time earlier than <inline-formula> <tex-math>$\\beta t$ </tex-math></inline-formula> at time t, 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. Finally, we extend our work to the case where both state and action spaces are continuous.","PeriodicalId":13494,"journal":{"name":"IEEE Transactions on Information Theory","volume":"71 2","pages":"1300-1322"},"PeriodicalIF":2.2000,"publicationDate":"2024-12-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Information Theory","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10816316/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Markov decision process (MDP) is an important model of sequential decision making problems. Existing theoretical analysis focus primarily on finite state spaces. For continuous state spaces, a recent interesting work (Shah and Xie, 2018) proposes a nearest neighbor Q learning approach. Under the streaming setting, in shich samples are received in a sequential manner, the sample complexity of this method is $\tilde {O}\left ({{\frac {|\mathcal {A}|}{\epsilon ^{d+3}(1-\gamma)^{d+7}}}}\right)$ for $\epsilon $ -accurate Q function estimation of infinite horizon discounted MDP with discount factor $\gamma $ , in which $|\mathcal {A}|$ is the size of the action space. However, the sample complexity is not optimal, and the method is suitable only for bounded state spaces. In this paper, we propose two new nearest neighbor Q learning methods, one for the offline setting and the other for the streaming setting. We show that the sample complexities of these two methods are $\tilde {O}\left ({{\frac {|\mathcal {A}|}{\epsilon ^{d+2}(1-\gamma)^{d+2}}}}\right)$ and $\tilde {O}\left ({{\frac {|\mathcal {A}|}{\epsilon ^{d+2}(1-\gamma)^{d+3}}}}\right)$ for offline and streaming settings respectively, which significantly improve over existing results and have minimax optimal dependence over $\epsilon $ . We achieve such improvement by utilizing samples more efficiently. In particular, the method by Shah and Xie, 2018, 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 streaming method only removes samples with time earlier than $\beta t$ at time t, 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. Finally, we extend our work to the case where both state and action spaces are continuous.
期刊介绍:
The IEEE Transactions on Information Theory is a journal that publishes theoretical and experimental papers concerned with the transmission, processing, and utilization of information. The boundaries of acceptable subject matter are intentionally not sharply delimited. Rather, it is hoped that as the focus of research activity changes, a flexible policy will permit this Transactions to follow suit. Current appropriate topics are best reflected by recent Tables of Contents; they are summarized in the titles of editorial areas that appear on the inside front cover.