From POMDP Theory to Deep RL with Particle Filters
Organizations: Wharton Statistics and Data Science, University of Pennsylvania · School of Data and Information Sciences, University of North Carolina at Chapel Hill
Abstract
Model-based reinforcement learning in partially observable environments requires inferring hidden states, learning latent dynamics, and planning under the resulting belief. Practical algorithms often solve one aspect of the above pipeline while relying on approximations for the others that are often poorly understood, while existing POMDP theory typically analyzes computationally inefficient theoretical algorithms far from modern deep RL practice. To fill this gap, we propose a practical end-to-end algorithm that approximately solves the hidden state filtering problem via sequential Monte Carlo (SMC), updates a latent dynamics model online, and performs approximate online planning for steps before bootstrapping leaves with a state-value critic (a QMDP approximation). We analyze each approximation and prove an end-to-end regret bound decomposing the error into model estimation error, particle filter error, Monte Carlo rollout error, and a structural bias term induced by the QMDP approximation controllable by the planning depth that we further analyze in various special cases. The resulting guarantee makes explicit how statistical sample size, particle budget, rollout budget, and planning depth affect performance. We instantiate our algorithm in an MPC-based deep RL framework, demonstrating its practicality on a variety of environments. On a POMDP that satisfies our assumptions, each term of the bound decays at its predicted rate. Our results provide a practical and theoretically grounded route for bridging theory and practice within online decision-making in POMDPs.
Figures & tables
| Environment | Doeblin | Finite | Bounded | Role | |
| Mixing Tiger (Sec. 5 ) | ✓ | ✓ | ✓ | ✓ | theory-valid |
| Active sensing (App. F ) | ✓ | ✓ | ✓ | structural diagnostic | |
| Box search (App. F ) | ✓ | ✓ | by design | ||
| HeartSteps | ✓ | ✓ | not claimed | ||
| Double-integrator LQR | ✓ | filtering diagnostic | |||
| MuJoCo | heuristic demonstration |
| Term | Error at endpoints | Fitted | Predicted |
|---|---|---|---|
| Particle filtering, | |||
| Monte Carlo, | (RMSE) | ||
| Structural, | per level | ||
| Estimation (online MLE), |
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value |
|---|---|
| Environment | LQR double integrator |
| Observed indices | |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / |
| Model updates per epoch |
| Hyperparameter | Value |
|---|---|
| Environment | HeartSteps |
| User id / horizon | / |
| Noise mode / observation noise | sequential / |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / |
| Hyperparameter | Value |
|---|---|
| Environment | Ant |
| Observation variants | no position, no velocity |
| Observation noise / discount | / |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / (submitted: / ) |
| Hyperparameter | Value |
|---|---|
| Environment | HalfCheetah |
| Observation variants | no position, no velocity |
| Observation noise / discount | / |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / |
| Hyperparameter | Value |
|---|---|
| Environment | Hopper |
| Observation variants | no position, no velocity |
| Observation noise / discount | / |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / |
| Hyperparameter | Value |
|---|---|
| Environment | Walker2d |
| Observation variants | no position, no velocity |
| Observation noise / discount | / |
| Warmup steps | |
| Initial model / policy updates | / |
| Epochs / steps per epoch | / |
| Sensing accuracy | QMDP ( ) | Optimum | |||
|---|---|---|---|---|---|
| 0.55 | 0.500 | 0.500 | 0.500 | 0.500 | 0.500 |
| 0.65 | 0.500 | 0.500 | 0.500 | 0.500 | 0.565 |
| 0.75 | 0.500 | 0.500 | 0.500 | 0.641 | 0.643 |
| 0.85 | 0.500 | 0.500 | 0.717 | 0.717 | 0.722 |
| 0.95 | 0.500 | 0.500 | 0.793 | 0.794 | 0.798 |
| 8 | 16 | 32 | 64 | 128 | |
|---|---|---|---|---|---|
| Empirical collapse rate | .773 | .602 | .360 | .128 | .017 |
| Analytic | .776 | .602 | .362 | .131 | .017 |
| Mean ESS | .032 | .031 | .031 | .032 | .031 |
| Planner | Calls per decision | Return | |
|---|---|---|---|
| MCTQ, uniform | 0 | 0 | |
| MCTQ, uniform ( UCB1) | 1 | 768 | |
| POMCP | – | 768 / 3072 | / |
| MCTQ, uniform | 2 | 1536 | |
| MCTQ, UCB1 | 2 | 1536 | |
| Sparse-PFT, | 2 | 2688 |
| Variant | Online model | Decay | UTD | k– k mean | At k |
|---|---|---|---|---|---|
| Submitted | No | ||||
| Online model only | Yes | ||||
| Online model + corrected decay | Yes | ||||
| Corrected + UTD | Yes | ||||
| Corrected + UTD | Yes |
| Hidden variable | Method | Seeds | Late return | Final evaluation |
|---|---|---|---|---|
| Position | PF-MCTQ, corrected | 3 | ||
| Position | PF-MCTQ, submitted | 2 | ( , ) | ( , ) |
| Position | Recurrent SAC | 5 | not recorded | |
| Position | GRU-PPO | 5 | not recorded | |
| Velocity | PF-MCTQ, corrected | 3 | ||
| Velocity | PF-MCTQ, submitted | 2 | ( , ) | ( , ) |
| Corrected (3 seeds) | Submitted (2 seeds) | |||
| Env. steps | Pos. hidden | Vel. hidden | Pos. hidden | Vel. hidden |
| 3k | ( , ) | ( , ) | ||
| 10.2k | ( , ) | ( , ) | ||
| 20.1k | ( , ) | ( , ) | ||
| 49.2k | ( , ) | ( , ) | ||
| 40k–49.2k mean | ( , ) | ( , ) | ||
| Method | Initialization (s) | Training s / 1k steps | Steps / s |
|---|---|---|---|
| PF-MCTQ (corrected) | 86.3 | 15.8 | 63.4 |
| PF-MCTQ (submitted cfg.) | 92.9 | 41.7 | 24.0 |
| Recurrent SAC | 21.0 | 53.6 | 18.6 |
| GRU-PPO | 2.8 | 5.5 | 181.8 |
Partially Observable RL
Partially observable reinforcement learning studies how agents act when observations hide the true state and decisions must use memory or beliefs.
See all 118 papersThink Fast and Far: Long-Horizon Online POMDP Planning via Rapid State Sampling
https://github.com/RDLLab/ROPRAS3.