Exact closed-form Gaussian moments of residual layers

📅 2026-01-29
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of accurately computing the mean and covariance of Gaussian distributions during forward propagation in deep residual networks. To this end, the authors propose a layer-wise moment-matching approach and, for the first time, derive exact closed-form expressions for moment propagation through feedforward and generalized residual layers with Gaussian inputs under a variety of activation functions—including Probit, GeLU, ReLU, Heaviside, and Sine. The method integrates analytical moment matching, asymptotic analysis, variational Bayesian inference, and stochastic neuron modeling, substantially enhancing theoretical completeness. Experiments demonstrate up to a 10⁶-fold reduction in KL divergence error in random networks, superior calibration of epistemic uncertainty on real-world data, and up to two orders of magnitude higher accuracy in variational Bayesian neural networks compared to existing approaches.

Technology Category

Application Category

📝 Abstract
We study the problem of propagating the mean and covariance of a general multivariate Gaussian distribution through a deep (residual) neural network using layer-by-layer moment matching. We close a longstanding gap by deriving exact moment matching for the probit, GeLU, ReLU (as a limit of GeLU), Heaviside (as a limit of probit), and sine activation functions; for both feedforward and generalized residual layers. On random networks, we find orders-of-magnitude improvements in the KL divergence error metric, up to a millionfold, over popular alternatives. On real data, we find competitive statistical calibration for inference under epistemic uncertainty in the input. On a variational Bayes network, we show that our method attains hundredfold improvements in KL divergence from Monte Carlo ground truth over a state-of-the-art deterministic inference method. We also give an a priori error bound and a preliminary analysis of stochastic feedforward neurons, which have recently attracted general interest.
Problem

Research questions and friction points this paper is trying to address.

Gaussian moments
residual networks
moment matching
epistemic uncertainty
neural network inference
Innovation

Methods, ideas, or system contributions that make the work stand out.

exact moment matching
Gaussian propagation
residual networks
closed-form solutions
epistemic uncertainty
🔎 Similar Papers
No similar papers found.