# OPSRL-SSP: Optimistic Posterior Sampling for Stochastic Shortest Path with Minimax-Optimal Regret

*Yiming Xu, Xian Wei, Cheng Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149166) · [Open on the map](../papers.html#p149166)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Reinforcement Learning Theory](../pgroup/269.md) · Type: new method · Keywords: optimistic posterior sampling, stochastic shortest path, reinforcement learning regret, uniform optimism, pseudo-state augmentation

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization under Uncertainty › Online Optimization and Bandits

## Summary
OPSRL-SSP introduces the first optimistic posterior sampling algorithm for Stochastic Shortest Path problems, achieving minimax-optimal regret bounds through epoch-wise logarithmic sampling and pseudo-state augmentation.

## Explained to a 5-year-old
We want a robot to find the shortest way to go from one place to another when things are uncertain. The robot uses a special way of guessing which actions are best, making sure it always tries the safest choices. This helps the robot learn quickly without making many mistakes. The new method makes the robot as good as the best possible method. It also works when the robot can move for a long time without knowing how long it will take.

## Explained to a 5-year-old, longer
In many games or tasks, you need to go from a start point to a goal point, but you don't know exactly what will happen next. This uncertainty makes it hard to know which moves are best. Traditional methods try to guess the best moves by sampling from what they think they know, but they sometimes miss the safest choices. The new idea adds a special check that makes sure the guesses are always optimistic, meaning they assume the best possible outcome. By being optimistic, the method explores more safely and avoids getting stuck in bad strategies. It works by breaking the learning process into steps and slowly adjusting how much it trusts its guesses. A fake state is used to keep the optimism consistent even when the length of the task can be unpredictable. This careful optimism helps the method achieve a performance guarantee that matches the best possible performance known in theory. The method also works when the cost of actions can be zero, which is useful for some special cases. In practice, this means the robot or agent learns faster and makes fewer mistakes than before. The analysis shows that the method’s error grows in a way that cannot be improved by any other method. Overall, the approach gives a reliable way to solve uncertain shortest-path problems with provable guarantees.

## For a technical reader
OPSRL-SSP is an optimistic posterior sampling algorithm for Stochastic Shortest Path problems with unknown dynamics. It introduces a pseudo-state with optimistic value estimates and a time-dependent sampling schedule to enforce uniform optimism. The algorithm’s regret bound matches the minimax lower bound, achieving optimal performance even with unbounded episode lengths. It also extends to zero-cost SSPs via a cost-perturbation argument, providing both theoretical guarantees and practical robustness.

## Problem
Online reinforcement learning for stochastic shortest path problems with unknown transition dynamics lacks a mechanism to enforce uniform optimism, leading to suboptimal regret in standard posterior sampling approaches.

## Method
The approach operates in epochs with a logarithmic, time-dependent posterior sampling schedule, augments the posterior with a pseudo-state that provides optimistic value estimates, and uses dynamic posterior inflation and a contraction argument to ensure uniform optimism despite random episode lengths.

## Results
The approach attains a high-probability regret bound matching the minimax lower bound up to logarithmic factors, thereby achieving optimal regret for SSP.

## Contributions
It provides the first optimistic posterior sampling algorithm for SSP, a regret analysis that yields minimax-optimal rates, and extends the analysis to zero-cost SSPs via a universal cost-perturbation argument.

## Research questions this paper is counted under

- [How can we learn or guarantee optimal policies when the underlying MDP dynamics and rewards are unknown or uncertain?](../q/37.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149166)
