Student-t processes as infinite-width limits of posterior BNNs

Francesco Caporali, Stefano Favaro, Dario Trevisan

TL;DR

While standard infinitely wide Bayesian Neural Networks (BNNs) converge to Gaussian processes, this paper shows that placing an Inverse-Gamma prior on the shared variance of the last layer and likelihood noise causes the posterior BNN to converge to a heavy-tailed Student-$t$ process. Using optimal transport tools, the authors establish an explicit quantitative convergence rate of $\mathcal{O}(1/\sqrt{n_{\min}})$ in the 1-Wasserstein distance as network width grows.

What Problem Does This Paper Address?

Since Radford Neal’s seminal work, deep learning theory has established that infinitely wide neural networks with independent Gaussian weights behave as Gaussian processes (GPs)—a framework known as the Neural Network Gaussian Process (NNGP). Recent works have extended this convergence from priors to exact posterior distributions.

However, existing theoretical results universally rely on a rigid assumption: the prior variances of the parameters and the observation noise are fixed constants. This prevents networks from inferring their own uncertainty or noise scale, restricting the diversity of posterior representations. The authors investigate what happens when this fixed-variance constraint is relaxed by treating the variance parameter hierarchically as a random variable.

Methods

The authors construct a hierarchical Bayesian neural network and analyze its infinite-width limit via optimal transport:

  • Hierarchical Gaussian–Inverse-Gamma Model: Standard Gaussian priors are retained for hidden layers $l \in \{1, \dots, L-1\}$. For the final readout layer ($W^{(L)}, b^{(L)}$) and the Gaussian observation noise, the variances are tied to a shared parameter $\sigma^2 \sim \text{Inverse-Gamma}(a, b)$.
  • Analytical Student-$t$ Limit: Integrating out $\sigma^2$ analytically under the Gaussian likelihood yields a posterior NNGP distributed as a multivariate Student-$t$ distribution with $2a + k$ degrees of freedom (where $k$ is the number of training examples).
  • Wasserstein Convergence Proof: To bound the distance between the finite-width posterior BNN and the limiting Student-$t$ process, the authors employ the 1-Wasserstein metric ($W_1$). They handle the integration over $\sigma^2$ by introducing an auxiliary "bridge" measure $\bar{\mu}$ and applying convexity properties of Markov kernels in Wasserstein space, splitting the error into two terms that are each bounded by $\mathcal{O}(1/\sqrt{n_{\min}})$.
  • Gibbs Sampling with NUTS & $GIN^+$: For empirical verification, posterior parameters are sampled via a Gibbs scheme alternating between sampling network weights $\theta | \sigma^2, \mathcal{D}$ using the No-U-Turn Sampler (NUTS in Pyro) and updating variance $\sigma^2 | \theta, \mathcal{D}$ from a positive Generalized Inverse Gaussian ($GIN^+$) distribution.

Datasets

  • Synthetic 1D Regression: The authors construct a 1D synthetic dataset from a smooth reference curve over $[0, 1]$, discretized into a training set $\mathcal{D}$ and a fine evaluation grid $\mathcal{T}$.
  • No standard benchmark datasets (such as MNIST, CIFAR, or UCI regression benchmarks) were evaluated, as the paper focuses on theoretical validation.

Key Insights and Ideas

  • Heavy-Tailed Posteriors via Conjugate Hierarchies: Modifying only the prior on the final layer and observation noise allows the network's prior to remain Gaussian in the wide limit, while the posterior transitions from a Gaussian process to a Student-$t$ process.
  • Identical Asymptotic Rates, Different Multipliers: Both standard Gaussian-prior BNNs and hierarchical Gaussian–Inverse-Gamma BNNs converge to their respective limits at the rate $\mathcal{O}(1/\sqrt{n_{\min}})$. However, the multiplicative constants in the Student-$t$ bound are significantly larger, leading to noticeably slower empirical convergence at moderate widths.
  • Better Noise Adaptation in Small Datasets: Unlike standard NNGPs where observation variance must be tuned as a static hyperparameter, the Student-$t$ posterior naturally accounts for variance estimation error, yielding superior uncertainty estimates in small-data regimes.

Key Results

  • Quantitative Convergence (Theorem 3.4 & Corollary 3.8): For a BNN evaluated at input set $x$, under mild conditions on the Inverse-Gamma parameters ($a > 1/2$, $b > \mathcal{O}(\|y_D\|_F^2)$), $$W_1(f_\theta(x)\mid \mathcal{D},\; G(x)\mid \mathcal{D}) \le \frac{c}{\sqrt{n_{\min}}}$$ where $n_{\min}$ is the bottleneck hidden layer width, and the limit $G(x)\mid \mathcal{D} \sim t_{2a+k}(\mu_{\text{post}}, \Sigma_{\text{post}})$.

  • Empirical Validation: Across hidden layer widths $n \in \{2^0, 2^1, \dots, 2^7\}$ on a 2-hidden-layer network with erf activations, posterior function draws visually converge to the analytical Student-$t$ process confidence bounds as $n$ reaches $2^6$–$2^7$.

Limitations and Future Work

  • Restricted Layer Hierarchy: The Inverse-Gamma prior is placed exclusively on the last layer and likelihood noise; intermediate layer variances remain fixed constants.
  • Pointwise/Finite-Input Bounds: The quantitative Wasserstein bound is proved for finite subsets of inputs rather than as a uniform functional limit across continuum domains.
  • Computational Cost: Posterior Gibbs sampling requiring NUTS for $\theta$ and $GIN^+$ updates for $\sigma^2$ is computationally heavy, making scaling to large datasets or deeper architectures difficult.
  • Extension to Elliptical Processes: The authors note this framework paves the way toward modeling broader families of heavy-tailed, elliptical stochastic processes as infinite-width limits of BNNs.

Summary updated

BibTeX
@inproceedings{caporali2025student,
  author = {Francesco Caporali and Stefano Favaro and Dario Trevisan},
  title = {{Student-t processes as infinite-width limits of posterior BNNs}},
  booktitle = {TASC @ COLT},
  year = {2025},
  url = {https://openreview.net/forum?id=iUppQcPAMK},
}
Figure