alphaFeedback

WorksMathematics

Bayesian Neural Networks via Dirichlet Process Priors on the Data-Generating Distribution for Randomized Value Functions in Deep Reinforcement Learning

AI contributions
Not recorded for this paper
View details
Ancillary data
1 code link
View

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.

Introduction

In reinforcement learning (RL), maximizing cumulative return requires navigating the fundamental exploration-exploitation dilemma: balancing current best estimates (exploitation) with exploratory actions that resolve epistemic uncertainty. Solving this trade-off efficiently is challenging because delayed rewards require actions to be coordinated across extended multi-step decision sequences—a property known as deep exploration ([41, 43, 38])—rather than perturbed independently at each individual state.

Thompson Sampling ([55, 27, 50, 12, 47, 35]) provides an elegant approach that tackles the exploration-exploitation dilemma by maintaining a posterior distribution over models and selecting actions in proportion to the probability that they are optimal. While these models are conventionally drawn from parametric distribution families (e.g., exponential families), Thompson sampling can in principle be applied to any statistical model admitting tractable posterior sampling ([47]). A natural choice for such statistical models is Bayesian Neural Networks (BNNs), owing to their universal function approximation and rich representation learning capabilities. In contrast to standard neural networks that provide only point estimates, conventional BNNs specify a prior distribution over parameters θ\theta. Given nn training observations z1:nz_{1:n}, one infers a posterior distribution over θ\theta, which in turn captures epistemic uncertainty in function predictions.

In deep RL, one can represent value functions via BNNs and drive exploration via Thompson sampling over value-function predictions. However, exact posterior inference over neural network weights is notoriously intractable, prompting extensive research into approximate Bayesian methods. These range from Monte-Carlo (MC) dropout ([20]) and variational inference ([8]) to stochastic mini-batch Markov Chain Monte Carlo ([59]). Unfortunately, deep RL algorithms built on these weight-space approximate Bayesian methods struggle on hard-exploration tasks because they fail to capture function-space epistemic uncertainty faithfully [42]. This deficiency stems largely from the difficulty of designing meaningful priors directly in parameter space [3]: while practitioners frequently possess domain knowledge regarding the data-generating process (e.g., transition dynamics and reward scales), mapping such insight into high-dimensional, isotropic parameter priors on over-parameterized neural weight vectors θ∈Rd\theta\in\mathbb{R}^{d} (d≫1d \gg1) is rarely straightforward and often causes posterior uncertainty collapse.

To resolve these limitations, we introduce Bayesian Neural Networks via Dirichlet Process priors (DP-BNNs), a paradigm that quantifies epistemic uncertainty by placing a nonparametric DP prior directly on the underlying data-generating distribution rather than on network parameters. Under this formulation, posterior inference over the data distribution decomposes into two complementary components [16, 58, 57]: an empirical reweighting of observed data (the Bayesian Bootstrap) and an explicit prior base measure. In reinforcement learning, optimizing an action-value network on random measures sampled from this DP posterior induces a principled functional posterior distribution over value functions. Crucially, whereas existing randomized value function approaches require training an ensemble of multiple neural networks to represent functional uncertainty [41, 42], our approach achieves temporally coordinated deep exploration with a single neural network by freezing the value function sampled for each episode across the entire rollout.

We summarize our primary contributions as follows:

  • DP-BNN Formulation and Sampling: We introduce Bayesian Neural Networks via Dirichlet Process priors (DP-BNNs), a framework that quantifies epistemic uncertainty by placing a nonparametric DP prior on the data-generating distribution rather than on network weights. Using the Sethuraman stick-breaking construction, we develop a tractable posterior sampling algorithm for deep architectures and validate its epistemic uncertainty quantification on spatial 2D regression.

  • Deep Reinforcement Learning via DP-BNNs (DP-DQN): We instantiate DP-BNNs for randomized value functions in deep Q-learning, establishing the DP-DQN algorithm. By optimizing an action-value DP-BNN on random measures sampled from the DP posterior via episodic boundary warmstarts, DP-DQN realizes principled Thompson sampling with exact multi-step temporal consistency using a single neural network.

  • Comprehensive Empirical Benchmarking: We evaluate DP-BNNs across diverse decision-making benchmarks, demonstrating that they resolve hard exploration in DeepSea across extensive horizons evaluated up to N=50N = 50 (250≈10152^{50} \approx10^{15} trajectory search space with empirical O(N1.45)O(N^{1.45}) sample complexity), RiverSwim-6, deceptive N-Chain, continuous MountainCar-v0, and contextual Wheel Bandit, matching or outperforming multi-network ensembles while strictly maintaining a single-network footprint.

The remainder of this paper is organized as follows. § 2 surveys related work. § 3 reviews Dirichlet Processes and their stick-breaking construction. § 4 introduces Bayesian Neural Networks via Dirichlet Processes priors (DP-BNNs) and details their posterior sampling algorithm. § 5 presents DP-DQN, applying DP-BNNs to randomized value functions in deep reinforcement learning, and evaluates its performance on challenging exploration benchmarks. Finally, § 6 concludes the paper.

Related Works

Randomized Value Functions and Exploration in Deep RL. Our work connects directly to deep reinforcement learning algorithms that explore via randomized value functions, replacing heuristic ϵ\epsilon-greedy exploration with principled posterior sampling (Thompson Sampling) [55, 27, 21, 41, 50]. In deep RL, the most direct approach to Thompson sampling is to maintain a Bayesian neural network over action-values. However, exact posterior inference over network weights is intractable [34], and mini-batch MCMC schemes scale poorly to online RL training regimes [59]. Consequently, practitioners have relied on approximate inference methods such as Monte-Carlo dropout [20] and mean-field variational inference [8]. Unfortunately, these weight-space approximations struggle to maintain functional uncertainty in unvisited regions, leading to exploration failure in challenging environments [42].

Bootstrap Ensembles and Prior Mechanisms. To approximate posterior sampling over function space without exact weight posteriors, Lakshminarayanan et al. [30] proposed Deep Ensembles, relying on random parameter initializations across independently trained networks. In sequential decision-making, Osband et al. [41] introduced Bootstrapped DQN, which approximates posterior sampling using an ensemble of KK neural networks trained on nonparametrically resampled data (see also Kveton et al. [29] for bootstrapping exploration in bandits). In sparse-reward environments, however, empirical bootstrapping alone provides limited guidance in regions devoid of data: because all ensemble heads are trained on unrewarded transitions, their value estimates tend to align across unvisited states. To address this and sustain directed exploration, Osband et al. [42] introduced Bootstrapped DQN with Randomized Prior Functions (BootDQN-RP), which augments each trainable head fθkf_{\theta_k} with a fixed, randomly initialized prior network pkp_k. While highly effective in practice, this formulation substantially increases computational and memory demands, as it requires training and maintaining an ensemble of KK distinct neural networks alongside their corresponding prior networks. In another approach, Bayesian Deep Q-Networks (BDQN) (Azizzadenesheli et al., [5]) applies Bayesian linear regression to the final layer representations; however, its capability on deep-exploration benchmarks has remained largely unexplored in the literature, and our empirical evaluations on DeepSea show that BDQN does not resolve the task. Theoretically, restricting Bayesian inference strictly to the final linear readout cannot account for epistemic uncertainty in the underlying feature representations on unvisited states (see Appendix § 12.§ 3 for a detailed theoretical analysis).

Our Approach: Dirichlet Process Priors on Data Distributions. Rather than placing priors on network parameters [8] or relying on multi-network ensembles with additive priors [42], our approach formulates epistemic uncertainty nonparametrically on the data-generating distribution. Building upon DP posterior sampling techniques developed in Vashishtha & Maillard [58] and Vashishtha [57], DP-BNNs connect Rubin’s classical Bayesian Bootstrap [49]—recovered in the non-informative limit α→0\alpha\to0—with an informative prior base measure F0F_0. Crucially, whereas empirical bootstrapping can only resample observed data, the base measure populates unvisited regions of the domain, sustaining non-vanishing epistemic uncertainty where experience is absent. This enables directed exploration with a single neural network while avoiding the parameter and memory footprint of multi-network ensembles.

Background on Dirichlet Processes

This section reviews essential foundational concepts regarding Dirichlet Processes, conjugate posteriors, the Bayesian Bootstrap, and stick-breaking representations that underpin our DP-BNN framework; for comprehensive treatises on Bayesian nonparametric statistics, see Ghosal & van der Vaart [23] and Castillo [10].

Dirichlet distribution. The Dirichlet distribution is a multivariate generalization of the Beta distribution. We denote the Dirichlet distribution parameterized by (α1,…,αn)(\alpha_1,\ldots,\alpha_n) on the probability simplex Δn−1={w∈[0,1]n:∑i=1nwi=1}\Delta^{n-1} = \{\mathbf{w} \in[0,1]^n : \sum_{i=1}^{n} w_i = 1\} as Dir⁡(α1,…,αn)\operatorname{Dir}(\alpha_1,\ldots,\alpha_n), with density p(w)∝∏i=1nwiαi−1p(\mathbf{w}) \propto\prod_{i=1}^{n} w_i^{\alpha_i-1}.

Dirichlet Processes. In the Bayesian formalism, an unknown object of interest is treated as a random variable endowed with a prior distribution. When the unknown object is itself a probability measure on a measurable space (Θ,B(Θ))(\Theta,\mathcal{B}(\Theta)) (e.g., a Polish space endowed with its Borel σ\sigma-algebra), defining a prior over infinite-dimensional distributions while satisfying unit-measure normalization is challenging. Ferguson [16] introduced the Dirichlet Process (DP)—a distribution over probability measures that induces finite-dimensional Dirichlet distributions on partitions. Concretely, a random probability measure GG is Dirichlet Process distributed with base probability measure F0F_0 and concentration parameter α∈R+\alpha\in\mathbb{R}^{+}, denoted G∼DP⁡(α,F0)G \sim\operatorname{DP}(\alpha, F_0), if for every finite measurable partition (A1,…,Ar)(A_1,\ldots,A_r) of Θ\Theta:

(G(A1),…,G(Ar))∼Dir⁡(αF0(A1),…,αF0(Ar)).(1)\left(G(A_1),\ldots,G(A_r)\right) \sim\operatorname{Dir}\left(\alpha F_0(A_1),\ldots,\alpha F_0(A_r)\right). \tag*{(1)}

Conjugacy and Posteriors. A particularly useful property of the DP is its conjugacy: if observations X1,…,Xn∣G∼i.i.d.GX_1,\ldots,X_n \mid G \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} G are drawn from an unknown distribution with prior G∼DP⁡(α,F0)G \sim\operatorname{DP}(\alpha,F_0), the posterior distribution given Xn=(X1,…,Xn)\mathbf{X}_n=(X_1,\ldots,X_n) is itself a DP (Ferguson, [16]):

G∣Xn∼DP⁡(αn,F‾n),where αn=α+n,F‾n=nα+nFn+αα+nF0,(2)G \mid\mathbf{X}_n \sim\operatorname{DP}(\alpha_n,\overline{F}_n), \qquad\text{where } \alpha_n=\alpha+n,\qquad\overline{F}_n=\frac{n}{\alpha+n}F_n+\frac{\alpha}{\alpha+n}F_0, \tag*{(2)}

where Fn=1n∑i=1nδXiF_n=\frac{1}{n}\sum_{i=1}^{n}\delta_{X_i} denotes the empirical measure of the observations (Ghosal, [22]).

Notice how the posterior base measure F‾n\overline{F}_n in Equation (2) naturally balances empirical evidence FnF_n with prior structure F0F_0. As sample size n→∞n \to\infty, the empirical data dominates; conversely, when data is scarce (n→0n \to0), the prior F0F_0 governs. In our setting, F0F_0 serves as the foundational mechanism through which prior inductive biases enter the posterior; more broadly, recent advances in Bayesian nonparametrics demonstrate that random probability measures can also be elicited directly from prior information on meaningful functionals (Gaffi et al., [19]).

Bayesian Bootstrap. The Bayesian Bootstrap (Rubin, [49]) provides a Bayesian analogue to Efron’s classical bootstrap (Efron & Tibshirani, [14]), and has been leveraged for randomized exploration in multi-armed bandits (Kveton et al., [29]). Crucially, the Bayesian Bootstrap arises as the non-informative limiting case of a DP posterior as the prior concentration vanishes, α→0\alpha\to0 (Ghosal & van der Vaart, [23]):

BB⁡n:=lim⁡α→0DP⁡(α+n,nα+nFn+αα+nF0)=∑i=1nWiδXi,(3)\operatorname{BB}_n := \lim_{\alpha\to0} \operatorname{DP}\left(\alpha+n,\frac{n}{\alpha+n}F_n+\frac{\alpha}{\alpha+n}F_0\right)=\sum_{i=1}^{n}W_i\delta_{X_i}, \tag*{(3)}

where Wn=(W1,…,Wn)∼Dir⁡(1,…,1)\mathbf{W}_n=(W_1,\ldots,W_n)\sim\operatorname{Dir}(1,\ldots,1) and δXi\delta_{X_i} denotes a Dirac measure at observation XiX_i. The posterior mean of any linear functional under the Bayesian Bootstrap evaluates simply as μ(BB⁡n)=∑i=1nWiXi=⟨Wn,Xn⟩\mu(\operatorname{BB}_n)=\sum_{i=1}^{n}W_iX_i=\langle\mathbf{W}_n,\mathbf{X}_n\rangle; for a comprehensive survey on the distributional properties of means and linear functionals of random probability measures, see Lijoi & Prünster [31].

Stick-Breaking Construction. While Equation (2) specifies the posterior distribution of GG, practical computation requires a constructive method to draw sample measures from a DP. Sethuraman [51] established that almost surely discrete random probability measures from DP⁡(α,F0)\operatorname{DP}(\alpha,F_0) admit an explicit stick-breaking representation:

Q(⋅)=∑i=1∞qiδZi(⋅),Zi∼iid.F0,(4)Q(\cdot)=\sum_{i=1}^{\infty}q_i\delta_{Z_i}(\cdot),\qquad Z_i\mathrel{\overset{\mathrm{iid.}}{\sim}}F_0, \tag*{(4)}

where weights qiq_i are generated by successively breaking pieces from a unit stick:

q1=V1,qi=Vi∏j=1i−1(1−Vj)(i≥2),(5)q_1=V_1,\qquad q_i=V_i\prod_{j=1}^{i-1}(1-V_j)\quad(i\ge2), \tag*{(5)}
Vi∼iid.Beta⁡(1,α),Zi∼iid.F0.(6)V_i\mathrel{\overset{\mathrm{iid.}}{\sim}}\operatorname{Beta}(1,\alpha),\qquad Z_i\mathrel{\overset{\mathrm{iid.}}{\sim}}F_0. \tag*{(6)}

In practice, the infinite series is truncated at a finite level TT by setting VT=1V_T=1, which ensures the remaining stick length qT=∏j=1T−1(1−Vj)=1−∑i=1T−1qiq_T=\prod_{j=1}^{T-1}(1-V_j)=1-\sum_{i=1}^{T-1}q_i is fully assigned to ZTZ_T, guaranteeing ∑i=1Tqi=1\sum_{i=1}^{T}q_i=1 (Ishwaran & James, [26]; Muliere & Tardella [37]). Truncation bounds and approximation guarantees are detailed in Appendix § 9.

Iterative Sampling from the DP Posterior. To sample an explicit realization from the posterior DP⁡(αn,F‾n)\operatorname{DP}(\alpha_n,\overline{F}_n), we leverage the sequential stick-breaking recursion of Dirichlet Processes. Conditioning a DP on a single observation XiX_i satisfies the recursive distributional relation [16, 23]:

Qi(⋅)=dViδXi+(1−Vi)Qi−1(⋅),Vi∼Beta⁡(1,α+i),(7)Q_i(\cdot) \mathrel{\overset{d}{=}} V_i\delta_{X_i} + (1 - V_i)Q_{i-1}(\cdot), \quad V_i \sim\operatorname{Beta}(1, \alpha+ i), \tag*{(7)}

where =d\overset{d}{=} denotes equality in distribution. Building upon this relation, Vashishtha & Maillard [58] derived an explicit multi-step stick-breaking representation for sampling realized probability measures directly from the DP posterior: initializing with a prior draw Q0∼DP⁡(α,F0)Q_0 \sim\operatorname{DP}(\alpha, F_0) via stick-breaking and unrolling recursion (7) across all nn observations yields

Qn=dVnδXn+∑i=1n−1[Vi∏j=i+1n(1−Vj)]δXi+[∏i=1n(1−Vi)]Q0.(8)Q_n \mathrel{\overset{d}{=}} V_n\delta_{X_n} + \sum_{i=1}^{n-1}\left[V_i\prod_{j=i+1}^{n}(1-V_j)\right]\delta_{X_i} + \left[\prod_{i=1}^{n}(1-V_i)\right]Q_0. \tag*{(8)}

The scalar coefficient Wprior≜∏i=1n(1−Vi)W_{\mathrm{prior}} \triangleq\prod_{i=1}^{n}(1-V_i) represents the total posterior probability mass retained by the prior measure Q0Q_0. Under the sequential Beta stick-breaking construction where 1−Vi∼Beta⁡(α+i,1)1 - V_i \sim\operatorname{Beta}(\alpha+ i,1), this remaining prior weight follows the exact closed-form distribution:

Wprior=∏i=1n(1−Vi)∼Beta⁡(α+1,n),(9)W_{\mathrm{prior}} = \prod_{i=1}^{n}(1-V_i) \sim\operatorname{Beta}(\alpha+ 1,n), \tag*{(9)}

with expected prior mass E[Wprior]=α+1α+1+n\mathbb{E}[W_{\mathrm{prior}}] = \frac{\alpha+1}{\alpha+1+n}. This term cleanly governs the balance between empirical evidence and prior belief: when data is absent (n=0n=0), Wprior=1W_{\mathrm{prior}}=1 and the posterior recovers the prior Q0Q_0; as observations accumulate (n→∞n \to\infty), Wprior→0W_{\mathrm{prior}} \to0 and empirical data dominates.

Bayesian Neural Networks via DP Priors

In this section, we present a nonparametric methodology for sampling neural-network models from their posteriors to capture epistemic uncertainty in function predictions. The core idea is that predictive uncertainty originates from incomplete knowledge of the true data-generating distribution. Consider a neural network parameterized by θ\theta trained under loss Lθ(⋅)\mathcal{L}_{\theta}(\cdot). If the true data-generating distribution G∗(⋅)G^*(\cdot) were known (generating observations {zi=(xi,yi)}i=1n\{z_i=(x_i,y_i)\}_{i=1}^{n}, with inputs xix_i and targets yiy_i), optimal parameters θ∗\theta^* would be obtained by minimizing the expected risk:

θ∗=arg⁡min⁡θ Ez∼G∗[Lθ(z)]=arg⁡min⁡θ∫Lθ(z) dG∗(z).(10)\theta^* = \underset{\theta}{\arg\min}\ \mathbb{E}_{z\sim G^*}[\mathcal{L}_{\theta}(z)] = \underset{\theta}{\arg\min}\int\mathcal{L}_{\theta}(z)\,\mathrm{d}G^*(z). \tag*{(10)}

In practice, however, the learner only observes a finite training set, leaving G∗G^* unknown. Epistemic uncertainty over θ\theta, and consequently over network predictions, is therefore a direct consequence of uncertainty over G∗G^*.

To quantify this uncertainty, we place a Dirichlet Process prior directly on the unknown data distribution: G∼DP⁡(α,F0)G \sim\operatorname{DP}(\alpha,F_0), where the base measure F0F_0 encapsulates prior domain structure and support (Lemma 1). As training observations accumulate (n→∞n \to\infty), posterior consistency ensures that the posterior over GG concentrates weakly around the true distribution G∗G^* [16, 22, 10]. In finite-sample regimes, however—and particularly in regions where data is sparse or absent—the posterior does not collapse to an overconfident point estimate; instead, it retains non-vanishing epistemic variance governed by F0F_0. Whereas weight-space variational BNNs frequently underestimate uncertainty in voids or between separated data clusters [17], placing the nonparametric prior directly in data space preserves functional uncertainty wherever data has not yet been observed.

Given a finite training dataset Dn={zi}i=1n\mathcal{D}_n = \{z_i\}_{i=1}^{n}, the posterior over the data-generating distribution is G∗∣Dn∼DP⁡(αn,F‾n)G^* \mid\mathcal{D}_n \sim\operatorname{DP}(\alpha_n,\overline{F}_n) with posterior indices defined in Equation (2). Applying the stick-breaking construction (Equations (5)–(6)) and the iterative posterior recursion (Equation (8)) ([58]), any random posterior measure Pj∼DP⁡(αn,F‾n)P_j \sim\operatorname{DP}(\alpha_n,\overline{F}_n) truncated at TT prior atoms takes the explicit finite discrete form:

Pj(⋅)=∑i=1n+Tpijδzi(⋅),(11)P_j(\cdot) = \sum_{i=1}^{n+T} p_i^j\delta_{z_i}(\cdot), \tag*{(11)}

Algorithm 1 Posterior Sampling of Bayesian Neural Networks via Dirichlet Process Priors (DP-BNN)

  1. Input: Training observations Dn={zi}i=1nD_n = \{z_i\}_{i=1}^{n}, DP prior parameters (α,F0)(\alpha, F_0), truncation level TT, sample count JJ, loss function Lθ(⋅)\mathcal{L}_{\theta}(\cdot)

  2. Output: Posterior model samples {θ(j)}j=1J\{\theta^{(j)}\}_{j=1}^{J}

  3. for j=1,…,Jj = 1, \ldots, J do

  4. Sample synthetic prior pseudo-observations: {zn+t}t=1T∼i.i.d.F0\{z_{n+t}\}_{t=1}^{T} \overset{\mathrm{i.i.d.}}{\sim} F_0

  5. Sample stick-breaking weights {pi′}i=1n+T∈Δn+T−1\{p'_i\}_{i=1}^{n+T} \in\Delta^{n+T-1} via Equations (11) and (8)

  6. Form random discrete posterior measure: Pj=∑i=1n+Tpi′δziP_j = \sum_{i=1}^{n+T} p'_i \delta_{z_i}

  7. Initialize network parameters θ(j)\theta^{(j)}

  8. Optimize parameters to convergence: θ(j)←arg⁡min⁡θ∑i=1n+Tpi′Lθ(zi)\theta^{(j)} \leftarrow\underset{\theta}{\arg\min}\sum_{i=1}^{n+T} p'_i\mathcal{L}_{\theta}(z_i) via Eq. (12)

  9. end for

  10. return {θ(j)}j=1J\{\theta^{(j)}\}_{j=1}^{J}

where {zi}i=1n\{z_i\}_{i=1}^{n} are the observed training points and {zn+t}t=1T∼iidF0\{z_{n+t}\}_{t=1}^{T} \overset{\mathrm{iid}}{\sim} F_0 are prior pseudo-observations sampled from the base measure. The weights {pi′}i=1n+T\{p'_i\}_{i=1}^{n+T} satisfy ∑i=1n+Tpi′=1\sum_{i=1}^{n+T} p'_i = 1, where the empirical weights {pi′}i=1n\{p'_i\}_{i=1}^{n} are obtained from Equation (8) and the prior weights {pn+t′}t=1T\{p'_{n+t}\}_{t=1}^{T} are generated by scaling stick-breaking weights from Equation (5) by the remaining prior factor Wprior=∏k=1n(1−Vk)W_{\mathrm{prior}} = \prod_{k=1}^{n}(1 - V_k) (Eq. (9)).

Substituting this discrete measure into the risk functional in Equation (10), sampling a neural-network model θ(j)\theta^{(j)} from the posterior reduces directly to a weighted empirical loss:

θ(j)=arg⁡min⁡θ∑i=1n+Tpi′Lθ(zi).(12)\theta^{(j)} = \underset{\theta}{\arg\min}\sum_{i=1}^{n+T} p'_i\mathcal{L}_{\theta}(z_i). \tag*{(12)}

The complete procedure is summarized in Algorithm 1. In order to compute variations in predictions and confidence intervals, one computes predictions across the sampled models {θ(j)}j=1J\{\theta^{(j)}\}_{j=1}^{J}. Notice that as α→0\alpha\to0, PjP_j recovers the Bayesian Bootstrap (Equation (3)), placing probability mass solely on observed data points {zi}i=1n\{z_i\}_{i=1}^{n}. When α>0\alpha> 0, the DP base measure F0F_0 incorporates prior domain structure and ensures non-vanishing epistemic uncertainty in unexplored regions of the input space.

We evaluate the epistemic uncertainty of DP-BNNs on a 2D regression benchmark over an annular manifold where 2D spatial inputs x=(x1,x2)∈[−2.5,2.5]2x = (x_1, x_2) \in[-2.5, 2.5]^2 have radial distance r=∥x∥2∈[1.3,2.45]r = \lVert x \rVert_2 \in[1.3, 2.45] with noisy scalar target observations y=cos⁡(1.5πr)+ϵy = \cos(1.5\pi r) + \epsilon with ϵ∈[−1,1]\epsilon\in[-1, 1] (aleatoric σ=0.30\sigma= 0.30), leaving an unobserved central cavity void for r≤1.0r \le1.0 (Figure 1A). Because there are no training observations within the interior cavity, a reliable Bayesian model is fundamentally expected to exhibit high epistemic uncertainty (low predictive confidence) throughout this unobserved void, while contracting with high confidence on the data-rich annular ring. We quantify epistemic uncertainty via Bayesian Active Learning by Disagreement (BALD) ([25]) across J=10J = 10 sampled models (Appendix § 10.§ 2). Crucially, unlike deep ensembles (Lakshminarayanan et al., 2017) that rely on disparate parameter initializations to generate variance. DP-BNN induces epistemic diversity non-parametrically in function space via synthetic pseudo-observations from a product base measure F0(x,y)=F0x(x)×F0y(y)F_0(x,y) = F_{0x}(x) \times F_{0y}(y). Following Lemma 1, we choose the support of F0xF_{0x} as the uniform distribution over the domain [−2.5,2.5]2[-2.5, 2.5]^2 to ensure non-empty coverage of unobserved voids, paired with dispersed prior targets F0y=N(0,1.52)F_{0y} = \mathcal{N}(0, 1.5^2) (T=50T = 50 atoms, concentration parameter α=10.0\alpha= 10.0). As shown in Figure 1B–E, DP-BNN reflects this expected epistemic behavior, forming an isotropic uncertainty region in the void (1.41 nats vs. 0.18 nats on data support; 8.0× contrast ratio). In comparison, standard baselines exhibit lower contrast between the void and data support: BootDQN with randomized priors (Osband et al., [42]) yields 0.54 vs. 0.14 nats (3.8×), MC Dropout (Gal & Ghahramani, [20]) yields 0.36 vs. 0.16 nats (2.2×), Deep Ensembles (Lakshminarayanan et al., [30]) yields 0.29 vs. 0.06 nats (4.8×), and variational inference (Bayes By Backprop, BBB) (Blundell et al., [8]) produces near-uniform uncertainty across the domain (0.07 vs. 0.09 nats). Because each model θ(j)\theta^{(j)} minimizes the loss under an independently drawn measure PjP_j, the training cost of DP-BNN is on par with standard ensemble baselines (wall-clock training times for J=10J = 10 models: DP-BNN [5.9 s], BootDQN+priors [5.4 s], Deep Ensembles [6.9 s], BBB [2.1 s], MC Dropout [0.7 s]).

Epistemic uncertainty heatmaps and cavity-versus-data-support comparison

Figure 1. Epistemic uncertainty on 2D annular regression. (A) Annular training data (r∈[1.3,2.45]r \in[1.3, 2.45]) with unobserved central cavity (r≤1.0r \le1.0). (B–D) BALD epistemic uncertainty heatmaps (nats) [25] on a shared [0.0,1.8][0.0, 1.8] scale for Deep Ensembles (B), BootDQN with randomized priors (C), and DP-BNN (D). (E) Void vs. data support BALD contrast across evaluated methods.

While quantifying predictive variance in this benchmark required training multiple models (J=10J = 10), Thompson sampling in sequential decision-making requires only a single sampled model per episode (Thompson, [55]; Russo et al., [50]). Because DP-BNNs represent uncertainty via the DP posterior over data distributions, training a single neural network on a draw from this posterior directly provides the required sample. Consequently, an agent can perform Thompson sampling with a single neural network, eliminating the heuristic multi-network ensembles required by previous methods. In the next section, we apply this framework to deep reinforcement learning.

Reinforcement Learning with DP-BNNs

We now extend the DP-BNN framework to reinforcement learning, developing DP-DQN: a deep Q-learning algorithm that achieves directed, temporally consistent exploration via posterior sampling over action-value functions.

Problem Formulation and Exploration Bottlenecks

Markov Decision Processes. A Markov Decision Process (MDP) (Puterman, [45]) is formalized by the tuple M=(S,A,R,P,γ)M = (S, A, R, P, \gamma), where SS is the state space, AA is the discrete action space, R:S×A→RR : S \times A \to\mathbb{R} is the reward function, P(⋅∣s,a)P(\cdot\mid s,a) is the transition probability distribution, and γ∈[0,1)\gamma\in[0,1) is the discount factor. An agent aims to identify an optimal policy π∗\pi^* maximizing expected cumulative discounted return, characterized by the unique optimal action-value function Q∗(s,a)Q^*(s,a) satisfying the Bellman optimality equation:

Q∗(s,a)=R(s,a)+γEs′∼P(⋅∣s,a)[max⁡a′∈AQ∗(s′,a′)].(13)Q^*(s,a) = R(s,a) + \gamma\mathbb{E}_{s'\sim P(\cdot\mid s,a)}\left[\max_{a'\in\mathcal{A}} Q^*(s',a')\right]. \tag*{(13)}

Deep Q-Learning and Exploration Bottlenecks. In complex or continuous state spaces, tabular representation is infeasible. Value-based deep reinforcement learning methods such as Deep Q-Networks (DQN) and Double DQN (Mnih et al., [36]; van Hasselt et al., [56]; Bellemare et al., [7]) approximate Q∗(s,a)Q^*(s,a) with a deep neural network Q(s,a;θ)Q(s,a;\theta) parameterized by θ\theta. Parameters are optimized by minimizing the mean-squared Temporal Difference (TD) regression loss over transition tuples z=(s,a,r,s′,d)z=(s,a,r,s',d) sampled from an experience replay buffer B\mathcal{B}:

LDQN(θ;θ−)=Ez∼B[ℓTD(z;θ,θ−)],whereℓTD(z;θ,θ−)=(r+(1−d)γmax⁡a′∈AQ(s′,a′;θ−)−Q(s,a;θ))2.(14)\mathcal{L}_{\mathrm{DQN}}(\theta;\theta^-) = \mathbb{E}_{z\sim\mathcal{B}}\left[\ell_{\mathrm{TD}}(z;\theta,\theta^-)\right], \quad\text{where}\quad\ell_{\mathrm{TD}}(z;\theta,\theta^-) = \left(r + (1-d)\gamma\max_{a'\in\mathcal{A}} Q(s',a';\theta^-) - Q(s,a;\theta)\right)^2. \tag*{(14)}

where θ−\theta^- denotes the parameters of a tracking target network. In the framework of statistical learning theory, Eq. (14) is the empirical risk minimizer of the expected TD loss Ez∼G∗[ℓTD(z;θ,θ−)]\mathbb{E}_{z\sim\mathcal{G}^*}[\ell_{\mathrm{TD}}(z;\theta,\theta^-)] under the empirical measure Pn=1n∑i=1nδzi\mathbb{P}_n = \frac{1}{n}\sum_{i=1}^{n}\delta_{z_i} of the replay buffer, corresponding to neural Fitted Q-Iteration (Ernst et al., [15]; Riedmiller, [46]; Mnih et al., [36]).

Standard DQN relies on heuristic ϵ\epsilon-greedy dithering for exploration. However, independent action perturbations at each step lack temporal consistency, requiring an exponential sample complexity Ω(∣A∣H)\Omega(|\mathcal{A}|^H) to discover delayed rewards over horizon HH [42, 43]. Principled deep exploration instead requires Posterior Sampling for Reinforcement Learning (PSRL) [11, 53, 40, 21], where an agent samples an action-value hypothesis from an epistemic posterior and acts greedily with respect to it for the entire episode rollout. However, existing deep exploration approaches either maintain an ensemble of KK separate neural networks (e.g., Bootstrapped DQN; Osband et al. [41]), which incurs a prohibitive KK-fold memory and computational footprint, train parameterized epistemic hypermodels [13], inject heuristic parameter noise (NoisyNet; Fortunato et al. [18]), or rely on parametric weight-space Bayesian approximations (e.g., Bayes By Backprop, MC Dropout) that suffer from prior generalization collapse and fail to sustain epistemic uncertainty across deep horizons [17, 42]. DP-BNNs resolve these dual bottlenecks—computational scaling overhead and epistemic uncertainty collapse—by placing a DP prior directly on the data-generating distribution of transition experience G∗G^*, inducing rich function-space epistemic diversity nonparametrically with a single neural network (instantiated here as DP-DQN).

DP-DQN: Posterior Sampling for Randomized Value Functions

While standard DQN minimizes empirical TD loss over observed transitions in the replay buffer (Eq. (14)), the DP-BNN framework quantifies epistemic uncertainty by placing a DP prior directly on the underlying transition-experience distribution:

G∗∼DP⁡(α,F0),(15)G^* \sim\operatorname{DP}(\alpha, F_0), \tag*{(15)}

where the base measure F0F_0 generates synthetic transition tuples z~=(s~,a~,r~,s~′,d~)\tilde{z} = (\tilde{s}, \tilde{a}, \tilde{r}, \tilde{s}', \tilde{d}) via factorized marginals F0(s,a,r,s′,d)=F0s(s)×F0a(a)×F0r(r)×F0s′(s′)×F0d(d)F_0(s,a,r,s',d) = F_{0s}(s) \times F_{0a}(a) \times F_{0r}(r) \times F_{0s'}(s') \times F_{0d}(d), with continuing transitions (d~=0\tilde{d}=0). Following Lemma 1, the base measure maintains full topological support over state-action spaces (supp⁡(F0s)⊇S\operatorname{supp}(F_{0s}) \supseteq\mathcal{S}, supp⁡(F0a)=A\operatorname{supp}(F_{0a}) = \mathcal{A}). Because data collection in reinforcement learning is policy-dependent, the reward prior F0rF_{0r} is specified to sustain exploratory variance in unvisited regions (Appendix § 10).

Given nn observed transitions in the replay buffer B={zi=(si,ai,ri,si′,di)}i=1n\mathcal{B} = \{z_i=(s_i,a_i,r_i,s'_i,d_i)\}_{i=1}^{n}, Ferguson’s conjugacy [16] yields the posterior distribution over the data-generating distribution:

G∗∣B∼DP⁡(α+n,nα+nPn+αα+nF0),where Pn=1n∑i=1nδzi(16)G^* \mid\mathcal{B} \sim\operatorname{DP}\left(\alpha+n,\frac{n}{\alpha+n}\mathbb{P}_n+\frac{\alpha}{\alpha+n}F_0\right), \qquad\text{where } \mathbb{P}_n=\frac{1}{n}\sum_{i=1}^{n}\delta_{z_i} \tag*{(16)}

Under this formulation, posterior sampling over value functions corresponds to drawing a discrete random measure Pk∼G∗∣BP_k \sim G^* \mid\mathcal{B} for each episode kk and optimizing the action-value network under PkP_k: θk=arg⁡min⁡θEz∼Pk[ℓTD(z;θ,θ−)]\theta_k = \arg\min_{\theta}\mathbb{E}_{z\sim P_k}[\ell_{\mathrm{TD}}(z;\theta,\theta^-)].

Full-Buffer Conditioning and Prior Swamping. However, directly realizing this posterior draw over the full replay buffer B\mathcal{B} introduces two practical challenges:

  1. Computational overhead: Evaluating stick-breaking representations and backpropagating across ∣B∣∼105|\mathcal{B}| \sim10^5 stored transitions at every episode boundary is computationally prohibitive.

  2. Prior swamping: In sparse-reward exploration, unguided initial rollouts inevitably accumulate thousands of unrewarded transitions. If the sample size nn in Eq. (16) scales with the raw buffer size (n∼∣B∣∼105n \sim|\mathcal{B}| \sim10^5), the relative weight of the prior base measure αα+n→0\frac{\alpha}{\alpha+n} \to0 rapidly diminishes. The posterior contracts toward empirical resampling over observed transitions—recovering the Bayesian Bootstrap limit (α→0\alpha\to0) [49]—which diminishes exploratory drive early in training (Figure 2a; Appendix § 11).

Empirical exploration and scaling on DeepSea

Figure 2. Empirical exploration and scaling on DeepSea (Osband et al., [43]). (a) Cumulative regret on DeepSea-20 (10 random seeds, shaded bands denote ±1\pm1 standard deviation) comparing DP-DQN against BootDQN-RP, BDQN, and DP-DQN in the Bayesian bootstrap limit (α→0\alpha\to0; § 3). (b) Empirical sample complexity across 30 grid sizes up to N=50N = 50 (6 random seeds per size, error bars denote ±1\pm1 standard deviation), showing empirical O(N1.45)\mathcal{O}(N^{1.45}) scaling for DP-DQN compared to O(N3)\mathcal{O}(N^3) for BootDQN-RP.

Composite DP-Bellman Loss. To approximate this posterior without full-buffer computation, DP-DQN evaluates an empirical mini-batch {zi}i=1B∼B\{z_i\}_{i=1}^{B} \sim\mathcal{B} alongside TT synthetic prior atoms {z~j}j=1T∼F0\{\tilde{z}_j\}_{j=1}^{T} \sim F_0, forming the discrete composite measure Pk=∑i=1Bwiempδzi+Wprior∑j=1Tqj(0)δz~jP_k = \sum_{i=1}^{B}w_i^{\mathrm{emp}}\delta_{z_i} + W_{\mathrm{prior}}\sum_{j=1}^{T}q_j^{(0)}\delta_{\tilde{z}_j}. Minimizing the expected temporal-difference error Ez∼Pk[ℓTD(z;θ,θ−)]\mathbb{E}_{z \sim\mathcal{P}_k}[\ell_{\mathrm{TD}}(z; \theta, \theta^{-})] yields the composite DP-Bellman loss:

LDP(θ)=∑i=1Bwiemp(yi−Q(si,ai;θ))2+Wprior∑j=1Tqj(0)(y~j−Q(s~j,a~j;θ))2(17)\mathcal{L}_{\mathrm{DP}}(\theta) = \sum_{i=1}^{B} w_i^{\mathrm{emp}} \left(y_i - Q(s_i, a_i; \theta)\right)^2 + W_{\mathrm{prior}} \sum_{j=1}^{T} q_j^{(0)} \left(\widetilde{y}_j - Q(\widetilde{s}_j, \widetilde{a}_j; \theta)\right)^2 \tag*{(17)}

where yi=ri+(1−di)γmax⁡a′Q(si′,a′;θ−)y_i = r_i + (1-d_i)\gamma\max_{a'} Q(s_i', a'; \theta^{-}) and y~j=r~j+(1−d~j)γmax⁡a′Q(s~j′,a′;θ−)\widetilde{y}_j = \widetilde{r}_j + (1-\widetilde{d}_j)\gamma\max_{a'} Q(\widetilde{s}_j', a'; \theta^{-}) denote empirical and prior Bellman targets, and θ−\theta^{-} tracks target network parameters via Polyak averaging θ−←(1−τ)θ−+τθk\theta^{-} \leftarrow(1-\tau)\theta^{-} + \tau\theta_k (Lillicrap et al., [32]). Layer Normalization (Ba et al., [6]) is applied across hidden layers to ensure numerical stability across heterogeneous stick-breaking weights.

Information Calibration via Bellman Surprise. Scaling the prior weight Wprior∼Beta⁡(α+1,n)W_{\mathrm{prior}} \sim\operatorname{Beta}(\alpha+ 1,n) by the raw buffer size would cause the prior mass to vanish in early unrewarded rollouts (prior swamping). To prevent this, we modulate the prior mass by the cumulative information content of observed transitions rather than raw sample count. Setting Wprior∼Beta⁡(α+1,Nstat)W_{\mathrm{prior}} \sim\operatorname{Beta}(\alpha+ 1,N_{\mathrm{stat}}), the effective sample counter NstatN_{\mathrm{stat}} accumulates sample weight proportional to normalized Bellman surprise:

Nstat←Nstat+1B∑i=1Bmin⁡(1,∣δi∣σTD),δi=yi−Q(si,ai;θ),(18)N_{\mathrm{stat}} \leftarrow N_{\mathrm{stat}} + \frac{1}{B}\sum_{i=1}^{B} \min\left(1,\frac{|\delta_i|}{\sigma_{\mathrm{TD}}}\right), \qquad\delta_i = y_i - Q(s_i,a_i;\theta), \tag*{(18)}

where σTD\sigma_{\mathrm{TD}} denotes the running standard deviation of Bellman errors. Transitions with near-zero Bellman error represent well-modeled dynamics that contribute negligible information, maintaining non-vanishing prior weight until novel reward signals are uncovered (Appendix § 11).

Episodic Boundary Warmstart and Rollout Freezing. To preserve multi-step temporal consistency, DP-DQN eliminates intra-episode parameter updates, amortizing optimization into W=⌈H/2⌉W = \lceil H/2 \rceil stochastic warmstart gradient steps at episode boundaries. At the start of episode kk, prior atoms {z~j}j=1T∼F0\{\widetilde{z}_j\}_{j=1}^{T} \sim\mathcal{F}_0 are drawn once to fix the episodic exploration hypothesis. Across steps w=1,…,Ww = 1,\ldots,W, fresh empirical mini-batches Dw∼B\mathcal{D}_w \sim\mathcal{B} are sampled to optimize θ\theta on LDP(θ)\mathcal{L}_{\mathrm{DP}}(\theta), which approximately draws a value function from the functional posterior. In accordance with PSRL (Strens, [53]; Osband et al., [40]), the updated parameters θk←θ\theta_k \leftarrow\theta are frozen throughout the episode rollout, executing greedy actions at=arg⁡max⁡aQ(st,a;θk)a_t = \arg\max_a Q(s_t,a;\theta_k) to guarantee temporally coordinated exploration with a single neural network (Algorithm 2).

Algorithm 2 DQN with Thompson Sampling-Based Exploration via DP-BNNs

  1. Input: Action-value network Q(s,a;θ)Q(s,a;\theta), target network parameters θ−\theta^{-}, DP prior parameters (α,F0)(\alpha,F_0), truncation level TT, replay buffer B\mathcal{B}, mini-batch size BB, warmstart steps WW, learning rate η\eta, discount factor γ∈[0,1)\gamma\in[0,1), episode horizon HH, Polyak rate τ\tau

  2. Initialize effective information counter Nstat←0N_{\mathrm{stat}} \leftarrow0

  3. for episode k=1,2,…k=1,2,\ldots do

  4. Stage 1: Value Function Posterior Sampling via DP-BNNs (Warmstart)

  5. Sample synthetic prior transitions: z~j=(s~j,a~j,r~j,s~j′,d~j)∼iidF0\tilde{z}_j=(\tilde{s}_j,\tilde{a}_j,\tilde{r}_j,\tilde{s}'_j,\tilde{d}_j)\mathrel{\overset{\mathrm{iid}}{\sim}} F_0 for j=1,…,Tj=1,\ldots,T

  6. Compute prior stick weights qj(o)q_j^{(o)} via Eq. (5) for j=1,…,Tj=1,\ldots,T

  7. for step w=1,…,Ww=1,\ldots,W do

  8. Sample empirical mini-batch Dw={zi=(si,ai,ri,si′,di)}i=1B∼BD_w=\{z_i=(s_i,a_i,r_i,s'_i,d_i)\}_{i=1}^{B}\sim\mathcal{B}

  9. Sample prior factor Wprior∼Beta⁡(α+1,Nstat)W_{\mathrm{prior}}\sim\operatorname{Beta}(\alpha+1,N_{\mathrm{stat}}) and empirical weights wiempw_i^{\mathrm{emp}} via Eq. (8)

  10. Compute Bellman targets: yi=ri+(1−di)γmax⁡a′Q(si′,a′;θ−)y_i=r_i+(1-d_i)\gamma\max_{a'}Q(s'_i,a';\theta^{-}) and y~j=r~j+(1−d~j)γmax⁡a′Q(s~j′,a′;θ−)\tilde{y}_j=\tilde{r}_j+(1-\tilde{d}_j)\gamma\max_{a'}Q(\tilde{s}'_j,a';\theta^{-})

  11. Update online network: θ←θ−η∇θLDP(θ)\theta\leftarrow\theta-\eta\nabla_\theta\mathcal{L}_{\mathrm{DP}}(\theta) (via Eq. (17))

  12. Calibrate information counter NstatN_{\mathrm{stat}} via TD surprise (Eq. (18))

  13. end for

  14. Freeze episode policy network: θk←θ\theta_k\leftarrow\theta

  15. Stage 2: Temporally Coordinated Rollout under Sampled Hypothesis

  16. Observe initial state s0s_0 from environment

  17. for t=0,…,H−1t=0,\ldots,H-1 do

  18. Select action greedily under sampled model: at=arg⁡max⁡aQ(st,a;θk)a_t=\arg\max_a Q(s_t,a;\theta_k)

  19. Execute ata_t, observe reward rtr_t, next state st+1s_{t+1}, and terminal flag dtd_t

  20. Store transition zt=(st,at,rt,st+1,dt)z_t=(s_t,a_t,r_t,s_{t+1},d_t) into replay buffer B\mathcal{B}

  21. if dtd_t is true then break

  22. end if

  23. end for

  24. Synchronize target network via Polyak tracking: θ−←(1−τ)θ−+τθk\theta^{-}\leftarrow(1-\tau)\theta^{-}+\tau\theta_k

  25. end for

Empirical Evaluation on Hard-Exploration Benchmarks

To evaluate whether DP-BNN posteriors provide effective randomized value functions with a single neural network, we examine DP-DQN across the scalable DeepSea benchmark (Osband et al., [43]), the canonical diagnostic domain for deep exploration. Specifically, we evaluate: (i) whether a single neural network equipped with a DP posterior matches the sample efficiency of multi-network ensembles on canonical DeepSea-20; (ii) how empirical sample complexity scales as grid size expands up to N=50N=50; and (iii) how the computational and memory footprint of DP-DQN compares with multi-network ensemble baselines.

The DeepSea Exploration Benchmark. DeepSea requires an agent to execute NN consecutive coordinated actions across an episode of length NN to collect a solitary terminal reward (r=+1.0r=+1.0) at (N−1,N−1)(N-1,N-1). It challenges exploration through three distinct mechanisms: (i) an unknown action-dependent per-row mask the optimal direction; (ii) a continuous step cost of −0.01/N-0.01/N penalizes exploration along the optimal path and biases myopic policies toward the unrewarded boundary; and (iii) any suboptimal step irreversibly routes the agent into zero-reward absorbing states. Consequently, dithering exploration strategies (such as ϵ\epsilon-greedy) require an expected Ω(2N)\Omega(2^N) episodes to discover the goal (Osband et al., [41]; Osband et al., [43])—scaling from 220≈1062^{20}\approx10^6 episodes at N=20N=20 to 250≈10152^{50}\approx10^{15} episodes at N=50N=50. We benchmark on canonical DeepSea-20 (Figure 2a) and evaluate scaling behavior across 30 grid sizes up to N=50N=50 (Figure 2b).

Base Measure for DP-DQN. To ensure exploration is driven without privileged environment knowledge, DP-DQN specifies an uninformative product base measure over transitions, F0(s,a,r,s′,d)=F0s(s)×F0a(a)×F0r(r)×F0s′(s′)×F0d(d)F_0(s,a,r,s',d)=F_{0s}(s)\times F_{0a}(a)\times F_{0r}(r)\times F_{0s'}(s')\times F_{0d}(d). State and next-state components are sampled uniformly over the N2N^2 canonical one-hot vectors (s~,s~′∼Uniform⁡(Sone−hot⊂{0,1}N2))(\tilde{s},\tilde{s}'\sim\operatorname{Uniform}(S_{\mathrm{one-hot}}\subset\{0,1\}^{N^2})), actions uniformly a~∼Uniform⁡({0,1})\tilde{a}\sim\operatorname{Uniform}(\{0,1\}), and continuing flags d~=0\tilde{d}=0, encoding zero information about transition graph topology or goal coordinates. For rewards, setting F0r=U(0,Rmax⁡)F_{0r}=\mathcal{U}(0,R_{\max}) with Rmax⁡=1.0R_{\max}=1.0 naturally induces stochastic optimism (Osband & Van Roy, [39]; Agrawal & Jia, [2]), sustaining positive expected value on unexplored states or overcome continuous step costs without artificial reward shaping. We set concentration parameter α=3.0\alpha= 3.0 and truncation level T=50T = 50; complete hyperparameter specifications, support conditions, and base measure ablations are detailed in Table 2 and Appendices § 10 and § 12.

Hyperparameter2D Annular CavityDeepSea-20DeepSea-50RiverSwim-6Deceptive N-ChainMountainCar-v0Wheel Bandit
State Space SS[−2.5,2.5]2[-2.5, 2.5]^2One-Hot R400\mathbb{R}^{400}One-Hot R2500\mathbb{R}^{2500}One-Hot R6\mathbb{R}^{6}One-Hot R10\mathbb{R}^{10}Continuous R2\mathbb{R}^{2}Unit Disk R2\mathbb{R}^{2}
Action Space AA— (Regression)Discrete (2)Discrete (2)Discrete (2)Discrete (2)Discrete (3)Discrete (5)
Horizon HH—205050102001
Network Architecture3-layer MLP-64Single MLP-202-layer MLP-64Single MLP-20Single MLP-202-layer MLP-643-layer MLP-64
Layer NormalizationNoYesYesYesYesYesNo
OptimizerAdamAdamAdamAdamAdamAdamAdam
Learning Rate η\eta10−310^{-3}10−310^{-3}10−310^{-3}10−310^{-3}10−310^{-3}10−310^{-3}10−310^{-3}
Mini-Batch Size BB64646432323264
Replay Buffer Size ∣B∣\lvert B\rvert—100,000100,00010,00010,00050,00010,000
DP Concentration α\alpha10.03.03.03.03.03.01.0
Prior Truncation Level TT50505050505020
Warmstart Steps WW—1025255100—
Polyak Target Rate τ\tau—0.050.050.050.050.01—
Prior Base Reward F0rF_{0r}N(0,1.52)\mathcal{N}(0,1.5^2)U(0,1.0)\mathcal{U}(0,1.0)U(0,1.0)\mathcal{U}(0,1.0)N(0,1.0)\mathcal{N}(0,1.0)N(1.0,0.22)\mathcal{N}(1.0,0.2^2)U(0,1.0)\mathcal{U}(0,1.0)N(1.0,0.52)\mathcal{N}(1.0,0.5^2)

Table 2. Consolidated experimental specifications and hyperparameters for DP-BNN and DP-DQN across all empirical benchmarks (W=W = — for static regression and contextual bandits because H=1H = 1 with no sequential Bellman propagation).

DeepSea-20 Exploration Performance. Figure 2a presents comparative results on DeepSea-20 across 10 independent random seeds per algorithm over 10,000 episodes (mean cumulative regret with shaded ±1\pm1 standard deviation). All agents employ an action-value architecture with a single hidden layer of 20 units (MLP-20), matching the network capacity in Osband et al. [42]. For DP-DQN, Layer Normalization (Ba et al. [6]) is included to stabilize gradient variance across heterogeneous stick-breaking weights, with concentration parameter α=3.0\alpha= 3.0 and truncation level T=50T = 50 (Table 2). Equipped with the uninformative uniform base measure, DP-DQN achieves a 100% solve rate (10/10 seeds), discovering the terminal goal at episode 397±154397 \pm154 and reaching policy convergence in 602±104602 \pm104 episodes, with cumulative regret plateauing at 418±94418 \pm94. In comparison, Bootstrapped DQN with randomized priors (BootDQN-RP, 20 ensemble heads + 20 prior networks) (Osband et al. [42]) requires 5,210±6045{,}210 \pm604 episodes with 4,922±5824{,}922 \pm582 regret. Notably, DP-DQN consolidates into the optimal policy within ≈200\approx200 episodes after initial discovery (397±154→602±104397 \pm154 \rightarrow602 \pm104). Because the high Bellman surprise of the newly discovered goal sharply increments the information counter NstatN_{\mathrm{stat}}, the prior factor WpriorW_{\mathrm{prior}} is rapidly attenuated in favor of empirical Bellman targets (Eq. (17)), stabilizing greedy execution without the inter-head variance or conflicting prior biases that can impede policy consolidation in heuristic ensembles. Conversely, standard DQN, BDQN (Azizzadenesheli et al. [5]), and DP-DQN in the Bayesian bootstrap limit (α→0\alpha\rightarrow0; § 3, Eq. (3)) fail to discover the goal across all seeds (0/10 seeds solved), incurring linear regret (>9,900> 9{,}900). In this Bayesian bootstrap limit where the prior concentration parameter vanishes (α→0\alpha\rightarrow0), the agent samples purely from empirical replay transitions without synthetic prior augmentation (Wprior=0W_{\mathrm{prior}} = 0). Because early trajectories observe only zero-reward transitions, pure empirical resampling provides no exploratory optimism toward unvisited states, confirming that the prior base measure F0F_0 is essential for driving deep exploration (Appendices § 11 and § 12.§ 3).

Scalability Across DeepSea Grid Size N∈[10,50]N \in[10, 50]. To evaluate scalability as the exploration horizon expands, we benchmarked DP-DQN across 30 grid sizes up to N=50N = 50 (6 independent random seeds per size, error bars denote ±1\pm1 standard deviation; Figure 2b and Table 1). To accommodate the expanding state space (∣S∣=2,500|\mathcal{S}| = 2{,}500) and trajectory space (250≈10152^{50} \approx10^{15} paths), the action-value network uses two hidden layers of 64 units each (64 ×\times 64 MLP with Layer Normalization). Following standard benchmark convention (Osband et al. [43]), an environment run is deemed solved when the agent achieves consistent policy convergence, operationalized as maintaining a rolling mean episode return >0.9> 0.9 over 20 consecutive episodes (relative to the optimal return 1.0−0.01=0.991.0 - 0.01 = 0.99), corresponding to the point where cumulative regret permanently flatlines. DP-DQN consistently solves DeepSea-50 in 1,925±1841{,}925 \pm184 episodes (Table 1). Across grid sizes from N=10N = 10 to N=50N = 50, empirical sample complexity scales as O(N1.45)O(N^{1.45}), outperforming the empirical O(N3)O(N^3) scaling of BootDQN-RP (Osband et al. [42]) and remaining well below the Ω(2N)\Omega(2^N) lower bound of dithering heuristics.

Computational and Memory Efficiency. A foundational advantage of DP-DQN is that it eliminates the severe computational overhead of multi-network ensembles. While BootDQN-RP (K=20K = 20) must instantiate, store, and train KK separate action-value networks alongside KK prior networks and target networks (O(Kd)O(Kd) parameters and optimizer buffers), DP-DQN operates on a single active neural network (O(d)O(d) parameters), matching the parameter footprint of standard DQN. The non-parametric mechanism introduces two computational overheads relative to standard DQN: (i) sampling Dirichlet process stick-breaking weights requires O(T)O(T) scalar operations once per episode for prior atoms and O(B)O(B) per warmstart step for empirical mini-batches, totaling an asymptotic stick-breaking complexity of only O(T+W⋅B)O(T + W \cdot B) scalar operations per episode (O(T+W/B)≪W(B+T)dO(T + W/B) \ll W(B+T)d, negligible compared to network tensor arithmetic); and (ii) evaluating the composite loss (Eq. (17)) across the TT prior transitions in addition to the empirical mini-batch of size BB scales gradient backpropagation by a factor of 1+T/B1 + T/B. Profiling on canonical DeepSea-20 on a standardized CPU core confirms this efficiency: DP-DQN incurs an amortized execution latency of 0.43 ms/step (comparable to standard DQN’s 0.38 ms/step, and 2.4×\times faster than BootDQN-RP’s 1.05 ms/step). Combined with superior sample efficiency (602±104602 \pm104 vs. 5,210±6045{,}210 \pm604 episodes), DP-DQN converges in only 5.16s of total CPU time compared to 103.26 s for BootDQN-RP—achieving a 20.0× wall-clock speedup while using 20× less memory (Table 4, Appendix § 16).

MetricVanilla DQNBDQNBootDQN-RPDP-DQN (W=10W = 10)DP-DQN (W=4W = 4)
Active Networks112011
Total Networks (incl. Prior/Target)226022
Trainable Parameters (dd)8,1028,142162,0408,1028,102
Total Stored Parameters16,20416,284486,12016,20416,204
Optimizer Instances (sets of 2d2d)112011
Intra-Episode Backprop Steps101020000
Training FLOPs / Episode1,280 · dd1,300 · dd25,600 · dd2,880 · dd1,152 · dd
Pure Action Inference Latency25.8 μ\mus69.7 μ\mus107.0 μ\mus28.8 μ\mus28.6 μ\mus
End-to-End Latency (ms/step)0.3810.6511.0490.4290.204
Throughput (steps / second)2,6251,5369532,3314,902
Episodes to 100% ConvergenceNeverNever5,210 ±\pm 604602 ±\pm 104645 ±\pm 112
Total Compute to Solve (Wallclock)∞\infty∞\infty103.26 s5.16 s2.63 s

Table 4. Empirical computational complexity, parameter volume, and runtime profiling on DeepSea-20 across algorithms on a standardized single CPU core.

Generality Across Diverse Decision Tasks. To evaluate whether the exploratory advantages of DP-BNNs generalize beyond DeepSea, we benchmarked the framework across diverse decision-making tasks (Table 1 and Appendix § 13). Across deceptive sequential corridors (N-Chain; [53]), environmental stochasticity and reward traps (RiverSwim-6; [52]), continuous control under gravity constraints (MountainCar-v0; [54]), and deep contextual bandits (Wheel Bandit; [47]; Figure 6), DP-BNN posteriors consistently sustain directed exploration, matching or exceeding competitive multi-network baselines while operating with a single network. Complete experimental protocols and tabular comparisons are detailed in Appendix § 13.

Deep Bayesian Bandit Showdown on the Wheel Bandit

Figure 6. Deep Bayesian Bandit Showdown on the Wheel Bandit (δ=0.9\delta= 0.9, K=5K = 5 arms) across 1,500 environment steps (evaluated over 5 independent random seeds). (a) Wheel Bandit Geometry and Exploration Trap: Contexts x∈R2x \in\mathbb{R}^{2} are sampled uniformly from the unit disk. The safe interior (∥x∥2≤δ=0.9\lVert x\rVert_{2} \le\delta= 0.9, grey) accounts for 81% of all contexts, where base arm 0 yields r=1.0r = 1.0 while arms 1..4 yield r=0.0r = 0.0. The high-payoff optimal arms (r=50.0r = 50.0) reside exclusively on the rare outer rim (∥x∥2>0.9\lVert x\rVert_{2} > 0.9, 19% total probability, ≈4.75%\approx4.75\% per quadrant). (b) Mean Cumulative Regret R(t)R(t) with ±1\pm1 Standard Error Bands: DP-BNN rapidly discovers the outer quadrants and sustains high optimal action selection, achieving the lowest cumulative regret (2,803.3 ±\pm 189.6) and outperforming Bootstrapped NN + Priors (4,309.4 ±\pm 829.2) and ϵ\epsilon-greedy (6,894.6 ±\pm 1,514.6). (c) Final Regret and Network Footprint: DP-BNN operates with a single neural network (1×\times memory footprint), whereas Bootstrapped NN + Priors requires 20 total networks (20×\times memory) and Deep Ensembles requires 5 networks (5×\times memory).

Conclusions and Future Work

We introduced Dirichlet Process Bayesian Neural Networks (DP-BNNs), which quantify epistemic uncertainty by placing a nonparametric prior on the data-generating distribution rather than on network weights. We illustrated the application of DP-BNNs to deep reinforcement learning by developing DP-DQN for randomized value functions. By drawing an action-value hypothesis for each episode rollout, DP-DQN realizes temporally consistent Thompson sampling with a single neural network, resolving hard exploration challenges while avoiding the memory and computational overhead of multi-network ensembles.

Several promising research directions emerge from this paradigm. On the theoretical side, establishing formal finite-sample regret bounds for DP-DQN that explicitly capture the dependence on the DP prior hyperparameters—namely the concentration parameter α\alpha, the base measure F0F_0, and the truncation level TT—presents a vital avenue of inquiry to rigorously characterize how prior mass and truncation accuracy govern exploration efficiency and asymptotic convergence ([39]). More broadly, designing structured base measures to incorporate domain-specific inductive biases presents an exciting future direction ([28, 33]), which is notoriously difficult to achieve in weight-space Bayesian neural networks ([60]). Finally, extending DP-BNN posteriors to continuous actor-critic architectures holds strong practical promise to eliminate the multi-critic ensembles commonly required to mitigate value overestimation or estimate uncertainty ([24]), enabling principled, sample-efficient continuous control with a single neural network.

Acknowledgments

The author is grateful to the Action Editor and the anonymous reviewers for their insightful and constructive reviews, which significantly improved the paper. The author warmly thanks Dr. Igor Prünster, Dr. Pierre Alquier, and Dr. Odalric-Ambrym Maillard for encouraging comments.

Reproducibility Statement

The source code, environment wrappers, configuration files, reproduction scripts, and pedagogical Python notebooks are available at https://github.com/sumilations/Dirichlet-Process-Bayesian-Neural-networks. Experimental hyperparameters, architectures, and evaluation protocols are detailed in Appendix § 13 (Table 2), while mathematical derivations and algorithmic analyses are provided in Appendices § 9–§ 12.

Supplementary Material: Technical Appendix

Bayesian Neural Networks via Dirichlet Process Priors on the Data-Generating Distribution for Randomized Value Functions in Deep Reinforcement Learning

Organization of the Appendix. The supplementary appendix is organized as follows:

  • Appendix A: Truncated stick-breaking representation, truncation bounds, the 99.9% residual mass rule, and galaxy velocity density estimation.

  • Appendix B: Base measure topological support conditions, 2D annular manifold benchmark formulation, and closed-form BALD derivations.

  • Appendix C: Dynamic stochastic mini-batch warmstart mechanics, prevention of prior attenuation, and Bellman credit propagation depth.

  • Appendix D: Stochastic optimism and deep exploration analysis, contrasting DP-BNNs against randomized prior ensembles (BootDQN-RP) and neural-linear approximations (BDQN), with empirical base measure ablations.

  • Appendix E: Consolidated empirical benchmark suite (Table 1) and hyperparameter protocols (Table 2) covering DeepSea, RiverSwim-6, NN-Chain, and Wheel Bandit.

  • Appendix F: Continuous state-space RL exploration on MountainCar-v0 with a model-free Brownian diffusive base measure.

  • Appendix G: Computational and memory complexity comparison across value-based deep RL paradigms (Table 3).

Complexity DimensionVanilla DQNParametric BDQNBootDQN-RP (KK networks)DP-DQN (Ours)
Active Neural Networks11KK1
Total Stored Parameters2d2d2d+∣Sfeat∣22d + |S_{\mathrm{feat}}|^23K⋅d3K \cdot d2d2d
Parameter Memory AsymptoticsO(d)\mathcal{O}(d)O(d+∣Sfeat∣2)\mathcal{O}(d + |S_{\mathrm{feat}}|^2)O(K⋅d)\mathcal{O}(K \cdot d)O(d)\mathcal{O}(d)
Optimizer State Buffers (Adam)2d2d2d2d2K⋅d2K \cdot d2d2d
Action Selection Latency / StepO(1⋅d)\mathcal{O}(1 \cdot d)O(d+∣A∣⋅∣Sfeat∣)\mathcal{O}(d + |A| \cdot|S_{\mathrm{feat}}|)O(K⋅d)\mathcal{O}(K \cdot d)O(1⋅d)\mathcal{O}(1 \cdot d)
Training FLOPs / EpisodeO(HΔ⋅B⋅d)\mathcal{O}\left(\frac{H}{\Delta} \cdot B \cdot d\right)O(HΔ⋅B⋅d)\mathcal{O}\left(\frac{H}{\Delta} \cdot B \cdot d\right)O(HΔ⋅K⋅B⋅d)\mathcal{O}\left(\frac{H}{\Delta} \cdot K \cdot B \cdot d\right)O(W⋅(B+T)⋅d)\mathcal{O}\left(W \cdot(B + T) \cdot d\right)
Posterior Sampling Overhead / EpisodeNoneO(∣Sfeat∣3)\mathcal{O}(|S_{\mathrm{feat}}|^3)NoneO(T+W⋅B)\mathcal{O}(T + W \cdot B) scalars
Temporal Consistency MechanismNone (dithering)Final-layer samplingEpisode head freezingEpisode network freezing
Sample Complexity in Horizon HHΩ(∣A∣H)\Omega(|A|^H)Ω(∣A∣H)\Omega(|A|^H)O(poly⁡(H))\mathcal{O}(\operatorname{poly}(H))O(poly⁡(H))\mathcal{O}(\operatorname{poly}(H))

Table 3. Computational and memory complexity comparison across value-based deep RL paradigms for an action-value network with d=∣θ∣d = |\theta| parameters, episode horizon HH, replay batch size BB, ensemble size KK, and prior truncation level TT.

Truncated Stick-Breaking Representation and Hyperparameter Selection

The finite stick-breaking representation of DP priors (Equations (5)–(6)) and the posterior random measure construction (Vashishtha & Maillard, [58]) provide an exact, constructive generative mechanism for sampling random probability measures (Sethuraman, [51]; Ishwaran & James, [26]). Rather than relying on heuristic or arbitrary cutoff levels, we determine the stick-breaking truncation level TT (the number of prior pseudo-observations) for the prior measure DP⁡(α,F0)\operatorname{DP}(\alpha, F_0) using a principled 99.9% expected residual probability mass rule.

Under Sethuraman’s stick-breaking construction, prior probability weights are generated via πk=Vk∏l<k(1−Vl)\pi_k = V_k \prod_{l<k}(1-V_l) with Vl∼i.i.d.Beta⁡(1,α)V_l \overset{\mathrm{i.i.d.}}{\sim} \operatorname{Beta}(1,\alpha). When the series is truncated at TT atoms, the residual probability mass unallocated to the truncated support is RT=∑k=T+1∞πk=∏k=1T(1−Vk)R_T = \sum_{k=T+1}^{\infty} \pi_k = \prod_{k=1}^{T}(1-V_k). Since E[1−Vk]=αα+1\mathbb{E}[1-V_k] = \frac{\alpha}{\alpha+1}, mutual independence of {Vk}k=1T\{V_k\}_{k=1}^{T} yields the exact closed-form expected residual mass:

E[RT]=∏k=1TE[1−Vk]=(αα+1)T.(19)\mathbb{E}[R_T] = \prod_{k=1}^{T}\mathbb{E}[1-V_k] = \left(\frac{\alpha}{\alpha+1}\right)^T . \tag*{(19)}

To ensure that the finite truncation captures at least 99.9% of the total prior probability mass (E[RT]≤10−3\mathbb{E}[R_T] \le10^{-3}), we require:

E[RT]=(αα+1)T≤10−3⟹T≥ln⁡(1000)ln⁡(1+1α)≈6.9078ln⁡(1+1α).(20)\mathbb{E}[R_T] = \left(\frac{\alpha}{\alpha+1}\right)^T \le10^{-3} \Longrightarrow T \ge\frac{\ln(1000)}{\ln\left(1+\frac{1}{\alpha}\right)} \approx\frac{6.9078}{\ln\left(1+\frac{1}{\alpha}\right)} . \tag*{(20)}

Equation (20) provides an explicit, quantitative guideline for configuring TT across our benchmark suite:

Reinforcement Learning Tasks (α=3.0\alpha= 3.0). In DeepSea and NN-Chain, evaluating Equation (20) gives T≥6.9078ln⁡(4/3)≈24.01T \ge\frac{6.9078}{\ln(4/3)} \approx24.01. Hence, any truncation level T≥25T \ge25 guarantees >99.9%> 99.9\% prior mass retention. In our standard implementation, setting T=50T = 50 captures over 99.9999% of the prior mass (E[RT]=(0.75)50≈5.66×10−7<10−6\mathbb{E}[R_T] = (0.75)^{50} \approx5.66 \times10^{-7} < 10^{-6}), completely eliminating truncation distortion while incurring negligible computational overhead.

Unit Concentration Baseline (α=1.0\alpha= 1.0). Under standard uninformative Dirichlet priors (α=1.0\alpha= 1.0), Equation (20) yields T≥6.9078ln⁡(2)≈9.96T \ge\frac{6.9078}{\ln(2)} \approx9.96, showing that just 10 atoms suffice to capture 99.9% of the prior mass.

Dispersed Regression Benchmark (α=10.0\alpha= 10.0). In the 2D annular manifold benchmark (Appendix § 10.§ 2), where high concentration α=10.0\alpha= 10.0 is deliberately selected to produce dispersed functional hypotheses in the cavity void, Equation (20) yields T≥6.9078ln⁡(1.10)≈72.5T \ge\frac{6.9078}{\ln(1.10)} \approx72.5. Setting T=50T = 50 captures over 99.1% of the total prior mass (E[RT]=(10/11)50≈0.0085\mathbb{E}[R_T] = (10/11)^{50} \approx0.0085).

Empirical Density Estimation on the Galaxy Velocity Dataset. To validate our stick-breaking posterior sampler empirically, we evaluate density estimation on the canonical galaxy velocity benchmark ([48]). The measurements are velocities at which galaxies in the Corona-Borealis region move away from our galaxy. When galaxies are clustered, the velocity density is multimodal, as evidenced in the empirical CDF in Figure 3 where mass concentrates in distinct interior modes. Starting with a DP⁡(α=2,F0=N(10,1))\operatorname{DP}(\alpha= 2, F_0 = \mathcal{N}(10, 1)) prior, the spread of distributions sampled from the DP posterior provides a well-calibrated confidence band of the density estimated through the DP.

DP prior and posterior density estimates on the galaxy velocity dataset

Figure 3. DP prior and posterior density estimates on the galaxy velocity dataset.

Prior Base Measure Design and Epistemic Uncertainty Formulation

In this section, we formalize the topological support conditions required for the DP prior base measure F0F_0 and detail its concrete realization for epistemic uncertainty quantification in spatial regression.

Base Measure Support Condition

In the initial exploration phase of learning, whether in supervised regression or reinforcement learning, observations are sparse or absent across entire regions of the input space. Value predictions and exploratory hypotheses are therefore driven almost entirely by the synthetic pseudo-observations generated through the DP prior base measure F0F_0. Because early exploratory actions have delayed, irreversible consequences in deep MDPs, the structure and domain support of F0F_0 are critical.

A natural and general formulation is to specify a factorized product base measure over transition tuples z=(s,a,r,s′,d)z=(s,a,r,s',d):

F0(s,a,r,s′,d)=F0s(s)×F0a(a)×F0r(r)×F0s′(s′)×F0d(d).(21)F_0(s,a,r,s',d)=F_{0s}(s)\times F_{0a}(a)\times F_{0r}(r)\times F_{0s'}(s')\times F_{0d}(d). \tag*{(21)}

The specification of state, action, and terminal components F0sF_{0s}, F0aF_{0a}, and F0dF_{0d} must strictly respect the physical domain and support of the underlying Markov Decision Process (with d=0d=0 for non-terminal continuing transitions). This requirement is mathematically dictated by the topological support properties of DPs:

Lemma 1 (Support of Dirichlet Processes ([22]). In the weak topology, the topological support of the DP DP⁡(α,F0)\operatorname{DP}(\alpha,F_0) is the set of all probability measures P⋆P^\star whose supports are contained within the support of the base measure:

supp⁡(DP⁡(α,F0))={P⋆∈M1(X):supp⁡(P⋆)⊆supp⁡(F0)}.(22)\operatorname{supp}(\operatorname{DP}(\alpha,F_0))=\{P^\star\in\mathcal{M}_1(\mathcal{X}):\operatorname{supp}(P^\star)\subseteq\operatorname{supp}(F_0)\}. \tag*{(22)}

Lemma 1 establishes that the DP posterior can place non-zero probability mass in an exploratory region if and only if that region is contained within the support of the base measure F0F_0. In practice, the factorized components are configured as follows:

Action Space Prior (F0aF_{0a}). For discrete action spaces with ∣A∣|\mathcal{A}| actions, F0aF_{0a} is chosen as a uniform categorical distribution over {1,…,∣A∣}\{1,\ldots,|\mathcal{A}|\}. For continuous action spaces, F0aF_{0a} is selected to span the admissible action bounds (e.g., Uniform⁡[amin⁡,amax⁡]\operatorname{Uniform}[a_{\min},a_{\max}]).

State Space and Transition Priors (F0s,F0s′F_{0s},F_{0s'}). Chosen to encapsulate the admissible state space S\mathcal{S} (e.g., uniform over coordinate bounds or standardized feature bounding boxes).

Reward Prior (F0rF_{0r}). Crucially, unlike supervised regression where observations are static, in reinforcement learning data collection is actively dictated by the agent’s policy: a pessimistic reward prior discourages exploration, preventing the agent from ever gathering experience in unvisited states. Therefore, F0rF_{0r} is designed not to replicate environment step penalties (which are learned exclusively through the empirical replay stream Pn\mathcal{P}_n), but to induce stochastic optimism ([39]): either via the uniform prior F0r=U(0,Rmax⁡)F_{0r}=\mathcal{U}(0,R_{\max}) on non-negative returns, or via zero-mean Gaussians N(0,σ02)\mathcal{N}(0,\sigma_0^2) where extreme-value order statistics across TT prior atoms (E[max⁡j=1Tr~j]≈σ02ln⁡T>0\mathbb{E}[\max_{j=1}^{T}\tilde{r}_j]\approx\sigma_0\sqrt{2\ln T}>0) naturally stimulate directed exploration without requiring knowledge of Rmax⁡R_{\max} or goal locations (Appendix § 12).

We now demonstrate how these foundational principles—the 99.9% mass truncation rule and the topological support condition—are concretely instantiated in static spatial regression. Appendix § 10.§ 2 details the geometry, factorized base measure design, and information-theoretic BALD epistemic uncertainty derivations for the 2D annular benchmark introduced in § 4.

Prior Base Measure and BALD Metric for the 2D Regression Benchmark

In this section, we provide the full mathematical formulation, prior base measure design, and hyperparameter specifications for the 2D epistemic uncertainty benchmark presented in § 4 and Figure 1.

Annular Manifold Geometry. Training data points {xi,yi}i=1n\{x_i,y_i\}_{i=1}^{n} (n=300n=300) are sampled uniformly on an annulus with 2D spatial coordinates x=(x1,x2)∈[−2.5,2.5]2x=(x_1,x_2)\in[-2.5,2.5]^2 and radial distance r=∥x∥2∈[1.3,2.45]r=\lVert x\rVert_2\in[1.3,2.45]. The scalar targets y∈[−1,1]y\in[-1,1] are generated via y=cos⁡(1.5πr)+ϵy=\cos(1.5\pi r)+\epsilon with additive Gaussian observation noise ϵ∼N(0,σaleatoric2)\epsilon\sim\mathcal{N}(0,\sigma_{\mathrm{aleatoric}}^2) where σaleatoric=0.30\sigma_{\mathrm{aleatoric}}=0.30. The central circular region r≤1.0r\le1.0 is completely void of training data (Figure 1A). A well-calibrated epistemic uncertainty estimator must detect this out-of-distribution cavity by predicting high uncertainty in the void V={x∈[−2.5,2.5]2:∥x∥2≤1.0}\mathcal{V}=\{x\in[-2.5,2.5]^2:\lVert x\rVert_2\le1.0\} and low uncertainty on the data support D={x∈[−2.5,2.5]2:1.3≤∥x∥2≤2.45}\mathcal{D}=\{x\in[-2.5,2.5]^2:1.3\le\lVert x\rVert_2\le2.45\}.

Bayesian Active Learning by Disagreement (BALD). Epistemic uncertainty is quantified information-theoretically using BALD ([25]), which measures the mutual information between the model output yy and the model parameters θ\theta conditioned on the dataset D\mathcal{D}:

BALD⁡(x)≜I(y,θ∣x,D)=H(y∣x,D)−Eθ∼p(θ∣D)[H(y∣x,θ)].(23)\operatorname{BALD}(x)\triangleq I(y,\theta\mid x,\mathcal{D})=H(y\mid x,\mathcal{D})-\mathbb{E}_{\theta\sim p(\theta\mid\mathcal{D})}[H(y\mid x,\theta)]. \tag*{(23)}

Intuitively, BALD isolates the information that learning the true model parameters θ\theta would provide about the prediction at test input xx, cleanly separating epistemic uncertainty from inherent aleatoric observation noise H(y∣x,θ)H(y \mid x,\theta). Under a Gaussian predictive distribution N(fθ(x),σaleatoric2)\mathcal{N}(f_\theta(x),\sigma_{\mathrm{aleatoric}}^2), the total predictive entropy across an ensemble of JJ posterior models {θ(j)}j=1J\{\theta^{(j)}\}_{j=1}^{J} is given by:

H(y∣x,D)≈12ln⁡(2πe(σepistemic2(x)+σaleatoric2))(24)H(y \mid x,\mathcal{D}) \approx\frac{1}{2}\ln\left(2\pi e\left(\sigma_{\mathrm{epistemic}}^2(x)+\sigma_{\mathrm{aleatoric}}^2\right)\right) \tag*{(24)}

where σepistemic2(x)=1J∑j=1J(fθ(j)(x)−fˉ(x))2\sigma_{\mathrm{epistemic}}^2(x)=\frac{1}{J}\sum_{j=1}^{J}\left(f_{\theta^{(j)}}(x)-\bar{f}(x)\right)^2 is the ensemble variance, with mean prediction fˉ(x)=1J∑j=1Jfθ(j)(x)\bar{f}(x)=\frac{1}{J}\sum_{j=1}^{J}f_{\theta^{(j)}}(x). The expected observation noise entropy is:

Eθ[H(y∣x,θ)]=12ln⁡(2πeσaleatoric2).(25)\mathbb{E}_{\theta}[H(y \mid x,\theta)]=\frac{1}{2}\ln(2\pi e\sigma_{\mathrm{aleatoric}}^2). \tag*{(25)}

Subtracting the two terms yields the closed-form expression for BALD in nats:

BALD⁡(x)=12ln⁡(1+σepistemic2(x)σaleatoric2).(26)\operatorname{BALD}(x)=\frac{1}{2}\ln\left(1+\frac{\sigma_{\mathrm{epistemic}}^2(x)}{\sigma_{\mathrm{aleatoric}}^2}\right). \tag*{(26)}

This metric evaluates strictly to zero when all posterior models agree (σepistemic2=0\sigma_{\mathrm{epistemic}}^2=0), and scales logarithmically as posterior disagreement increases.

Architecture and Training Hyperparameters. All evaluated neural network models share an identical multi-layer perceptron architecture comprising 3 hidden layers with 64 units per layer and ReLU activations, without Layer Normalization, mapping R2→R\mathbb{R}^{2}\to\mathbb{R}. Training is conducted using the Adam optimizer with a learning rate of 10−310^{-3} and batch size of 64 for 200 epochs across all models. For DP-BNN, posterior measure draws Pj∼DP⁡(αn,Fˉn)P_j\sim\operatorname{DP}(\alpha_n,\bar{F}_n) are drawn with J=10J=10 independent posterior samples.

Base Measure Construction and Prior Rationale. In accordance with Lemma 1, the support of the DP prior must encapsulate the entire domain of interest to allow posterior mass in regions lacking empirical data. We specify a factorized product base measure F0(x,y)=F0x(x)×F0y(y)F_0(x,y)=F_{0x}(x)\times F_{0y}(y) consisting of: (i) a continuous spatial input prior F0x=U([−2.5,2.5]2)F_{0x}=\mathcal{U}([-2.5,2.5]^2), ensuring uniform prior coverage across both the observed annulus and the unobserved cavity void, and (ii) a zero-mean Gaussian target prior F0y=N(0,σ02)F_{0y}=\mathcal{N}(0,\sigma_0^2) with dispersed target variance (σ0=1.5≫σaleatoric=0.30\sigma_0=1.5\gg\sigma_{\mathrm{aleatoric}}=0.30). We truncate the prior component at T=50T=50 synthetic pseudo-observations with concentration parameter α=10.0\alpha=10.0. Because the prior atoms sample diverse target values in the void with non-trivial Dirichlet weights, each posterior measure draw PjP_j pulls the network towards a distinct hypothesis in the void, naturally producing the sharp epistemic bubble observed in Figure 1.

Dynamic Stochastic Mini-Batch Warmstart and Algorithmic Dynamics

In this section, we provide a comprehensive analysis of the stochastic mini-batch warmstart mechanism introduced in § 5 and Algorithm 2, detailing why conditioning directly on the full replay buffer fails in reinforcement learning and how dynamic stick-breaking updates resolve this fundamental challenge.

Pathologies of Full-Buffer Conditioning and Static Freezing

In classical Bayesian nonparametric regression, one is given a static dataset D={zi}i=1n\mathcal{D}=\{z_i\}_{i=1}^{n} and conditions the DP prior DP⁡(α,F0)\operatorname{DP}(\alpha,F_0) directly on all nn observations, yielding the posterior:

P∣D∼DP⁡(α+n,nα+nPn+αα+nF0)(27)P\mid\mathcal{D}\sim\operatorname{DP}\left(\alpha+n,\frac{n}{\alpha+n}\mathbb{P}_n+\frac{\alpha}{\alpha+n}F_0\right) \tag*{(27)}

where Pn=1n∑i=1nδzi\mathbb{P}_n=\frac{1}{n}\sum_{i=1}^{n}\delta_{z_i} is the empirical distribution of observations. In reinforcement learning, however, the replay buffer B\mathcal{B} fundamentally violates the statistical assumptions of supervised learning:

Data Redundancy and Non-Uniformity. Early RL rollouts are overwhelmingly dominated by repetitive transitions in absorbing, suboptimal regions of the state space (e.g., falling into bottom-left corners in DeepSea or cycling through uninformative states). The replay buffer rapidly accumulates tens of thousands of near-identical transitions (M=∣B∣∼105−106M = |\mathcal{B}| \sim10^{5} - 10^{6}).

Prior Swamping and Epistemic Starvation. In standard full-buffer DP conditioning, the relative weight assigned to the prior base measure scales as:

ωprior=αα+M⟶M≫α0.(28)\omega_{\mathrm{prior}} = \frac{\alpha}{\alpha+ M} \underset{M \gg\alpha}{\longrightarrow} 0. \tag*{(28)}

While asymptotic concentration (ωprior→0\omega_{\mathrm{prior}} \to0) is desirable in stationary supervised learning, in exploration-sensitive RL it causes epistemic starvation: the prior base measure F0F_0, which is specifically designed to inject optimism into unexplored states, is overwhelmed by the sheer volume of redundant failure data. As a consequence, the agent ceases to explore and prematurely collapses into pessimistic, greedy exploitation of suboptimal trajectories.

Computational and Memory Bottlenecks. Constructing truncated stick-breaking weights p1,…,pMp_1,\ldots,p_M and performing backpropagation through a deep neural network over M∼105M \sim10^{5} samples at every single episode imposes an intolerable computational and memory burden.

Conversely, sampling a single mini-batch D⊂B\mathcal{D} \subset\mathcal{B} of size B≪MB \ll M and freezing it across all gradient steps creates severe empirical overfitting: the value function optimizes exclusively against an isolated empirical slice, ignoring the rest of the buffer and failing to propagate Bellman credit across multi-step trajectory chains.

Resolution via Dynamic Stochastic Mini-Batch Warmstart

Algorithm 2 overcomes the twin pathologies of computational overhead and prior swamping by performing stochastic optimization over dynamic, freshly sampled stick-breaking measures at episode boundaries.

Under the DP posterior, each sampled random measure decomposes into an empirical component over observed replay transitions and a prior component drawn from F0F_0. Rather than performing computationally prohibitive full-buffer optimization (∣B∣∼105|\mathcal{B}| \sim10^{5}), the W=⌈H/2⌉W = \lceil H/2 \rceil warmstart steps use mini-batch stochastic gradient descent to approximate the empirical component, while modulating prior salience online via Bellman temporal-difference surprise:

Episodic Prior Generation. At the beginning of episode kk, the agent samples synthetic prior transitions D~0={(s~j,a~j,r~j,s~j′,d~j)}j=1T∼iidF0\widetilde{\mathcal{D}}_0 = \{(\widetilde{s}_j,\widetilde{a}_j,\widetilde{r}_j,\widetilde{s}'_j,\widetilde{d}_j)\}_{j=1}^{T} \overset{\mathrm{iid}}{\sim} F_0 and computes prior stick weights qj(0)=Vj′∏l<j(1−Vl′)q_j^{(0)} = V'_j \prod_{l<j}(1-V'_l) with Vj′∼Beta⁡(1,α)V'_j \sim\operatorname{Beta}(1,\alpha) for j=1,…,Tj=1,\ldots,T. Because the warmstart phase is an iterative procedure approximating a single posterior draw, sampling the prior pseudo-atoms and stick weights once per episode instantiates a coherent, frozen Thompson sampling value hypothesis for the upcoming rollout.

Information Calibration via Bellman TD Surprise. In sparse-reward exploration, unguided initial rollouts inevitably accumulate thousands of redundant, unrewarded transitions. Standard Bayesian updating scaling with the raw buffer size (n=∣B∣∼105n = |\mathcal{B}| \sim10^{5}) would cause the prior weight to collapse prematurely (ωprior→0\omega_{\mathrm{prior}} \to0). From an information-theoretic standpoint, however, repeating predictable failure trajectories yields zero novel information about the environment. To prevent prior swamping, DP-DQN tracks an effective statistical sample count NstatN_{\mathrm{stat}} calibrated online by the Bellman TD surprise:

Nstat←Nstat+1B∑i=1Bmin⁡(1,∣δi∣σTD),where δi=yi−Q(si,ai;θ),(29)N_{\mathrm{stat}} \leftarrow N_{\mathrm{stat}} + \frac{1}{B}\sum_{i=1}^{B} \min\left(1,\frac{|\delta_i|}{\sigma_{\mathrm{TD}}}\right), \quad\text{where } \delta_i = y_i - Q(s_i,a_i;\theta), \tag*{(29)}

and σTD\sigma_{\mathrm{TD}} denotes the running standard deviation of Bellman errors. Transitions with near-zero Bellman error (∣δi∣≈0|\delta_i| \approx0) represent well-modeled dynamics that contribute negligible information, incrementing NstatN_{\mathrm{stat}} by ≈0\approx0. Only when the agent encounters statistically novel transitions (∣δi∣≥σTD|\delta_i| \ge\sigma_{\mathrm{TD}}) does NstatN_{\mathrm{stat}} increment toward 1.0.

Composite Stochastic Warmstart Updates. Across w=1,…,Ww = 1,\ldots,W warmstart steps, the online network is optimized against the episodic hypothesis using dynamic empirical mini-batches. At each step ww, a fresh empirical mini-batch Dw={(si,ai,ri,si′,di)}i=1B∼BD_w = \{(s_i, a_i, r_i, s_i', d_i)\}_{i=1}^{B} \sim\mathcal{B} is sampled uniformly at random from the replay buffer. The total prior probability mass assigned to the synthetic base transitions is sampled as:

Wprior∼Beta⁡(α+1,Nstat),(30)W_{\mathrm{prior}} \sim\operatorname{Beta}(\alpha+ 1, N_{\mathrm{stat}}), \tag*{(30)}

yielding expected prior weight E[Wprior]=α+1α+1+Nstat\mathbb{E}[W_{\mathrm{prior}}] = \frac{\alpha+1}{\alpha+1+N_{\mathrm{stat}}}. The remaining empirical probability mass (1−Wprior)(1-W_{\mathrm{prior}}) is partitioned across the BB mini-batch transitions via the multi-step stick-breaking recursion (Eq. (8)):

wiemp=(1−Wprior)w~i∑k=1Bw~k,where w~i=Vi∏k=i+1B(1−Vk),Vi∼Beta⁡(1,α+i),(31)w_i^{\mathrm{emp}} = (1-W_{\mathrm{prior}})\frac{\widetilde{w}_i}{\sum_{k=1}^{B}\widetilde{w}_k}, \qquad\text{where } \widetilde{w}_i = V_i\prod_{k=i+1}^{B}(1-V_k), \qquad V_i \sim\operatorname{Beta}(1,\alpha+i), \tag*{(31)}

with w~B=VB\widetilde{w}_B = V_B, forming the discrete composite stick-breaking measure:

Pw=∑i=1Bwiempδzi+Wprior∑j=1Tqj(0)δz~j.(32)P_w = \sum_{i=1}^{B}w_i^{\mathrm{emp}}\delta_{z_i}+W_{\mathrm{prior}}\sum_{j=1}^{T}q_j^{(0)}\delta_{\widetilde{z}_j}. \tag*{(32)}

Minimizing the composite DP-Bellman loss LDP(θ)\mathcal{L}_{\mathrm{DP}}(\theta) (Eq. (17)) via stochastic gradient descent updates online parameters θ\theta, while NstatN_{\mathrm{stat}} is calibrated online via Eq. (29).

Rollout with Frozen Policy. Upon completing the warmstart phase, the policy parameters are frozen for the rollout (θk←θ\theta_k \leftarrow\theta), and the agent acts greedily at=arg max⁡aQ(st,a;θk)a_t = \operatorname*{arg\,max}_a Q(s_t,a;\theta_k) across the entire rollout t=0,…,H−1t=0,\ldots,H-1. Freezing the parameters enforces multi-step temporal consistency across the trajectory.

Theoretical Guarantees of the Warmstart Scheme. This dynamic procedure provides four critical theoretical properties:

  • Preservation of Coherent Episodic Hypotheses: Generating prior pseudo-atoms {z~j}j=1T\{\widetilde{z}_j\}_{j=1}^{T} and prior stick weights qj(0)q_j^{(0)} once before the warmstart ensures the network fits a single, coherent value hypothesis throughout all WW optimization steps, preventing intra-episode prior drift.

  • Anti-Swamping and Persistent Stochastic Optimism: Because Wprior∼Beta⁡(α+1,Nstat)W_{\mathrm{prior}} \sim\operatorname{Beta}(\alpha+1,N_{\mathrm{stat}}), during unrewarded exploration rollouts where NstatN_{\mathrm{stat}} remains small, the expected prior salience E[Wprior]=α+1α+1+Nstat=O(1)\mathbb{E}[W_{\mathrm{prior}}] = \frac{\alpha+1}{\alpha+1+N_{\mathrm{stat}}} = O(1) remains permanently non-vanishing. The agent sustains consistent epistemic exploration drive regardless of the total replay buffer capacity ∣B∣∼105|\mathcal{B}| \sim10^5.

  • Unbiased Full-Buffer Integration via Monte Carlo SGD: Because mini-batches DwD_w are sampled uniformly from B\mathcal{B}, the expected empirical gradient is an unbiased Monte Carlo estimate over the full replay history B\mathcal{B}. The sequence of W=⌈H/2⌉W = \lceil H/2\rceil gradient updates propagates Bellman credit backward across the entire trajectory length without overfitting to any single static slice.

  • Direct Closed-Form Stick-Breaking vs. MCMC: Unlike Markov Chain Monte Carlo (MCMC) methods that require iterative Markov chain transitions, burn-in periods, and acceptance-rejection evaluations, stick-breaking generates exact, independent random measures in closed form with negligible scalar computation O(T+W⋅B)O(T+W\cdot B).

Bellman Error Propagation Depth and Choice of Warmstart Budget W=⌈H/2⌉W = \lceil H/2\rceil

In episodic reinforcement learning over horizon HH, temporal difference methods update value estimates via Bellman targets yi=ri+(1−di)γmax⁡a′Q(si′,a′;θ−)y_i = r_i + (1-d_i)\gamma\max_{a'}Q(s_i',a';\theta^{-}). Consequently, a single gradient step on a mini-batch propagates reward credit backward along an empirical trajectory chain by at most one temporal transition. In standard online Q-learning (such as Bootstrapped DQN, Osband et al. [42]), updates are executed every two environment steps, performing ⌊H/2⌋\lfloor H/2\rfloor backpropagation updates distributed throughout the rollout. To ensure strict algorithmic fairness and computational parity, DP-DQN amortizes these updates into W=⌈H/2⌉W=\lceil H/2\rceil warmstart gradient steps at the episode boundary. Crucially, choosing W≥H/2W \ge H/2 provides the exact gradient depth necessary for Bellman error signals to propagate backward across the full trajectory length HH, while freezing θk\theta_k during the subsequent rollout guarantees complete multi-step temporal consistency—the foundational requirement of pure Thompson sampling.

Stochastic Optimism and Deep Exploration: DP-BNN vs. Ensembles vs. BDQN

A foundational question in Bayesian reinforcement learning is whether exploration requires explicit, deterministic optimism (such as heuristic upper confidence bounds Q+cσQ + c\sigma or engineered reward bonuses) or whether it arises naturally from posterior sampling ([40, 39]). In this section, we formalize the theory of stochastic optimism, contrast the exploratory mechanisms of randomized prior ensembles (BootDQN-RP) and neural-linear Bayesian Deep Q-Networks (BDQN) against DP-BNNs, and provide empirical ablations across prior base measure geometries.

The Principle of Stochastic Optimism in Deep Exploration

To make the distinction between exploration paradigms mathematically precise, we define both deterministic and stochastic optimism:

Definition 1 (Deterministic Optimism ([9, 4]). A value-function estimator Q~:S×A→R\widetilde{Q}: S \times A \to\mathbb{R} satisfies deterministic optimism if, for every state-action pair (s,a)∈S×A(s,a) \in S \times A, the estimate dominates the optimal action-value function:

Q~(s,a)≥Q∗(s,a)with probability 1 (or with high probability ≥1−δ).(33)\widetilde{Q}(s,a) \ge Q^*(s,a) \quad\text{with probability 1 (or with high probability } \ge1-\delta\text{).} \tag*{(33)}

Deterministic optimism is commonly realized by adding an explicit upper-confidence bound Q~(s,a)=Q^(s,a)+βσ(s,a)\widetilde{Q}(s,a) = \widehat{Q}(s,a) + \beta\sigma(s,a) (e.g., UCRL2) or initializing unvisited values to the theoretical maximum Rmax⁡1−γ\frac{R_{\max}}{1-\gamma} (e.g., R-MAX).

While deterministic optimism guarantees polynomial regret in small, tabular MDPs, it enforces an exhaustive exploration pattern: the agent is required to visit every suboptimal branch until its upper confidence bound drops below the true value of optimal trajectories, leading to severe sample inefficiencies in deep horizons ([39]). Randomized posterior sampling resolves this bottleneck via stochastic optimism:

Definition 2 (Stochastic Optimism in Posterior Sampling ([40, 39, 44]). Let P(⋅∣B)P(\cdot\mid B) denote the posterior distribution over action-value functions conditioned on the empirical replay history BB. The posterior distribution P(⋅∣B)P(\cdot\mid B) satisfies stochastic optimism with parameter p0∈(0,1]p_0 \in(0,1] if, for any unvisited state s∈Ss \in S, a sampled value function Q~∼P(⋅∣B)\widetilde{Q} \sim P(\cdot\mid B) dominates the optimal value function with strictly positive probability:

PQ~∼P(⋅∣B)(max⁡a∈AQ~(s,a)≥V∗(s))≥p0>0.(34)\mathbb{P}_{\widetilde{Q}\sim P(\cdot\mid B)}\left(\max_{a\in A}\widetilde{Q}(s,a) \ge V^*(s)\right) \ge p_0 > 0. \tag*{(34)}

Unlike local dithering (ϵ\epsilon-greedy), an action-value function sampled from a functional posterior is temporally consistent across the entire episode horizon HH. When a sample satisfies max⁡aQ~(s,a)≥V∗(s)\max_a \widetilde{Q}(s,a) \ge V^*(s) along an unexplored path, the agent commits to following that path for the full duration of the rollout. Furthermore, under the DP posterior mixture, the weight allocated to the prior base measure F0F_0 contracts as αα+∣B∣\frac{\alpha}{\alpha+\lvert B\rvert}. Consequently, unexplored transitions maintain high prior variance (sustaining stochastic optimism), while frequently visited transitions collapse to their true empirical targets.

Practical Construction: Knowledge of Rmax⁡R_{\max} Suffices for Stochastic Optimism. In standard reinforcement learning theory ([9, 52, 40]), the maximum achievable reward Rmax⁡R_{\max} (or the reward support [0,Rmax⁡][0,R_{\max}]) is universally assumed to be known or normalized. Crucially, to construct a stochastically optimistic base measure that solves deep exploration across horizons evaluated up to N=50N = 50, the practitioner requires no knowledge of transition graphs, optimal trajectories, scrambled action mappings, or goal locations: knowledge of the scalar bound Rmax⁡R_{\max} alone is completely sufficient. The standard uninformative prior over bounded rewards in [0,Rmax⁡][0,R_{\max}] is simply the uniform distribution U(0,Rmax⁡)U(0,R_{\max}). This guarantees that unexplored state-action pairs maintain prior variance with positive expectation E[r]=Rmax⁡/2>0\mathbb{E}[r] = R_{\max}/2 > 0, naturally satisfying stochastic optimism (P(max⁡aQ~(s,a)≥V∗(s))>0\mathbb{P}(\max_a \widetilde{Q}(s,a) \ge V^*(s)) > 0) ([1, 2]) without requiring hand-engineered intrinsic bonuses, count-based density estimators, or environment-specific heuristics.

Attaining Stochastic Optimism with Zero-Mean Normal Priors via Order Statistics

Remarkably, even when the base measure possesses an entirely zero-mean symmetric distribution like the Standard Normal N(0,σ2)\mathcal{N}(0,\sigma^2) (E[r]=0\mathbb{E}[r] = 0), stochastic optimism can be naturally realized through extreme value order statistics in multi-sample posterior evaluation. If an agent evaluates MM candidate functional samples {X1,…,XM}∼i.i.d.N(0,σ2)\{X_1,\ldots,X_M\}\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\mathcal{N}(0,\sigma^2), the expected maximum among these samples—the top order statistic X(M)=max⁡1≤i≤MXiX_{(M)}=\max_{1\le i\le M}X_i—is strictly positive and scales as E[X(M)]≈σ2ln⁡M\mathbb{E}[X_{(M)}]\approx\sigma\sqrt{2\ln M}. Through Monte Carlo simulation (10610^6 trials), we observe the exact upward shift in effective prior optimism:

As shown in the table, drawing M=10M=10 candidate functional evaluations in Multi-Sample DP-DQN automatically shifts the effective exploration frontier upward by +1.54σ+1.54\sigma. Consequently, multi-sample posterior sampling inherently converts symmetric, zero-mean functional variance into effective stochastic optimism without requiring manual reward inflation or multiple physical ensemble networks.

To empirically validate this principle on a deep exploration task, we benchmarked this order-statistic base measure directly on DeepSea-20 across random seeds using a standardized single MLP-20. Under a plain zero-mean Standard Normal prior (M=1M=1, E[r]=0.0\mathbb{E}[r]=0.0), the agent collapses into boundary failure, achieving a 0% solve rate (never discovering the terminal goal). In sharp contrast, simply setting M=10M=10 (evaluating the top order statistic r=max⁡1≤i≤10Xir=\max_{1\le i\le10}X_i from Xi∼i.i.d.N(0,1)X_i\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\mathcal{N}(0,1)) achieves a 100% solve rate across all seeds (612.0±\pm153.2 episodes, first discovered at Episode 552.0±\pm154.5). This demonstrates that even when individual prior draws are strictly zero-mean Gaussians, order-statistic multi-sampling naturally generates the requisite +1.54σ+1.54\sigma stochastic optimism to overcome continuous step costs and solve DeepSea-20 without modifying the single-network architecture.

Comparative Exploration Mechanisms: Ensembles vs. BDQN vs. DP-BNN

How Bootstrapped DQN with Randomized Priors Accomplishes Stochastic Optimism. Bootstrapped DQN with Randomized Prior Functions (BootDQN-RP) (Osband et al., [42]) achieves stochastic optimism by decomposing each ensemble head k∈{1,…,K}k\in\{1,\ldots,K\} additively:

Qk(s,a;θk)=f(s,a;θk)+β⋅p(s,a;θ~k),(35)Q_k(s,a;\theta_k)=f(s,a;\theta_k)+\beta\cdot p(s,a;\tilde{\theta}_k), \tag*{(35)}

where f(⋅;θk)f(\cdot;\theta_k) is a trainable neural network, p(⋅;θ~k)p(\cdot;\tilde{\theta}_k) is a fixed, non-trainable randomized prior network with parameters θ~k∼N(0,σP2I)\tilde{\theta}_k\sim\mathcal{N}(0,\sigma_P^2 I), and β>0\beta>0 scales prior influence. On unvisited states where f≈0f\approx0, predictions are dominated by βpk\beta p_k. Across KK heads, extreme value properties of independent Gaussians guarantee E[max⁡kβpk]≈βσfunc2ln⁡K>0\mathbb{E}[\max_k\beta p_k]\approx\beta\sigma_{\mathrm{func}}\sqrt{2\ln K}>0, ensuring at least one head is optimistic. On visited states, empirical loss drives f→Q∗−βpkf\to Q^*-\beta p_k, canceling the prior on data support. However, BootDQN-RP requires maintaining KK physical neural networks and target networks (O(K)O(K) compute and memory), and small discrete ensembles can suffer from bootstrap head collapse on deceptive tasks if all KK heads prematurely sample suboptimal paths.

Why Neural-Linear Bayesian Deep Q-Networks (BDQN) Fail. While parameter-space Bayesian neural networks—such as Mean-Field Variational Inference (Blundell et al., [8]), Laplace approximations (MacKay, [34]), and MC-Dropout (Gal & Ghahramani, [20]; Riquelme et al., [47])—broadly struggle in deep Q-learning due to well-documented variance collapse in unobserved regions (Foong et al., [17]) and non-stationary Bellman targets, the canonical single-network architecture for Thompson sampling is the neural-linear Bayesian Deep Q-Network (BDQN) (Azizzadenesheli et al., [5]). BDQN splits the action-value function into a deterministic feature extractor ϕψ(s)∈Rp\phi_\psi(s)\in\mathbb{R}^p followed by Bayesian linear regression over final-layer weights wa∣βa∼N(μa,σa2Σa)w_a\mid\beta_a\sim\mathcal{N}(\mu_a,\sigma_a^2\Sigma_a) with precision Σa−1=Σ0−1+1σ2∑i:ai=aϕψ(si)ϕψ(si)⊤\Sigma_a^{-1}=\Sigma_0^{-1}+\frac{1}{\sigma^2}\sum_{i:a_i=a}\phi_\psi(s_i)\phi_\psi(s_i)^\top. Action values are sampled via Q~(s,a)=w~a⊤ϕψ(s)\tilde{Q}(s,a)=\tilde{w}_a^\top\phi_\psi(s).

Despite its lightweight design, BDQN suffers from linear regret on deep exploration tasks (incurring 9,959 ±\pm 5 regret on DeepSea-20, identical to vanilla DQN; Figure 2a). This limitation stems from three structural factors:

1. Deep Feature Collapse on Unvisited States. Because Bayesian uncertainty is confined strictly to the linear readout layer, the feature backbone ϕψ(s)\phi_{\psi}(s) is trained deterministically on sparse, unrewarded failure data. It maps unexplored states to degenerate representations (ϕψ(sunvisited)≈0)(\phi_{\psi}(s_{\mathrm{unvisited}}) \approx0), causing predictive variance σ2(s,a)=ϕψ(s)TΣaϕψ(s)→0\sigma^{2}(s,a) = \phi_{\psi}(s)^{\mathsf{T}}\Sigma_{a}\phi_{\psi}(s) \to0 to extinguish across the unvisited frontier regardless of the final-layer prior.

2. Non-Stationary Covariates Corrupt Posterior Updates. Exact Bayesian regression requires stationary inputs. In BDQN, ϕψt(s)\phi_{\psi_t}(s) changes with every gradient step, meaning the precision matrix Σa−1\Sigma_{a}^{-1} accumulates stale outer products evaluated under obsolete parameter snapshots ψτ≠ψt\psi_{\tau} \ne\psi_{t}, invalidating posterior calibration.

3. Subspace Projection and Epistemic Shrinkage. Redundant rollouts in absorbing early states inflate eigenvalue mass along dominant feature directions. Because deep layers share weights, unexplored states project onto these empirical directions, causing Σa\Sigma_{a} to aggressively shrink predictive variance and pulling sampled values toward pessimistic empirical means (Q~≈μaTϕ≤0)(\widetilde{Q} \approx\mu_{a}^{\mathsf{T}}\phi\le0). This violates stochastic optimism (P(Q~≥Q∗)→0)(\mathbb{P}(\widetilde{Q} \ge Q^{*}) \to0) and halts exploration.

How DP-BNNs Overcome BDQN and Ensemble Methods. DP-BNNs overcome the structural limitations of neural-linear BDQN by placing the DP prior directly on the data-generating distribution in experience space (s,a,r,s′,d)(s, a, r, s', d), rather than on a linear final layer or parametric weights. The entire deep neural network is optimized end-to-end against the nonparametrically sampled measure PwP_{w}. Prior pseudo-transitions {z~j}j=1T∼F0\{\widetilde{z}_{j}\}_{j=1}^{T} \sim F_{0} provide global, non-linear function-space exploration across the full depth of the network, preventing feature collapse. By freezing the sampled value hypothesis θk\theta_{k} for each rollout, DP-DQN guarantees multi-step temporal consistency across the entire trajectory with a single unified neural network, achieving the deep exploration of an ensemble at the lightweight computational cost of standard DQN.

Empirical Investigation Across Prior Base Measures

To empirically verify this principle and confirm that DP-DQN does not rely on hand-engineered optimistic goal priors, we conducted a systematic ablation across three distinct reward base measure distributions on both canonical RiverSwim-6 (N=6,H=50N = 6, H = 50) and DeepSea-10 (N=10N = 10) using identical single MLP-20 architectures:

Uniform Prior (U(0,1)\mathcal{U}(0,1)). Draws reward atoms uniformly across the support [0,1][0,1] for all state-action pairs without encoding any target location coordinates (prior mean μ=+0.5\mu= +0.5).

Zero-Mean Standard Normal Prior (N(0,1)\mathcal{N}(0,1)). Uninformative prior with zero expected return everywhere (μ=0.0,σ=1.0\mu= 0.0, \sigma= 1.0), providing zero target bias or privileged goal information.

Pessimistic Prior (N(−1.0,1.0)\mathcal{N}(-1.0,1.0)). Assumes all unexplored transitions yield negative reward on average (μ=−1.0,σ=1.0\mu= -1.0, \sigma= 1.0), testing the behavior under severe risk aversion.

As illustrated in Figure 4(a), on canonical RiverSwim-6, both the zero-mean standard normal prior (μ=0.0\mu= 0.0) and the uniform prior (μ=+0.5\mu= +0.5) achieve a 100% solve rate, reaching the upstream jackpot in 27.4±8.127.4 \pm8.1 and 33.4±14.833.4 \pm14.8 episodes respectively, and accumulating over 450 cumulative return. Crucially, neither prior contains any inductive bias favoring the rightward jackpot. Exploration succeeds because prior variance (σ>0\sigma> 0) generates stochastically optimistic value samples that propagate backward along the chain via Bellman updates. Conversely, under an explicitly pessimistic prior (μ=−1.0\mu= -1.0), the agent believes unexplored upstream transitions yield negative rewards (E[r]=−1.0\mathbb{E}[r] = -1.0). Because the local downstream trap yields +0.05>−1.0+0.05 > -1.0, the agent evaluates the known downstream trap as strictly superior to the unexplored river, becoming permanently trapped in 80% of seeds.

Stochastic optimism across base measures

Figure 4. Stochastic optimism across base measures (MLP-20 with LayerNorm). (a) Cumulative return on RiverSwim-6: uniform U(0,1)\mathcal{U}(0,1) and standard normal N(0,1)\mathcal{N}(0,1) solve the task across 100% of seeds, while a pessimistic prior N(−1,1)\mathcal{N}(-1,1) traps 80% of runs. (b) Cumulative regret on DeepSea-10: optimistic and zero-mean priors discover the goal without privileged target coordinates, whereas a pessimistic prior causes boundary collapse and linear regret.

Figure 4(b) illustrates the critical distinction between zero-mean perturbations and principled stochastic optimism on DeepSea. In DeepSea, traversing the optimal diagonal incurs an immediate per-step penalty of −0.01/N-0.01/N at every step. On small horizons (N=10N = 10), zero-mean standard normal priors N(0,1)\mathcal{N}(0,1) can occasionally discover the terminal goal (Episode 276). However, as the horizon scales to N≥20N \ge20, zero-mean random fluctuations cannot sustain 20 to 50 consecutive coordinated steps against the continuous step drag, collapsing into boundary failure.

In sharp contrast, the uniform prior U(0,Rmax⁡)\mathcal{U}(0,R_{\max}) provides the strictly necessary stochastic optimism: because its expected reward is E[r]=Rmax⁡/2=+0.5≫−0.01/N\mathbb{E}[r] = R_{\max}/2 = +0.5 \gg-0.01/N, unexplored transitions maintain sufficient positive value to decisively overcome the local step penalty, enabling DP-DQN to scale seamlessly from N=10N = 10 all the way to N=50N = 50. Conversely, under an explicitly pessimistic prior (μ=−1.0\mu= -1.0), the agent fears the step penalty, immediately cascades to the left boundary, and suffers linear regret across all episodes.

Comprehensive Empirical Benchmark Suite and Implementation Details

To evaluate the generality, scalability, and robustness of DP-BNNs across diverse decision-making tasks, we benchmark DP-DQN against competitive baselines across diverse testbeds: deceptive exploration in NN-Chain, deep exploration in canonical RiverSwim-6, and contextual bandit exploration on the Wheel Bandit benchmark [47] (with the large-scale DeepSea scaling suite presented in the main text, § 5 and Figure 2). A consolidated summary is presented in Table 1.

Table 1: Consolidated empirical evaluation across diverse decision-making and exploration benchmarks (mean ±\pm standard error across seeds). All DP-BNN results are obtained using a single neural network (single MLP-20 with LayerNorm for DeepSea-20, RiverSwim-6, and Deceptive NN-Chain; 2-layer 64×6464 \times64 MLP with LayerNorm for DeepSea-50 and MountainCar-v0; 3-layer MLP-64 for contextual bandits).

Candidate Samples (MM)M=1M=1M=2M=2M=4M=4M=8M=8M=10M=10M=20M=20M=50M=50
Simulated E[max⁡iXi]\mathbb{E}[\max_i X_i]0.00 σ0.00\,\sigma+0.56 σ+0.56\,\sigma+1.03 σ+1.03\,\sigma+1.42 σ+1.42\,\sigma+1.54 σ+1.54\,\sigma+1.87 σ+1.87\,\sigma+2.25 σ+2.25\,\sigma
Empirical Std. Dev.1.00 σ1.00\,\sigma0.83 σ0.83\,\sigma0.70 σ0.70\,\sigma0.61 σ0.61\,\sigma0.59 σ0.59\,\sigma0.53 σ0.53\,\sigma0.46 σ0.46\,\sigma
Theoretical 2ln⁡M\sqrt{2\ln M}0.000.001.181.181.671.672.042.042.152.152.452.452.802.80

Table 1.

BenchmarkMetricVanilla / BaselineBootDQN-RP / PSRLDP-BNN (Ours)
DeepSea N=20N = 20Episodes to Solve>20,000> 20{,}000 (DQN)5,210 ±\pm 604602 ±\pm 104
DeepSea N=50N = 50 (64×6464 \times64 MLP)Episodes to Solve>1015> 10^{15} (DQN)>20,000> 20{,}0001,925 ±\pm 184
RiverSwim-6 (N(0,1)\mathcal{N}(0,1) Prior)Episodes to Solve44.0 ±\pm 15.2 (DQN)7.0 ±\pm 1.4 (PSRL)27.4 ±\pm 8.1
Deceptive NN-Chain (N=10N = 10)Cum. Regret1,420.5 ±\pm 112.0 (DQN)681.4 ±\pm 92.6153.2 ±\pm 18.4
Wheel Bandit (δ=0.9\delta= 0.9)1.5k-Step Regret6,894.6 ±\pm 1,514.6 (ϵ\epsilon-Gr.)4,309.4 ±\pm 829.22,803.3 ±\pm 189.6
MountainCar-v0 (Continuous)Episodes to Solve85 ±\pm 12 (DQN)15 ±\pm 3 (BootDQN)16.8 ±\pm 7.4

Table 1 (PDF p. 25).

DeepSea Scaling Protocol (N×NN \times N Exploration DAG). The empirical scaling and sample complexity results for DeepSea (N=10N = 10 to N=50N = 50) are presented in the main text (§ 5, Figure 2) and illustrated in Figure 5a. Formally, DeepSea is defined as a directed acyclic graph (DAG) MDP with state space S={(h,c):0≤h<N,0≤c≤h}\mathcal{S} = \{(h, c) : 0 \le h < N, 0 \le c \le h\} representing vertical depth hh and horizontal position cc, with initial state s0=(0,0)s_0 = (0, 0) and episode length NN. At each time step hh, the agent chooses between two discrete actions A={0,1}\mathcal{A} = \{0, 1\}. Under the standard bsuite protocol (Osband et al., [43]), an unknown row-specific action mapping hides the true rightward direction behind an independent random permutation per row, preventing heuristic action bias. Stepping rightward advances the agent to (h+1,c+1)(h + 1, c + 1) and incurs a minor deterministic step penalty of −0.01/N-0.01/N; stepping leftward transitions to (h+1,max⁡(0,c−1))(h + 1, \max(0, c - 1)) with zero penalty. The environment provides a single positive terminal reward r=+1.0r = +1.0 located exclusively at the bottom-right corner (N−1,N−1)(N - 1, N - 1), which can only be reached if the agent takes the designated rightward action at every single step along the trajectory. Any single leftward deviation irreversibly commits the agent to zero-reward terminal leaves. Consequently, a uniform random policy discovers the goal with probability exactly (1/2)N=2−N(1/2)^N = 2^{-N} (9.5×10−79.5 \times10^{-7} for N=20N = 20, and 8.8×10−168.8 \times10^{-16} for N=50N = 50), rendering myopic dithering methods (such as ϵ\epsilon-greedy and standard DQN) asymptotically incapable of exploration (O(2N)O(2^N) sample complexity). A run is recorded as solved at the earliest episode where the rolling average return over 20 consecutive episodes exceeds 0.9 (matching optimal return 1.0−0.01=0.991.0 - 0.01 = 0.99), after which cumulative regret flatlines. In contrast, DP-DQN’s non-parametric DP prior generates temporally correlated, optimistic value functions that drive directed exploration straight to the optimal terminal goal, solving DeepSea-20 in 602±104602 \pm104 episodes and DeepSea-50 in 1,925±1841{,}925 \pm184 episodes (Table 1).

Architectural schematics and Markov Decision Process graphs for the canonical deep exploration benchmarks

Figure 5. Architectural schematics and Markov Decision Process (MDP) graphs for the canonical deep exploration benchmarks evaluated in Appendix § 13. (a) DeepSea (N×NN \times N DAG): An agent traverses from (0,0)(0, 0) across NN stages. Taking the designated rightward action at every row reaches the jackpot goal at (N−1,N−1)(N - 1, N - 1) with reward +1.0+1.0 (paying a step penalty −0.01/N-0.01/N), whereas any leftward step permanently traps the agent in zero-reward branches. An unguided random policy discovers the goal with probability 2−N2^{-N} (9.5×10−79.5 \times10^{-7} for N=20N = 20; 8.8×10−168.8 \times10^{-16} for N=50N = 50), requiring temporally consistent value function posterior samples. (b) RiverSwim-6: A 6-state chain where swimming downstream (a0a_0) is deterministic and trapped by an immediate sub-optimal reward r=0.05r = 0.05 at s0s_0, while swimming upstream (a1a_1) fights against a strong current (P(s+1∣s,a1)=0.6P(s + 1 \mid s, a_1) = 0.6, P(s∣s,a1)=0.3P(s \mid s, a_1) = 0.3, P(s−1∣s,a1)=0.1P(s - 1 \mid s, a_1) = 0.1) to reach the distal goal at s5s_5 (r=1.0r = 1.0). (c) Deceptive NN-Chain: A sequential corridor where choosing a0a_0 at s0s_0 yields an immediate lure reward (r=0.01r = 0.01) that prematurely terminates the rollout. Only persistent, multi-step posterior exploration traverses the silent zero-reward corridor (s1→⋯→sN−1s_1 \to\cdots\to s_{N-1}) to unlock the terminal jackpot (r=1.0r = 1.0).

Deep Exploration on Canonical RiverSwim-6 (Uninformative Prior)

The RiverSwim environment (Strehl & Littman, [52]; Osband et al., [40]) tests an agent’s ability to overcome an immediate sub-optimal reward trap in the presence of strong environmental stochasticity (Figure 5b). The MDP consists of N=6N = 6 linearly arranged states S={0,1,2,3,4,5}\mathcal{S} = \{0, 1, 2, 3, 4, 5\}, starting at the downstream state s0=0s_0 = 0 with horizon H=50H = 50. The agent has two actions A={a0,a1}\mathcal{A} = \{a_0, a_1\}, where a0a_0 corresponds to swimming downstream (with @references♀♀♀♀ сияс the current) and a1a_1 corresponds to swimming upstream (against the current). Downstream swimming is deterministic: taking a0a_0 at state s>0s > 0 transitions to s−1s - 1 with probability 1.0, while taking a0a_0 at s0s_0 stays at s0s_0 and yields an immediate deterministic reward r(0,a0)=0.05r(0, a_0) = 0.05. In contrast, swimming upstream against the current is highly stochastic: from any intermediate state s∈{1,2,3,4}s \in\{1,2,3,4\}, taking a1a_1 successfully advances to s+1s + 1 with probability 0.6, remains at ss with probability 0.3, and slips downstream to s−1s - 1 with probability 0.1. At s0s_0, a1a_1 transitions to s1s_1 with probability 0.6 and remains at s0s_0 with probability 0.4. At the upstream terminal state s5s_5, swimming right succeeds with probability 0.6 and yields the maximal terminal reward r(5,a1)=1.0r(5, a_1) = 1.0 (falling back to s4s_4 with probability 0.4). The minor reward at s0s_0 acts as an exploration trap: because r=0.05r = 0.05 is immediately accessible, standard ϵ\epsilon-greedy exploration quickly reinforces the myopic policy of idling at s0s_0 and fails to reach s5s_5. For DP-DQN, the factorized base measure F0(s,a,r,s′,d)=F0s(s)×F0a(a)×F0r(r)×F0s′(s′)×F0d(d)F_0(s, a, r, s', d) = F_{0s}(s) \times F_{0a}(a) \times F_{0r}(r) \times F_{0s'}(s') \times F_{0d}(d) samples discrete states uniformly over the chain s~,s~′∼Uniform⁡({0,…,5})\tilde{s}, \tilde{s}' \sim\operatorname{Uniform}(\{0,\ldots,5\}), actions a~∼Uniform⁡({a0,a1})\tilde{a} \sim\operatorname{Uniform}(\{a_0,a_1\}), prior rewards from an uninformative standard normal distribution r~∼N(0,1.0)\tilde{r} \sim\mathcal{N}(0,1.0) everywhere (providing zero target bias or privileged goal information), and continuing terminal flag d~=0\tilde{d} = 0. Driven purely by functional posterior variance via stick-breaking draws, single-network DP-DQN (single MLP-20 with LayerNorm) solves RiverSwim-6 across 100% of random seeds in only 27.4±8.127.4 \pm8.1 episodes, achieving a cumulative return of 474.2±68.2474.2 \pm68.2 (Table 1).

Deceptive Exploration on NN-Chain. In the deceptive NN-Chain benchmark (N=10N = 10, episode length NN; Figure 5c), an agent must traverse a sequential corridor S={0,1,…,N−1}\mathcal{S} = \{0,1,\ldots,N - 1\} from start state s0=0s_0 = 0. At state s0s_0, choosing action a0a_0 yields an immediate minor lure reward (r=0.01r = 0.01) but prematurely terminates the episode (or resets to s0s_0). Choosing action a1a_1 advances to state s1s_1 with zero intermediate reward (r=0r = 0). At intermediate states s∈{1,…,N−2}s \in\{1,\ldots,N - 2\}, choosing a1a_1 advances to s+1s + 1 (r=0r = 0), while choosing a0a_0 slips backward to s−1s - 1 (r=0r = 0). Only upon successfully traversing all intermediate states to reach sN−1s_{N-1} does choosing a1a_1 yield the maximal terminal reward (r=1.0r = 1.0). Standard exploration algorithms suffer severe deception because the immediate reward at s0s_0 reinforces the greedy policy of exiting immediately. Furthermore, ensemble methods such as Bootstrapped DQN with randomized priors (Osband et al., [42]) can suffer from bootstrap head collapse when all ensemble heads prematurely fixate on the sub-optimal left branch. In contrast, DP-DQN equips the single network with an exploratory DP base measure on transitions: states are sampled uniformly s~∼Uniform⁡({0,…,N−1})\tilde{s} \sim\operatorname{Uniform}(\{0,\ldots,N - 1\}), actions a~∼Uniform⁡({a0,a1})\tilde{a} \sim\operatorname{Uniform}(\{a_0,a_1\}), and next states s~′=min⁡(s~+1,N−1)\tilde{s}' = \min(\tilde{s} + 1,N - 1) for a~=1\tilde{a} = 1 (and s~′=1,0\tilde{s}' = 1,0 for a~=0\tilde{a} = 0), with prior rewards r~∼N(1.0,0.22)\tilde{r} \sim\mathcal{N}(1.0,0.2^2) for a=1a = 1 and N(0.0,0.12)\mathcal{N}(0.0,0.1^2) for a=0a = 0. This maintains global functional support across value functions and discovers the optimal rightward policy on Episode 1 across all seeds (100% discovery rate), reducing cumulative regret by 77.5% relative to BootDQN-RP (153.2 ± 18.4 vs. 681.4 ± 92.6; Table 1).

Deep Contextual Bandits on Wheel Bandit (δ=0.9\delta= 0.9): Geometry and Exploration Trap. We benchmarked DP-BNN on the canonical exploration challenge of the Deep Bayesian Bandit suite (Riquelme et al., [47]): the Wheel Bandit (d=2d = 2, K=5K = 5, exploration parameter δ=0.9\delta= 0.9; Figure 6a). In this benchmark, context vectors x=(x1,x2)\mathbf{x} = (x_1,x_2) are sampled uniformly from the 2D unit disk X={x∈R2:∥x∥2≤1}\mathcal{X} = \{\mathbf{x} \in\mathbb{R}^2 : \lVert\mathbf{x}\rVert_2 \le1\}. The environment provides a safe base arm (a=0a = 0) that yields a deterministic reward of r=1.0r = 1.0 across the entire domain. The remaining four arms a∈{1,2,3,4}a \in\{1,2,3,4\} correspond to the four geometric quadrants of the plane (Q1Q_1 to Q4Q_4). If a context falls in the interior disk ∥x∥2≤δ\lVert\mathbf{x}\rVert_2 \le\delta, arms 1..4 yield zero reward (r=0.0r = 0.0). However, if the context falls in the outer rim ∥x∥2>δ\lVert\mathbf{x}\rVert_2 > \delta and lies in quadrant QaQ_a, pulling arm aa yields a high-payoff reward of r=50.0r = 50.0 (while the other three arms yield 0.0).

The Wheel Bandit represents an extreme exploration bottleneck because the safe interior disk occupies δ2=0.92=81%\delta^2 = 0.9^2 = 81\% of the total context probability measure, whereas the high-reward outer rim Xrare={x:∥x∥2>0.9}\mathcal{X}_{\mathrm{rare}} = \{x : \lVert x\rVert_2 > 0.9\} appears only 1−δ2=19%1 - \delta^2 = 19\% of the time (≈4.75%\approx4.75\% probability mass per optimal quadrant). Because 81% of early interactions occur in the interior where arms 1..4 yield zero return, standard exploration schemes (such as ϵ\epsilon-greedy, Deep Ensembles, and Neural-Linear) quickly observe that arm 0 is superior to arms 1..4 in the bulk of the domain. Lacking principled functional uncertainty in rare regions, their predictive variance over arms 1..4 collapses; consequently, when a rare context on the boundary ∥x∥2>0.9\lVert\mathbf{x}\rVert_2 > 0.9 finally arrives, the agent fails to explore and greedily pulls arm 0 (r=1.0r = 1.0), incurring catastrophic linear regret Ω(T)\Omega(T) (Figure 6b).

To solve this task, DP-BNN specifies a factorized DP base measure F0(x,a,r)=F0x(x)×F0a(a)×F0r(r)F_0(x,a,r) = F_{0x}(x) \times F_{0a}(a) \times F_{0r}(r) where context vectors are sampled uniformly from the unit disk x~=(ucos⁡ϕ,usin⁡ϕ)\tilde{x} = (\sqrt{u}\cos\phi,\sqrt{u}\sin\phi) (u∼U(0,1)u \sim\mathcal{U}(0,1), ϕ∼U(0,2π)\phi\sim\mathcal{U}(0,2\pi)), arm choices are uniform a~∼Uniform⁡({0,1,2,3,4})\tilde{a} \sim\operatorname{Uniform}(\{0,1,2,3,4\}), and prior rewards follow an optimistic Gaussian distribution r~∼N(1.0,0.52)\tilde{r} \sim\mathcal{N}(1.0, 0.5^{2}) (Table 2). By pairing empirical replay reweighting with synthetic prior pseudo-observations across the full unit disk, DP-BNN sustains functional epistemic variance on the rare outer boundary without collapsing into the interior trap. As shown in Figure 6b, single-network DP-BNN achieves the lowest cumulative regret across all evaluated methods (2,803.3 ±\pm 189.6 over 1,500 steps across 5 seeds), substantially outperforming Bootstrapped NN with randomized priors (4,309.4 ±\pm 829.2), ϵ\epsilon-greedy (6,894.6 ±\pm 1,514.6), Deep Ensembles (7,990.0 ±\pm 1,689.7), and Neural-Linear (9,592.3 ±\pm 866.2). Crucially, as shown in Figure 6c, DP-BNN achieves this performance using a single neural network (1×\times parameter memory), whereas Bootstrapped NN with randomized priors requires 20 total networks (10 active + 10 prior networks, 20×\times memory) and Deep Ensembles requires 5 networks (5×\times memory).

Absence of Warmstart Steps in Contextual Bandits (H=1H = 1). Unlike sequential reinforcement learning where the warmstart budget W=⌈H/2⌉W = \lceil H/2\rceil is required to propagate delayed temporal-difference credit across multi-step trajectory chains and freeze policies for rollout consistency (Appendix § 11), contextual bandits possess horizon H=1H = 1 and discount factor γ=0\gamma= 0. Because each interaction is an instantaneous single-step decision without state transitions (s′s' does not exist), there are no recursive Bellman error chains to propagate. Following standard contextual bandit benchmarks ([47]), learning operates as supervised regression from context-action pairs (x,a)(x,a) to reward rr: the network updates periodically on the buffer plus TT prior atoms from F0F_0, and Thompson sampling is performed per context xtx_t, obviating episodic warmstart steps (W=−W = - in Table 2).

Unified Hyperparameter Protocols Across All Benchmarks. Table 2 consolidates the complete structural and optimization hyperparameters across all empirical evaluations in this work, ensuring full algorithmic transparency and reproducibility.

Continuous State-Space RL Exploration on MountainCar-v0

While the benchmarks in Appendix § 13 evaluate tabular representations, discrete grids, and continuous contextual bandits, many physical control problems operate in continuous state spaces with non-linear dynamical constraints. To evaluate DP-DQN in continuous state-space exploration, we benchmark on the canonical MountainCar-v0 task [54].

Task Formulation and Exploration Challenge. MountainCar-v0 features a two-dimensional continuous state space S=[−1.2,0.6]×[−0.07,0.07]S = [-1.2, 0.6] \times[-0.07, 0.07] representing horizontal car position xx and velocity vv, and a three-action discrete space A={0,1,2}A = \{0, 1, 2\} corresponding to pushing left (a=0a = 0), coasting (a=1a = 1), and pushing right (a=2a = 2). The agent is initialized at the bottom of a sinusoidal valley (x∈[−0.6,−0.4]x \in[-0.6, -0.4], v=0v = 0) and must reach the hilltop goal flag (x≥0.5x \ge0.5) within horizon H=200H = 200. The engine is underpowered: accelerating directly forward cannot overcome the gravitational force of the slope, requiring the agent to discover a coordinated swinging strategy that builds momentum by moving left before driving up the right hill. The reward is strictly negative at every step (rt=−1.0r_t = -1.0) with termination upon reaching the flag (rterm=0.0r_{\mathrm{term}} = 0.0). Under local dithering (ϵ\epsilon-greedy), exploration is exceedingly slow because random actions cancel out momentum, trapping the car in the bottom of the valley.

Model-Free Brownian Diffusive Base Measure (Zero Dynamics Knowledge). To establish that DP-DQN does not rely on domain-specific differential equations or privileged physics knowledge, we specify a model-free diffusive base measure F0=F0s×F0a×F0r×F0s′×F0dF_0 = F_{0s} \times F_{0a} \times F_{0r} \times F_{0s'} \times F_{0d}. States s~=(x~,v~)\tilde{s} = (\tilde{x}, \tilde{v}) are sampled uniformly over domain support [−1.2,0.6]×[−0.07,0.07][-1.2, 0.6] \times[-0.07, 0.07], actions a~∼Uniform⁡({0,1,2})\tilde{a} \sim\operatorname{Uniform}(\{0,1,2\}), and prior rewards follow a uniform distribution F0r=U(0,1.0)F_{0r} = \mathcal{U}(0,1.0) with continuing flag d~=0\tilde{d} = 0. Next-state transitions are generated via continuous Brownian diffusion without physical equations of motion: s~′=clip⁡(s~+Δ,S)\tilde{s}' = \operatorname{clip}(\tilde{s} + \Delta, S), where Δ∼N(0,diag⁡(σx2,σv2))\Delta\sim\mathcal{N}(0,\operatorname{diag}(\sigma_x^2,\sigma_v^2)) with diffusion scales σx=0.04\sigma_x = 0.04 and σv=0.007\sigma_v = 0.007, chosen according to the canonical bounding-box heuristic as 2%2\%–5%5\% of each state coordinate’s domain span (2.2% of position span 1.80 and 5.0% of velocity span 0.14, matching the characteristic 1-step displacement scale). Driven purely by functional posterior variance via stick-breaking draws, single-network DP-DQN (2-layer 64×6464 \times64 MLP with LayerNorm) solves MountainCar-v0 across all random seeds in 16.8±7.416.8 \pm7.4 episodes (reaching the goal as early as Episode 4), outperforming vanilla DQN (85±1285 \pm12 episodes) and matching 20-head Bootstrapped DQN (15±315 \pm3 episodes) while delivering a 3.8×3.8\times wall-clock training speedup (12.412.4 s vs. 47.147.1 s for 100 episodes) due to single-network parameter efficiency.

Computational and Memory Complexity Analysis

In this section, we analyze the asymptotic computational, memory, and scaling complexity of DP-DQN in comparison with multi-network ensemble architectures (Bootstrapped DQN with randomized priors; Osband et al. [42]), parametric Bayesian value-function methods (BDQN; Azizzadenesheli et al. [5]), and standard deep Q-learning (Mnih et al. [36]). A comparative summary of complexity orders is presented in Table 3.

Parameter Footprint and Memory Scaling. Let d=∣θ∣d = \lvert\theta\rvert denote the parameter count of a single action-value neural network. Multi-network ensemble methods such as BootDQn-RP maintain an ensemble of KK distinct neural networks (K=20K = 20 in standard DeepSea benchmarks). For each ensemble member

k∈{1,…,K}k \in\{1, \ldots, K\}, the algorithm instantiates an active trainable network fθkf_{\theta_k}, a non-trainable randomized prior network pθ~kp_{\tilde{\theta}_k}, and a tracking target network fθk−f_{\theta_k^-}, yielding 3K⋅d3K \cdot d stored parameters (O(K⋅d)\mathcal{O}(K \cdot d) asymptotic scaling). In stark contrast, DP-DQN represents Bayesian epistemic uncertainty nonparametrically directly in experience space via the DP base measure F0F_0. Consequently, DP-DQN operates on a single active neural network θ\theta and a single target network θ−\theta^-, requiring only 2d2d stored weights (O(d)\mathcal{O}(d) asymptotic scaling), achieving a strict KK-fold reduction in active trainable parameters and a 1.5K1.5K-fold (30×30\times for K=20K = 20) reduction in total stored model footprint. Furthermore, first-order adaptive optimizers (e.g., Adam) maintain running first- and second-moment momentum accumulators for every trainable parameter, requiring 2d2d auxiliary state buffers for DP-DQN versus 2K⋅d2K \cdot d buffers for BootDQN-RP, eliminating memory thrashing and cache overhead during training updates.

Training FLOPs Scaling and Sampling Overhead per Episode. Consider an episodic MDP with horizon HH. In standard online deep Q-learning and BootDQN-RP, stochastic gradient updates are executed every Δ\Delta environment steps (typically Δ=2\Delta= 2). For an ensemble of KK networks evaluated over empirical mini-batches of size BB, each network executes a backpropagation pass requiring Cbackprop⋅B⋅dC_{\mathrm{backprop}} \cdot B \cdot d floating-point operations (where Cbackprop≈2C_{\mathrm{backprop}} \approx2 for standard feedforward architectures). Over the entire episode of HH steps, the cumulative training compute scales as:

FLOPsBootDQN−RP=(HΔ)⋅K⋅Cbackprop⋅B⋅d=O(H⋅K⋅B⋅d).(36)\mathrm{FLOPs}_{\mathrm{BootDQN-RP}} = \left(\frac{H}{\Delta}\right) \cdot K \cdot C_{\mathrm{backprop}} \cdot B \cdot d = \mathcal{O}(H \cdot K \cdot B \cdot d). \tag*{(36)}

In contrast, DP-DQN freezes the active policy network θk\theta_k during the rollout to maintain complete multi-step temporal consistency, completely bypassing intra-episode backpropagation. All network optimization is amortized into W=⌈H/2⌉W = \lceil H/2 \rceil warmstart gradient updates at episode boundaries evaluated over composite mini-batches of size B+TB + T (empirical transitions plus synthetic prior atoms). In addition to network backpropagation, DP-DQN executes O(T)\mathcal{O}(T) scalar operations to sample prior stick weights once per episode, and O(B)\mathcal{O}(B) scalar operations to sample empirical weights at each warmstart step, totaling O(T+W⋅B)\mathcal{O}(T + W \cdot B) scalar operations per episode. Because T+W⋅B≪W⋅(B+T)⋅dT + W \cdot B \ll W \cdot(B + T) \cdot d (e.g., ≈650\approx650 scalar stick-breaking operations versus ≈2.3×107\approx2.3 \times10^{7} cumulative training backpropagation FLOPs per episode on DeepSea-20), this stick-breaking sampling overhead is negligible relative to tensor arithmetic. The per-episode training FLOPs evaluate to:

FLOPsDP-DQN=W⋅Cbackprop⋅(B+T)⋅d=O(W⋅(B+T)⋅d).(37)\mathrm{FLOPs}_{\mathrm{DP\text{-}DQN}} = W \cdot C_{\mathrm{backprop}} \cdot(B + T) \cdot d = \mathcal{O}\left(W \cdot(B + T) \cdot d\right). \tag*{(37)}

Recalling that W=⌈H/2⌉≈H/ΔW = \lceil H/2\rceil\approx H/\Delta, the computational ratio of DP-DQN relative to standard vanilla DQN evaluates to:

FLOPsDP-DQNFLOPsVanilla-DQN=W⋅Cbackprop⋅(B+T)⋅d(H/Δ)⋅Cbackprop⋅B⋅d≈1+TB.(38)\frac{\mathrm{FLOPs}_{\mathrm{DP\text{-}DQN}}}{\mathrm{FLOPs}_{\mathrm{Vanilla\text{-}DQN}}} = \frac{W \cdot C_{\mathrm{backprop}} \cdot(B + T) \cdot d}{(H/\Delta) \cdot C_{\mathrm{backprop}} \cdot B \cdot d} \approx1 + \frac{T}{B}. \tag*{(38)}

Because the prior truncation level TT is moderate (T∈[25,50]T \in[25, 50] via the 99.9% mass rule) relative to typical batch sizes B∈[64,128]B \in[64, 128], this ratio represents only a modest 1.2× to 1.8× factor in per-episode backpropagation compute over standard DQN, in exchange for upgrading sample complexity from exponential Ω(∣A∣H)\Omega(|\mathcal{A}|^{H}) to polynomial O(poly⁡(H))\mathcal{O}(\operatorname{poly}(H)). The per-step execution latencies reported in Table 4 are measured by amortizing total episode wall-clock time over horizon HH.

Simultaneously, the computational ratio of DP-DQN relative to BootDQN-RP evaluates to:

FLOPsDP-DQNFLOPsBootDQN-RP=W⋅(B+T)⋅d(H/Δ)⋅K⋅B⋅d≈B+TK⋅B=1K(1+TB).(39)\frac{\mathrm{FLOPs}_{\mathrm{DP\text{-}DQN}}}{\mathrm{FLOPs}_{\mathrm{BootDQN\text{-}RP}}} = \frac{W \cdot(B + T) \cdot d}{(H/\Delta) \cdot K \cdot B \cdot d} \approx\frac{B + T}{K \cdot B} = \frac{1}{K}\left(1 + \frac{T}{B}\right). \tag*{(39)}

In our canonical configurations (K=20K = 20, B=64B = 64, T=50T = 50), this ratio evaluates to 120(1+50/64)≈0.089\frac{1}{20}(1 + 50/64) \approx0.089, yielding an asymptotic ≈11×\approx11\times reduction in per-episode backpropagation operations.

Action Inference Complexity per Step. At each environment step tt, the agent selects an exploratory action. For BootDQN-RP, evaluating the value function requires either querying all KK heads to compute posterior voting statistics or indexing the active head and adding the forward evaluation of its randomized prior network, requiring O(K⋅d)\mathcal{O}(K \cdot d) operations. In contrast, DP-DQN requires only a single forward pass through the frozen network θk\theta_k: at=arg⁡max⁡aQ(st,a;θk)a_t = \arg\max_a Q(s_t, a; \theta_k), scaling strictly as O(1⋅d)\mathcal{O}(1 \cdot d) (O(1)\mathcal{O}(1) network latency).

Exploration Complexity: Posterior Sampling vs. Local Dithering. In MDPs requiring deep multi-step exploration over horizon HH, exploration efficiency is fundamentally governed by the temporal consistency of the agent’s policy. Local dithering schemes (such as ϵ\epsilon-greedy in DQN or Gaussian action noise in continuous control) make independent exploratory perturbations at each step. In environments where optimal credit requires an extended sequence of coordinated actions (such as traversing HH steps along the diagonal in DeepSea), the probability that independent dithering selects the optimal path by chance decays exponentially as (1/∣A∣)H(1/|\mathcal{A}|)^H. Consequently, any local dithering heuristic incurs an exponential sample complexity lower bound:

Sample ComplexityDithering=Ω(∣A∣H).(40)\mathrm{Sample\ Complexity}_{\mathrm{Dithering}} = \Omega\left(|\mathcal{A}|^H\right). \tag*{(40)}

In stark contrast, by freezing an action-value function sampled from a functional posterior satisfying stochastic optimism (P(Q≥Q∗)≥pmin⁡>0\mathbb{P}(Q \ge Q^*) \ge p_{\min} > 0) ([1, 2, 40]), posterior sampling achieves provably polynomial sample complexity O(poly⁡(H,∣S∣,∣A∣))\mathcal{O}(\operatorname{poly}(H, |\mathcal{S}|, |\mathcal{A}|)) in tabular MDPs. DP-DQN preserves this polynomial deep-exploration capability nonparametrically with a single neural network, bypassing both the exponential sample wall of dithering heuristics and the KK-fold compute penalty of physical network ensembles.

References

  1. [1]Shipra Agrawal and Navin Goyal. Analysis of Thompson sampling for the multi-armed bandit problem. In Conference on Learning Theory (COLT), pp. 39–1. JMLR Workshop and Conference Proceedings, 2012.arxiv.org/abs/1111.1797
  2. [2]Shipra Agrawal and Randy Jia. Optimistic posterior sampling for reinforcement learning: worst-case regret bounds. In Advances in Neural Information Processing Systems (NeurIPS), volume 30, 2017.
  3. [3]Julyan Arbel, Konstantinos Pitas, Mariia Vladimirova, and Vincent Fortuin. A primer on Bayesian neural networks: Review and debates. arXiv preprint arXiv:2309.16314, 2023.arxiv.org/abs/2309.16314
  4. [4]Peter Auer, Thomas Jaksch, and Ronald Ortner. Near-optimal regret bounds for reinforcement learning. Advances in neural information processing systems, 21, 2008.
  5. [5]Kamyar Azizzadenesheli, Emma Brunskill, and Animashree Anandkumar. Efficient exploration through Bayesian deep Q-networks. In 2018 Information Theory and Applications Workshop (ITA), pp. 1–9. IEEE, 2018.arxiv.org/abs/1802.04412
  6. [6]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.arxiv.org/abs/1607.06450
  7. [7]Marc G Bellemare, Will Dabney, and Rémi Munos. A distributional perspective on reinforcement learning. In International conference on machine learning, pp. 449–458. PMLR, 2017.arxiv.org/abs/1707.06887
  8. [8]Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural network. In International conference on machine learning, pp. 1613–1622. PMLR, 2015.
  9. [9]Ronen I Brafman and Moshe Tennenholtz. R-max-a general polynomial time algorithm for near-optimal reinforcement learning. Journal of Machine Learning Research, 3(Oct):213–231, 2002.
  10. [10]Ismaël Castillo. Bayesian Nonparametric Statistics: École d’Été de Probabilités de Saint-Flour LI–2023, volume 2358 of Lecture Notes in Mathematics. Springer, 2024.
  11. [11]Richard Dearden, Nir Friedman, and David Andre. Bayesian Q-learning. In AAAI/IAAI, pp. 761–768, 1998.
  12. [12]Audrey Durand, Odalric-Ambrym Maillard, and Joelle Pineau. Streaming kernel regression with provably adaptive mean, variance, and regularization. In International Conference on Artificial Intelligence and Statistics (AISTATS), pp. 1849–1857, 2018.arxiv.org/abs/1708.00768
  13. [13]Vikranth Dwaracherla, Kavosh Asadi, and Ian Osband. Hypermodels for exploration. In International Conference on Learning Representations, 2020.arxiv.org/abs/2006.07464
  14. [14]Bradley Efron and Robert J Tibshirani. An introduction to the bootstrap. Chapman and Hall/CRC, 1994.
  15. [15]Damien Ernst, Pierre Geurts, and Louis Wehenkel. Tree-based batch mode reinforcement learning. Journal of Machine Learning Research, 6(Apr):503–556, 2005.
  16. [16]Thomas S. Ferguson. A Bayesian analysis of some nonparametric problems. The Annals of Statistics, 1(2):209–230, 1973.DOI
  17. [17]Andrew YK Foong, Yingzhen Li, José Miguel Hernández-Lobato, and Richard E Turner. “In-between” uncertainty in Bayesian neural networks. In ICML Workshop on Uncertainty and Robustness in Deep Learning, 2019.arxiv.org/abs/1906.11537
  18. [18]Meire Fortunato, Mohammad Gheshlaghi Azar, Bilal Piot, Jacob Menick, Ian Osband, Alex Graves, Vlad Mnih, Alistair Muldal, Thomas Degris, Shane Legg, Charles Blundell, and Jan Leike. Noisy networks for exploration. In International Conference on Learning Representations, 2018.arxiv.org/abs/1706.10295
  19. [19]Francesco Gaffi, Antonio Lijoi, and Igor Prünster. Random probability measures with fixed mean distributions. The Annals of Applied Probability, 35(4):2239–2261, 2025.DOI
  20. [20]Yarin Gal and Zoubin Ghahramani. Dropout as a Bayesian approximation: Representing model uncertainty in deep learning. In international conference on machine learning, pp. 1050–1059. PMLR, 2016.arxiv.org/abs/1506.02142
  21. [21]Mohammad Ghavamzadeh, Shie Mannor, Joelle Pineau, and Aviv Tamar. Bayesian reinforcement learning: A survey. Foundations and Trends® in Machine Learning, 8(5-6):359–483, 2015.
  22. [22]Subhashis Ghosal. The Dirichlet process, related priors and posterior asymptotics. In Nils Lid Hjort, Chris Holmes, Peter Müller, and Stephen G. Walker (eds.), Bayesian Nonparametrics, pp. 35–79. Cambridge University Press, 2010.
  23. [23]Subhashis Ghosal and Aad W van der Vaart. Fundamentals of Nonparametric Bayesian Inference, volume 44. Cambridge University Press, 2017.
  24. [24]Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning (ICML), pp. 1861–1870, 2018.arxiv.org/abs/1801.01290
  25. [25]Neil Houlsby, Ferenc Huszár, Zoubin Ghahramani, and Máté Lengyel. Bayesian active learning for classification and preference learning. arXiv preprint arXiv:1112.5745, 2011.arxiv.org/abs/1112.5745
  26. [26]Hemant Ishwaran and Lancelot F James. Gibbs sampling methods for stick-breaking priors. Journal of the American Statistical Association, 96(453):161–173, 2001.DOI
  27. [27]Emilie Kaufmann, Nathaniel Korda, and Rémi Munos. Thompson sampling: An asymptotically optimal finite-time analysis. In International Conference on Algorithmic Learning Theory (ALT), pp. 199–213. Springer, 2012.arxiv.org/abs/1205.4217
  28. [28]Martin Klissarov and Marlos C. Machado. Deep laplacian-based options for temporally-extended exploration. In International Conference on Machine Learning (ICML), pp. 17067–17088. PMLR, 2023.arxiv.org/abs/2301.11181
  29. [29]Branislav Kveton, Csaba Szepesvari, Sharan Vaswani, Zheng Wen, Tor Lattimore, and Mohammad Ghavamzadeh. Garbage in, reward out: Bootstrapping exploration in multi-armed bandits. In International Conference on Machine Learning, pp. 3601–3610. PMLR, 2019.arxiv.org/abs/1811.05154
  30. [30]Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1612.01474
  31. [31]Antonio Lijoi and Igor Prünster. Distributional properties of means of random probability measures. Statistics Surveys, 3:47–95, 2009.
  32. [32]Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.arxiv.org/abs/1509.02971
  33. [33]Marlos C. Machado, André Barreto, Doina Precup, and Michael Bowling. Temporal abstraction in reinforcement learning with the successor representation. Journal of Machine Learning Research, 24(80):1–69, 2023.
  34. [34]David JC MacKay. Information theory, inference and learning algorithms. Cambridge university press, 2003.
  35. [35]Od alric-Am brym Maillard. Mathematics of statistical sequential decision making. HDR dissertation, Université de Lille, 2019.
  36. [36]Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rus u, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. nature, 518(7540):529–533, 2015.DOI
  37. [37]Pietro Muliere and Luca Tardella. Approximating distributions of random functionals of Ferguson–Dirichlet priors. Canadian Journal of Statistics, 26(2):283–297, 1998.DOI
  38. [38]Yaniv Oren, Viliam Vadocz, Matthijs T. J. Spaan, and Wendelin Boehmer. Epistemic Monte Carlo tree search. In International Conference on Learning Representations (ICLR), 2025.
  39. [39]Ian Osband and Benjamin Van Roy. Why is posterior sampling better than optimism for reinforcement learning? In International conference on machine learning, pp. 2701–2710. PMLR, 2017.arxiv.org/abs/1607.00215
  40. [40]Ian Osband, Daniel Russo, and Benjamin Van Roy. (more) efficient reinforcement learning via posterior sampling. Advances in Neural Information Processing Systems, 26, 2013.arxiv.org/abs/1306.0940
  41. [41]Ian Osband, Charles Blundell, Alexander Pritzel, and Benjamin Van Roy. Deep exploration via bootstrapped DQN. Advances in neural information processing systems, 29, 2016.arxiv.org/abs/1602.04621
  42. [42]Ian Osband, John Aslanides, and Albin Cassirer. Randomized prior functions for deep reinforcement learning. Advances in neural information processing systems, 31, 2018.
  43. [43]Ian Osband, Yotam Doron, Matteo Hessel, John Aslanides, Eren Sezener, Andre Saraiva, Katrina McKinney, Tor Lattimore, Csaba Szepesvari, Satinder Singh, et al. Behaviour suite for reinforcement learning. arXiv preprint arXiv:1908.03568, 2019a.arxiv.org/abs/1908.03568
  44. [44]Ian Osband, Benjamin Van Roy, Daniel J Russo, and Zheng Wen. Deep exploration via randomized value functions. Journal of Machine Learning Research, 20(124):1–62, 2019b.
  45. [45]Martin L Puterman. Markov decision processes. Handbooks in operations research and management science, 2:331–434, 1990.
  46. [46]Martin Riedmiller. Neural fitted Q iteration–first experiences with a data efficient neural reinforcement learning method. In European Conference on Machine Learning, pp. 317–328. Springer, 2005.
  47. [47]Carlos Riquelme, George Tucker, and Jasper Snoek. Deep Bayesian bandits showdown: An empirical comparison of Bayesian deep networks for Thompson sampling. arXiv preprint arXiv:1802.09127, 2018.
  48. [48]Kathryn Roeder. Density estimation with confidence sets exemplified by superclusters and voids in the galaxies. Journal of the American Statistical Association, 85(411):617–624, 1990.
  49. [49]Donald B. Rubin. The Bayesian Bootstrap. The Annals of Statistics, 9(1):130–134, 1981.DOI
  50. [50]Daniel J Russo, Benjamin Van Roy, Abbas Kazerouni, Ian Osband, Zheng Wen, et al. A tutorial on Thompson sampling. Foundations and Trends® in Machine Learning, 11(1):1–96, 2018.
  51. [51]Jayaram Sethuraman. A constructive definition of Dirichlet priors. Statistica Sinica, 4(2):639–650, 1994.
  52. [52]Alexander L. Strehl and Michael L. Littman. An analysis of model-based interval estimation for Markov decision processes. Journal of Computer and System Sciences, 74(8):1309–1331, 2008.
  53. [53]Malcolm Strens. A Bayesian approach to reinforcement learning. In Proceedings of the Seventeenth International Conference on Machine Learning (ICML), pp. 943–950, 2000.
  54. [54]Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction, volume 1. MIT press Cambridge, 1998.DOI
  55. [55]William R Thompson. On the likelihood that one unknown probability exceeds another in view of the evidence of two samples. Biometrika, 25(3-4):285–294, 1933.
  56. [56]Hado van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double Q-learning. In AAAI Conference on Artificial Intelligence, volume 30, pp. 2094–2100, 2016.arxiv.org/abs/1509.06461
  57. [57]Sumit Vashishtha. Bayesian Reinforcement Learning with Dirichlet Processes. PhD thesis, Inria & Université de Lille, 2026.DOI
  58. [58]Sumit Vashishtha and Odalric-Ambrym Maillard. Leveraging priors on distribution functions for multi-arm bandits. Reinforcement Learning Journal, 6:1600–1623, 2025.
  59. [59]Max Welling and Yee W Teh. Bayesian learning via stochastic gradient Langevin dynamics. In Proceedings of the 28th international conference on machine learning (ICML-11), pp. 681–688, 2011.
  60. [60]Andrew Gordon Wilson and Pavel Izmailov. Bayesian deep learning and a probabilistic perspective of generalization. In Advances in Neural Information Processing Systems (NeurIPS), volume 33, pp. 4697–4708, 2020.arxiv.org/abs/2002.08791

Paper details

vlnc:W_62rdgnfb
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Not recorded for this paper · View statement →

Looking for related papers…
Contents