Bayesian Neural Networks via Dirichlet Process Priors on the Data-Generating Distribution for Randomized Value Functions in Deep Reinforcement Learning
Organizations: Independent Researcher
Abstract
Bayesian neural networks (BNNs) offer a principled framework for quantifying epistemic uncertainty. However, standard weight-space priors yield complex, high-dimensional neural network posteriors that are computationally prohibitive to sample from, and popular approximate inference schemes often fail to capture epistemic uncertainty effectively---a failure mode particularly acute in reinforcement learning (RL) \citep{osband2018randomized}. To resolve this challenge, we introduce a new class of BNNs that quantify uncertainty by placing Bayesian nonparametric Dirichlet Process (DP) priors directly on the underlying data-generating distribution rather than on network parameters. Building on this foundation, we develop DP-DQN, a reinforcement learning algorithm that leverages DP-BNNs to maintain posterior distributions over value functions and perform efficient Thompson sampling. By grounding randomized value functions in Bayesian nonparametrics, DP-DQN unifies data-driven posterior reweighting (via the Bayesian Bootstrap) with generative prior hypotheses injected directly through the DP base measure, enabling decisive ``deep exploration'' with a single neural network without the overhead of multi-network ensembles.
Figures & tables
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Metric | Vanilla / Baseline | BootDQN-RP / PSRL | DP-BNN (Ours) |
|---|---|---|---|---|
| DeepSea | Episodes to Solve | (DQN) | ||
| DeepSea ( MLP) | Episodes to Solve | (DQN) | ||
| RiverSwim-6 ( Prior) | Episodes to Solve | (DQN) | (PSRL) | |
| Deceptive -Chain ( ) | Cum. Regret | (DQN) | ||
| Wheel Bandit ( ) | 1.5k-Step Regret | ( -Gr.) | ||
| MountainCar-v0 (Continuous) | Episodes to Solve | (DQN) | (BootDQN) |
| Hyperparameter | 2D Annular Cavity | DeepSea-20 | DeepSea-50 | RiverSwim-6 | Deceptive -Chain | MountainCar-v0 | Wheel Bandit |
|---|---|---|---|---|---|---|---|
| State Space | One-Hot | One-Hot | One-Hot | One-Hot | Continuous | Unit Disk | |
| Action Space | — (Regression) | Discrete (2) | Discrete (2) | Discrete (2) | Discrete (2) | Discrete (3) | Discrete (5) |
| Horizon | — | ||||||
| Network Architecture | 3-layer MLP-64 | Single MLP-20 | 2-layer MLP-64 | Single MLP-20 | Single MLP-20 | 2-layer MLP-64 | 3-layer MLP-64 |
| Layer Normalization | No | Yes | Yes | Yes | Yes | Yes | No |
| Optimizer | Adam | Adam | Adam | Adam | Adam | Adam | Adam |
| Complexity Dimension | Vanilla DQN | Parametric BDQN | BootDQN-RP ( networks) | DP-DQN (Ours) |
|---|---|---|---|---|
| Active Neural Networks | ||||
| Total Stored Parameters | ||||
| Parameter Memory Asymptotics | ||||
| Optimizer State Buffers (Adam) | ||||
| Action Selection Latency / Step | ||||
| Training FLOPs / Episode |
| Metric | Vanilla DQN | BDQN | BootDQN-RP | DP-DQN ( ) | DP-DQN ( ) |
|---|---|---|---|---|---|
| Active Networks | |||||
| Total Networks (incl. Prior/Target) | |||||
| Trainable Parameters ( ) | |||||
| Total Stored Parameters | |||||
| Optimizer Instances (sets of ) | |||||
| Intra-Episode Backprop Steps |
Bayesian RL
Bayesian reinforcement learning uses probability distributions over unknown rewards and dynamics to guide learning and action under uncertainty.
See all 34 papers