Exact Gaussian Moment Matching for Residual Networks: a Second-Order Method

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kuang, Simon, Lin, Xinfan
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918488787910656
author Kuang, Simon
Lin, Xinfan
author_facet Kuang, Simon
Lin, Xinfan
contents 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 a variational Bayes neural 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 a smooth-distance error bound showing that, under regularity assumptions, moment matching removes the leading low-variance errors and propagates higher-order local accuracy through the layers of a network.
format Preprint
id arxiv_https___arxiv_org_abs_2601_22307
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Exact Gaussian Moment Matching for Residual Networks: a Second-Order Method
Kuang, Simon
Lin, Xinfan
Machine Learning
Numerical Analysis
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 a variational Bayes neural 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 a smooth-distance error bound showing that, under regularity assumptions, moment matching removes the leading low-variance errors and propagates higher-order local accuracy through the layers of a network.
title Exact Gaussian Moment Matching for Residual Networks: a Second-Order Method
topic Machine Learning
Numerical Analysis
url https://arxiv.org/abs/2601.22307