Fast Non-Episodic Finite-Horizon RL with K-Step Lookahead Thresholding
Jiamin Xu, Kyra Gan
Abstract
Online reinforcement learning in non-episodic, finite-horizon MDPs remains underexplored and is challenged by the need to estimate returns to a fixed terminal time. Existing infinite-horizon methods, which often rely on discounted contraction, do not naturally account for this fixed-horizon structure. We introduce a modified Q-function: rather than targeting the full-horizon, we learn a K-step lookahead Q-function that truncates planning to the next K steps. To further improve sample efficiency, we introduce a thresholding mechanism: actions are selected only when their estimated K-step lookahead value exceeds a time-varying threshold. We provide an efficient tabular learning algorithm for this novel objective, proving it achieves fast finite-sample convergence: it achieves minimax optimal constant regret for and regret for any . We numerically evaluate the performance of our algorithm under the objective of maximizing reward. Our implementation adaptively increases K over time, balancing lookahead depth against estimation variance. Empirical results demonstrate superior cumulative rewards over state-of-the-art tabular RL methods across synthetic MDPs and RL environments: JumpRiverswim, FrozenLake and AnyTrading. Code is provided on github.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on9
- Model Based Reinforcement Learning for AtariLukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski et al.ICLR 2020 · 969 citations
- Almost Optimal Model-Free Reinforcement Learningvia Reference-Advantage DecompositionZihan Zhang, Yuan Zhou, Xiangyang JiNeurIPS 2020 · 183 citations
- Model-free Reinforcement Learning in Infinite-horizon Average-reward Markov Decision ProcessesChen-Yu Wei, Mehdi Jafarnia-Jahromi, Haipeng Luo, Hiteshi Sharma et al.ICML 2020 · 120 citations
- Online Planning with Lookahead PoliciesYonathan Efroni, Mohammad Ghavamzadeh, Shie MannorNeurIPS 2020 · 25 citations
- Near-Optimal Randomized Exploration for Tabular Markov Decision ProcessesZhihan Xiong, Ruoqi Shen, Qiwen Cui, Maryam Fazel et al.NeurIPS 2022 · 17 citations
Related papers
- Breaking the Sample Complexity Barrier to Regret-Optimal Model-Free Reinforcement LearningGen Li, Laixi Shi, Yuxin Chen, Yuantao Gu et al.NeurIPS 2021 · 71 citations
- Provably Efficient RL under Episode-Wise Safety in Constrained MDPs with Linear Function ApproximationToshinori Kitamura, Arnob Ghosh, Tadashi Kozuno, Wataru Kumagai et al.NeurIPS 2025 · 5 citations
- Regret-Optimal Model-Free Reinforcement Learning for Discounted MDPs with Short Burn-In TimeXiang Ji, Gen LiNeurIPS 2023 · 11 citations
- Model-free Posterior Sampling via Learning Rate RandomizationDaniil Tiapkin, Denis Belomestny, Daniele Calandriello, Eric Moulines et al.NeurIPS 2023 · 8 citations
- Finite Sample Analysis of Average-Reward TD Learning and -LearningSheng Zhang, Zhe Zhang, Siva Theja MaguluriNeurIPS 2021 · 48 citations
