The Bayesian learning rule (BLR) exploits the relation between Bayesian updating and the Kullback-Leibler divergence (KLD) to derive efficient additive updates for exponential family variational posteriors. The KL geometry is powerful but restrictive: combined with posterior families with parameter-dependent support it can lead to undefined objectives. We ask which non-KL geometries preserve the additive BLR computation. Previous works that use f-divergences suggest that this is only possible with the KLD. Here, we show that this is not true. We show that additive information-geometric optimization algorithms can be derived for the class of mixed-space Bregman or Fenchel-Young discrepancies. These discrepancies induce generalized maximum-entropy families, dual coordinates, and generalized-BLR canonical gradient updates, recovering the classical BLR. The generalized BLR leads to new algorithms that cannot be derived from the KL-based BLR. For the Tsallis negentropy with quadratic statistics, the generalized BLR yields bounded-support and heavy-tailed q-Gaussian posteriors and an easy Newton-like implementation. Experiments up to CIFAR-100 illustrate controllable support and tail behavior and competitive performance.
1 Introduction
There is substantial work on generalizing Bayesian inference from the perspective of optimization: the variational posterior strikes a balance between information from the observations and adherence to the prior. Recently, Knoblauch et al. [2022] exploit the “modularity” of this optimization perspective, treating the variational family in which the posterior is sought, the loss connecting the posterior to the observations, and the divergence between the posterior and prior as independent design choices, ignoring formal interactions of these objects. In contrast, Khan and Rue [2023]’s Bayesian learning rule (BLR) is an iterated, conjugate inference extension of classical Bayes, preserving the standard couplings between the prior and entropic regularizer, and between prior and posterior families (Sec. 2). In the BLR, the updates stem from the interaction of Shannon entropy, KL geometry, and exponential-family posteriors, which is computationally powerful but restrictive: it ties the BLR to standard fixed-support exponential families. Posterior families with variable support or adaptive tail behavior fall outside the scope of the KL-based BLR. Here, we focus on a structural question raised by the BLR: are there generalizations of the KL-based variational objective that preserve the additive canonical-coordinate updates that free the BLR from its KL restriction?
Preprint.
Figure 1: Left: We generalize the BLR by exploiting the geometry of Fenchel-Young discrepancies. We recover as special cases the BLR and the learning algorithms derived from it, and derive new algorithms using bounded-support and heavy-tailed q-exponential families. Right: Unlike Gaussians, bounded-support q-Gaussians allow control of the support by varying q. Thus, we can fit posteriors that closely track the MAP. The illustrated loss is that of 2D Bayesian logistic regression [Murphy, 2012], each circle indicates the first standard deviation, and outer loss contours indicate higher loss values. The Gaussian (q = 1) fit is farther from the MAP because its full support assigns non-negligible mass to high-loss regions; bounded-support q-Gaussians truncate this exploration.
Our contributions are: (1) We identify mixed-space Bregman or Fenchel-Young discrepancies, as defined by Amari and Cichocki [2010], Martins et al. [2022] but only first connected to variational Bayes in Sklaviadis et al. [2025], as a class that preserves BLR-style additive canonical updates. (2) We propose a generalized BLR update beyond the KL geometry and show that the classical BLR is recovered as a special case (Sec. 3). (3) We instantiate the generalized BLR update for the Tsallis negative entropy, yielding parameter-dependent bounded-support and heavy-tailed q-Gaussian Newton-like variational learning methods (Sec. 4, App. F). Our new Newton-like optimizers require changing a few lines of code in state-of-the-art Improved Variational Online Newton (IVON) [Shen et al., 2024], a scalable Gaussian BLR-style optimizer for deep networks, to obtain heavy-tailed or bounded-support noise injection, maintain non-Gaussian posteriors, and target a generalized Bayesian objective using the maximum entropy (maxent) geometry associated with each objective. These optimizers enable generalized Bayesian learning beyond the KLD at scale (Sec. 5, App.s G, H).
By KL or mixed-space Bregman geometry we mean the convex-analytic structure defined by a reference score and convex function, which induce a mixed Bregman divergence: the score family and convex function determine the maxent posterior family whose convex conjugate determines dual coordinates, and a Hessian metric. Our terminology is motivated by the fact that a mixed Bregman divergence is the slack in a Fenchel-Young inequality. 1 Closest to our generalized BLR is Alquier [2021]'s mirror-descent update that optimizes the sum of an expected loss and a f-divergence. Only when the f-divergence coincides with the KLD is it possible to separate the f-divergence ratio into a difference of linear expectations. Uniquely, the KLD belongs both to the classes of f- and Bregman divergences [Amari, 2009]. The mixed-space Bregman divergence that we use recovers the KLD and BLR, but encompasses other divergences corresponding to generalized entropies. We optimize a generalized variational objective using dual coordinates of a relaxed class of reference scores in place of normalized priors, and generalized Fenchel posteriors in place of Gibbs posteriors. The resulting information-geometric algorithm has the same additive computation as the BLR, and admits a dual-space analogue of Bissiri et al. [2016]'s sequential coherence, unlike f-divergence updates.
Parameter-dependent bounded-support q-Gaussian posteriors allow the posterior mean to closely track MAP solutions (Figs. 1 and 2). By contrast, Gaussian variational means are far enough away from the MAP to avoid sampling parameter-space regions with high-loss. The heavy-tailed q-Gaussian posterior updates we derive are reparametrizations of Student-t distributions studied in robust Bayesian inference. Various aspects of robust Bayes can be reinterpreted in our framework,
1We use Fenchel rather than Legendre deliberately. In convex analysis, the Legendre transform is the differentiable special case of the Fenchel conjugate [Boyd and Vandenberghe, 2004, Touchette, 2005].
with the benefit of easy conjugate priors, but drawing these connections is beyond the scope of this paper; as is demonstrating state-of-the-art or scale. We show experiments up to CIFAR-100 (App. G), and defer large experiments, for example on quantization-aware training, pruning, and language model training with bounded variance to future work. We develop the theoretical framework and check that the proposed algorithms for variational training with controllable support and tail behaviors are competitive with their Gaussian IVON counterpart [Khan et al., 2018, Osawa et al., 2019, Shen et al., 2024], without additional tuning.
2 KLD Geometry and the BLR
The BLR relies on two levels of a common convex duality. At the density-space level, the Gibbs-Donsker-Varadhan variational formula is the Fenchel duality between the log-Laplace functional of a tilted prior, and the relative entropy with respect to that prior. Equivalently, if the prior is represented by a reference score, the KLD is the Fenchel-Young slack generated by the Shannon negentropy and that score. The density-space duality, restricted by finite moment constraints, results in the maximum entropy characterization of exponential families: with constant base measure, the exponential family πλ with canonical parameter λ maximizes the Shannon entropy among all densities with the same moments, and with a non-constant base measure it maximizes the relative entropy with respect to that base measure. At the parametric level, restricting the score to the finite-dimensional linear class ηλ(θ)=⟨λ,T(θ)⟩ induces the cumulant A(λ). Under regularity and minimality, μ=∇A(λ), and (λ,μ) are the dual coordinates on which the additive BLR update is based.
Fix a measurable space (Θ,A) and a σ-finite reference measure h. Let P be a convex class of probability densities with respect to h, and write Eπ[f]=∫Θf(θ)π(θ)dh(θ). For the Shannon negentropy ΩSh=−H(π)=∫Θπ(θ)logπ(θ)dh(θ), the Fenchel conjugate over densities
is log-normalization, whenever the integral is finite. The corresponding Fenchel-Young slack is
D−H(η,π)=ΩSh∗(η)+ΩSh(π)−Eπ[η(θ)]≥0.
The KLD can be derived as the Fenchel-Young slack generated by Shannon negentropy and a reference score. In particular, if a prior density is represented by score η0, as π0(θ)=exp(η0(θ)−ΩSh∗(η0)), then logπ0(θ)=η0(θ)−ΩSh∗(η0). Hence, for any density π,
Taking the infimum over candidates π we get the Gibbs-Donsker-Varadhan variational formula
−logZ=π∈P:π≪π0infEπ[ℓ(θ)]+DKL(π∥π0).(3)
Conversely, sharpness of the Gibbs bound uniquely characterizes the KL regularizer (App. A). Equality in Eq. 3 holds when the Fenchel-Young slack in Eq. 2 vanishes, that is, when π is the normalized density induced by the tilted score η0−ℓ, namely the Gibbs posterior:
This duality appears in several literatures. In statistical mechanics and information theory, free-energy minimization and maximum Shannon entropy subject to moment constraints yield exponential families [Gibbs, 1902, Jaynes, 1957, Williams, 1980, Zellner, 1988]. In generalized Bayesian inference, the negative log-likelihood is replaced by a general loss while retaining the KLD penalty to the prior [Zhu et al., 2014, Bissiri et al., 2016, Ghosh and Basu, 2016, Jewson et al., 2018, Miller and Dunson, 2019]. In PAC-Bayesian learning theory, the KLD measures the complexity of moving from a fixed prior to a data-dependent posterior [Zhang, 1999, Catoni, 2007, Grünwald and Mehta, 2020]. In variational inference, the ELBO is equivalently a KLD-regularized expected-fit objective or a KL projection of the exact posterior onto a tractable family [Wainwright et al., 2008, Hoffman et al., 2013, Blei et al., 2017]. Instead of replacing the KLD in Eq. 3, we use the Fenchel-Young structure that generates the KLD as the template for the mixed-space Bregman construction in Sec. 3. 2
2.1 Exponential Family Posteriors from Moment-Constrained Maxent
When the posterior belongs to a regular, minimal exponential family (expfam), through a constant base measure determined by finite moment constraints, the duality between log-normalization and negative entropy characterizes the posterior as the unique Shannon maxent distribution. To see this, first we fix a base measure b(θ)dθ and a finite sufficient statistic
T(θ)=(T1(θ),...,TP(θ)).(4)
For each λ∈RP, the linear score ηλ(θ)=⟨λ,T(θ)⟩ defines an exponential tilt eηλ(θ)b(θ)dθ, which is not, in general, a probability measure. For λ∈Λ={λ∈RP:∫b(θ)exp(ηλ(θ))dθ<∞}, the unique additive correction is the cumulant or log-partition function A(λ)=log∫b(θ)exp(⟨λ,T(θ)⟩)dθ, defined on Λ, and the density induced by h and T has the familiar exponential family form
πλ(θ)=b(θ)exp(⟨λ,T(θ)⟩−A(λ)).(5)
Note that λ is introduced as the coefficient of the finite-dimensional score, and A(λ) is derived as the log-normalizer of the corresponding exponential tilt, which is the measure-theoretic operation that uses the score ηλ to tilt the base measure, thereby characterizing the expfam form. 3
Differentiating ∫πλ(θ)dθ=1 with respect to λ we obtain the moment map ∇λA(λ)=Eπλ[T(θ)]=μ(λ). Thus, natural and expectation parameter form a Legendre dual coordinate system. For simplicity, we assume the base measure is constant. In this case, the member of the expfam with moment vector μ(λ) is the unique Shannon entropy maximizer among all densities π∈P, that satisfy the same moment constraints (see App. B.1 for a proof). 4
2.2 The BLR in Exponential Family Coordinates
Khan and Rue [2023] apply Eq. 3 to unify various learning algorithms under the Bayesian Learning Rule (BLR). The BLR is obtained by restricting the DV optimization in Eq. 3 to the set of regular, minimal exponential families Q⊆P, and exploiting the (λ,μ) dual pair. Assuming, in addition, that the prior belongs to the same family, π0(θ)=b(θ)exp(⟨λ0,T(θ)⟩−A(λ0)), and taking b to be constant for simplicity, D−H(logπ0,πλ)=A(λ0)+A∗(μ(λ))−⟨λ0,μ⟩, where A∗ is the Legendre dual of A, and coincides with the negative Shannon entropy A∗(μ(λ))=−H(πλ). Differentiating D−H(logπ0,πλ) with respect to the expectation parameter, ∇μDKL(πλ∥π0)=λ−λ0.
For exponential families, the Fisher information matrix F(λ) can be shown to equal ∇λ2A(λ), which allows us to use the chain rule to express natural gradients ∇ as reparametrized regular gradients, ∇λ=F(λ)−1∇λ=∇μ. The expfam restriction renders the natural gradient of the KLD affine in λ, and the natural-gradient step into a mirror-descent step with an additive λ update
2A different line of thought in generalized VI is optimizes over a variational family by minimizing alternative divergences to the Bayesian posterior [Minka et al., 2005, Hernandez-Lobato et al., 2016, Li and Turner, 2016].
3The family is called regular if Λ is a nonempty open subset of RP. It is called minimal if there do not exist (a,b)∈R×RP, (a,b)=(0,0), such that a+⟨b,T(θ)⟩=0 for almost every θ. Under minimality, the natural parameter is identifiable, that is πλ1=πλ2 a.e. ⇒λ1=λ2, and A is strictly convex.
4More generally, if the base measure is not constant, a corresponding statement can be made in terms of maximum relative Shannon entropy with respect to that base measure.
where ρ is a step size or learning rate.
Under conjugacy, we can simplify further. There exists a natural parameter λ′ such that
Thus, Eπλℓ(θ)=⟨λ0−λ′,μ(λ)⟩+const., and ∇μEπλ[ℓ(θ)]=λ0−λ′, so Eq. 6 simplifies to 5
λ←(1−ρ)λ+ρλ′.
For conjugate expfam models, a single BLR step coincides with classical Bayes' rule. More generally, outside conjugacy, the BLR optimizes the Bayesian objective whose minimizer over P is the exact posterior. Many algorithms from optimization, statistics, and deep learning arise as special cases by varying the form of the exponential family. New algorithms have also been inspired by the general form of the BLR, including the Variational Online Newton algorithm that we extend in Sec. 4 and App. F to exemplify our proposed generalized BLR.
2.3 Limitations of the KLD and the BLR
KLD geometry has certain limitations. The KLD requires absolute continuity: if πλ places mass outside the support of π0, then DKL(πλ∥π0)=+∞. Thus posterior families with bounded, parameter-dependent support, and more generally families that cannot be represented as ordinary exponential families with fixed support, fall outside the scope of the KL-based BLR. Figs. 1 and 2 illustrate why bounded-support families are useful: they can avoid sampling high-loss regions and allow the variational mean to approach MAP solutions more closely than Gaussian approximations.
How then can we generalize the KLD so as to preserve the BLR’s efficient, additive updating? In Sec. 3 we show that Fenchel-Young discrepancies mediate exactly such a generalization. They yield generalized maxent families with well-defined dual parameters and generalized canonical gradients, allowing BLR-style updates under bounded, parameter-dependent support and beyond. Within the class of updates obtained by minimizing the sum of expected cumulative loss and an f-divergence, sequential coherence as defined by Bissiri et al. [2016] singles out the Kullback-Leibler divergence. In that sense, an f-divergence generalization of the KLD, like the f-divergence-regularized updates of Alquier [2021], cannot be used to define Bayes-like additive updates. Our mixed-space Bregman generalization of the KLD avoids this problem. The generalized BLR respects a dual-space analogue of sequential coherence: losses additively tilt the reference score, so processing losses sequentially or jointly yields the same tilted score. An interesting question that we hope to address in the future is whether mixed-space Bregman divergences uniquely recover BLR-style updates when we also wish to preserve the linear expectation of the loss term in Eq. 3.
3 Fenchel-Young BLR
To derive a generalized BLR beyond KL geometry, first we introduce mixed-space Bregman divergences to which we refer interchangeably as Fenchel-Young discrepancies (FYD). We call DΩ(η,π) a mixed-space Bregman because its two arguments belong to different spaces: η is a dual score, while π is a density. This generalization of the KLD forms the basis of our proposal and allows our construction to remain meaningful for generalized entropies that may be nonsmooth, extended-valued, or have parameter-dependent support. We show how FYDs lead to generalized maxent families, for which we can define dual coordinates. Finally, we derive a generalized variational objective and learning rule. FYDs are also studied as discriminative losses by Blondel et al. [2019], Martins et al. [2022], and their information-geometric properties are discussed in Amari and Cichocki [2010], Nielsen [2022]. Here, we use them in a novel way to generalize the Bayesian learning rule optimizing the generalized objective defined in Sklaviadis et al. [2025].
5Writing Eq. 6 in terms of densities by substituting the update for λ into the exponential family form of πλ results in a multiplicative BLR update, which under conjugacy simplifies to
3.1 Generalizing the KLD to the Fenchel-Young Discrepancy
Fix a proper convex function Ω:P→R∪{∞} on densities. The Fenchel conjugate of Ω
Ω∗(η)=π∈PsupEπ[η(θ)]−Ω(π)
acts on measurable scores η:Θ→R∪{±∞}, for which the pairing ⟨η,π⟩=Eπ[η(θ)]=∫Θη(θ)π(θ)dh(θ) is well defined. For any η∈domΩ∗ and π∈domΩ with finite pairing, the Fenchel-Young discrepancy is [Martins et al., 2022, Amari and Cichocki, 2010]
DΩ(η,π)=Ω∗(η)+Ω(π)−Eπ[η(θ)].(10)
The first argument is a reference score, not necessarily the log-density of a normalized prior. Since every π∈P integrates to one, Ω∗(η+c)=supπ∈P{Eπ[η(θ)]+c−Ω(π)}=Ω∗(η)+c, and therefore DΩ(η+c,π)=DΩ(η,π). For general Ω, when the supremum defining Ω∗(η) is attained, any maximizer πη∈argmaxπ∈P{Eπ[η(θ)]−Ω(π)} is a density induced by the score η. Equivalently, πη∈∂Ω∗(η) with respect to the (η,π) pairing.
3.2 Generalizing the Exponential Family
Dual coordinates related to the FYD can be defined for a much larger class of distributions that the expfam, including deformed exponential families [Amari, 2016, Naudts, 2002]. Our generalization preserves the same logic we followed in Sec. 2.1 to derive exponential families and characterize their dual coordinates. We begin with a finite-dimensional ηλ, thereby identify a convex potential Ψ∗(λ)=Ω∗(ηλ), and only when the supremum defining Ω∗(ηλ) is attained by a density, do we recover the corresponding member πλ of the induced maximum-entropy family. The generalized Fisher we use is distinct from both the invariant and conformally flat geometries of Amari et al. [2012], and it is a generalization of the metric associated with the derivation of deformed exponential families subject to linear (rather than escort) expectation constraints discussed in Naudts [2011].
Starting with a fixed measurable statistic T(θ) as in Eq. 4, define the moment vector μ=Eπ[T(θ)], and associate with it the Lagrange multiplier λ∈RP. The corresponding finite-dimensional score family is ηλ(θ)=⟨λ,T(θ)⟩, defined up to an additive constant. 6 We define Ψ to assign to each moment vector μ the optimal value of the corresponding constrained minimization problem
We do not assume that the infimum in Eq. 11 is attained for every μ. When Ω=−H, Eq. 11 reduces to the classical Shannon maxent, and under the constant base measure convention of Sec. 3.1, whenever the minimizer exists it is the expfam in Eq. 5 with natural parameter λ=∇A∗(μ). In that case, Ψ(μ)=A∗(μ) and Ψ∗(λ)=A(λ).
Prop. 1 identifies the finite-dimensional convex potential associated with the score family. However, it does not yet identify a family of densities, it only shows how the infinite dimensional moment problem projects to canonical coordinates. Next, we determine when a density obtained from a finite dimensional score solves the infinite dimensional problem in Eq. 11.
Proposition 2. Assume that for λ∈RP the supremum defining Ω∗(ηλ) is attained by πλ∈P: Ω∗(ηλ)=Eπλ[ηλ(θ)]−Ω(πλ). Define μ(λ)=Eπλ[T(θ)]. Then πλ minimizes Eq. 11.
6An additional constant statistic T0=1 in T can absorb normalization constants into λ.
Proof. By the optimality of πλ in the definition of Ω∗(ηλ), for every π∈P, Ω(π)−Eπ[ηλ(θ)]≥Ω(πλ)−Eπλ[ηλ(θ)]. Let π satisfy the same moment constraints as πλ, namely Eπ[T(θ)]=μ(λ). Then
Hence Ω(π)≥Ω(πλ), which proves optimality. If Ω is strictly convex, this minimizer is unique. □
In Prop. 2 the infinite dimensional optimizer is certified by a finite dimensional score lying in the span of the constraint functions. This motivates the induced family
QΩ,T={πλ∈P:πλattainsΩ∗(ηλ),λ∈RP}.
Props. 1 and 2 are the only occasions where the full density-space duality is needed. Once the induced family QΩ,T and the potential Ψ∗ are identified, all subsequent geometry and updates are finite-dimensional in the dual coordinates (λ,μ). From here on, πλ denotes a member of QΩ,T. Whenever the maximizer is unique and the conjugate is differentiable at ηλ, we write πλ=∇Ω∗(ηλ). When Ψ∗ is differentiable at λ and the corresponding optimizer πλ has finite moments,
μ(λ)=∇λΨ∗(λ)=Eπλ[T(θ)].
We further write λ(μ)=∇μΨ(μ). Thus λ and μ play the roles of canonical and expectation parameters, as in exponential families, but for the larger class of maxent families induced by Ω.
Finally, whenever πλ∈QΩ,T solves Eq. 11 at μ, the FYD admits the mixed-space form
DΩ(ηλ0,πλ)=Ψ∗(λ0)+Ψ(μ)−⟨λ0,μ⟩.
Indeed, Prop. 1 gives Ω∗(ηλ0)=Ψ∗(λ0), optimality of πλ in Eq. 11 gives Ω(πλ)=Ψ(μ), and Eπλ[ηλ0(θ)]=⟨λ0,μ⟩. This is directly analogous to the mixed-space Bregman form of the KLD in Eq. 1 and enables BLR-style additive updates in canonical coordinates. Importantly, the first argument is now a reference score ηλ0, not necessarily a normalized density. When Ω=−H we recover the classical exponential family. When Ω=Ω2−q, the induced family is the deformed q-exponential (proven in App. B.2). In App. F.1, we show the quadratic statistic T(θ)⊤=(θ,θθ⊤) yields the bounded-support and heavy-tailed q-Gaussian families used by the q-VON Algorithms 1 and 2.
3.3 Generalizing the Variational Objective
Using FYDs and the generalized maxent families, the generalized BLR objective
recovers the BLR objective when Ω=−H and ηλ0=logπ0. Other choices of Ω amount to new objectives. From the definition of FYDs we can write Eq. 13 as
λ∈ΛminEθ∼πλ[ℓ(θ)−ηλ0(θ)]+Ω(πλ).(14)
This separation in terms of a linear expectation of ηλ0 and a generalized negentropy of πλ is not possible with f-divergences (except the KLD). Up to a πλ-independent scalar Eq. 13 is the FYD DΩ(ηλ0−ℓ,πλ). Thus, observing a loss ℓ tilts the reference score from ηλ0 to ηλ0−ℓ. Since losses compose associatively in dual space, processing losses sequentially or jointly results in the same score, preserving sequential coherence in score-space.
3.4 Generalizing the BLR
Theorem 1 (Fenchel-Young BLR). Let QΩ,T, Ψ, Ψ∗, and the moment map μ(λ)=Eπλ[T(θ)] be as in Sec. 3.2 and Props. 1 and 2. Let Λ0 be an open coordinate chart of the induced family QΩ,T. Assume that Ψ∗∈C2(Λ0), and define a generalized Fisher 7F(λ):=∇λ2Ψ∗(λ) invertible on Λ0. Assume also that the dual potential Ψ is differentiable on μ(Λ0), with ∇μΨ(μ(λ))=λ. Fix
7Note that this is different from the “q-Fisher” discussed by Amari et al. [2012] who consider instead the Hessian of the cumulant of the solution to an escort-expectation constrained variant of Eq. 11, which leads to a different geometry than ours when q=1.
Algorithm 1 q-VON (bounded-support q<1)
Require: Learning rates ρt, weight-decay δ>0
Require: Momentum β1,β2∈[0,1)
Require: Hessian init h0>0,
Deformation index q<1
Compute: κ(q,D)←D+2(2−q)/(1−q)R2,
γ←D+2/(1−q)
Init: m←(NN-weights),h←h0,g←0,
ζ←N
Init: s←ζ(h+δ) (diagonal of S)
Init: σ2←(s1⋯sD)1/γ/s (scale)
1: for t=1,2,… do
2: g←∇θℓ(θ),θ∼Nq(m,diag(σ2))
3: h←κ−1g⋅(θ−m)/σ2
(estimator for Eπ~[diag(∇2ℓ)])
4: g←β1g+(1−β1)g
5: h←β2h+(1−β2)h
6: m←m−ρt(g+δm)/(h+δ)
7: s←ζ(h+δ)
8: σ2←(s1⋯sD)1/γ/s
9: end for
10: return m,σ2
Algorithm 2 Student-t-VON (heavytailed q>1)
Require: Learning rates ρt, weight-decay δ>0
Require: Momentum β1,β2∈[0,1)
Require: Hessian init h0>0,
Degrees of freedom ν>2
Compute:
κt←νν+D[(ν+D)2Dπ2DΓ(2ν+D)Γ(2ν)]ν2
Init: m←(NN-weights),h←h0,g←0,
ζ←N
Init: s←ζ(h+δ) (diagonal of S)
Init: σ2←κt(s1⋯sD)−1/ν/s (scale)
1: for t=1,2,… do
2: g←∇θℓ(θ),θ∼Tν(m,diag(σ2))
3: h←νν−2g⋅(θ−m)/σ2
(estimator for Eπ~[diag(∇2ℓ)])
4: g←β1g+(1−β1)g
5: h←β2h+(1−β2)h
6: m←m−ρt(g+δm)/(h+δ)
7: s←ζ(h+δ)
8: σ2←κt(s1⋯sD)−1/ν/s
9: end for
10: return m,σ2
λ0∈Λ0, and define ℓˉ(θ)=ℓ(θ)−ηλ0(θ). Assume that the map μ↦Eπλ(μ)[ℓˉ(θ)] is differentiable on μ(Λ0). Then the generalized canonical gradient satisfies
In particular, any fixed point with ρt>0 satisfies λ∗=−∇μEπλ(μ)[ℓˉ(θ)]μ=μ(λ∗).
The proof is in App. C. The canonical parameter at convergence is matched with the gradient of the loss. Analogous to the fixed-point interpretation of the BLR, this shows that generalized canonical gradients are intrinsic to the variational problem, rather than an optimization choice. The update in Eq. 16 is one of our main contributions. We call it the generalized BLR, as it applies to families of distributions larger than the exponential family (see Fig. 1). When Ω=−H we recover the BLR. If ηλ0(θ)−ℓ(θ)=ηλ′(θ)+const., then λt+1=(1−ρt)λt+ρtλ′, so a unit step recovers the generalized conjugate posterior induced by the tilted score.
4 Example: Tsallis Negentropy and q-VON
As our main example we replace the Shannon negentropy by the Tsallis negentropy Ω2−q and derive Algorithms 1 and 2 (see App. F for details), which we apply to CIFAR-100, CIFAR-10, MNIST (see App. G), and to Bayesian logistic regression on a UCI dataset (Fig. 2). The induced maxent family is the q-exponential family (see App. B.2 for a proof),
πλ(θ)=expq(λ⊤T(θ)−A2−q(λ)),(17)
where expq(u)=[1+(1−q)u]+1/(1−q) when q=1. We take Θ=RD, with Lebesgue reference measure, so θ∈RD. For the quadratic statistic T(θ)⊤=(θ,θθ⊤) with canonical parameter
λ⊤=(Sm,−21S), this yields a location-scale (m,Σ) family of q-Gaussians. The quadratic geometry is unchanged, but q controls support and tail shapes: q<1 gives parameter-dependent bounded-support Alg. 1, and q>1 gives heavy-tailed Alg. 2 with ν=2/(q−1)−D. In App. D we review the canonical, location-scale, and expectation parametrizations of bounded-support and heavy-tailed q-Gaussians, as well as a closed-form FYD for the heavy-tailed case, which we use to evaluate the objective optimized by Alg. 2. In App. E we derive the reparameterized gradient estimators underlying lines 2-3 of Algorithms 1 and 2.
Specializing the generalized BLR update (16) to quadratic families with expectation parameters (μ,M)=(Eπλ[θ],Eπλ[θθ⊤]), we obtain Newton-like canonical updates. After converting gradients with respect to (μ,M) to gradients with respect to (m,Σ) and applying Bonnet- and Price-type identities (App. E), both the bounded-support and heavy-tailed cases take the common form (App. F)
where π~2−q denotes the (2−q)-escort of π. The updates in Eq. 18 are strikingly similar in form to those of VON and IVON [Khan et al., 2018, Osawa et al., 2019, Shen et al., 2024]. The difference between q<1 and q>1 lies in the relation between (S,m) and the location-scale parametrizations, and in the corresponding escort reweighting appearing in the Price identity. The complete derivations, including the bounded-support and Student-t closed forms, and the escort-based Hessian identities are given in Apps. F, D and E. Algorithms 1 and 2 give practical diagonal implementations of these updates. Relative to IVON, only the sampling law, the constants relating S to the scale, and the corresponding diagonal Stein estimator change. As in IVON, we use minibatch stochastic gradients, a diagonal precision S=diag(s), the reparametrization s=ζ(h+δ), and momentum terms for stable deep-learning optimization. While the CIFAR-100 experiment we show in App. G is not a large-scale benchmark, there is no structural obstacle to scaling further, and applying q-VON to transformer- or LLM-scale training is an empirical engineering question, which we leave to future work.
Mean-Field. In high-dimensional models we use a factorized mean-field q-VON-MF, where each parameter follows a 1D q-Gaussian. We replace Ω in Eq. 13 with a sum of 1D terms. The only change to Algorithms 1 and 2 is to use 1D constants (set D=1), and update each variance parameter separately rather than through the product s1⋯sD (App. F.2). This addresses the problem that finite covariance in high-dimensional settings forces heavy-tailed q-values to be close to 1, and that D can dominate the max support radius in bounded-support settings. An exciting future direction that our work opens is training deep networks whose parameters have variable levels of stochasticity; for example, each layer may be associated with distinct, learnable or tunable support- and tail-behaviors.
5 Experiments
Figure 2: Bounded-support, mean-field variational posterior (red, blue) means can approach the posterior mode of features A7_0, A13_p and A7_ff, by changing the value of q in Bayesian logistic regression on the UCI Credit Approval dataset. This is useful when posterior marginals (grey) are skewed, and thus the empirical mode is badly approximated by a Gaussian posterior (black).
We evaluate q-VON on Bayesian logistic regression and image classification. Detailed experiment descriptions are in App. G, and results on varying q are in App. H. On Bayesian logistic regression, shrinking the max support radius by decreasing q < 1 lets the q-VON approximation closely track the MCMC posterior mode, in contrast to the Gaussian approximation (Fig. 2). On MNIST, CIFAR-10, and CIFAR-100 we compare q-VON and q-VON-MF against SGD, VSGD, IVON, and a mean-only baseline q-VSGD, using test accuracy, NLL, ECE, Brier score, and AUROC. Generally, q-VON improves over SGD and q-VSGD, showing that learning the posterior shape outperforms noise injection. The choice of tail behavior can trade off generalization and calibration: on MNIST, heavy-tailed q-VON has the highest accuracy while bounded-support q-VON has the best calibration. On CIFAR, q-VON-MF is competitive with (highly tuned) IVON without additional tuning. Our experiments demonstrate that generalized BLR updates can be implemented at the scale of modern neural-network optimizers while extending IVON to posterior families unavailable to the BLR.
References
P. Alquier. Non-Exponentially Weighted Aggregation: Regret Bounds for Unbounded Loss Functions. In International Conference on Machine Learning (ICML), 2021.
S.-I. Amari. α-Divergence Is Unique, Belonging to both f-divergence and Bregman Divergence Classes. IEEE Transactions on Information Theory, 55(11):4925–4931, 2009.
S.-I. Amari. Information Geometry and its Applications, volume 194. Springer, 2016.
S.-I. Amari and A. Cichocki. Information geometry of divergence functions. Bulletin of the Polish academy of sciences. Technical Sciences, 58(1):183–195, 2010.
S.-I. Amari and A. Ohara. Geometry of q-Exponential Family of Probability Distributions. Entropy, 13(6):1170–1185, 2011.
S.-I. Amari, A. Ohara, and H. Matsuzoe. Geometry of deformed exponential families: Invariant, dually-flat and conformal geometries. Physica A: Statistical Mechanics and its Applications, 391(18):4308–4319, 2012.
P. G. Bissiri, C. C. Holmes, and S. G. Walker. A General Framework for Updating Belief Distributions. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 78(5):1103–1130, 2016.
D. M. Blei, A. Kucukelbir, and J. D. McAuliffe. Variational Inference: A Review for Statisticians. Journal of the American Statistical Association, 112(518):859–877, 2017.
M. Blondel, A. Martins, and V. Niculae. Learning classifiers with Fenchel-Young losses: Generalized entropies, margins, and algorithms. In The 22nd International Conference on Artificial Intelligence and Statistics, pages 606–615. PMLR, 2019.
S. Boyd and L. Vandenberghe. Convex Optimization. Cambridge University Press, 2004.
O. Catoni. PAC-Bayesian Supervised Classification: The Thermodynamics of Statistical Learning. arXiv preprint arXiv:0712.0248, 2007.
A. Ghosh and A. Basu. Robust Bayes estimation using the density power divergence. Annals of the Institute of Statistical Mathematics, 68(2):413–437, 2016.
J. W. Gibbs. Elementary Principles in Statistical Mechanics: Developed with Especial Reference to the Rational Foundations of Thermodynamics. C. Scribner's sons, 1902.
P. D. Grünwald and N. A. Mehta. Fast Rates for General Unbounded Loss Functions: From ERM to Generalized Bayes. Journal of Machine Learning Research, 21(56):1–80, 2020.
T. Guilmeau, E. Chouzenoux, and V. Elvira. Regularized rényi divergence minimization through bregman proximal gradient algorithms. Journal of Machine Learning Research, 26(157):1–56, 2025. URL https://www.jmlr.org/papers/v26/23-0573.html.
C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger. On calibration of modern neural networks. In International Conference on Machine Learning (ICML), 2017.
J. Hernandez-Lobato, Y. Li, M. Rowland, T. Bui, D. Hernández-Lobato, and R. Turner. Black-box α-divergence Minimization. In International conference on machine learning, pages 1511–1520. PMLR, 2016.
M. D. Hoffman, D. M. Blei, C. Wang, and J. Paisley. Stochastic Variational Inference. Journal of machine learning research, 2013.
P. Ishwar and P. Moulin. On the existence and characterization of the maxent distribution under general moment inequality constraints. IEEE transactions on information theory, 51(9):3322–3333, 2005.
E. T. Jaynes. Information Theory and Statistical Mechanics. Physical review, 106(4):620, 1957.
J. Jewson, J. Q. Smith, and C. Holmes. Principles of Bayesian Inference Using General Divergence Criteria. Entropy, 20(6):442, 2018.
M. Khan and W. Lin. Conjugate-Computation Variational Inference: Converting Variational Inference in Non-conjugate Models to Inferences in Conjugate Models. In Artificial Intelligence and Statistics, pages 878–887. PMLR, 2017.
M. E. Khan and H. Rue. The Bayesian Learning Rule. Journal of Machine Learning Research, 24(281):1–46, 2023.
M. E. Khan, D. Nielsen, V. Tangkaratt, W. Lin, Y. Gal, and A. Srivastava. Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam. In International Conference on Machine Learning (ICML), 2018.
J. Knoblauch, J. Jewson, and T. Damoulas. An Optimization-centric View on Bayes' Rule: Reviewing and Generalizing Variational Inference. Journal of Machine Learning Research, 23(132):1–109, 2022.
Z. Landsman and J. Nešlehová. Stein's lemma for elliptical random vectors. Journal of Multivariate Analysis, 99(5):912–927, 2008.
Z. Landsman, S. Vanduffel, and J. Yao. Some Stein-type Inequalities for Multivariate Elliptical Distributions and Applications. Statistics & Probability Letters, 97:54–62, 2015.
A. Lasota and M. C. Mackey. Chaos, Fractals, and Noise: Stochastic Aspects of Dynamics, volume 97. Springer Science & Business Media, 2013.
Y. Li and R. E. Turner. Rényi Divergence Variational Inference. Advances in neural information processing systems, 29, 2016.
M. Lukashchuk, R. Trésor, W. W. Nuijten, I. Senoz, and B. de Vries. The Quotient Bayesian Learning Rule. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
A. F. Martins, M. Treviso, A. Farinhas, P. M. Aguiar, M. A. Figueiredo, M. Blondel, and V. Niculae. Sparse continuous distributions and Fenchel-Young losses. Journal of Machine Learning Research, 23(257):1–74, 2022.
H. Matsuzoe and A. Ohara. Geometry for q-exponential families. Recent progress in differential geometry and its related fields, pages 55–71, 2011.
J. W. Miller and D. B. Dunson. Robust Bayesian inference via coarsening. Journal of the American Statistical Association, 2019.
T. Minka et al. Divergence Measures and Message Passing. Technical report, Microsoft Research, 2005.
K. P. Murphy. Machine Learning: A Probabilistic Perspective. MIT press, 2012.
J. Naudts. Deformed exponentials and logarithms in generalized thermostatistics. Physica A: Statistical Mechanics and its Applications, 316(1-4):323–334, 2002.
J. Naudts. Generalised Thermostatistics. Springer Science & Business Media, 2011.
F. Nielsen. Statistical Divergences between Densities of Truncated Exponential Families with Nested Supports: Duo Bregman and duo Jensen divergences. Entropy, 24(3):421, 2022.
M. Opper and C. Archambeau. The Variational Gaussian Approximation Revisited. Neural computation, 21(3):786–792, 2009.
A. Orvieto, H. Kersting, F. Proske, F. Bach, and A. Lucchi. Anticorrelated Noise Injection for Improved Generalization. In International Conference on Machine Learning (ICML), 2022.
K. Osawa, S. Swaroop, M. E. Khan, A. Jain, R. Eschenhagen, R. E. Turner, and R. Yokota. Practical deep learning with Bayesian principles. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
Y. Shen, N. Daheim, B. Cong, P. Nickl, G. M. Marconi, C. Bazan, R. Yokota, I. Gurevych, D. Cremers, M. E. Khan, and T. Möllenhoff. Variational Learning is Effective for Large Deep Networks. In International Conference on Machine Learning (ICML), 2024.
S. Sklaviadis, T. Möllenhoff, A. Martins, and M. Figueiredo. Fenchel-young Variational Learning, 2025. URL https://arxiv.org/abs/2502.10295. arXiv:2502.10295 [cs.LG].
S. Sklaviadis, T. Möllenhoff, M. A. T. Figueiredo, A. F. T. Martins, and M. E. Khan. A Stein Identity for q-Gaussians with Bounded Support. In Conference on Parsimony and Learning (CPAL), 2026.
M. J. Wainwright, M. I. Jordan, et al. Graphical Models, Exponential Families, and Variational Inference. Foundations and Trends in Machine Learning, 1(1–2):1–305, 2008.
P. M. Williams. Bayesian Conditionalisation and the Principle of Minimum Information. The British Journal for the Philosophy of Science, 31(2):131–144, 1980.
K. Wu and J. R. Gardner. Understanding Stochastic Natural Gradient Variational Inference. arXiv preprint arXiv:2406.01870, 2024.
A. Zellner. Optimal Information Processing and Bayes's Theorem. The American Statistician, 42(4): 278–280, 1988.
T. Zhang. Theoretical Analysis of a Class of Randomized Regularization Methods. In Proceedings of the twelfth annual conference on Computational learning theory, pages 156–163, 1999.
J. Zhu, N. Chen, and E. P. Xing. Bayesian Inference with Posterior Regularization and Applications to Infinite Latent SVMs. The Journal of Machine Learning Research, 15(1):1799–1847, 2014.
Appendix Contents
A The sharp Gibbs bound forces the KLD 14
B Maxent 14
B.1 Expfam as max Shannon entropy 14
B.2 q-expfam as Max Tsallis (2 - q)-entropy 16
B.3 Existence 17
C Proof of Thm. 1 18
D q-Gaussians: q-exponential Family Form to Location-Scale 18
D.1 Canonical q-exponential form 18
D.2 Radial laws and location-scale form 19
D.3 Expectation parameters 20
D.4 FY Mixed-space Bregman between two heavy-tailed q-Gaussians 21
E Bonnet-, Price-, and Stein-type identities for q-Gaussians 21
E.1 Bonnet-type identities 22
E.2 Price-type identities 23
F Tsallis Negentropy and q-VON 25
F.1 q-Variational Online Newton 26
F.2 Mean-Field Variants 29
G Experiments 29
G.1 Bayesian logistic regression 29
G.2 Image Classification with Neural Networks 29
G.3 Empirical Verification of Convergence 31
Proposition 3. Fix a prior density π0 with respect to h. Suppose D(π,π0) is a loss-independent functional such that for every measurable loss ℓ:Θ→R∪{+∞} with
0<∫e−ℓ(θ)π0(θ)dh(θ)<∞
and every π∈P,
−log∫e−ℓ(θ)π0(θ)dh(θ)≤Eπ[ℓ(θ)]+D(π,π0),
with equality at the Gibbs density
πℓ(θ)=∫e−ℓ(θ′)π0(θ′)dh(θ′)e−ℓ(θ)π0(θ).
Then for every π≪π0 such that DKL(π∥π0)<∞, defining
ℓπ(θ)=−logπ0(θ)π(θ),
we have
D(π,π0)=DKL(π∥π0).
Proof. We choose a loss whose Gibbs posterior is the candidate posterior we want, and then evaluate the variational identity there. Let ℓ=ℓπ. Then
∫e−ℓπ(θ)π0(θ)dh(θ)=∫π(θ)dh(θ)=1,
so the left-hand side of the inequality is 0. Hence
since π and πλ have the same prescribed moments and both are densities. Hence
Ω2−q(π)≥Ω2−q(πλ).
When q<2,
Ω2−q(π)=−2−q1S2−q(π),
and minimizing Ω2−q is equivalent to maximizing S2−q.
This certifies optimality of a feasible q-exponential candidate. What we have not proven is the existence of λ or of a feasible πλ.
Remark. In general we assume
q<D+2D+4,q=1.
Then q<1 yields bounded-support q-Gaussians, while
1<q<D+2D+4
yields Student-t q-Gaussians with
ν=q−12−D>2.
Under the parameter range imposed by finite covariance, q=2 is excluded.
B.3 Existence
Our abstract construction in Sec. 3.2 is stated on the canonical domain
ΛΩ={λ∈RP:Ω∗(ηλ)isattainedbyauniqueπλ∈P}.
This conditional formulation is deliberate. A general existence theorem for arbitrary Ω would require additional infinite-dimensional assumptions on the support, the moment functions, and the regularizer. For the Shannon case, sufficient conditions of this kind are available in Ishwar and Moulin [2005]. For the Tsallis families used in Sec. F, we do not need such a general result because the optimizer is explicit: the bounded-support case is compactly supported, while the heavy-tailed case reduces to a Student-t family whose normalization and moment conditions can be checked directly from the closed form in App. D.
C Proof of Thm. 1
To generalize Khan and Rue [2023] we derive a canonical gradient descent for optimizing Eq. 14. We use ℓˉ(θ)=ℓ(θ)−ηλ0(θ). By Prop. 1, the finite-dimensional potential Ψ∗ characterizes the geometry of the canonical parameter space. Thus, we define the generalized Fisher matrix,
F(λ)=∇λ2Ψ∗(λ)=∇λ2Ω∗(ηλ)=∂λ∂μ(λ).(19)
and use the chain rule F(λ)−1∇λ=F(λ)−1F(λ)∇μ=∇μ, to obtain a generalized canonical gradient update of the same form as that of Khan and Rue [2023]. Whenever F(λ) exists and is invertible, the Fenchel-Young BLR is
The equality follows from the fact that ∇μΩ(πλ)=∇μΨ(μ)=λ (Sec. 3.2), which results in the (1−ρt) factor. This characterizes the stationary condition of the generalized variational objective. At any fixed point λ∗ of the canonical update λ∗=−∇μEπλ∗[ℓˉ(θ)].
Proof of Thm. 1. By the definition of the Fenchel-Young discrepancy,
By Prop. 1, Ω∗(ηλ0)=Ψ∗(λ0), which is constant with respect to λ. By Prop. 2, each πλ solves the maxent problem at moment vector μ(λ). Hence Ω(πλ)=Ψ(μ(λ)). Therefore, up to the additive constant Ψ∗(λ0),
Eπλ[ℓ(θ)]+DΩ(ηλ0,πλ)=Eπλ[ℓˉ(θ)]+Ψ(μ(λ)).
Taking the gradient w.r.t. λ and applying the chain rule
This proves Eq. 15. Substituting this identity into the canonical-gradient step gives
λt+1=λt−ρt[∇μEπλ(μ)[ℓˉ(θ)]μ=μ(λt)+λt],
which rearranges to
λt+1=(1−ρt)λt−ρt∇μEπλ(μ)[ℓˉ(θ)]μ=μ(λt).
The fixed-point condition follows by setting λt+1=λt=λ∗ with ρt>0.
D q-Gaussians: q-exponential Family Form to Location-Scale
D.1 Canonical q-exponential form
We start from the q-exponential family canonical parametrization of q-Gaussians (Eq. 82). To derive Alg. 1 and Alg. 2 we use the following sufficient statistics and canonical parameters, which along with the deformation index q determine the q-Gaussian density
T(θ)=(θθθ⊤),λ=(Sm−21S).(23)
Both bounded-support (q<1), and heavy-tailed densities (q>1) can be written with subtractive normalization in q-exponential form
where Γ is the Gamma function, and ν=q−12−D is the Student-t parameter as we show in more detail below where we also define constant κt.
D.2 Radial laws and location-scale form
To derive the closed forms of the covariances of θ that we use to derive the Newton-like updates in Sec. F.1 for the different ranges of q we need the following polar coordinate stochastic reparametrization. For feature dimension D we have
where u∼Unif(SD−1) on the unit sphere surface SD−1={u:u⊤u=1}, and r≥0 is independent of u.
When q<1 we use the determinant-rescaled elliptical scale matrix Σ=∣S∣1/γS−1 to write πλ(θ) in elliptical Pearson Type II, location-scale form, which is obtained from Eq. 24 and Eq. 25 by the definition of expq (Eq. 83) and some algebraic manipulation
Evaluating the integral ∫RD[21−q(R2−∥z∥2)]+1−q1dz=1 in terms of the polar coordinate reparametrization from Eq. 27 yields the closed form of the max support radius R(q,D)
From Eq. 24 and Eq. 26 by the definition of expq (Eq. 83) and some algebraic manipulation we obtain the elliptical Pearson Type VII form of the density
Escort reweightings. The Price- and Stein-type identities that can be derived for q-Gaussians naturally introduce a (2−q)-escorts (see App. E for more details on related bibliography, and a proof of the heavy-tailed Price-type identity):
D.4 FY Mixed-space Bregman between two heavy-tailed q-Gaussians
Analogously to the expression in [Martins et al., 2022, Prop. 18] we derive the FY mixed-space Bregman divergence for the q>1 case. For T(θ)=(θ,θθ⊤) and λ=(Sm,−21S), we consider the quadratic form of a score η0(θ)=λ0⊤T(θ) in the same linear family λ0=(S0m0−21S0). Up to an additive constant independent of θη0(θ)=−21(θ−m0)⊤S0(θ−m0). Let π0 denote the q-Gaussian induced by this score, i.e.
π0(θ)=Tν(θ∣m0,Σ0),Σ0=κt∣S0∣−1/νS0−1.(45)
The FY mixed-space Bregman divergence induced by Ω2−q is
E Bonnet-, Price-, and Stein-type identities for q-Gaussians
In Alg. 1 and Alg. 2 we replace the Gaussian samples of VON with elliptical q-Gaussian samples, using generalized Bonnet and Price identities related to appropriate elliptical Stein-type identities. The resulting q-VON algorithms retain VON's form, differing by factors depending only on (q,D) and closed-form escort reweighting derived from the dual; as q→1 we recover standard VON.
By generalizing the VON sampling step from a Gaussian to a q-Gaussian distribution we obtain a more general class of scalable q-VON algorithms, which extend the BLR to optimize over a much wider class of distributions. We focus on variants of VON involving deformed exponential families with bounded, parameter-dependent support (q < 1), and with heavy tails (q > 1). Elliptical families include q-Gaussians, which are encompassed under Pearson Type II (bounded support) and Type VII (heavy-tailed) distributions for appropriate ranges of q, and provide bounded-support and heavy-tailed behaviors with tractable geometry and reparameterizations. Further, they admit Stein-type identities which lead to generalized Bonnet and Price theorems [Landsman and Nešlehová, 2008, Landsman et al., 2015, Matsuzoe and Ohara, 2011]. The references concerning the heavy-tailed cases prove Stein-type identities but do not apply them to obtain Bonnet- and Price-type theorems, which we prove below for reference. Related proofs can be found in Khan and Lin [2017], Lukashchuk et al.. A bounded-support q-Gaussian Stein identity is derived and used to prove Bonnet- and Price-type identities in Sklaviadis et al. [2026].
Here we review the gradient identities used to derive the q-VON updates (Sec. F.1, Alg. 1 and Alg. 2). Throughout, θ∈RD is the random variable and πλ(θ) is the variational posterior with canonical parameters λ=(Sm,−21S). We write the same distribution in elliptical location-scale form πλ(θ)=qq(θ∣m,Σ), with r2(θ)=(θ−m)⊤Σ−1(θ−m).
E.1 Bonnet-type identities
For both q<1 and q>1, for differentiable f with suitable integrability, the gradient with respect to the location parameter satisfies the Bonnet identity
∇mEπλ[f(θ)]=Eπλ[∇θf(θ)].(52)
E.1.1 Proof of the q>1 or Student-t Bonnet-type identity
For a proof of the q<1 case see Sklaviadis et al. [2026].
Let πλ(θ)=Tν(θ∣m,Σ) with ν>2 and support RD,
πλ(θ)=Zν∣Σ∣1/21(1+ν1r2(θ))−(ν+D)/2.(53)
Assume f:RD→R is differentiable and integrable under πλ, and that boundary terms vanish (e.g. f and ∇θf are bounded; it suffices that πλ(θ) decays polynomially).
We show Eq. 52 holds componentwise. Fix i∈{1,…,D}. By dominated convergence we may differentiate under the integral:
∂mi∂Eπλ[f(θ)]=∫RDf(θ)∂mi∂πλ(θ)dθ.(54)
Since πλ(θ) depends on (θ,m) only through (θ−m), we have the identity
The total-derivative term vanishes by the boundary assumption, and thus
∂mi∂Eπλ[f(θ)]=Eπλ[∂θi∂f(θ)].(57)
Stacking coordinates gives the vector form Eq. 52: ∇mEπλ[f(θ)]=Eπλ[∇θf(θ)].
E.2 Price-type identities
Let f be twice differentiable with ∇θf bounded and ∇θ2f integrable. Then the gradient with respect to the scale parameter admits a generalized Price identity of the form
∇ΣEπλ[f(θ)]=21Eπλ[τq(θ)∇θ2f(θ)],(58)
where the scalar factor τq(θ) depends on the value of q:
This means that Eq. 58 can be rewritten compactly in a form that resembles the Gaussian Stein identity as
∇ΣEπλ[f(θ)]=2cqEπ~2−q[∇θ2f(θ)],(62)
with the constant
cq=Eπτq(θ)={κ(q,D),ν−2ν,q<1,q>1(ν>2).(63)
When q→1 we retrieve the Gaussian identity ∇ΣEN(m,Σ)[f]=21E[∇θ2f].
E.2.1 Diagonal Stein estimator
Eq. (62) shows that the gradient with respect to the scale parameter depends on the Hessian of f averaged under the complementary escort π~2−q. In our q-VON algorithms we restrict to diagonal Σ and only require the diagonal of Eπ~2−q[∇θ2f(θ)]. To avoid explicit Hessian evaluations, we use a Stein identity to rewrite these escort Hessian diagonal entries in terms of first derivatives evaluated at samples θ∼πλ.
Let f:RD→R be differentiable and integrable under πλ. Stein-type identities take the following score form
Eπλ[∇θf(θ)]=−Eπλ[f(θ)∇θlogπλ(θ)],(64)
provided boundary terms vanish. For q>1 (unbounded support) a Stein-type identity has been proven by Landsman et al. [2015]. For q<1 the support is bounded but πλ(θ) vanishes at the boundary, so a similar identity holds under mild regularity conditions on f as shown in Sklaviadis et al. [2026].
For q-Gaussian densities with scale matrix Σ the scores can be written explicitly as
∇θlogπλ(θ)=−(2−q)τq(θ)1Σ−1(θ−m)(65)
Equivalently, and more conveniently for our purposes, these score functions imply an escort covariance form Stein identity:
Eπλ[(θ−m)f(θ)]=cqΣEπ~2−q[∇θf(θ)].(66)
Algs. 1-2 only require an estimate of a diagonal Eπ~2−q[∇θ2f(θ)]. Assume Σ=diag(σ2) and define g=∇θf(θ). Then, componentwise,
Thus a single-sample unbiased estimator for the diagonal Hessian under the complementary escort is
h=cq1g⋅(θ−m)/σ2,θ∼πλ,(68)
which is exactly the form used in Algs. 1 and 2.
E.2.2 Proof of the q>1 Student-t Price-type identity
For a proof of the q<1 Price-type identity see Sklaviadis et al. [2026].
Let πλ(θ)=Tν(θ∣m,Σ) with ν>2. Assume f is twice continuously differentiable, integrable under πλ, and that boundary terms vanish for the integrations by parts below (it is sufficient that f and ∇θf are bounded).
As the main example we replace the Shannon negentropy by the Tsallis negative entropy Ω2−q, which is maximized by q-exponential families (see App. Sec. B for a proof). When we use quadratic statistics the maxent family becomes a q-Gaussian, which has bounded support for q<1 and heavy tails for q>1. Respectively, these lead to the q-VON and Student-t-VON algorithms. Thus, the quadratic statistic remains the same, while the choice of Ω changes the support and tail behavior.
Using entropic index 2 - q, and linear expectation constraints, the maxent problem in Eq. 11 is optimized by q-exponential families (see App. B.2 for a proof): 8
πλ(θ)=expq(λ⊤T(θ)−A2−q(λ)),(82)
where A2−q(λ) is the deformed cumulant (we give detailed closed form examples in App. D; see also Naudts [2011], Amari and Ohara [2011], Amari [2016], Martins et al. [2022]). The q-exp and q-log functions are defined as
and exponential families are recovered when q = 1.
We will repeatedly use escort distributions associated with a density π. For any order a>0 such that ∫π(θ)adθ<∞, we define the escort of order a by
π~a(θ)=∫π(θ)adθπ(θ)a.
In the Tsallis setting below, the orders a=q and a=2−q arise naturally in the gradient identities and in the Newton-like updates.
When q-exponential families are derived by maximum Tsallis entropy subject to linear expectation constraints, A2−q is related to Ω and Ω∗ as follows [Martins et al., 2022, Prop.10, App. B]:
8We assume a constant base measure for simplicity; what follows would work with general base measures.
where μ(λ)=Eθ∼πλ[T(θ)]=∇λΩ2−q∗(ηλ), and
∂λ∂μ(λ)=∇λ2Ω2−q∗(ηλ)=:F2−q(λ).(85)
Eq. 85 is useful in invoking the chain rule to convert gradients into natural or canonical gradients and vice-versa, and the Hessian of Ω∗ with respect to the canonical parameters F2−q recovers the Fisher matrix when q=1.
We define μq=∇A2−q(λ)=Eπ~q[T(θ)] as the expectation with respect to the escort distribution π~q of order q, which is defined as π~q=πq/∫πqdθ. Eq. 84 further implies that
μ−μ~q=(1−q)F2−qλ,(86)
and substituting above, it follows that when Ω is the Tsallis negentropy
∇μΩ2−q(πλ)=2−q1(λ+(1−q)λ)=λ,(87)
which we use below to derive Newton-like generalized BLR algorithms (Alg. 1, Alg. 2).
F.1 q-Variational Online Newton
We now specialize the generalized BLR to the quadratic statistic T(θ)⊤=(θ,θθ⊤),θ∈RD, which induces a location-scale family of q-Gaussians. The derivation in this subsection proceeds in three steps. First, we write the generic canonical update for this quadratic family in terms of the expectation parameters (μ,M). Second, we convert gradients with respect to (μ,M) into gradients with respect to the location-scale parameters (m,Σ). Third, we specialize our result to bounded-support q<1 and the heavy-tailed q>1 cases, where Bonnet- and Price-type identities yield the Newton-like updates implemented in Alg. 1 and Alg. 2. The derivation follows immediately below the final algorithms, which we present first for orientation.
First, we connect the pseudocode to the general canonical update in Eq. 16. In both q<1 and q>1 cases we start from the same canonical update, and what changes is the relation between expectation parameters and location-scale parameters, as well as the corresponding stochastic identities used to evaluate the gradients. In Variational Online Newton (VON) gradients and Hessians are estimated by sampling from a Gaussian variational posterior Khan et al. [2018]. VON-style natural-gradient steps result in fast convergence and competitive test accuracy in large-scale deep learning applications [Shen et al., 2024]. Here, we generalize these updates to bounded-support (Alg. 1) and heavy-tailed (Alg. 2) q-Gaussian posteriors in a unified way. Remarkably, our generalizations require only small changes in the VON pseudo-code [Shen et al., 2024, Alg. 1], highlighted in blue.
Using the Tsallis negentropy Ω2−q in Eq. 16 and sufficient statistics T(θ)⊤=(θ,θθ⊤) we obtain q-Gaussian families with canonical parameters λ⊤=(Sm,−21S). q-Gaussians include both bounded-support and heavy-tailed (Student-t) subfamilies. The sufficient statistics and canonical parameters determine the elliptical geometry (that is, the quadratic form), but the value of q determines the support and tail behavior. We derive the specific forms that Eq. 16 takes for q<1 and q>1, resulting respectively in Alg. 1 and Alg. 2, where in blue we highlight differences from the BLR's Variational Online Newton form Khan et al. [2018] and IVON [Shen et al., 2024, Alg. 1]. Detailed background on q-Gaussians can be found in Appendix D.
Importantly, Var(θ) has distinct forms for q<1 and q>1, and it is not equal to the canonical parameter S−1 or the scale parameter Σ, unless q=1 in which case S−1=Σ=Var(θ).
Chain rule. To use Bonnet- and Price-type stochastic gradient identities, we need a chain rule to express gradients with respect to expectation parameters ( μ, M) as gradients with respect location-scale parameters m(μ), Σ(μ,M). For any function f(m(μ),Σ(μ,M)), a straightforward generalization of the well known Gaussian chain rule [Opper and Archambeau, 2009, Khan and Lin, 2017] is
Bounded support. When q<1, bounded-support q-Gaussians have maximum support radius R(q,D). The max support radius has a closed-form (reviewed in App. D), which avoids dependence on S−1 by expressing the scale matrix as a determinant reweighting Σ=∣S∣1/γS−1 with constant γ=D+1−q2. From Eq. 89 we can show Varπλ(θ)=κΣ with constant κ=R2/(D+2(2−q)/(1−q)) (see App. D.3).
Rearranging Eq. 94, and using Price- and Bonnet-type identities for bounded-support q-Gaussians, to push the gradients inside the expectations [Sklaviadis et al., 2026], we obtain the bounded-support Newton-like generalized BLR (Alg. 1):
where r2(θ)=(θ−m)⊤Σ−1(θ−m) and π~2−q is the escort distribution of order 2−q of πλ. The final form of Eq. 95 follows by canceling the factor κ−1D with Eπ[r2(θ)], and expressing the expectation with respect to the (2−q)-escort.
Heavy tails. q-Gaussians with q>1 resulting from Eq. 82 coincide with Student-t densities with degrees of freedom ν=2/(q−1)−D and unbounded support RD (further details are reviewed in App. D). We assume ν>2⟺1<q<(D+4)/(D+2) so that the covariance exists (and may optionally require ν>4 if we need finite kurtosis). We write the Student-t scale matrix as Σ=κt∣S∣−1/νS−1 with constant
κt(ν,D)=νν+D[(ν+D)D/2πD/2Γ((ν+D)/2)Γ(ν/2)]2/ν,
where Γ is the Gamma function. Using the Student-t parametrization πλ(θ)=Tν(θ∣m,Σ), we can derive from Eq. 89 that Varπλ(θ)=ν/(ν−2)Σ (see App. D.3).
Thus, from Eq. 90 we obtain
∇μf=∇mf−2νν−2∇Σfm,(97)
and, from Eq. 91, since ∂Σ/∂μ=−2/ν(ν−2)m and ∂Σ/∂M=(ν−2)/ν
∇Mf=νν−2∇Σf.(98)
Again, setting f=ℓˉ, the chain rule of Eq. 88 results in
Similarly to the bounded-support case, we can express the Price-type identity in terms of the (2−q)-escort
∇ΣEπ[ℓˉ(θ)]=2(ν−2)νEπ~[∇θ2ℓˉ(θ)],(101)
which is a neat fact that, as far as we know, has not been noticed before. Since q=1+2/(ν+D) and π(θ)∝(1+r2(θ)/ν)−(ν+D)/2, with r2 defined as in the bounded-support case, we can express the (2−q)-escort as a reweighting of the base distribution π:
π~(θ)2−q=∫π(θ)2−qdθπ(θ)2−q∝π(θ)(1+νr2(θ)).(102)
For ν>2,
Eπλ[r2(θ)]=ν−2Dν⇒Eπλ[1+νr2]=ν−2D+ν−2,
and substituting into Eq. 100 yields Eq. 101.
Thus, we obtain the Student-t Newton-like canonical parameter updates that are used in Alg. 2 by solving Eq. 99:
Implementation. In both the bounded-support and heavy-tailed cases we exploit escort distributions to mirror the familiar Gaussian stochastic gradient expressions in an elegant way, and to highlight the probabilistic structure that would otherwise be obscured by repeated integration by parts. For efficient sampling in Alg. 1 and Alg. 2, we express π~2−q as a reweighting of πλ. When q>1 the (2−q)-escort relatively upweights larger values of r(θ) since typical samples dominate Eπ[∇ℓˉ] and the mean update is mode-driven. The scale update in this case is more tail-aware since atypical large-radius samples influence the Hessian estimate. The combined effect is a conservative preconditioning because a larger effective curvature leads to smaller steps in m, but possibly higher variance in the curvature estimator. When q<1 the (2−q)-escort concentrates on the interior of the support. Qualitatively, in this case, the mean is more sensitive to the bounded-support shape, while the scale update has lower variance, leading to a stable scale estimate, with bounded exploration due to the compact support.
We make additional adjustments to the generalized BLR q-VON updates in Eqs. 103 and 104 and Eqs. 95 and 96, in order to easily implement them as optimizers in modern deep-learning frameworks. Our simplifications are analogous to Khan et al. [2018, App. D]'s and Shen et al. [2024]'s modifications of the BLR that lead to deep-learning-friendly VON and IVON algorithms. First, the loss function is reweighted with an inverse temperature ζ>0 and scaled by 1/N, that is, we use ζN1∑i=1Nℓi(θ) in Eq. 13. This reweighting allows us to use mini-batch stochastic gradients along with sampling to estimate the expectations (lines 2 of Alg. 1 and Alg. 2). Second, we use a diagonal S=diag(s) and reparametrize it via s=ζ(h+δ) (lines 7), where δ>0 is the L2-regularizer, −η0(θ)=2ζδ∥θ∥2 in the generalized Bayesian objective of Eq. 13. The S-updates in Eqs. 95 and 103 are rewritten in terms of h in lines 5 of the algorithms, and separate learning rates (1−β2) and αt are introduced in place of ρt. Similar to IVON [Shen et al., 2024], we add a gradient momentum in lines 4. This is not a direct consequence of the theory, but does not change the fixed-points of the methods and we found it improves results. The initial m is set to common initialization schemes, and S=ζ(h0+δ)I where h0>0 is a hyperparameter. To stabilize the algorithms, we ensure that the noise added to the parameters remains bounded by clipping the entries of s to a minimum smin>0.
F.2 Mean-Field Variants
The constants κt, κ and γ used in Alg. 1 and Alg. 2 depend on the dimensionality of the parameter θ. To further adapt the proposed q-VON algorithms to high-dimensional problems, we also propose mean-field variants, where each parameter follows a one-dimensional q-Gaussian. This corresponds to a factorized posterior, that is, π(θ)=π(θ1)⋯π(θD). Mean-field variants of Alg. 1 and Alg. 2 are easily obtained when Ω in the generalized Bayesian variational problem Eq. 13 is replaced with the sum of one-dimensional functions on each parameter.
In practice, the only modification needed to Alg. 1 and Alg. 2 is to set D=1 in the computation of the constants, and compute σ2 in lines 8 individually for each si rather than taking their product. The sampling step in lines 2 is also modified to sample from a one-dimensional q-Gaussian or Student-t distribution. In the remainder of the paper, we refer to the mean-field q-VON variants as q-VON-MF.
G Experiments
G.1 Bayesian logistic regression
We demonstrate how q-VON-MF with bounded support (Alg. 1, Sec. 4) can be used to approximate the posterior mode in Bayesian logistic regression on the UCI Credit Approval dataset (Fig. 2). Posterior marginals for each feature are computed with MCMC. We compare variational posterior approximations: mean-field Gaussian (q = 1) to bounded-support q-Gaussians with q = -2 and q = -10.
G.2 Image Classification with Neural Networks
We use q-VON (Alg. 1 and Alg. 2) and the mean-field variant q-VON-MF (described in Sec. 4) to train neural networks on the MNIST, CIFAR-10 and CIFAR-100 datasets. We compare with several baseline learning algorithms on test accuracy, test loss (NLL), expected calibration error Guo et al. [2017], Brier score and the AUROC metric introduced by Osawa et al. [2019]. The baselines are SGD (with momentum) applied to the standard empirical risk minimization objective to find the MAP, variational SGD (VSGD) which is SGD with Gaussian noise injection [Orvieto et al., 2022], and the Improved Variational Online Newton method (IVON) [Shen et al., 2024]. In all experiments, we closely follow the setup of Shen et al. [2024] and use their publicly available code. In particular, we use the same hyperparameters for q-VON and q-VON-MF as IVON. IVON and VSGD target the standard Bayesian objective for Gaussian families with fixed isotropic variance and flexible diagonal variance respectively. Another baseline we consider is q-VSGD, which targets the generalized Bayesian objective but only learns the mean of the approximate posterior distribution. All algorithms have the same complexity and run-time, as each iteration is dominated by the cost of forward and backward propagation through the neural network. The results are in Table 2 for MNIST and Table 1 for CIFAR-10 and CIFAR-100. Below we summarize our main findings.
q-VON consistently improves over q-VSGD and SGD. Both on MNIST and CIFAR-10, we see that q-VON consistently improves over q-VSGD and SGD (MAP). This confirms that learning the shape of the approximate posterior rather than using a fixed shape improves both accuracy and calibration performance, and that the method is superior to pure noise injection approaches [Orvieto et al., 2022].
q-VON can exceed IVON's performance. On the MNIST dataset, the heavy-tailed variant of q-VON (q>1) gives better generalization performance than IVON, whereas the compact support variant (q<1) gives better calibration. On CIFAR-10 and CIFAR-100, q-VON-MF reaches competitive performance to IVON, without tuning any of its hyperparameters.
Posterior sampling helps on the CIFAR datasets. For q-VON and IVON which estimate a distribution over weights, using the posterior predictive distribution generally boosts the performance.
Overall, the experiments demonstrate that the proposed q-VON algorithms and the mean field variants easily scale to large neural networks. The methods significantly improve over MAP estimation and reach competitive performance with the recent state-of-the-art method IVON [Shen et al., 2024]. We used the same setup and hyperparameters from [Shen et al., 2024] (which were tuned for Gaussian posteriors). Using IVON-tuned hyperparameters, q-VON is already competitive; dedicated tuning remains future work.
Tables 1 and 2 report results on deep learning with the proposed q-VON algorithms, as described in Sec. 4, App. F. q-VON (q<1) denotes Alg. 1 with bounded-support Gaussian posterior and q=0.6. q-VON (q>1) denotes Alg. 2 with Student-t posterior with ν=5⋅105. q-VON-MF refers to the mean-field variant; each parameter has its own q-Gaussian (q=0.6 for q<1 and ν=5 for q>1).
Table 1: Results on convolutional neural networks. We evaluate various q-VON variants using the same hyperparameters used in Shen et al. [2024] for IVON. Even without tuning, the results are comparable to IVON, with the heavy-tailed q-VON-MF reaching slightly higher AUROC scores.
Task
Method
Acc. (↑)
NLL (↓)
ECE (↓)
Brier (↓)
AUROC (↑)
CIFAR-10ResNet-20270k params
SGD (MAP)
91.2 ± 0.1
0.292 ± 0.001
3.7 ± 0.1
0.133 ± 0.001
91.9 ± 0.1
VSGD
91.9 ± 0.0
0.310 ± 0.005
4.5 ± 0.1
0.127 ± 0.001
92.1 ± 0.1
IVON
92.4 ± 0.1
0.259 ± 0.006
3.5 ± 0.2
0.117 ± 0.002
92.4 ± 0.0
+ sampling
92.6 ± 0.1
0.221 ± 0.003
0.8 ± 0.1
0.109 ± 0.002
92.6 ± 0.1
q-VSGD (q < 1)
91.9 ± 0.0
0.309 ± 0.008
4.5 ± 0.1
0.128 ± 0.002
92.0 ± 0.1
q-VON (q < 1)
92.3 ± 0.2
0.271 ± 0.008
3.9 ± 0.2
0.119 ± 0.003
92.6 ± 0.2
+ sampling
92.4 ± 0.2
0.243 ± 0.006
2.6 ± 0.2
0.113 ± 0.003
92.7 ± 0.2
q-VON-MF (q > 1)
92.4 ± 0.0
0.270 ± 0.003
3.8 ± 0.1
0.118 ± 0.001
92.5 ± 0.2
+sampling
92.5 ± 0.0
0.229 ± 0.002
1.5 ± 0.1
0.110 ± 0.001
92.7 ± 0.1
CIFAR-100PreResNet-1104M params
SGD (MAP)
73.0 ± 0.2
1.270 ± 0.009
14.1 ± 0.1
0.410 ± 0.002
86.1 ± 0.1
VSGD
73.8 ± 0.2
1.319 ± 0.009
15.5 ± 0.2
0.410 ± 0.003
86.1 ± 0.1
IVON
75.1 ± 0.3
1.150 ± 0.012
13.8 ± 0.3
0.382 ± 0.004
86.8 ± 0.2
+ sampling
75.7 ± 0.2
0.880 ± 0.006
2.9 ± 0.2
0.336 ± 0.003
87.0 ± 0.2
q-VSGD (q < 1)
73.3 ± 0.1
1.326 ± 0.001
15.6 ± 0.1
0.416 ± 0.002
86.1 ± 0.2
q-VON (q < 1)
74.6 ± 0.2
1.216 ± 0.008
14.0 ± 0.1
0.391 ± 0.002
86.3 ± 0.1
+ sampling
74.7 ± 0.2
1.189 ± 0.008
13.3 ± 0.1
0.387 ± 0.002
86.4 ± 0.1
q-VON-MF (q > 1)
74.9 ± 0.1
1.204 ± 0.008
14.4 ± 0.1
0.389 ± 0.002
86.7 ± 0.1
+ sampling
75.4 ± 0.1
0.930 ± 0.005
5.6 ± 0.1
0.344 ± 0.001
87.1 ± 0.1
Table 2: Additional results on MNIST. Heavy-tailed posteriors can improve generalization performance, whereas truncated ones can improve calibration.
Task
Method
Acc. (↑)
Test Loss (↓)
ECE (↓)
Brier (↓)
AUROC (↑)
MNIST MLP 550k params
SGD (MAP)
98.69 ± 0.01
0.043 ± 0.000
0.37 ± 0.02
0.020 ± 0.000
97.87 ± 0.07
VSGD
98.75 ± 0.03
0.048 ± 0.000
0.60 ± 0.02
0.020 ± 0.000
97.68 ± 0.05
IVON
98.74 ± 0.02
0.048 ± 0.001
0.60 ± 0.02
0.020 ± 0.000
97.52 ± 0.10
+ sampling
98.72 ± 0.01
0.050 ± 0.000
1.53 ± 0.02
0.022 ± 0.000
97.88 ± 0.05
q-VSGD (q < 1)
98.62 ± 0.02
0.045 ± 0.001
0.46 ± 0.01
0.021 ± 0.000
97.94 ± 0.06
q-VON (q < 1)
98.69 ± 0.02
0.042 ± 0.000
0.40 ± 0.03
0.020 ± 0.000
98.04 ± 0.05
+ sampling
98.69 ± 0.02
0.042 ± 0.000
0.40 ± 0.04
0.020 ± 0.000
98.04 ± 0.05
q-VSGD (q > 1)
98.59 ± 0.01
0.045 ± 0.000
0.48 ± 0.02
0.022 ± 0.000
97.97 ± 0.05
q-VON (q > 1)
98.81 ± 0.03
0.043 ± 0.000
0.60 ± 0.01
0.019 ± 0.000
97.84 ± 0.11
+ sampling
98.76 ± 0.02
0.042 ± 0.000
0.85 ± 0.01
0.020 ± 0.000
98.05 ± 0.09
q-VON-MF (q < 1)
98.66 ± 0.03
0.052 ± 0.001
0.60 ± 0.02
0.021 ± 0.000
97.19 ± 0.16
+ sampling
98.62 ± 0.02
0.053 ± 0.001
1.60 ± 0.02
0.024 ± 0.000
97.82 ± 0.04
q-VON-MF (q > 1)
98.76 ± 0.02
0.049 ± 0.001
0.59 ± 0.02
0.020 ± 0.000
97.14 ± 0.07
+sampling
98.67 ± 0.01
0.054 ± 0.001
1.90 ± 0.02
0.023 ± 0.000
97.88 ± 0.05
G.3 Empirical Verification of Convergence
A convergence analysis of BLR/VON-type methods in the generality considered here is still largely open. Existing results cover narrower settings: Wu and Gardner [2024] prove non-asymptotic rates for stochastic natural gradient (NG) VI in conjugate exponential family models and show that for non-conjugate log-concave likelihoods, the negative ELBO need not be convex in the expectation-parameter coordinates used by canonical NGVI. Guilmeau et al. [2025] instead study Bregman-proximal algorithms for regularized Rényi-divergence minimization over exponential families, with convergence guarantees based on relative smoothness with respect to the log-partition geometry. These assumptions are different from ours: our geometry is induced by a density-space Fenchel-Young discrepancy, which defines the generalized maxent family and the corresponding BLR update. A convergence theorem for the Fenchel-Young BLR would be a substantial project in its own right and is outside the scope of this paper. Instead, we provide empirical evidence that the implemented generalized updates move toward lower values of their corresponding variational objectives.
We use 2D Bayesian logistic regression as a minimal nontrivial diagnostic, with bounded-support, Gaussian, and Student-t variants. The plots in Fig. 3 show slices of the optimizer-specific generalized objective over one mean-dispersion coordinate, with the remaining coordinate fixed at its final value. Each panel recomputes the objective associated with that posterior family and parametrization, because the Fenchel-Young discrepancy, sampling law, and scale-precision map change with q and with the full versus mean-field construction. All trajectories move toward low-objective regions and stabilize near the minimum.
2D logistic-regression objective slices and trajectories in (m1,v1)
Figure 3: Optimizer-specific convergence on 2D Bayesian logistic regression. Each panel shows the objective associated with an optimizer and posterior family. The plots show slices of the optimizer-specific generalized objective over one mean-dispersion coordinate, with the remaining coordinate fixed at its final value. The trajectories consistently approach low-objective regions for bounded-support, Gaussian, and Student-t variants, for both full and mean-field implementations. The same ν=5 in both Student-t panels corresponds to different q's because of the dependence on D.
H Varying q
Different choices of q change the variational objective, the scale-precision map, and the stochastic Hessian estimator, so iteration counts across q's are not directly comparable. Nevertheless, q-VON retains the fast VON-style optimizer structure: a Newton-like mean update preconditioned by a learned diagonal precision, implemented with minibatch stochastic gradients, momentum, and Hessian-diagonal estimates rather than explicit second-order computations [Khan et al., 2018, Osawa et al., 2019, Shen et al., 2024]. Since q-VON changes only the sampling law, the precision constants, and the corresponding diagonal Stein estimator, we expect similar fast behavior.
H.1 1D Logistic Regression
In Fig. 4 we use a synthetic dataset of size N=256, with covariates xi∼N(0,1), labels yi∼Bernoulli(σ(2xi)), and Gaussian prior w∼N(0,0.1). For each q, q-VON is run for 3000 steps and repeated over 5 seeds. Points show the average posterior mean or variance, and error bars show 95% confidence intervals. Horizontal reference lines show the exact Bayesian posterior quantities for the ordinary Gaussian-prior model. Exact references are approximated by evaluating the negative log-posterior ℓ(w)+w2/0.2 on a grid.
Figure 4: 1D Bayesian logistic regression q-sweep with q-VON.
H.2 MNIST
In Table 3 we report the results of varying q on MNIST training with q-VON-MF, again using the hyperparameters obtained from previous tuning with IVON.
Table 3: MNIST q-sweep for q-VON-MF. Results are mean ± s.e. over 5 seeds.