TL;DR
This paper settles the sample complexity of learning near-optimal policies in Stochastic Shortest Path (SSP) problems, proving that they are fundamentally harder to learn than finite-horizon or discounted MDPs. The authors show that learning is impossible if the minimum cost is zero and provide matching upper and lower bounds for both generative model and best-policy identification settings.
What Problem Does This Paper Address?
The Stochastic Shortest Path (SSP) problem is a core framework in Reinforcement Learning (RL) where an agent must reach a specific goal state while minimizing total accumulated costs. Unlike finite-horizon MDPs (where the game ends after $H$ steps) or discounted MDPs (where future costs are worth less), SSPs have no fixed time limit. The "horizon" is determined by how long it takes a policy to hit the goal.
While regret minimization in SSPs has seen significant progress, the Probably Approximately Correct (PAC) setting—how many samples are needed to identify an $\epsilon$-optimal policy—remained poorly understood. Specifically, researchers debated whether the sample complexity must depend on the minimum cost ($c_{\min}$). This paper aims to "settle" these questions by providing tight theoretical bounds.
Methods
The authors employ a mix of information-theoretic lower bounds and novel algorithmic reductions:
- Hard Instance Construction: To prove lower bounds, the authors design specific "nasty" MDPs (see Figure 1) that force any algorithm to spend many samples to distinguish between optimal and sub-optimal actions. These include multi-armed bandit structures and deep trees.
- Finite-Horizon Reduction: The primary algorithmic tool is reducing the infinite-horizon SSP to a sequence of finite-horizon problems.
- Algorithm 1 (Search Horizon): For the generative model setting, this algorithm uses a doubling trick to search for the unknown optimal value $B_\star$ and hitting time $T_\star$. It repeatedly solves finite-horizon versions of the problem with increasing horizons until a consistency check is met.
- Algorithm 2 (BPI-SSP): For learning without a generative model (Best Policy Identification), the authors introduce a "skip-failure-success" round structure. This balances exploration (visiting new states) and exploitation (refining estimates of known states) under a new assumption that the goal is always reachable for a fixed cost $J$.
Datasets
As a theoretical paper, no real-world datasets were used. The results are validated through mathematical proofs using synthetic "hard instances" designed to demonstrate worst-case performance.
Key Insights and Ideas
- SSP is strictly harder: The paper proves that learning in SSPs is fundamentally more difficult than in finite-horizon or discounted settings. In those settings, sample complexity is always bounded. In SSP, if $c_{\min} = 0$, an $\epsilon$-optimal policy might be unlearnable with finite samples because the agent can't distinguish between a zero-cost loop and a path that eventually reaches the goal.
- The $1/c_{\min}$ dependency is real: Previously, it was hoped that the dependency on the inverse of the minimum cost was an artifact of poor analysis. This paper shows it is a fundamental information-theoretic limit.
- Exponential Hardness of BPI: Without a generative model (the ability to "teleport" to any state), identifying the best policy can require a number of samples that grows exponentially with the state space. This is because an agent might get "stuck" in parts of the state space that are hard to leave.
- Horizon-free Regret is Impossible: The authors resolve an open problem by proving that you cannot achieve "horizon-free" regret (regret independent of the hitting time) in SSPs under general cost functions.
Key Results
The paper provides a comprehensive map of sample complexity for SSPs, summarized in the table below:
- Generative Model: The sample complexity is settled at $\tilde{\Theta}(\frac{T_\ddagger B_\star^2 SA}{\epsilon^2})$, where $T_\ddagger = B_\star / c_{\min}$. This matches the lower bound exactly.
- Best Policy Identification (BPI): Under the assumption that the goal is reachable from any state for cost $J$, the authors establish a lower bound of $\Omega(\frac{T_\ddagger B_\star^2 SA}{\epsilon^2} + \frac{J}{\epsilon})$ and a near-matching upper bound.
- Regret: Proved that any algorithm must have a worst-case dependency on the hitting time $T_\star$, ending the search for completely horizon-free algorithms in this setting.
Limitations and Future Work
- BPI Assumptions: The positive results for BPI rely on Assumption 1 (a fixed-cost "teleport" to the goal). While this is common in literature, finding efficient algorithms under weaker conditions (like "communicating" SSPs where every state can reach every other state) remains an open challenge.
- Lower-Order Terms: In the BPI setting, the lower-order terms in the upper bound are not yet proven to be minimax optimal.
- Positive Costs: The current BPI algorithm only works for strictly positive costs ($c_{\min} > 0$). Extending this to general costs while maintaining efficiency is a key direction for future research.
Summary updated