Papers
Topics
Authors
Recent
Search
2000 character limit reached

Mean–KL Parameterization

Updated 25 February 2026
  • Mean–KL Parameterization is a framework that redefines probabilistic modeling by using mean parameters and explicit KL divergence to enhance model interpretability and robustness.
  • It reformulates conjugate priors and variational inference, eliminating costly annealing and streamlining hyperparameter selection in high-dimensional settings.
  • Natural gradient methods under this parameterization achieve invariant convergence rates, leading to faster optimization and improved stability in applications like neural network compression.

The Mean–KL parameterization is a framework for specifying probabilistic models, variational approximations, and optimization flows in terms of natural (mean) parameters and Kullback–Leibler (KL) divergence, rather than traditional variance or precision-based coordinates. By parameterizing in terms of means and explicitly controlling KL divergence, this approach yields models and optimization routines with improved interpretability, tighter control over informational budgets, and often superior convergence or robustness properties. It has been formulated for constructing conjugate priors for multivariate normal models (Brümmer, 2021), for variational Bayesian neural network compression (Lin et al., 2023), and for understanding gradient flows in information geometry (Datar et al., 27 Apr 2025).

1. Core Formulation: Mean–KL in Exponential and Gaussian Families

In the context of exponential families, the Mean–KL parameterization exploits the duality between natural (canonical) parameters θ\theta and mean (mixture) parameters η\eta. For a distribution pθ(x)p_\theta(x) of the form

pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),

the dual mean parameter is η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]. The KL divergence between pθp_\theta and a reference q=pθqq = p_{\theta_q} admits two equivalent Bregman divergences, one in θ\theta (“exponential” coordinates) and one in η\eta (“mean” coordinates): DKL(pθq)=A(θq)A(θ)η,θqθ=A(η)A(ηq)θq,ηηq,D_{KL}(p_\theta\|q) = A(\theta_q) - A(\theta) - \langle \eta, \theta_q - \theta \rangle = A^*(\eta) - A^*(\eta_q) - \langle \theta_q, \eta - \eta_q \rangle, where η\eta0 is the Legendre dual of the log-partition η\eta1.

For multivariate Gaussians, Mean–KL parameterization directly uses the KL divergence: η\eta2 and uses it as an “energy function” for priors or variational distributions (Brümmer, 2021).

2. Construction of Conjugate Priors with Mean–KL Parameterization

In Bayesian models for the multivariate Gaussian, the traditional choice of conjugate priors (Wishart for precision; Normal–Wishart for unknown mean and covariance) suffers from difficulty in selecting hyperparameters and from pathological behavior in non-informative limits (η\eta3). Mean–KL parameterization defines priors as

η\eta4

with KL scale parameter η\eta5 interpreted as a “pseudocount.” When η\eta6 is known, the prior for precision η\eta7 is Wishart: η\eta8 and the prior mode is centered at η\eta9. When both pθ(x)p_\theta(x)0 and pθ(x)p_\theta(x)1 are unknown, the resulting prior is Normal–Wishart, and pθ(x)p_\theta(x)2 can be reduced to pθ(x)p_\theta(x)3 without violating the constraints on degrees of freedom, guaranteeing a proper non-informative limit with intuitive “mode + pseudocount” interpretation for all hyperparameters (Brümmer, 2021).

3. Variational Inference and Neural Compression: Mean–KL Parameterization

In the context of variational Bayesian neural networks and minimal coding (MIRACLE), the Mean–KL parameterization defines each Gaussian variational posterior pθ(x)p_\theta(x)4 in terms of

  • a mean-shift parameter pθ(x)p_\theta(x)5,
  • and an information-quota parameter pθ(x)p_\theta(x)6 such that pθ(x)p_\theta(x)7 in each weight block,
  • with a total block information budget pθ(x)p_\theta(x)8, yielding per-weight KL budget pθ(x)p_\theta(x)9.

The mean is pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),0, and the unique pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),1 satisfying pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),2 is given in closed form using the Lambert W-function. This parameterization enforces the desired per-block KL constraint exactly, eliminating costly penalty annealing required in mean–variance parameterized schemes (Lin et al., 2023).

Training optimizes the expected loss over pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),3, with only the constraints pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),4, pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),5 (enforced via softmax). No explicit KL penalty appears in the loss—the KL is maintained by construction.

4. Optimization and Information Geometry: Gradient Dynamics under Mean–KL

In probabilistic machine learning, the choice of coordinate system (mean vs. exponential) has significant impact on the curvature of the loss landscape and, consequently, on the convergence of gradient-based methods. For minimizing pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),6:

  • In natural (mean, pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),7) coordinates, Euclidean gradient descent flows, pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),8, can achieve arbitrarily fast convergence under affine rescaling (the local Hessian can be made arbitrarily large).
  • In exponential (pθ(x)=exp(θ,T(x)A(θ)),p_\theta(x) = \exp\bigl(\langle \theta, T(x) \rangle - A(\theta)\bigr),9) coordinates, the landscape can be made arbitrarily flat, resulting in slow gradient descent.
  • Natural gradient descent (NGD), which adapts the update to the Fisher–Rao metric (Hessian of η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]0), has update η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]1; this sets the condition number to 1 and fixes the continuous-time convergence rate to 2, robust to affine reparameterizations (Datar et al., 27 Apr 2025).

The table summarizes dynamics under various parameterizations:

Parameterization Discrete Update Continuous-time Convergence Rate
η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]2–GD (exp) η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]3 η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]4
η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]5–GD (mean) η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]6 η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]7 locally
NGD (in η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]8) η=Epθ[T(x)]\eta=\mathbb{E}_{p_\theta}[T(x)]9 pθp_\theta0 (invariant)

Natural gradient admits the largest stable step sizes and is most robust to gradient noise, especially in discrete-time optimization (Datar et al., 27 Apr 2025).

5. Empirical Outcomes and Practical Implications

In Bayesian neural network compression (“Minimal Random Code Learning”):

  • Training with Mean–KL halves convergence time compared to mean–variance parameterization while achieving comparable or superior final test accuracy, especially at high compression (test error pθp_\theta1 at pθp_\theta2–pθp_\theta3 compression) (Lin et al., 2023).
  • KL is enforced exactly, with no need for annealing.
  • Variational posteriors under Mean–KL are characterized by heavier tails and more spread means (resembling Student-t or Laplace), contrasted with tight mean clumping and uniform high variance in Mean–Var posteriors.
  • Mean–KL compressed models demonstrate higher robustness to random and informed (KL-based) weight pruning, retaining up to 90% accuracy even after pruning 90% of weights, whereas baseline methods performance collapses under aggressive pruning.

In Bayesian estimation for Gaussian models, Mean–KL parameterization allows for a transparent interpretation of hyperparameters and a well-defined non-informative prior limit in both Wishart and Normal–Wishart cases. This avoids the conventional challenge of Wishart shape parameter selection and ensures that maximum a posteriori estimates recover maximum likelihood in the limit pθp_\theta4 (Brümmer, 2021).

6. Theoretical and Operational Advantages

Key advantages of the Mean–KL parameterization include:

  • Direct, interpretable hyperparameters (“mode + pseudocount”) for priors and variational distributions (Brümmer, 2021).
  • Exact enforcement of global or per-block KL budgets by construction in variational inference (Lin et al., 2023).
  • Elimination of unstable or resource-intensive annealing procedures.
  • Robustness under change of parameter scaling, with natural gradient methods maintaining invariant convergence rates across affine reparameterizations (Datar et al., 27 Apr 2025).
  • MAP solutions coincide with MLEs in the non-informative prior limit, aligning with objective Bayesian principles (Brümmer, 2021).

A plausible implication is that Mean–KL parameterization substantially simplifies both the analytical and practical aspects of model specification and optimization in high-dimensional probabilistic modeling.

7. Summary and Outlook

The Mean–KL parameterization unifies information-theoretic, geometric, and Bayesian perspectives by specifying models and variational families in terms of means and KL divergence to a reference distribution. It yields priors and inference schemes with more transparent hyperparameter semantics, well-posed non-informative limits, and, when combined with natural gradient methods, provably robust and fast optimization. Empirical evidence in neural coding and Bayesian estimation supports these claims (Brümmer, 2021, Lin et al., 2023, Datar et al., 27 Apr 2025). The approach is broadly applicable to exponential family models and suggests a direction for further research at the intersection of information geometry, variational inference, and scalable Bayesian computation.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Mean–KL Parameterization.