Offline Policy Optimization with Posterior Sampling
About
A fundamental challenge in model-based offline reinforcement learning (RL) lies in the trade-off between generalization and robustness against exploitation errors in out-of-distribution (OOD) regions. While OOD samples may capture valid underlying physical dynamics, they also introduce the risk of model exploitation. Existing methods typically address this risk through excessive pessimistic regularization, which ensures robustness but often sacrifices generalization. To overcome this limitation, we propose Posterior Sampling-based Policy Optimization (PSPO), which formulates dynamics modeling as a Bayesian inference process to derive a posterior that explicitly quantifies model fidelity. Through the integration of posterior sampling and constrained policy optimization, our method leverages dynamics-consistent OOD transitions for generalization while ensuring robustness against model exploitation. Theoretically, we formulate Q-value estimation under posterior sampling as a stochastic approximation problem and establish its convergence. We decompose policy optimization into a sequence of constrained subproblems, demonstrating that solving these subproblems guarantees monotonic improvement until convergence. Experiments on standard benchmarks validate that PSPO achieves superior performance compared to state-of-the-art baselines.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Offline Reinforcement Learning | D4RL halfcheetah-medium-expert | Normalized Score109.7 | 169 | |
| Offline Reinforcement Learning | D4RL hopper-medium-expert | Normalized Score112.8 | 161 | |
| Offline Reinforcement Learning | D4RL walker2d-medium-expert | Normalized Score116.1 | 132 | |
| Offline Reinforcement Learning | D4RL Medium-Replay Hopper | Normalized Score110 | 109 | |
| Offline Reinforcement Learning | D4RL Medium HalfCheetah | Normalized Score79.3 | 105 | |
| Offline Reinforcement Learning | D4RL Medium Walker2d | Normalized Score103.9 | 104 | |
| Offline Reinforcement Learning | D4RL walker2d-random | Normalized Score22.1 | 101 | |
| Offline Reinforcement Learning | D4RL Medium-Replay HalfCheetah | Normalized Score78.4 | 97 | |
| Offline Reinforcement Learning | D4RL halfcheetah-random | Normalized Score37.7 | 94 | |
| Offline Reinforcement Learning | D4RL hopper-random | Normalized Score31.9 | 86 |