Policy Optimization for Stochastic Shortest Path

Liyu Chen, Haipeng Luo, Aviv Rosenberg

Introduction

Reinforcement Learning (RL) research has traditionally gravitated toward two primary frameworks: finite-horizon models, where episodes terminate after a fixed number of steps, and discounted models, where future rewards are exponentially decayed. However, many practical applications—such as autonomous navigation or robotic manipulation—are more accurately modeled as Stochastic Shortest Path (SSP) problems. In an SSP, an agent must reach a specific goal state with minimum total cost, but the time taken to reach that goal depends entirely on the agent's policy.

Despite the popularity of Policy Optimization (PO) methods like TRPO and PPO in empirical settings, their theoretical performance in SSP environments has remained largely unexamined. This paper provides the first comprehensive theoretical analysis of PO for SSP, introducing a novel technique that achieves near-optimal regret bounds while significantly improving space efficiency.

The Challenge of Stochastic Shortest Paths

The primary difficulty in SSP is the "reach-or-minimize" trade-off. An agent must eventually reach the goal to avoid infinite costs, but rushing to the goal might lead to a high-cost path. Conversely, focusing solely on cost minimization might lead the agent to avoid the goal indefinitely if the costs are low elsewhere.

Previous theoretical attempts to solve SSP often relied on approximating the problem as a massive finite-horizon MDP. This approach is computationally expensive and memory-intensive, as it requires storing a different policy for every possible time step. This contradicts the inherent structure of SSP, where the optimal policy is stationary (dependent only on the state, not the time).

Methodology: Stacked Discounted Approximation (SDA)

The authors introduce the Stacked Discounted Approximation (SDA) as the core innovation of their framework. Instead of a single, large finite-horizon approximation, SDA utilizes $O(\ln K)$ layers of discounted MDPs. This structure allows the agent to use a "near-stationary" policy that only updates a few times per episode.

Key technical components include:

  1. Optimistic Policy Updates: The algorithms employ a Multiplicative Weights Update (MWU) approach. To account for unknown transitions and costs, the authors incorporate optimistic action-value estimators and exploration bonuses.
  2. Novel Correction Terms: For stochastic environments, the authors derived new correction terms for the PO update. These terms manage the errors arising from transition estimation without the heavy-handed optimism often found in value-based methods.
  3. Dilated Bonuses: In adversarial settings where costs can change arbitrarily, the authors extend the concept of "dilated bonuses" to the SDA framework, ensuring sufficient exploration even in difficult environments.

Key Results and Insights

The paper establishes several regret bounds across different settings (where $K$ is the number of episodes):

  • Stochastic Costs: Achieves $\tilde{O}(B_\star S \sqrt{AK})$ regret, which is near the known minimax lower bound ($B_\star$ represents the max expected cost of the optimal policy).
  • Stochastic Adversary (Full Info): Achieves $\tilde{O}(\sqrt{DT_\star K} + DS\sqrt{AK})$ regret, matching state-of-the-art non-PO methods ($D$ is the MDP diameter).
  • Adversarial Costs (Full Info): Achieves $\tilde{O}(T_\star \sqrt{DK} + \sqrt{S^2 ADT_\star K})$ regret, marking the first PO-based result for this setting.

Beyond regret bounds, the SDA scheme offers a massive practical advantage in space efficiency. By aligning the policy structure with the problem's inherent stationarity, the memory required to store the policy scales with $\ln K$ rather than the maximum hitting time $T_{max}$. This reduces space complexity from $\tilde{O}(S A T_{max})$ to $\tilde{O}(S A \ln K)$.

Conclusion and Future Work

This research demonstrates that Policy Optimization is not only empirically successful but also theoretically robust for SSP problems. The SDA technique highlights that PO naturally provides regret guarantees starting from any state, making it highly compatible with layered approximations.

While a $\sqrt{S}$ gap remains between these results and theoretical lower bounds in some settings, this work provides a rigorous foundation for future exploration. The authors suggest that this framework is a critical step toward applying PO to SSP problems using function approximation (such as neural networks), where PO methods are most effective in practice.

Summary updated

BibTeX
@inproceedings{chen2022policy,
  author = {Liyu Chen and Haipeng Luo and Aviv Rosenberg},
  title = {{Policy Optimization for Stochastic Shortest Path}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
}
Figure