NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Navigating to the Best Policy in Markov Decision Processes

Aymen Al Marjani, Aurélien Garivier, Alexandre Proutière

Introduction

A fundamental challenge in Reinforcement Learning (RL) is identifying the best possible strategy—or policy—as quickly as possible. While much of RL research focuses on regret minimization (maximizing rewards during the learning phase), many real-world applications prioritize Best Policy Identification (BPI). For instance, when training a robot in a controlled factory setting, the rewards earned during practice are irrelevant; the sole objective is to deploy the optimal policy rapidly.

Previous theoretical breakthroughs in BPI often relied on a "generative model" or simulator, assuming the agent could instantly teleport to and query any state-action pair. However, physical agents operate "online." A robot in Room A cannot instantly sample an action in Room Z; it must navigate there. This paper bridges the gap between theory and reality by formally incorporating these navigation constraints into sample complexity analysis, introducing MDP-NaS (Navigate-and-Stop), the first algorithm for BPI in Markov Decision Processes (MDPs) that adapts its speed to the specific difficulty of the environment.

The MDP-NaS Framework

To account for an agent moving through a single, continuous trajectory, the authors propose the MDP-NaS framework, built on three core components:

  1. A Navigation-Aware Lower Bound: The authors mathematically define the minimum number of steps any algorithm must take to find the best policy with high confidence. Crucially, this bound incorporates navigation constraints derived from the Chapman-Kolmogorov equations, which dictate how an agent can flow through the MDP's topology.
  2. The Sampling Rule: To achieve the theoretical lower bound, the agent must visit certain state-action pairs more frequently. Because teleportation is impossible, MDP-NaS employs a mixture of a "uniform policy" (to prevent getting stuck) and a "plug-in estimate" of the oracle policy (the ideal routing strategy to reach the target distribution of states).
  3. The Stopping Rule: The algorithm utilizes a Generalized Likelihood Ratio (GLR) test. It continuously evaluates its current best guess against all other possible alternative environments. Once the current guess is significantly more likely than any alternative, the algorithm terminates and outputs the policy. To maintain computational tractability, the authors use an upper bound from previous work, avoiding the typically non-convex "best-response" problem.

The Challenge of Navigation: The RiverSwim Environment

Because this is a theoretical paper, it bypasses standard deep RL benchmarks like Atari in favor of mathematically rigorous environments like the RiverSwim MDP.

RiverSwim MDP topology illustrating navigation constraints and forced exploration rates.

RiverSwim is a classic "hard-to-explore" environment where an agent must fight against a current to reach high-reward states. The topology of this MDP perfectly illustrates why navigation is a constraint: the "hardness" of an MDP is not just about reward sparsity, but about physical layout. If the optimal state is distant, sample complexity inherently increases because the agent must spend steps simply traveling.

This environment also highlights the necessity of forced exploration rates. The authors found that the rate of random exploration is critical:

  • In ergodic MDPs (where states mix quickly), a light exploration rate (e.g., $1/\sqrt{t}$) is sufficient.
  • In communicating MDPs (where some states are distant or hard to reach, like in RiverSwim), a much more aggressive, conservative rate (e.g., $t^{-1/(m+1)}$) is required to guarantee the agent eventually explores the entire state space.

Key Results

  • Instance-Specific Guarantees: MDP-NaS is the first algorithm for the online setting that provides instance-specific guarantees. This means its sample complexity adapts to the environment; it converges faster if the specific MDP is topologically "easy."
  • Asymptotic Optimality: As the required confidence level ($\delta$) approaches 100%, the algorithm's sample complexity is proven to be within a factor of 2 of the theoretical lower bound.
  • Efficiency Gains: The GLR stopping rule improves upon previous "KL-Ball" stopping rules by at least a factor of 2, allowing the algorithm to terminate significantly faster once it has gathered sufficient evidence.

Limitations and Future Directions

While a significant step forward, the current analysis assumes the existence of a unique optimal policy; handling environments with multiple tied optimal policies remains an open challenge. Furthermore, the theoretical guarantees are asymptotic (holding true as the error probability $\delta \to 0$). Performance in moderate confidence scenarios (e.g., $\delta = 0.05$) requires further characterization. Finally, the paper focuses on finding the exact best policy, whereas finding an $\epsilon$-optimal ("good enough") policy might require entirely different navigation strategies in practice.

Summary updated

BibTeX
@inproceedings{marjani2021navigating,
  author = {Aymen Al Marjani and Aurélien Garivier and Alexandre Proutière},
  title = {{Navigating to the Best Policy in Markov Decision Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=XITHL07ComB},
}
Figure