Exact Bayes prediction enjoys fast predictive regret guarantees, but exact posterior updating or representation may be too costly for online use. We study when these statistical guarantees are preserved by computational approximations. We show that the cumulative price of posterior approximation can be governed by the interaction between the contraction radius of the exact Gibbs posterior and the Wasserstein distance between the approximate and exact posteriors. Our general theorem shows that whenever exact Bayes prediction achieves a fast regret bound, any approximate posterior method that tracks the exact posterior with sufficient accuracy inherits the same fast regret, up to an additive term determined by the approximation error. Three online learning examples are developed. For linear models with strongly convex regularized losses, a projected Langevin algorithm yields an approximate posterior that achieves logarithmic regret. For an infinite-dimensional canonical exponential family sequence model over a Sobolev ellipsoid, a prior-preserving truncation method attains the minimax predictive regret rate with sublinear memory and constant update cost per observation. For random-design Gaussian process (GP) regression, a sparse variational posterior with inducing variables achieves the same predictive regret rate as the exact GP, but at substantially lower computational cost.
Bayesian online prediction maintains a distribution over parameters and uses it as the mixing law for the next prediction: after t observations, the posterior Πt induces the predictive mixture for round t+1. Under logarithmic loss such as negative log-likelihood, this construction has an exceptional cumulative structure: the one-step predictive normalizers telescope into a marginal likelihood, so that cumulative predictive regret can be analyzed through a single integrated likelihood ratio rather than by controlling the prediction error separately at every round. In regular parametric models, this connection leads to the classical logarithmic redundancy and regret behavior of Bayes mixtures. The information-theoretic analysis of Clarke and Barron (1990) establishes the asymptotic redundancy of Bayesian mixtures in regular parametric families, while (Xie and Barron, 2000) develop closely related asymptotic minimax regret results for universal coding, gambling, and sequential prediction.
The same phenomenon has a natural interpretation from online learning. Under log loss, Bayesian updating is an instance of exponential weighting, and logarithmic loss is mixable, so a mixture predictor can compete sharply with a fixed expert or parameter chosen in hindsight (Vovk, 1990; Cesa-Bianchi and Lugosi, 2006). Kakade and Ng (2004) derive online bounds for Bayesian algorithms and show how Bayesian predictors can be analyzed as online learning procedures without stochastic assumptions on the outcome sequence. More generally, exponential-weights methods admit regret guarantees under a variety of mixable and exp-concave losses, with fast rates under suitable curvature or stochastic conditions (Hazan et al., 2007; van Erven et al., 2015; van der Hoeven et al., 2018; Jun and Ohn, 2026). The resulting viewpoint is broader than ordinary Bayes: posterior-like exponential weights can be formed from generic losses, and the same variational structure underlying Bayesian marginal likelihoods can be used to compare a mixture predictor with a fixed parameter or comparator distribution.
The above literature, however, primarily analyzes the statistical regret of the exact updating or weighting rule. The distribution used for prediction is assumed to be available at every round, and the computational error incurred in representing, sampling from, or optimizing that distribution is not priced separately. This distinction is immaterial when the posterior or exponential weights can be computed exactly, but becomes important in modern Bayesian models where each online update is itself approximate. Posterior approximation, which is statistically adequate at a fixed terminal sample size, need not be adequate for online prediction, because the approximation is queried repeatedly along the entire posterior path. Consequently, terminal contraction of an approximate posterior toward the truth does not by itself control the cumulative predictive loss. What is needed is a way to quantify how perturbations of the posterior at each round are translated into perturbations of the predictive mixture, and how this sensitivity changes as the exact posterior concentrates. Because of this challenge, to our knowledge, there is no general result that converts posterior approximation error into a cumulative predictive regret penalty while retaining the fast rates of exact Bayesian prediction. Aside from the specific setting of variational Bayes with a Gaussian variational family (Chérief-Abdellatif et al., 2019), the known results only provide slow regret bounds of the order O(T) for horizon T (e.g., Chérief-Abdellatif et al., 2019; Alquier, 2021).
This raises the question addressed in this paper: do the fast rates of Bayesian online prediction survive computation? Concretely, is there an implementable online learner, with explicit per-round operations, whose expected cumulative predictive regret is logarithmic in regular parametric models and minimax optimal in nonparametric ones?
We answer this question affirmatively. We establish a theoretical framework to derive fast predictive regret guarantees for general computational Bayesian online learning methods. Let Πt be the exact Gibbs or standard posterior after t observations and let Qt be an approximate posterior distribution attained by a computationally feasible algorithm. We derive an upper bound on the expected difference between the predictive regrets of Πt and Qt, in terms of ϵt, the contraction rate of Πt toward a common stochastic target, and αt, the Wasserstein distance between Qt and Πt. The novelty of our result lies in showing that posterior approximation need not be controlled at a fixed first-order accuracy throughout the online path. We devise a second-order predictive stability condition, under which the effect of approximation error is automatically attenuated by posterior contraction, so the cumulative approximation cost scales with the interaction ϵtαt, rather than with αt alone.
We instantiate this principle in three regimes. The first is a finite-dimensional generalized Bayesian model with predictable bounded covariates and a globally strongly convex regularized loss. Strong convexity gives O(t−1/2) contraction of the exact Gibbs posterior, while local prior mass gives O(logT) expected regret for exact prediction. We approximate each constrained posterior with a projected Moreau–Yosida Langevin construction. We derive a squared Wasserstein tracking error of order t−1 on the compact parameter space. This results in an O(logT) cumulative approximation penalty, preserving the logarithmic rate of exact Gibbs prediction.
The second regime is an infinite-dimensional canonical exponential family sequence model. Here the computational constraint is representation rather than finite-dimensional sampling. The exact posterior is a countable product of one-dimensional conjugate posteriors. A streaming implementation may retain the sufficient statistics of every coordinate observed so far, but its memory can grow linearly with the horizon. We instead update only the first m coordinates and preserve the original prior on the unresolved tail. This construction approximates one fixed infinite-dimensional Bayesian model rather than replacing it with a sequence of truncated-prior models. Over a Sobolev ellipsoid, the contraction radius, exact Gibbs regret, and truncation error are all explicit. Choosing m at the effective-dimension scale yields the minimax cumulative predictive regret rate with sublinear memory and constant state-update work per observation.
The third regime is random-design Gaussian process (GP) regression. Here the statistical question is whether a sparse variational representation preserves the predictive performance of the full GP posterior. We fix the first J population covariance operator eigenfunctions as interdomain inducing variables. Under Gaussian noise, the resulting sparse variational posterior is represented by finite-dimensional sufficient statistics and can be updated recursively. When J is greater than a certain sublinear threshold in T, its Wasserstein distance from the exact posterior is of the same order as the exact posterior contraction radius, and its cumulative predictive regret has the same nonparametric order as exact Bayes. This example also shows that vanishing variational KL divergence is not necessary for preserving statistical performance: the relevant discrepancy is its displacement relative to the shrinking posterior geometry.
The three applications make different computational choices. In the finite-dimensional example, approximation arises from incomplete sampling; in the sequence model, it arises from truncating an infinite representation; and in the GP example, it arises from variational sparse compression. Despite these different mechanisms, all three are analyzed through the same pair of quantities: the statistical radius of exact Bayes and the distance of the computational approximation from exact Bayes. The resulting framework makes the required computational accuracy explicit and exposes where model-specific work is unavoidable.
1.1 Related work
Streaming and approximate Bayesian inference A large algorithmic literature develops tractable approximations to sequential Bayesian updating. Examples include streaming variational Bayes (Broderick et al., 2013), sequential Monte Carlo (Del Moral et al., 2006), particle mirror descent (Dai et al., 2016), online variational inference with generalization guarantees (Chérief-Abdellatif et al., 2019), recursive optimization-based Bayesian rules (Khan and Rue, 2023; Jones et al., 2024), online sampling from log-concave sequences (Lee et al., 2019), and particle-based approximations of moving posteriors (Yang et al., 2023). Chérief-Abdellatif et al. (2019); Alquier (2021) establish generalization guarantees for several online variational procedures, providing one of the closest theoretical connections between approximate Bayesian computation and online learning. By contrast, (Yang et al., 2023) study Wasserstein tracking of a dynamically changing posterior through a distributional dynamic-regret analysis.
Recent work has also begun to characterize the frequentist accuracy of sequentially approximated posteriors themselves. Lee et al. (2026a) establish an online Bernstein–von Mises theorem for sequential variational updating with mini-batches, showing that accumulated approximation error can become asymptotically negligible and that the resulting terminal posterior can be asymptotically equivalent to the full posterior, while Lee et al. (2026b) treat the more stringent one-pass regime and construct a warm-started Bayesian online procedure that attains an optimal convergence rate and a Bernstein–von Mises limit without diverging mini-batch sizes. These results concern the inferential fidelity of the sequentially constructed posterior, especially at the end of the data stream. In contrast, our criterion is prequential: approximation error is charged whenever the approximate posterior is used for prediction, and hence must be controlled along the entire posterior path rather than only at the terminal sample size.
Statistical theory for approximate posteriors A complementary literature studies whether computational approximations retain the frequentist concentration properties of exact Bayes. Variational and tempered posteriors have been shown to attain optimal or near-optimal contraction rates in a range of parametric, high-dimensional, and nonparametric models (Alquier et al., 2016; Alquier and Ridgway, 2020; Zhang and Gao, 2020; Ohn and Lin, 2024). Such results typically compare an approximate posterior directly with the true parameter or data-generating distribution. This comparison is not sufficient for cumulative prediction: two posterior sequences can contract toward the same target at the same statistical rate while remaining separated enough to generate different predictive mixtures at every round. Our analysis therefore keeps two distinct quantities of the statistical radius of the exact posterior and the computational distance between the approximate and exact posteriors. This separation is what allows a posterior approximation guarantee to be converted into a fast predictive regret guarantee.
Constrained log-concave sampling Nonasymptotic sampling theory provides explicit distributional approximation guarantees for log-concave targets. For smooth log-concave distributions on Euclidean space, unadjusted Langevin algorithms have quantitative convergence guarantees Dalalyan (2017); Durmus and Moulines (2017). For compactly supported targets, projected Langevin Monte Carlo (Bubeck et al., 2018) and Moreau–Yosida regularized Langevin methods (Brosse et al., 2017) provide tractable schemes with total-variation or Wasserstein guarantees with explicit schedules, while proximal samplers achieve sharper complexity under alternative oracle assumptions (Lee et al., 2021). Online sampling from sequence of log-concave distributions has also been studied directly (Lee et al., 2019).
Computational-statistical tradeoffs and low-rank posteriors. The principle that computation may be deliberately stopped or compressed once its error falls below statistical resolution appears in several batch problems. Examples include convex-relaxation hierarchies (Chandrasekaran and Jordan, 2013), Nyström subsampling for kernel regression (Rudi et al., 2015), and early stopping for nonparametric regression (Raskutti et al., 2014), Low-rank approximation of Gaussian inverse problems similarly retains directions that are most informative relative to the prior (Spantini et al., 2015), while finite-dimensional computation in infinite-dimensional Bayesian models is often imposed through sieve or truncated priors (Zhao, 2000). Our results give a sequential Bayesian counterpart to this computational-statistical principle. In particular, in the sequence model approximation in Section 4, the Bayesian model remains infinite-dimensional, whereas the online algorithm updates only a finite number of coordinates, leaving the unresolved tail at its original prior.
Sparse variational Gaussian processes. Sparse variational GP regression represents a process posterior through finitely many inducing variables (Titsias, 2009; Matthews et al., 2016). Their approximation accuracy and the required growth of the inducing budget have been studied extensively. Burt et al. (2019, 2020) derive quantitative KL approximation guarantees and sufficient inducing dimensions, while Nieman et al. (2022, 2023) establish posterior contraction and uncertainty quantification results for several inducing schemes, including population-spectral constructions. More recent work develops adaptive sparse variational procedures that retain minimax contraction behavior under hyperparameter selection (Nieman and Szabó, 2025). On the algorithmic side, variational Fourier features and streaming sparse GP methods provide scalable spectral or sequential representations (Hensman et al., 2018; Bui et al., 2017). Our concern is different from contraction of the sparse posterior around the truth. We compare the sparse and exact predictive mixtures over the entire online sequence and ask how large the inducing representation must be to preserve the cumulative predictive regret order of full GP Bayes.
1.2 Contributions and organization
The paper makes four contributions. First, Section 2 establishes a general predictive comparison theorem. It decomposes the expected regret of an approximate posterior into the regret of the exact Gibbs posterior and a posterior approximation penalty. Second, Section 3 proves a logarithmic expected regret for an implementable projected Moreau–Yosida Langevin online learner over globally log-concave linear-predictor Gibbs models. Third, Section 4 proves that a prior-preserving truncated Bayesian algorithm attains the minimax predictive regret rate for an exponential family sequence model with sublinear memory and constant-time updates. Fourth, Section 5 develops an online population-spectral sparse variational GP and proves that an effective-dimension representation preserves the nonparametric predictive regret order of exact Bayes. The analysis identifies posterior uncertainty, rather than a vanishing variational objective gap, as the statistical scale that determines the required inducing dimension. Section 6 concludes the paper and discusses limitations. Detailed proofs are collected in the appendices.
1.3 Notation
For a set A, let 1A(⋅) denote the indicator function of A such that 1A(x)=1 if x∈A and 1A(x)=0 otherwise. For a vector x, let ∥x∥ denote its L2 norm. We write diam(A):=supx,y∈A∥x−y∥ for a subset A of Rd. We write a≲b or b≳a if there is a constant C>0, not relevant to the main argument, such that a≤Cb. We write a≍b if both a≳b and a≲b hold. For two probability measures P and Q, KL(P∥Q) denotes the Kullback–Leibler (KL) divergence defined as KL(P∥Q):=∫log(dP/dQ)dP if P≪Q, and KL(P∥Q):=∞ otherwise.
2 Main results
2.1 Statistical setup
We work on a filtered probability space. At round t∈N, we observe a pair of the input or context variable Xt and the response Yt. The sigma-field Gt−1 contains history before the round-t. In particular it may contain predictable side information such as the current covariate or context, as well as all computational randomness generated before round t. We allow the round t loss map
(θ,(x,y))↦ℓt(θ,(x,y))
to be Gt−1-measurable as a random function of (θ,(x,y)). Thus fixed-design, predictable-design, independent non-identically distributed, and i.i.d. models are all special cases. We do not consider adversarial outcomes; the results below require a common stochastic target through conditional moment and curvature conditions that are verified in the applications.
Let (Θ,d) be a Polish metric space. We fix a prior Π0 and inverse temperature η>0. The exact Gibbs posterior is
Πt(dθ)=∫e−ηLt(u)Π0(du)e−ηLt(θ)Π0(dθ),(1)
where we write
Lt(θ):=s=1∑tℓs(θ;(Xs,Ys)).
For a probability measure Q on Θ, define the round-t predictive loss by
mt(Q;(x,y)):=−η1log∫e−ηℓt(θ;(x,y))Q(dθ).(2)
When η=1 and the loss function is the negative log density of Yt conditional on Xt and Gt−1, this is ordinary Bayesian predictive log loss. Let θ∗∈Θ be a fixed stochastic target. A computational procedure maintains a random probability measure Qt that is measurable with respect to the information available after round t and before t+1. We assume throughout that every Gibbs normalizing constant and predictive loss integral displayed above is almost surely finite and strictly positive.
We set Q0=Π0 and define the predictive regret of a sequence of online distributions (Qt)t=0T−1:=(Q0,Q1,…,QT−1) as
The two radii in the above display deliberately measure different objects. The statistical radius εt is a property of the exact posterior and the data-generating process. The computational radius αt is a property of the approximation algorithm relative to the exact update. Keeping them separate will allow us to reuse the same statistical analysis for computational procedures with different error mechanisms.
2.2 Regret of exact Gibbs posteriors
As we mentioned in the introduction, the exact Gibbs posterior admits a telescoping identity, which can lead to fast regret rates. To be concrete, let
For a deterministic probability measure Q on Θ, define the conditional predictive risk as
Mt(Q):=E[mt(Q;(Xt,Yt))∣Gt−1].(7)
For a Gt−1-measurable random measure Q, Mt(Q) denotes the evaluation of this random functional at Q. Then the expected regret of (Qt)t=0T−1 can be expressed as
almost surely for every t∈N and for every pair of probability measures P,Q.
Assumption 2.2 is a second-order continuity condition on the conditional predictive risk: both terms on the right-hand side of (9) are products. A first-order Lipschitz condition Mt(Q)−Mt(P)≲W2(P,Q) would be easier to verify but yields the cumulative penalty ∑t=1T−1αt, requiring increasingly accurate computation regardless of statistical concentration. Under second-order stability, however, the same perturbation becomes progressively less consequential as the exact posterior contracts. Thus posterior concentration plays a dual role: it improves statistical prediction and simultaneously reduces the sensitivity of prediction to computational approximation. The quadratic term αt2 is the residual cost of the approximation itself.
Theorem 2.3 (Predictive regret under posterior approximation). Under Assumption 2.2,
2.4 Sufficient conditions for second-order predictive stability
Assumption 2.2 is stated at the level of predictive distributions. The next result reduces it to conditions on the underlying loss. Smoothness controls the second-order interpolation remainder, the exponential envelope controls the change of measure induced by the predictive normalizer, and conditional stationarity removes a nonvanishing first-order term at θ∗. Note that the condition is stated with random envelopes so that it also applies coordinatewise to the exponential family sequence model in Section 4.
Theorem 2.4 (Sufficient conditions of Assumption 2.2). Let Θ⊂Rd be convex and compact. Suppose that, for every t, almost surely, the map ℓt(⋅;(x,y)) is continuously differentiable on a neighborhood of Θ for almost every conditional realization (x,y) of (Xt,Yt), and there are nonnegative Gt-measurable envelopes Ht,Gt,Dt such that
Moreover, assume that there exists θ⋆∈int(Θ) such that
E[∇ℓt(θ⋆;(Xt,Yt))∣Gt−1]=0a.s.(15)
Then Assumption 2.2 holds for all probability measures supported on Θ, with a deterministic constant depending only on Cenv, η, and diam(Θ).
3 Moreau–Yosida Langevin online Bayes
In this section, we apply our general result to a regular parametric problem with a strongly convex loss function. It turns out that strong convexity yields εt≍t−1/2. Theorem 2.3 then shows that any posterior approximation method with αt≲t−1/2 has an approximation penalty of order logT. The sampling analysis below is used precisely to reach this threshold.
3.1 Linear Gibbs models
We consider the online data generating process with predictable bounded design.
Assumption 3.1 (Predictable design). At round t, a covariate Xt∈Rd is Gt−1-measurable and satisfies ∥Xt∥≤Kx for some absolute constant Kx>0 almost surely.
We use the regularized loss
ℓλ,t(θ;Yt)=ϕ(Yt,Xt⊤θ)+2λ∥θ∥2,λ>0.(16)
Note that the predictable covariate is part of the round-t loss function rather than the random covariate in the abstract setup of Section 2. We impose some regularity conditions on the loss function and the parameter space.
Assumption 3.2 (Loss and parameter space). The parameter space Θ is a compact convex set with nonempty interior, which satisfies B(0,rΘ)⊆Θ⊆B(0,RΘ) for some fixed 0<rΘ≤RΘ<∞. For every y, the function u↦ϕ(y,u) is convex and continuously differentiable. There are absolute constants B1>0 and Lϕ>0 such that
∣∂uϕ(y,u)∣≤B1,∣∂uϕ(y,u)−∂uϕ(y,v)∣≤Lϕ∣u−v∣
for all u,v∈R.
Example 3.3. We list several examples of a loss ϕ satisfying the above assumption.
(i) square loss ϕ(y,u)=(y−u)2 with bounded y and u;
(ii) logistic loss ϕ(y,u)=log(1+e−yu) for y∈{−1,1};
(iii) Huber loss ϕ(y,u)=hδ(y−u) with
hδ(z)={z2/2δ(∣z∣−δ/2)for∣z∣≤δ,otherwise.
(iv) smoothed hinge loss ϕ(y,u)=sδ(yu) for y∈{−1,1} with
As we did in our general setup, we assume that there is a fixed target parameter in the data-generating process.
Assumption 3.4 (Conditional stationary point). There is a fixed θ⋆∈int(Θ) satisfying
E[∇ℓλ,t(θ⋆;Yt)∣Gt−1]=0a.s.foreveryt.(17)
Under the assumptions we have made, the conditions of Theorem 2.4 are satisfied and thus we can obtain the next result.
Theorem 3.5. Under Assumptions 3.1, 3.2 and 3.4, Assumption 2.2 holds.
Due to Theorem 3.5, we can apply Theorem 2.3. We then establish upper bounds on the two quantities related only to the exact Gibbs posteriors. For this purpose, we additionally require that the prior distribution is log-concave.
Assumption 3.6 (Prior distribution). The prior has density
Π0(dθ)∝e−V0(θ)1Θ(θ)dθ,
where V0:Rd→R is convex and continuously differentiable with a globally Lipschitz gradient, and the prior density is bounded below on a neighborhood of θ⋆.
The exact Gibbs posterior is given by
Πt(dθ)∝e−Ut(θ)1Θ(θ)dθ
with the potential function
Ut(θ)=V0(θ)+ηs=1∑tℓλ,s(θ;Ys).
Theorem 3.7 (Statistical guarantees for the Gibbs posterior). Under Assumptions 3.1, 3.2, 3.4 and 3.6, the exact Gibbs posterior satisfies
E[W22(Πt,δθ∗)]≲t−1(18)
and
ℜ((Πt)t=0T−1)≲logT+1.(19)
3.2 Moreau–Yosida Langevin sampling
For a computable approximating algorithm for the exact Gibbs posterior, we consider Moreau–Yosida unadjusted Langevin algorithm (MYULA) of Brosse et al. (2017). For a smoothing parameter ς>0, define the Moreau–Yosida regularization of the hard constraint,
Ut,ς(θ)=Ut(θ)+2ς1∥θ−projΘ(θ)∥2.(20)
A single Moreau–Yosida unadjusted Langevin step with a step size γ>0 is
From Theorem 2 of Brosse et al. (2017), we have the following result on the approximation accuracy of MYULA.
Theorem 3.8 (Approximation accuracy of MYULA). Fix t≥1 and α~∈(0,1). Under the same assumptions of Theorem 3.7, for every fixed initial point θ0∈Θ, there exist ςt>0, γt>0, and Nt∈N such that
δθ0Kt,ςt,γtNt−ΠtTV≤α~(22)
Remark 3.9. The chain in (21) can leave Θ. We therefore project its final state. This does not worsen total variation distance from Πt, because Πt is supported on Θ and the projection acts as the identity there.
Algorithm 1 (Online MYULA). Set Q0=Π0 and α~t≍t−1. After observing Yt, form Ut. Choose (ςt,γt,Nt) satisfying the conclusion of Theorem 3.8 with accuracy α~t. Initialize the chain at the fixed point θ0∈Θ, run Nt transitions of (21), and project the final state onto Θ. Denote the law of that projected state by Qt. A warm start from the preceding output may be used in practice, but is not needed for the stated guarantee.
Remark 3.10. Theorem 3.8 only requires the existence of a finite MYULA schedule attaining a prescribed total-variation accuracy. The explicit parameter choices and their quantitative complexity follow from the nonasymptotic bounds in Theorem 2, together with Propositions 4 and 6 of Brosse et al. (2017). In particular, when the geometry of Θ is fixed and the smoothness parameters of Ut grow at most polynomially in t, those bounds yield a choice of Nt that is polynomial in the relevant problem parameters, including t, d, and α~. We do not reproduce the resulting constants, since only the existence of a computable schedule is needed for the regret analysis below.
Theorem 3.11 (Fast regret of online MYULA). Under the same assumptions of Theorem 3.7, the approximate posterior computed by Algorithm 1 satisfies
E[W22(Qt,Πt)]≲t−1,(23)
and thus
ℜ((Qt)t=0T−1)≲logT+1.(24)
4 Truncated online posteriors for exponential family sequences
We now turn to a different computational regime. In Section 3.2, the model was finite-dimensional and the computational error was sampling error. Here the situation is reversed. Each coordinate posterior is available exactly in closed conjugate form, and the obstruction is representation: the posterior is a product of the coordinate posteriors, and its worst-case memory is O(T). The approximation we consider here updates only the first m coordinates, thereby reducing the linear worst-case memory to a sublinear one.
4.1 Infinite-dimensional exponential family sequence models
For θ∈R, let Pθ be an one-dimensional regular canonical exponential family distribution, which admits a density with respect to a dominating measure ν such that
pθ(y)=exp(yθ−A(θ)).(25)
Let Xt be an i.i.d. positive integer-valued random variable such that Pr(Xt=j)=pj for j∈N with ∑j=1∞pj=1. Let θ⋆=(θj⋆)j≥1 be a true infinite-dimensional parameter. Conditional on Xt=j, we assume that Yt follows a distribution Pθj⋆. We impose the following smoothness conditions on the true data-generating process.
Assumption 4.1 (Sobolev sequence model). The probability vector (pj)j≥1 satisfies
pj≍j−a(26)
for some a>1. The true parameter θ⋆ belongs to the Sobolev ellipsoid
Θs(B,R)={(θj)j≥1:∣θj∣<B,j≥1∑j2sθj2≤R2}.(27)
for some s>0, B>0 and R>0. The log partition function A is defined on the real line and satisfies
0<I≤A′′(θ)≤I<∞(28)
for any θ∈[−B,B].
We assume that we correctly specify the exponential family sequence model, which means that we consider a negative log-density loss given by
ℓt(θ;(j,y))=−logpθj(y)=A(θj)−yθj
for θ=(θj)j≥1, and the inverse temperature of η=1. Then the expected regret is represented as an expected KL risk. For a Gt−1-measurable distribution Q of θ, let PQpred(⋅∣j) be the associated predictive distribution given Xt=j with density
which is the expected KL divergence between the predictive distribution and the true conditional distribution.
We consider the prediction metric given by
dp2(θ,θ′)=j≥1∑pj(θj−θj′)2,(29)
and W2,p denotes the associated Wasserstein distance. The next theorem shows that Assumption 2.2 is satisfied for this exponential family sequence model
Theorem 4.2. Under Assumption 4.1, there is an absolute constant LM>0 such that
almost surely for every t∈N and for any two product measures P=⨂j≥1Pj and Q=⨂j≥1Qj on ∏j≥1[−B,B].
4.2 Conjugate prior and posterior
We consider a Diaconis–Ylvisaker-form conjugate prior (Diaconis and Ylvisaker, 1979) but here we restrict it to the fixed common interval [−B,B]. Note that because this indicator does not depend on the data, the coordinatewise posterior update remains in the same truncated family. Specifically, we consider the prior distribution Π0=⨂j≥1Π0,j, where each coordinate prior is of the form
Π0,j(dθ)∝exp(κjA′(0)θ−κjA(θ))1[−B,B](θ)dθ(30)
for κj≥1. We assume the following oracle choice of the hyperparameter κj of the prior.
Assumption 4.3 (Diaconis–Ylvisaker conjugate prior). For every j∈N, κj≍j1+2s.
Due to conjugacy, the posterior distribution is given by Πt=⨂j≥1Πt,j with
Example 4.4 (Beta-Bernoulli sequence model). Let Yt∣Xt=j∼Bernoulli(qj) with qj=σ(θj) for θj∈[−B,B], where σ(θ)=(1+e−θ)−1 denotes the logistic function. Then A(θ)=log(1+eθ) and A′′(θ)=σ(θ){1−σ(θ)} is bounded above and away from zero on [−B,B]. So (28) is satisfied. Under the change of variable q={1+e−θ}−1, the prior (30) is a Beta(κj/2,κj/2) law truncated to [σ(−B),σ(B)], and the posterior is the corresponding truncated Beta update.
To ease the notation, we set
ζ:=a+2s+1(32)
throughout this section.
Theorem 4.5 (Statistical guarantees for the posterior). Under Assumptions 4.1 and 4.3, the exact posterior satisfies
E[W2,p2(Πt,δθ∗)]≲t−(ζ−1)/ζ(33)
and
ℜ((Πt)t=0T−1)≲T1/ζ.(34)
4.3 Truncated posterior
Implementing the exact posterior requires storing sufficient statistics and computing posterior distributions for every distinct coordinate observed so far. Under the assumed regime pj≍j−α the expected number of such coordinates is of order T1/α. To improve computational efficiency, here we propose an online approximate posterior that updates only the first m≪T1/α coordinates (in our theoretical analysis, the oracle truncation level is of order T1/(α+2s+1)), and preserves the original prior on the unresolved tail, which we call truncated posterior.
Algorithm 2 (Online truncated posterior). Fix a truncation level m∈N. Store (Nt,j,St,j) for j≤m. Before observing Yt, after seeing Xt=j, output the truncated posterior
Qt−1(m)=j≤m⨂Πt−1,j⊗j>m⨂Π0,j(35)
After observing Yt, update (Nt,j,St,j) only if j≤m.
Algorithm 2 uses O(m) memory and O(1) state-update work per observation, aside from evaluation of a one-dimensional conjugate normalizer ratio.
Theorem 4.6 (Truncation error). Under the same assumptions of Theorem 4.5, the truncated posterior computed by Algorithm 2 satisfies
E[W2,p2(Qt(m),Πt)]≲m1−ζ+t−(ζ−1)/ζ.(36)
Theorem 4.7 (Fast regret of online truncated posterior). Under the same assumptions of Theorem 4.5, the truncated posterior computed by Algorithm 2 satisfies
It is worth emphasizing that the truncation here is computational rather than statistical. The last two rate terms in (37) monotonically decrease as the number of active coordinates m grows. Whenever the order of m is larger than T1/ζ, the resulting regret is minimax optimal (see the next theorem). However, large m requires more memory. The choice m≍T1/ζ balances the statistical rate and computational burden, reducing expected memory from T1/a to T1/ζ=T1/(a+2s+1).
Theorem 4.8 (Minimax lower bound). If pt(⋅∣Xt,Gt−1) ranges over all sequential predictive densities that may use the revealed context Xt and past history Gt−1, then
The preceding sequence example reduces representation cost by coordinate truncation. We now consider a different posterior approximation approach based on a variational Bayes algorithm for online nonparametric regression.
We introduce additional notation used in this section. We write ⟨f,f′⟩:=⟨f,f′⟩L2(PX):=∫f(x)f′(x)dPX(x) denote the inner product on L2(PX), and ∥f∥:=∥f∥L2(PX):=⟨f,f⟩ denote the associated norm. Moreover, W2 and ∥⋅∥op denote the Wasserstein distance and the operator norm, respectively, both induced by the norm ∥⋅∥.
5.1 Gaussian process regression
Let PX be a probability measure on a measurable input space X. At round t, we observe Xt∼iidPX and then observe
Yt=f⋆(Xt)+ξt,ξt∼iidN(0,σξ2),(39)
where the noise ξt is independent of Xt. To simplify the analysis, we assume the noise variance σξ2 is known to us. We use a negative log-density loss given by
ℓt(f;(x,y))=2σξ21{y−f(x)}2+21log(2πσξ2)(40)
and the inverse temperature of η=1.
We impose a centered Gaussian process (GP) prior Π0 on f determined by its covariance kernel K0:X×X↦R, which has a Mercer decomposition
K0(x,x′)=j≥1∑λjψj(x)ψj(x′),
where (ψj)j≥1 is an orthonormal basis of L2(PX). This is equivalent to considering a random series prior f=∑j≥1λjZjψj with Zj∼iidN(0,1). The exact posterior is also a GP. Furthermore, the sparse GP posterior obtained using variational Bayes with inducing variables, which is our primary inference approach to be examined in the next subsection, is itself a GP.
For a GP Q, we let mQ(x) and vQ(x) denote the mean and variance of f(x) for f∼Q, respectively. The associated predictive distribution PQpred(⋅∣x) given x∈X has a density
pQpred(y∣x)=∫e−ℓt(f;(x,y))Q(df),
which is equal to the density of N(mQ(x),σξ2+vQ(x)). When Q is Gt−1-measurable, the excess conditional predictive risk is
which is the expected KL divergence between the predictive distribution and the true conditional distribution. For this Gaussian regression setup, we cannot apply Theorem 2.4 as the responses are unbounded. The next theorem overcomes this issue, which establishes second-order predictive stability with an additional remainder term.
Theorem 5.1 (Predictive stability for GPs). Let P and Q be Gaussian process laws on L2(PX). Then there exists an absolute constant LM>0 such that
We assume that the basis functions are bounded and the true regression function belongs to a Sobolev space.
Assumption 5.2 (Sobolev regression function). There exist absolute constants Bψ>0, s>d, and R>0 such that the orthonormal basis (ψj)j≥1 of L2(PX) satisfies
j≥1supx∈Xsup∣ψj(x)∣≤Bψ<∞,(42)
and the true regression function f⋆=∑j≥1fj⋆ψj satisfies
j≥1∑j2s/d(fj⋆)2≤R2.(43)
We further assume that the scale of the GP prior is suitably chosen according to the Sobolev smoothness s.
Assumption 5.3 (GP prior). For every j∈N, λj≍j−1−2s/d.
Under the assumptions we have made, we derive the fast regret bounds for the exact GP posterior.
Theorem 5.4 (Statistical guarantees for the exact GP posterior). Under Assumptions 5.2 and 5.3, the exact GP posterior satisfies
E[W22(Πt,δf⋆)]≲t−2s/(d+2s)(44)
and
ℜ((Πt)t=0T−1)≲Td/(d+2s).(45)
5.2 Sparse variational Gaussian processes
In practice, computing the GP posterior exactly becomes impractical for large t, because the computational cost grows cubically in t. To overcome this issue, we propose to use a sparse variational GP approach of Titsias (2009), for online prediction. First, we choose the J-many inducing variables that are fixed for all t≤T. Define inducing variables as
uj:=⟨f,ψj⟩,1≤j≤J,(46)
so that u1:J=(u1,…,uJ)⊤∼N(0,ΛJ) with ΛJ:=diag(λ1,…,λJ). Following Titsias (2009), we consider a variational family QJ which is the set of laws of the form
Q(df,du)=Π0(df∣u)Qu(du),(47)
where Qu is a Gaussian distribution on RJ. The sparse variational GP posterior is defined as
Qt(J)∈Q∈QJargminKL(Q∥Πt).(48)
The minimizer Qt(J) in (48) is the law of GP with mean and covariance functions given by (cf. see Titsias (2009); Nieman et al. (2023))
which requires O(J2) computation. Based on this elementary observation, we propose an online algorithm that produces the sparse GP posterior (48) exactly with O(J2) computational cost at each round.
Algorithm 3 (Online population-spectral sparse variational GP). Fix J. For t=0,1,…,T we do:
(i) after observing Xt+1, predict Yt+1 using the predictive distribution PQt(J)pred(⋅∣Xt+1) in (51).
(ii) update Vt+1,J from Vt,J according to (52).
(iii) after observing Yt+1, compute Ψt+1,J⊤Y1:(t+1)=Ψt,J⊤Y1:t+ψt+1Yt+1.
Theorem 5.5 (Approximation accuracy of sparse variational GP). Under the same assumption of Theorem 5.4, the sparse variational GP computed by Algorithm 3 with J≳Td/(d+2s) satisfies
E[W22(Qt(J),Πt)]≲t−2s/(d+2s).(53)
A notable feature of Theorem 5.5 is that the KL divergence between Qt(J) and Πt itself need not vanish. Indeed, the available KL bound may grow with t, which is common in many applications (e.g., Zhang and Gao, 2020; Ohn and Lin, 2024; Nieman et al., 2022). What matters for online prediction is that this information discrepancy is converted into Wasserstein displacement through the shrinking operator norm of the exact posterior covariance:
W22(Qt(J),Πt)≲∥Σt∥opKL(Qt(J)∥Πt).
with Σt denoting the covariance operator of the exact GP posterior. For the proof, see Lemma D.6 in the appendix. Thus the same variational discrepancy becomes less consequential as the exact posterior becomes geometrically more concentrated.
The exact and sparse posterior predictive variances are uniformly bounded; see Lemma D.9 in the appendix. Hence Theorem 5.1 yields the next result.
Theorem 5.6 (Fast regret of online sparse variational GP). Under the same assumption of Theorem 5.4, the sparse variational GP computed by Algorithm 3 with J≳Td/(d+2s) satisfies
ℜ((Qt(J))t=0T−1)≲Td/(d+2s).(54)
With the oracle number of inducing variables J≍Td/(d+2s), the total computational cost through horizon T of the sparse variational GPs (Qt(J))t=0T−1 is
O(TJ2)=O(T(3d+2s)/(d+2s)).(55)
By comparison, the exact GP posterior has O(t2) update cost at round t, and thus total O(T3) cost through horizon T.
6 Conclusion
This paper develops a comparison principle for Bayesian online prediction with approximate posteriors. The main theorem separates the expected regret of a computed predictor into an exact Gibbs benchmark and an approximation penalty governed by two scales: the contraction radius εt of the exact posterior and the tracking error αt of the computational approximation. The penalty ∑t=1T−1(εtαt+αt2) makes precise how statistical concentration reduces sensitivity to computation. Posterior approximation need not be uniformly negligible; its accuracy only needs to improve at a rate compatible with contraction.
The analysis suggests a design principle for computational Bayesian prediction: first identify the contraction scale and predictive geometry of the exact posterior, then allocate only enough computational accuracy that the induced predictive perturbations remain below the statistical resolution of exact Gibbs posterior. This turns posterior approximation from an external numerical concern into an explicit component of sequential regret analysis.
Several limitations mark useful directions for further work. The finite-dimensional result assumes compact support, smooth loss, and strong convexity supplied by regularization. Its cold-start mixing schedule is conservative, and warm starts or stochastic-gradient samplers may reduce its computational cost. The sequence result assumes known smoothness, a horizon-dependent rank, coordinatewise conjugacy, and tractable one-dimensional predictive normalizers. The sparse-GP result assumes known population spectral features, fixed kernel hyperparameters and inducing variables, polynomial spectral decay, and a known horizon. Extending the same direct comparison to fixed point-inducing schemes, moving inducing sets, adaptive ranks, or online hyperparameter learning requires new residual-kernel and sequential tracking arguments.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) funded by the Korea government (MSIT) (RS-2026-25486448) and INHA UNIVERSITY Research Grant.
A Proofs for Section 2
A.1 Proof of Theorem 2.3
Proof. Note that, at round t, Qt−1 and Πt−1 are Gt−1-measurable and Assumption 2.2 holds almost surely conditional on Gt−1. By the identity (8), Assumption 2.2 gives
Taking the infimum over deterministic ρ proves the proposition.
A.3 Proof of Theorem 2.4
Proof. Fix a round t. Let Zt:=(Xt,Yt) In this proof, all expectations are conditional on Gt−1, and we suppress this conditioning from the notation for notational brevity. The conditional stationarity condition (15) becomes E[∇ℓt(θ⋆;Zt)]=0, while (14) supplies a deterministic upper bound Cenv for every conditional envelope moment used below.
Let γ be an optimal coupling of P and Q, and write
θs:=(1−s)θ+sθ′,v=θ′−θ,
for (θ,θ′)∼γ. Let Qs be the law of θs. For fixed z:=(x,y), define
Since ∣fz′′(s)∣≲eηDt(Ht+ηGt2)DΘ2 and this is conditionally integrable by (14), Fubini and the fundamental theorem for absolutely continuous functions therefore yield
Using a similar argument to (56), the first term is bounded by E(eηDtHt∣Gt−1)∥θ−θ⋆∥. For the second, the mean-value theorem applied to u↦e−ηℓt(u;z) gives
Proof. It is easy to see that the loss θ↦ℓλ,t(θ;Yt) satisfies (11), (12) and (13) with
Ht=LϕKx2+λGt=B1Kx+λdiam(Θ)Dt=Gtdiam(Θ),
These constants are fixed in t, hence (14) is met. Assumption 3.4 is exactly (17). Thus Theorem 2.4 can be applied, which leads to Assumption 2.2.
B.2 Proof of Theorem 3.7
We first record a self-contained moment bound that will be used in both finite- and infinite-dimensional applications.
Lemma B.1 (Second moment under a constrained strongly convex Gibbs law). Let K⊂Rd be a compact convex set with nonempty interior and let θ0∈int(K). Suppose U is continuously differentiable on a neighborhood of K and β-strongly convex on K. Then for a probability measure Π~ on Rd such that
Πˇ(dθ)=Z−1e−U(θ)1K(θ)dθ,
we have
∫∥θ−θ0∥2Πˇ(dθ)≤β22∥∇U(θ0)∥2+β2d.(59)
Proof. A compact convex body has Lipschitz boundary, so the divergence theorem applies. At surface-a.e. x∈∂K, the outer normal n(x) satisfies ⟨x−θ0,n(x)⟩≥0 by convexity. Hence
Strong convexity implies strong monotonicity of the gradient,
⟨X−θ0,∇U(X)−∇U(θ0)⟩≥β∥X−θ0∥2.
Let g0:=∥∇U(θ0)∥ and s2:=EΠˇ∥X−θ0∥2. Taking expectations and using Cauchy-Schwarz gives βs2≤d+g0s. Solving this quadratic inequality yields s≤g0/β+d/β, proving the desired result.
Proof of Theorem 3.7. Let
Ξs:=∇ℓλ,s(θ⋆;Ys).
By (17), (Ξs) is a martingale-difference sequence with respect to the pre-prediction filtration. Assumptions 3.1 and 3.2 imply ∥Ξs∥≤G0 almost surely for some absolute constant G0>0. Due to the L2 regularization term (λ/2)∥θ∥2, the potential function is βt-strongly convex on Θ with βt:=ηλt. The gradient of Ut at the target is
∇Ut(θ⋆)=∇V0(θ⋆)+ηs=1∑tΞs.
The martingale differences are orthogonal in L2: for r<s,
E[⟨Ξr,Ξs⟩]=E[⟨Ξr,E(Ξs∣Gs−1)⟩]=0.
Consequently,
Es=1∑tΞs2=s=1∑tE[∥Ξs∥2]≤G02t,
and hence
E∥∇Ut(θ⋆)∥2≲t.
By applying Lemma B.1 with K=Θ and θ0=θ⋆, we have
E[W22(Πt,δθ⋆)]=E[∫∥θ−θ⋆∥2Πt(dθ)]≲td,
which proves (18).
We now verify (19). Fix c>0 sufficiently small and let rT=cT−1/2. Because θ⋆ is interior, B(θ⋆,rT)⊂Θ for all sufficiently large T. Let ρT be the uniform distribution on this ball. The prior density is bounded below by a positive constant on a fixed neighborhood of θ⋆, and hence
KL(ρT∥Π0)≲−logVol(B(0,rT))+1≲logT+1.
Define the conditional risk
Rλ,t(θ)=E[ℓλ,t(θ;Yt)∣Gt−1].
By assumption, this has LR-Lipschitz gradient with LR:=LϕKx2+λ. Moreover, by (17), ∇Rλ,t(θ⋆)=0. Therefore, we have
Rλ,t(θ)−Rλ,t(θ⋆)≤2LR∥θ−θ⋆∥2
almost surely. Taking expectations and summing over t yields
t=1∑T∫E[ℓλ,t(θ;Yt)−ℓλ,t(θ⋆;Yt)]ρT(dθ)≲1,
where the finitely many remaining small values of T are absorbed into the implicit constant. Proposition 2.1 proves the desired result.
B.3 Proof of Theorem 3.8
Proof. We apply Theorem 2 of Brosse et al. (2017) with K=Θ and f=Ut and so it suffices to check Assumptions H1 and H2 therein. Assumption 3.2 implies that Ut is convex and continuously differentiable on Rd with Lt-Lipschitz gradient, where Lt≲(1+t). These verify H1. The geometry assumption in H2 is already assumed in our Assumption 3.2.
B.4 Proof of Theorem 3.11
Proof. Let Qt be the law before the final projection in Algorithm 1. Theorem 3.8 gives
∥Qt−Πt∥TV≤α~t.
Because proj Θ is measurable and proj Θ#Πt=Πt, total variation contracts under pushforward:
∥Qt−Πt∥TV=∥projΘ#Qt−projΘ#Πt∥TV≤α~t.
Both Qt and Πt are supported on Θ. Maximal coupling therefore yields
W22(Qt,Πt)≤diam(Θ)2∥Qt−Πt∥TV≲t−1.
Taking expectations proves (23).
Theorem 3.7 gives εt≲t−1/2. Consequently,
t≥1∑{εtαt+αt2}≲t≥1∑t−1≲logT.
Applying Theorem 2.3 with Theorem 3.7 completes the proof.
C Proofs for Section 4
C.1 Supporting lemmas
We first collect four elementary lemmas.
Lemma C.1 (Wasserstein distance for product measures). Let (pj)j≥1 satisfy pj>0 for every j and ∑jpj=1. Let μ=⨂j≥1μj and ν=⨂j≥1νj be probability measures on the sequence space equipped with the cost dp2(x,y)=∑j≥1pj(xj−yj)2. If ∑jpjW22(μj,νj)<∞, then
W2,p2(μ,ν)=j≥1∑pjW22(μj,νj).(60)
Proof. Let Γ be any coupling of μ and ν, and let Γj be its jth coordinate marginal. By Tonelli,
Taking the infimum over Γ gives the lower bound. Conversely, for each j, choose an optimal quadratic-cost coupling γj of μj and νj; such a coupling exists on R whenever the displayed Wasserstein distance is finite. The countable product measure ⊗jγj is a coupling of μ and ν, and Tonelli's theorem gives its total cost as exactly ∑jpjW22(μj,νj). This proves the reverse inequality.
Lemma C.2 (One-coordinate posterior risk). Under Assumption 4.1, there is an absolute constant C > 0 such that
By the well-known properties of an exponential family distribution, conditional on Nt,j, the mean and variance of the sufficient statistics St,j is Nt,jA′(θj⋆) and Nt,jA′′(θj⋆), respectively. Since A′′(θj⋆)≤I and ∣A′(θj⋆))−A′(0)∣≤I∣θj⋆∣, we have
E[∣Ut,j′(θj⋆)∣2∣Nt,j]≲Nt,j+κj2(θj⋆)2.
Taking expectation in (59) therefore gives the desired bound.
Lemma C.3 (Binomial resolvents). If N∼Binomial(t,p) and κ≥1, then
E[κ+N1]≤κ+tpC,E[(κ+N)21]≤(κ+tp)2C(62)
for some absolute constant C > 0.
Proof. Let μ=tp. If μ<2, then κ+μ≤3κ because κ≥1, and the claim follows from
(κ+N)−q≤κ−q≤((κ+μ)/3)−q
for q∈{1,2}. Assume μ≥2 and let E={N≥μ/2}. On E,
(κ+N)−q≤2q(κ+μ)−q.
For the complement, for any s > 0, Markov's inequality gives
With s=log2, this is at most e−c0μ, where c0:=(1−log2)/2>0. Thus
E[(κ+N)−q1Ec]≤κ−qe−c0μ.
Since xqe−c0x is bounded on [0,∞) and κ≥1, e−c0μ≲{κ/(κ+μ)}q. Combining the bounds on E and Ec proves (62).
Lemma C.4 (A localized comparator for a conjugate prior). Let Π be a distribution with Πκ(dθ)∝exp(κA′(0)θ−κA(θ))1[−B,B]dθ with κ≥1. Assume (28). For ∣θ⋆∣<B and n∈N, there exists a probability measure ρ on [−B,B] such that
for some absolute constant C > 0, where DA(θ,θ′):=A(θ)−A(θ′)−A′(θ′)(θ−θ′).
Proof. Let I⋆⊂[−B,B] be a small neighborhood of θ∗. Put v=c0/(κ+n) with sufficiently small c0, and let ρ be the N(θ∗,v) law conditioned on I⋆. Then
∫(θ−θ⋆)2ρ(dθ)≲v.
Moreover the conditional Gaussian density is bounded by v−1/2, up to a multiplicative constant. Therefore, the entropy of ρ is bounded below as
Note that the gradient of ℓt(θ;(j,y)) with respect to the first argument is A′(θj)−y and its gradient-Lipschitz constant is at most I. Put MA=sup∣u∣≤B∣A′(u)∣<∞. Then we can take the explicit envelopes
H(y)=I,G(y)=MA+∣y∣,D(y)=2BMA+2B∣y∣,
where we use the mean-value theorem giving ∣A(θ)−A(u)∣≤MA∣θ−u∣ and ∣θ−u∣≤2B for the last line. The elementary bound 1+y2≤e∣y∣ implies
eD(y){H(y)+G2(y)}≲e(2B+1)∣y∣.
Since the log-partition function is assumed to exist on the whole real line, the right-hand side of the above display is integrable, which verifies (14). Hence, by Theorem 2.4, there is an absolute constant C′>0 such that
with qj:=pj/κj≍j−ζ, for any j∈N and t∈N. By Lemma C.1, squared Wasserstein distances for these product measures add coordinatewise under the cost (29). Hence,
Because pjj−2s≍j−(ζ−1) and qj≍j−ζ, the last supremum is bounded by t−(ζ−1)/ζ up to a multiplicative constant by considering separately j≤jt and j>jt. This proves (33).
It remains to prove (34). Fix m∈N. For j≤m, use the comparator of Lemma C.4 with the deterministic scale n=Tpj and for j>m, retain the prior. The product comparator differs from the prior in only finitely many coordinates, so its KL divergence is the sum of the coordinatewise KL divergences. Moreover
For j≤m, Lemma C.4 gives a risk contribution Tpj/(κj+Tpj)≲1 and KL contribution {1+log(1+Tqj)+κjθ⋆,j2}. For j>m, the quadratic upper bound on DA and Lemma B.1 applied to the prior at θ0=0 give
∫DA(θ,θ⋆,j)Π0,j(dθ)≤C2′{κj−1+θ⋆,j2}.
for any j∈N for some absolute constant C2′>0. Consequently, Proposition 2.1 yields
where the second term in the last line is bounded by t−(ζ−1)/ζ by Theorem 4.5. Hence, it remains to bound the first term. Lemma B.1 applied to the prior at 0 gives
Combining this with (34) proves (37); setting mT=⌈T1/ζ⌉ gives (38).
C.6 Proof of Theorem 4.8
Proof. A predictor is allowed to observe Xt and the past history before choosing a conditional density pt(⋅∣Xt,Gt−1). Its regret is
E[t=1∑Tlogpt(Yt∣Xt,Gt−1)p⋆,Xt(Yt)].
Let m=⌊cT1/ζ⌋ for a fixed small c>0 and put bm2:=c0m−2ζ−1. Consider the uniform prior on the hypercube
θj=ωjbm,j=m+1,…,2m,ωj∈{−1,1},
with all other coordinates zero. If c0 is sufficiently small, every vertex belongs to Θ5(B,R). Since the prior distribution Pω of ω does not depend on X1:T, we have
Let PY1:T∣X1:T be the joint law of Y1:T generated by the sequential predictive densities. Then we can see that the Bayes-average log-loss regret of the sequential predictor under the prior Pω is at least the conditional mutual information I(ω;Y1:T∣X1:T), as
Conditional on X1:T, the observations attached to different active coordinates depend on disjoint independent bits, hence
I(ω;Y1:T∣X1:T)=j=m+1∑2mI(ωj;Y1:Nj(j)∣Nj),
where Nj is the number of occurrences of coordinate j and Y1:Nj(j) is the collection of observations attached to coordinate j. For one active coordinate, let P+ and P− denote the laws at natural parameters bm and −bm. Their Bhattacharyya affinity is
∫dP+dP−=exp{A(0)−2A(bm)+A(−bm)}≤e−Ibm2/2,
by the lower bound on A′′. So for n observations the affinity is at most e−nIbm2/2. Since TV(P,Q)=1−∫min(dP,dQ) and min(p,q)≤pq pointwise, we have
TV(P+⊗n,P−⊗n)≥1−e−nIbm2/2.
Let M:=(P+⊗n+P−⊗n)/2. Conditional on Nj=n, Pinsker's inequality (e.g. Tsybakov (2009, Section 2.4)) gives
For j∈[m+1,2m], pj≍m−a and μj:=Tpj≍Tm−a. Since μjbm2≍Tm−ζ≍1 and μj≍m2s+1→∞, the same exponential-Markov calculation as in Lemma C.3 gives Pr(Nj<μj/2)≤e−c0μj. Hence Pr(Nj≥μj/2)≳1 uniformly over the active coordinates for all sufficiently large T. On this event the preceding mutual-information lower bound is bounded below by a positive constant depending only on the fixed model constants. Thus
E[I(ωj;Y1:Nj(j)∣Nj)]≳1,
uniformly over active j. Summing over the m active coordinates yields Bayes-average regret at least m≍T1/ζ up to a multiplicative constant. Since the maximum risk dominates Bayes average risk, the minimax regret is at least T1/ζ up to a multiplicative constant.
D Proofs for Section 5
We introduce additional notation used in this section. For a Gaussian law P on L2(PX) with covariance kernel KP, the covariance operator ΣP is defined as
ΣPf(x′)=∫KP(x,x′)f(x)PX(dx).
Let H be the reproducing kernel Hilbert space (RKHS) associated with the prior GP Π0. Moreover, we define
Lemma D.1 (Regular spectral design). lem:gp-design Under Assumption 5.2, there are absolute constants c > 0 and C > 0 such that
Pr(Et)≥1−CNt†exp{−ct/Nt†}.(69)
Since Nt†≍td/(2s), the probability of the complement tends to 0 faster than t−b for any b>0.
Proof. Let N:=Nt†. For ψ1:N(x)=(ψ1(x),…,ψL(x))⊤, orthonormality gives E[ψ1:N(X)ψ1:N(X)⊤]=IL, while (42) gives ∥ψ1:N(X)ψ1:N(X)⊤∥op=∥ψ1:N(X)∥2≤Bψ2L. The upper and lower matrix Chernoff inequalities with relative deviation 1/2 yield (69).
D.2 Proof of Theorem 5.1
Lemma D.2 (Gaussian predictive excess). Let P be a Gaussian law on L2(PX). Let mP be the mean function of P and vP be the variance of f(x) for f∼P. Then
Proof. Conditionally on X=x, the true response law is N(f⋆(x),σξ2) and the predictive law is N(mP(x),σξ2+vP(x)). Their Gaussian KL divergence gives (70). Since 0≤g(u)≤u and (σξ2+vP)−1≤σξ−2, the right-hand side of (70) is at most {∥mP−f⋆∥2+∥vP∥}/(2σξ2), which equals the right-hand side of (71).
Lemma D.3 (Trace norm and Bures–Wasserstein distance). For positive trace-class operators A and B
∥A−B∥1≤{tr(A)+tr(B)}dBW(A,B),(72)
where ∥⋅∥1 denotes the Schatten-1 norm and dBW does the Bures–Wasserstein distance defined as
dBW2(A,B):=tr(A+B−2(A1/2BA1/2)1/2).
Proof. Use the Hilbert–Schmidt representation dBW(A,B)=infUA1/2−B1/2UHS. For X=A1/2 and Y=B1/2U, A−B=(X−Y)X∗+Y(X∗−Y∗). By the Hölder inequality for the Schatten norm gives
∥A−B∥1≤{∥X∥HS+∥Y∥HS}∥X−Y∥HS.
Taking the infimum over U proves the claim.
Proof of Theorem 5.1. Recall the notation used in Lemmas D.2 and D.3. Let mP and ΣP be the mean function and covariance operator of P. Define mQ and ΣQ likewise. We write
ε:=W2(P,δf⋆),α:=W2(P,Q),
and put bP:=mP−f⋆ and bQ:=mQ−f⋆. By Lemma D.2, we have
By the Gaussian Wasserstein formula W22(P,Q)=∥mp−mQ∥2+dBW2(ΣQ,ΣP), we have dBW(ΣQ,ΣP)≤α. Therefore, Lemma D.3 gives
∫∣vQ(x)−vP(x)∣PX(dx)≤∥ΣQ−ΣP∥1≤(2ε+α)α,
because tr(ΣP)≤ε and tr(ΣQ)≤ε+α. In (70), g′(u)=u/(1+u)2≤1/4, so the variance-only difference in (73) is bounded by a constant multiple of (2ε+α)α. For the mean-related difference in (73), we use the inequality
For the first term, we use the Gaussian Wasserstein formula to have ∥bQ−bP∥=∥mQ−mP∥≤α and ∥bP∥≤ε. Moreover, ∥bQ∥≤∥bQ−bP∥+∥bP∥≤ε+α. Therefore, by the Cauchy–Schwarz inequality
Gaussian conjugacy therefore shows that the posterior covariance matrix of u1:N conditional on X1:t, equivalently the matrix representation of PNΣtPN in the basis (ψj)j≤N, is
Σt,N={ΛN−1+Ψt,N⊤(σξ2It+Rt,N)−1Ψt,N}−1.(82)
By (78), there exists an absolute constant C′>0 such that
σξ2It+Rt,N⪯(σξ2+C′)It,(83)
and hence
(σξ2It+Rt,N)−1⪰σξ2+C′1It.(84)
Since Ψt,N⊤Ψt,N⪰2tIN on Et define in (68), we have
Ψt,N⊤(σξ2It+Rt,N)−1Ψt,N⪰2(σξ2+C′)tIN(85)
on Et. Since the prior precision ΛN−1 is positive semidefinite, (82) gives ∥Σt,N∥op1Et≲t−1.
It remains to pass from the first N coefficient directions to the full covariance operator. Relative to the orthogonal decomposition L2(PX)=HN⊕HN⊥, write
Σt=(AB∗BD),(86)
where A=PNΣtPN and D=P>NΣtP>N, with the orthogonal projection P>N onto span( ψj:j>N). The matrix representation of A is Σt,N, so ∥A∥op1Et≲t−1. Moreover, since Gaussian conditioning reduces covariance, we have 0⪯Σt⪯Σ0 and so
0⪯D⪯P>NΣ0P>N.(87)
Hence,
∥D∥op≤j>Nsupλj≲N−1−2s/d≲t−1.(88)
Because Σt is positive semidefinite, covariance Cauchy–Schwarz gives, for x∈HN and y∈HN⊥,
We apply Theorem 1(ii) of Fischer and Steinwart (2020). In their notation, set
p:=d+2sd,β:=d+2s2s,
so that p+β=1. The eigenvalue condition in Assumption 5.3 is then written as λj≍j−1/p. Moreover,
j≥1∑λj−β(fj⋆)2≲j≥1∑j2s/d(fj⋆)2<∞,
so the source condition of Fischer and Steinwart (2020) holds with exponent β. The uniform bound on the eigenfunctions implies that, for every q>p,
x∈Xsupj≥1∑λjqψj(x)2≤Bψ2j≥1∑λjq<∞.
which verifies their embedding condition with any fixed q∈(p,1), and that
∥f⋆∥∞≤Bψj≥1∑∣fj⋆∣≤BψR(j≥1∑j−2s/d)1/2<∞.(97)
Moreover, Gaussian noise satisfies their moment condition. Since
β+p=1>qandρt≍t−1/(β+p)=t−1,
Theorem 1(ii) of Fischer and Steinwart (2020) implies that there is an absolute constant C′>0 such that
Pr(ft−f⋆2>C′τ2t−β)≤4e−τ(98)
for τ≥1. We now pass from (98) to an expectation bound. Inspection of the sample-size condition in Fischer and Steinwart (2020, Theorem 16 and the proof of Theorem 1) shows that (98) holds uniformly for
1≤τ≤τˉt,τˉt:=clogtt1−q,
for some sufficiently small constant c>0 and all sufficiently large t. For simplicity, we let Wt:=ft−f⋆2. By the change of variables v2=(C′t−β)−1u, the truncated expectation is bounded as
Combining the truncated expectation and the upper-tail bound gives
E[Wt]≲t−β=t−2s/(d+2s).
Finitely many small values of t are absorbed into the constant.
D.4 Proof of Theorem 5.5
Proof. The variational process posterior is absolutely continuous with respect to the exact posterior and has finite reverse KL. Conditional on the data, Lemma D.6 below gives
W22(Qt(J),Πt)≤2∥Σt∥opKL(Qt(J)∥Πt).
In the proof of Lemma D.4, we have shown that on the event Et in (68), ∥Σt∥op≲t−1. Therefore, Lemma D.7 gives
where we use Lemma D.8 given below for the second inequality. Combining the derived inequalities, we get the desired result.
Lemma D.6 (Gaussian transportation). Let γ be a Gaussian law on L2(PX) with covariance operator Σ. If ν≪γ and KL(ν∥γ)<∞, then
W22(ν,γ)≤2∥Σ∥opKL(ν∥γ).(99)
Proof. By translation invariance of both the Wasserstein distance and relative entropy, it is enough to consider the centered case. Let (ej)j≥1 be an orthonormal basis corresponding to the positive eigenvalues of Σ. Let HΣ:=span(ej:j≥1). Then the Gaussian measure γ is supported on HΣ, and ν≪γ implies that ν is supported on the same space. For N≥1, let PN be the orthogonal projection onto span(e1,…,eN), and write
νN:=(PN)#ν,γN:=(PN)#γ.
Then
γN=N(0,ΣN),ΣN:=PNΣPN.
The finite-dimensional Gaussian transportation inequality (Talagrand, 1996), followed by linear rescaling, gives
W22(νN,γN)≤2∥ΣN∥opKL(νN∥γN).
Since ∥ΣN∥op≤∥Σ∥op and KL(νN∥γN)≤KL(ν∥γ) (because the KL divergence decreases under measurable transformations), we have, for every N,
W22(νN,γN)≤2∥Σ∥opKL(ν∥γ).(100)
Since γ is Gaussian, Fernique's theorem gives some η>0 such that
∫exp{η∥x∥2}γ(dx)<∞.
The Donsker-Varadhan variational formula therefore yields
η∫∥x∥2ν(dx)≤KL(ν∥γ)+log∫exp(η∥x∥2)γ(dx)<∞.
Thus both ν and γ have finite second moments. Using the coupling x↦(x,PNx),
W22(ν,νN)≤∫∥(I−PN)x∥2ν(dx)⟶0,
due to dominated convergence, because PNx→x as N→∞ for every x∈HΣ and the integrand is bounded by ∥x∥2. The same argument gives W2(γ,γN)⟶0. Hence, by the triangle inequality,
W2(νN,γN)⟶W2(ν,γ).
Letting N→∞ in (100) proves
W22(ν,γ)≤2∥Σ∥opKL(ν∥γ).
If Σ=0, then γ=δ0, and ν≪γ implies ν=γ, so the conclusion is immediate.
Lemma D.7 (KL approximation error of sparse GP). Under Assumptions 5.2 and 5.3, if J≥Jt†, then
E[KL(Qt(J)∥Πt)]≲td/(d+2s).(101)
Proof. We apply Lemma 3 of Nieman et al. (2022): for every h∈H,
where Rt,J:=∑j>Jλjψj(X1:t)ψj(X1:t)⊤. By uniform boundedness of the eigenfunctions in (42) and the eigenvalue decay in Assumption 5.3, we have the trace bound
Moreover, by applying Lemma 5 of Nieman et al. (2022), we have
E[∥Rt,J∥op]≲1+tJ−1−2s/d+td/(2s)J−2s/dlogt.
At J≥Jt† this is bounded by a constant because s>d. Now we take h=PJt†f⋆, the orthogonal projection onto span(ψ1,…,ψJ). Then (43) in Assumption 5.2 gives
where Rt,J:=∑j>Jλjψj(X1:t)ψj(X1:t)⊤. Take a constant function h=0. Then the desired result follows from combining two observations: ∥f⋆∥∞ is bounded under our assumption as we have shown in (97), and the trace term is bounded as tr(Rt,J)≲t as we have shown in (103).
D.5 Proof of Theorem 5.6
Lemma D.9 (Uniformly bounded predictive variance). Assume (42). Then for every t≥0 and every J≥1,
Pierre Alquier. Non-exponentially weighted aggregation: regret bounds for unbounded loss functions. In International Conference on Machine Learning, pages 207–218. PMLR, 2021.
Pierre Alquier and James Ridgway. Concentration of tempered posteriors and of their variational approximations. The Annals of Statistics, 48(3):1475–1497, 2020.
Pierre Alquier, James Ridgway, and Nicolas Chopin. On the properties of variational approximations of gibbs posteriors. Journal of Machine Learning Research, 17(1):8374–8414, 2016.
Tamara Broderick, Nicholas Boyd, Andre Wibisono, Ashia C. Wilson, and Michael I. Jordan. Streaming variational Bayes. In Advances in Neural Information Processing Systems 26, pages 1727–1735. Curran Associates, Inc., 2013.
Nicolas Brosse, Alain Durmus, Éric Moulines, and Marcelo Pereyra. Sampling from a log-concave distribution with compact support with proximal langevin monte carlo. In Proceedings of the 2017 Conference on Learning Theory, volume 65 of Proceedings of Machine Learning Research, pages 319–342. PMLR, 2017.
Sébastien Bubeck, Ronen Eldan, and Joseph Lehec. Sampling from a log-concave distribution with projected langevin monte carlo. Discrete & Computational Geometry, 59(4):757–783, 2018. doi:10.1007/s00454-018-9992-1.
Thang D. Bui, Cuong Nguyen, and Richard E. Turner. Streaming sparse gaussian process approximations. In Advances in Neural Information Processing Systems 30, pages 3299–3307, 2017.
David Burt, Carl Edward Rasmussen, and Mark van der Wilk. Rates of convergence for sparse variational gaussian process regression. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 862–871, 2019.
David Burt, Carl Edward Rasmussen, and Mark van der Wilk. Convergence of sparse variational inference in gaussian processes regression. Journal of Machine Learning Research, 21(131):1–63, 2020.
Nicolò Cesa-Bianchi and Gábor Lugosi. Prediction, Learning, and Games. Cambridge University Press, 2006. ISBN 9780521841085.
Venkat Chandrasekaran and Michael I. Jordan. Computational and statistical tradeoffs via convex relaxation. Proceedings of the National Academy of Sciences, 110(13):E1181–E1190, 2013. doi:10.1073/pnas.1302293110.
Badr-Eddine Chérief-Abdellatif, Pierre Alquier, and Mohammad Emtiyaz Khan. A generalization bound for online variational inference. In Proceedings of The Eleventh Asian Conference on Machine Learning, volume 101 of Proceedings of Machine Learning Research, pages 662–677. PMLR, 2019.
Bertrand S. Clarke and Andrew R. Barron. Information-theoretic asymptotics of Bayes methods. IEEE Transactions on Information Theory, 36(3):453–471, 1990. doi: 10.1109/18.54897.
Bo Dai, Niao He, Hanjun Dai, and Le Song. Provable Bayesian inference via particle mirror descent. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, volume 51 of Proceedings of Machine Learning Research, pages 985–994. PMLR, 2016.
Arnak S Dalalyan. Theoretical guarantees for approximate sampling from smooth and log-concave densities. Journal of the Royal Statistical Society Series B: Statistical Methodology, 79(3):651–676, 2017.
Pierre Del Moral, Arnaud Doucet, and Ajay Jasra. Sequential Monte Carlo samplers. Journal of the Royal Statistical Society Series B: Statistical Methodology, 68(3):411–436, 2006. doi:10.1111/j.1467-9868.2006.00553.x.
Persi Diaconis and Donald Ylvisaker. Conjugate priors for exponential families. The Annals of Statistics, 7(2):269–281, 1979.
Alain Durmus and Éric Moulines. Nonasymptotic convergence analysis for the unadjusted langevin algorithm. The Annals of Applied Probability, 27(3):1551–1587, 2017. doi: 10.1214/16-AAP1238.
Simon Fischer and Ingo Steinwart. Sobolev norm learning rates for regularized least-squares algorithms. Journal of Machine Learning Research, 21(205):1–38, 2020.
Elad Hazan, Amit Agarwal, and Satyen Kale. Logarithmic regret algorithms for online convex optimization. Machine Learning, 69(2–3):169–192, 2007. doi: 10.1007/s10994-007-5016-8.
James Hensman, Nicolas Durrande, and Arno Solin. Variational fourier features for gaussian processes. Journal of Machine Learning Research, 18(151):1–52, 2018.
Matt Jones, Peter Chang, and Kevin Murphy. Bayesian online natural gradient (BONG). In Advances in Neural Information Processing Systems 37, pages 131104–131153, 2024. doi: 10.52202/079017-4167.
Jungbin Jun and Ilsang Ohn. Adaptive bayesian online learning via expert aggregation. arXiv preprint, 2026.
Sham M. Kakade and Andrew Y. Ng. Online bounds for Bayesian algorithms. In Advances in Neural Information Processing Systems 17, pages 641–648, 2004.
Mohammad Emtiyaz Khan and Håvard Rue. The bayesian learning rule. Journal of Machine Learning Research, 24(281):1–46, 2023.
Holden Lee, Oren Mangoubi, and Nisheeth K. Vishnoi. Online sampling from log-concave distributions. In Advances in Neural Information Processing Systems 32, 2019.
Jeyong Lee, Junhyeok Choi, and Minwoo Chae. Online bernstein-von mises theorem. Journal of Machine Learning Research, 27(49):1–124, 2026a.
Jeyong Lee, Junhyeok Choi, Dongguen Kim, and Minwoo Chae. Bayesian online learning in the one-pass regime: Frequentist validity and uncertainty quantification. arXiv preprint, 2026b.
Yin Tat Lee, Ruoqi Shen, and Kevin Tian. Structured logconcave sampling with a restricted gaussian oracle. In Conference on Learning Theory, pages 2993–3050, 2021.
Alexander G. de G. Matthews, James Hensman, Richard E. Turner, and Zoubin Ghahramani. On sparse variational methods and the kullback–leibler divergence between stochastic processes. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, volume 51 of Proceedings of Machine Learning Research, pages 231–239, 2016.
Dennis Nieman and Botond Szabó. Adaptive sparse variational approximations for gaussian process regression. Bayesian Analysis, 2025.
Dennis Nieman, Botond Szabo, and Harry van Zanten. Contraction rates for sparse variational approximations in gaussian process regression. Journal of Machine Learning Research, 23(205):1–26, 2022.
Dennis Nieman, Botond Szabo, and Harry van Zanten. Uncertainty quantification for sparse spectral variational approximations in gaussian process regression. Electronic Journal of Statistics, 17(2):2250–2288, 2023. doi: 10.1214/23-EJS2155.
Ilsang Ohn and Lizhen Lin. Adaptive variational Bayes: Optimality, computation and applications. The Annals of Statistics, 52(1):335–363, 2024.
Garvesh Raskutti, Martin J Wainwright, and Bin Yu. Early stopping and non-parametric regression: an optimal data-dependent stopping rule. Journal of Machine Learning Research, 15(1):335–366, 2014.
Alessandro Rudi, Raffaello Camoriano, and Lorenzo Rosasco. Less is more: Nyström computational regularization. In Advances in Neural Information Processing Systems, volume 28, 2015.
Alessio Spantini, Antti Solonen, Tiangang Cui, James Martin, Luis Tenorio, and Youssef Marzouk. Optimal low-rank approximations of bayesian linear inverse problems. SIAM Journal on Scientific Computing, 37(6):A2451–A2487, 2015.
Michel Talagrand. Transportation cost for gaussian and other product measures. Geometric and Functional Analysis, 6(3):587–600, 1996.
Michalis K. Titsias. Variational learning of inducing variables in sparse gaussian processes. In Proceedings of the Twelfth International Conference on Artificial Intelligence and Statistics, volume 5 of Proceedings of Machine Learning Research, pages 567–574, 2009.
Alexandre B. Tsybakov. Introduction to Nonparametric Estimation. Springer Series in Statistics. Springer, New York, 2009. doi: 10.1007/b13794.
Dirk van der Hoeven, Tim van Erven, and Wojciech Kotlowski. The many faces of exponential weights in online learning. In Proceedings of the 31st Conference on Learning Theory, volume 75 of Proceedings of Machine Learning Research, pages 2067–2092. PMLR, 2018.
Tim van Erven, Peter D. Grünwald, Nishant A. Mehta, Mark D. Reid, and Robert C. Williamson. Fast rates in statistical and online learning. Journal of Machine Learning Research, 16(54):1793–1861, 2015.
Volodimir G Vovk. Aggregating strategies. In Proceedings of the third annual workshop on Computational learning theory, pages 371–386, 1990.
Qun Xie and Andrew R. Barron. Asymptotic minimax regret for data compression, gambling, and prediction. IEEE Transactions on Information Theory, 46(2):431–445, 2000. doi: 10.1109/18.825803.