Skip to main content
QUICK REVIEW

[Paper Review] Exact marginal prior distributions of finite Bayesian neural networks

Jacob A. Zavatone-Veth, Cengiz Pehlevan|arXiv (Cornell University)|Apr 23, 2021
Gaussian Processes and Bayesian InferenceComputer Science40 references10 citations
TL;DR

This paper derives exact marginal prior distributions for finite Bayesian neural networks, showing that deep linear networks have priors expressible via the Meijer G-function, while ReLU networks yield a mixture of linear network priors corresponding to active ReLU units. The exact solutions reveal heavy-tailed behavior in finite-width networks, contradicting perturbative approximations that assume sub-Gaussian tails.

ABSTRACT

Bayesian neural networks are theoretically well-understood only in the infinite-width limit, where Gaussian priors over network weights yield Gaussian priors over network outputs. Recent work has suggested that finite Bayesian networks may outperform their infinite counterparts, but their non-Gaussian function space priors have been characterized only though perturbative approaches. Here, we derive exact solutions for the function space priors for individual input examples of a class of finite fully-connected feedforward Bayesian neural networks. For deep linear networks, the prior has a simple expression in terms of the Meijer $G$-function. The prior of a finite ReLU network is a mixture of the priors of linear networks of smaller widths, corresponding to different numbers of active units in each layer. Our results unify previous descriptions of finite network priors in terms of their tail decay and large-width behavior.

Motivation & Objective

  • To resolve the theoretical gap in understanding function space priors of finite-width Bayesian neural networks.
  • To derive exact expressions for the marginal prior over network outputs, focusing on single input examples.
  • To characterize the non-Gaussian, heavy-tailed nature of finite network priors, especially in deep and narrow architectures.
  • To show that perturbative corrections fail to capture the true heavy-tailed behavior of finite-width priors.
  • To unify previous descriptions of prior behavior in terms of tail decay and large-width asymptotics through exact solutions.

Proposed method

  • Derives exact marginal prior distributions for preactivations in fully-connected feedforward Bayesian neural networks with isotropic Gaussian weight priors.
  • Uses recursive conditioning and moment-generating functions to express the prior of linear networks in terms of the Meijer G-function.
  • For ReLU networks, models the prior as a mixture over all possible activation patterns, weighted by binomial probabilities of active ReLU units.
  • Applies exact moment calculations and asymptotic expansions to analyze tail behavior and large-width limits.
  • Validates results via Monte Carlo sampling and high-precision numerical evaluation using variable-precision arithmetic and cutoffs for computational efficiency.
  • Uses a cutoff on small binomial coefficients (below eps = 2^-52) to accelerate computation of ReLU network priors without loss of accuracy.

Experimental results

Research questions

  • RQ1What is the exact form of the marginal prior over output preactivations in finite Bayesian neural networks?
  • RQ2How do the tail properties of finite network priors differ from those predicted by perturbative expansions?
  • RQ3What is the functional form of the prior for deep linear networks with finite width?
  • RQ4How does the prior of a ReLU network decompose across different activation patterns in hidden layers?
  • RQ5Can exact solutions unify prior descriptions of tail decay and large-width asymptotics in finite BNNs?

Key findings

  • The prior of a deep linear Bayesian neural network is exactly expressible in terms of the Meijer G-function, providing a closed-form solution for finite widths.
  • The prior of a ReLU network is a mixture of priors from narrower linear networks, with weights determined by the probability of each activation pattern in hidden layers.
  • Finite-width networks exhibit heavy-tailed priors that become more pronounced with increasing depth and decreasing width, contradicting sub-Gaussian assumptions from perturbative methods.
  • Perturbative corrections to the infinite-width limit fail to capture the true heavy-tailed nature of the exact prior, indicating a fundamental limitation of such approximations.
  • The exact solutions recover known asymptotic behaviors—such as tail decay and large-width limits—as corollaries, unifying previous results.
  • Numerical validation confirms monotonic convergence of the prior approximation under a floating-point accuracy cutoff, with computation times of up to 153 hours for deep, wide networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.