cs.LGMay 5, 2026

Optimal Posterior Sampling for Policy Identification in Tabular Markov Decision Processes

Authors: Cyrille KoneKevin Jamieson

Organizations: Univ. Lille, CNRS, Inria, Centrale Lille, UMR 9189-CRIStAL, F-59000 Lille, France · University of Washington, Seattle, USA

Abstract

We study the (ε,δ)(\varepsilon, δ)-PAC policy identification problem in finite-horizon episodic Markov Decision Processes. Existing approaches provide finite-time guarantees for approximate settings (ε>0\varepsilon>0) but suffer from high computational cost, rendering them hard to implement, and also suffer from suboptimal dependence on log(1/δ)\log(1/δ). We propose a randomized and computationally efficient algorithm for best policy identification that combines posterior sampling with an online learning algorithm to guide exploration in the MDP. Our method achieves asymptotic optimality in sample complexity, also in terms of posterior contraction rate, and runs in O(S2AH)O(S^2AH) per episode, matching standard model-based approaches. Unlike prior algorithms such as MOCA and PEDEL, our guarantees remain meaningful in the asymptotic regime and avoid sub-optimal polynomial dependence on log(1/δ)\log(1/δ). Our results provide both theoretical insights and practical tools for efficient policy identification in tabular MDPs.

Explore similar work

Jul 19, 2026stat.ML

Non-Asymptotic Best Policy Identification Guarantees in Online Reinforcement Learning

In this work we study the Best Policy Identification (BPI) problem in online, tabular Reinforcement Learning. This is an active sequential hypothesis testing problem in which the learner's objective is to identify an optimal policy in a Markov Decision Process (MDP) with high confidence, while minimizing the expected sample complexity to do so. We consider an online setting with deterministic rewards, where the agent must strategically navigate through the MDP in order to effectively explore. Previous works in the literature have provided asymptotically optimal methods for BPI, such as the Navigate and Stop (NaS) algorithm and its variants, however existing analysis remains asymptotic. In this work, we fill that gap by providing the first non-asymptotic sample complexity guarantees for NaS, showing that its sample complexity depends not only on the characteristic time, but also on the connectivity of the underlying MDP, the curvature of the optimal characteristic time, and other instance-dependent quantities. We identify these additional attributes and make explicit their contributions to the overall sample complexity.
Joseph Lazzaro, Alessio Russo, Aldo Pacchiano
Jun 23, 2026stat.ML

Minimax PAC Bounds for Learning in Exogenous Contextual MDPs

We study PAC learning in tabular discounted Markov decision processes with exogenous i.i.d. contexts, with discount factor γγ, finite state space X\mathcal X, action space A\mathcal A, and context space Z\mathcal Z. At each time step, a context is drawn independently from an unknown distribution μμ and revealed before the agent acts. This context may affect both rewards and transitions, while remaining uncontrolled by the agent. Depending on the regime, the learner has access either to a sampling oracle for μμ, to a sampling oracle for the transition kernel conditioned on state-context-action tuples, or to both. Oracles can be accessed before and during policy execution. The sample complexity is measured by a couple (n,m)(n,m), where nn is the number of calls to the sampling oracles before execution and mm is the number of calls to the sampling oracles during execution. When rewards and transitions are known and only the context distribution μμ is sampled, we give a variance-reduced algorithm that solves policy evaluation (PE), best-value estimation (BVE), and best-policy extraction (BPE) with (O~(1/((1γ)3ε2)),0)\left(\widetilde O\left(1/((1-γ)^3\varepsilon^2)\right), 0 \right) sample complexity. The rate is independent of Z|\mathcal Z| and minimax optimal up to logarithmic factors. As a corollary, we also obtain tight rates in the case of one-step perfect look-ahead, improving upon the existing guarantees. In the fully unknown regime, where both μμ and P must be learned, we show that PE remains Z|\mathcal Z|-free, with matching upper and lower bounds (O~(X/((1γ)3ε2)),O~(1/((1γ)2ε2)))\bigl(\widetilde O(|\mathcal X|/((1-γ)^3\varepsilon^2)),\, \widetilde O(1/((1-γ)^2\varepsilon^2))\bigr).
Corentin Pla, Hugo Richard, Marc Abeille +1
May 13, 2026cs.LG

Tight Sample Complexity Bounds for Entropic Best Policy Identification

We study best-policy identification for finite-horizon risk-sensitive reinforcement learning under the entropic risk measure. Recent work established a constant gap in the exponential horizon dependence between lower and upper bounds on the number of samples required to identify an approximately optimal policy. Precisely, known lower bounds scale in Ω(eβH)Ω(e^{|β| H}) where HH is the horizon of the MDP, while the state-of-the-art upper bound achieves at best O(e2βH)O(e^{2|β| H}) (arXiv:2506.00286v2) using a generative model. We show that this extra exponential factor can be traced to overly loose concentration control for exponential utilities. To close this open gap, we revisit the analysis of this problem through a forward-model based algorithm building on KL-based exploration bonuses that we adapt to the entropic criterion. The improvement we get is due to two main novel technical innovations. We leverage the smoothness properties of the exponential utility to derive sharper concentration bounds, and we propose a new stopping rule that exploits further this tightness to obtain a sample complexity that matches the lower bound.
Amer Essakine, Claire Vernade