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

In Reinforcement Learning (RL), the standard objective is often regret minimization—maximizing the cumulative reward an agent receives while learning. However, in many practical scenarios, such as training a robot in a controlled factory setting or optimizing a game-playing agent, the rewards collected during the training phase are secondary. The primary goal is Best Policy Identification (BPI): finding the optimal policy as quickly and accurately as possible.

While theoretical BPI often assumes a "generative model" where an agent can instantly teleport to and sample any state-action pair, real-world agents are bound by navigation constraints. They must operate in an online setting, following a single continuous trajectory through a Markov Decision Process (MDP). This paper introduces MDP-NaS (Navigate-and-Stop), the first algorithm to provide instance-dependent sample complexity guarantees for BPI under these realistic constraints.

The Challenge of Navigation Constraints

In the online setting, an agent cannot sample a rare state 1,000 times without physically navigating the path required to get there. This fundamentally changes the information-theoretic limits of exploration. Instead of being able to sample state-action pairs in any arbitrary proportion, the agent's sampling frequencies are restricted to valid stationary distributions of the MDP.

A structured MDP where navigation constraints make reaching state S difficult, requiring strategic exploration.

The difficulty of exploration is dictated by the MDP's topology. In highly connected (ergodic) environments, states are easily reachable. However, in environments like the one shown above—reminiscent of the classic "RiverSwim" MDP—reaching high-value states requires specific, often difficult, sequences of actions. If an agent does not account for these constraints, it may fail to gather enough information about the optimal policy within a reasonable timeframe.

The MDP-NaS Algorithm

The authors propose the Navigate-and-Stop (MDP-NaS) algorithm, which balances the need to reach informative states with the physical limitations of the environment. The algorithm consists of two primary components:

1. The Sampling Rule

Because the agent cannot teleport, it cannot use standard tracking procedures. Instead, MDP-NaS employs a mixture policy:

  • Oracle Policy: A policy designed to naturally settle into the optimal sampling distribution (the distribution that would be chosen by an agent with a generative model, but adjusted for navigation).
  • Forced Exploration: To prevent the agent from getting stuck in local regions, it occasionally takes random actions. The rate of this exploration is critical: ergodic MDPs allow for a fast-decaying rate ($1/\sqrt{t}$), while loosely connected (communicating) MDPs require a more conservative, slower decay to ensure all states are eventually visited.

2. The Stopping Rule

To determine when the agent has identified the best policy with sufficient confidence, MDP-NaS uses a proxy for the Generalized Likelihood Ratio (GLR) test. Since computing the exact GLR is computationally intensive, the authors developed a tractable upper bound that allows the agent to stop once it reaches a confidence threshold of $1-\delta$.

Key Results and Insights

The theoretical analysis of MDP-NaS reveals that it is $\delta$-Probably Correct and achieves an asymptotic sample complexity that matches the theoretical lower bound within a factor of 2. This is a significant advancement over previous methods that did not account for instance-dependent navigation costs.

Empirically, the algorithm demonstrates massive efficiency gains over deterministic bounds like Variance-Reduced Q-Learning (VRQL). In simulations:

  • Small Ergodic MDP: MDP-NaS required $\sim 8 \times 10^5$ samples, compared to VRQL's $2.5 \times 10^8$.
  • RiverSwim MDP: MDP-NaS required $2.6 \times 10^6$ samples, while VRQL needed $3.3 \times 10^9$.

These results highlight that by explicitly modeling the navigation process, agents can identify optimal policies orders of magnitude faster than general-purpose learning algorithms.

Conclusion

MDP-NaS bridges the gap between theoretical pure exploration and the practical realities of online RL. By acknowledging that an agent's ability to learn is limited by its ability to move, the authors provide a framework for more efficient exploration in complex environments. Future work remains in extending these guarantees to $\epsilon$-optimal policy identification and exploring how the mixing times of various policies impact sample complexity in the moderate-confidence regime.

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