An Analytic Solution to Covariance Propagation in Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wright, Oren, Nakahira, Yorie, Moura, José M. F.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916174633107456
author Wright, Oren
Nakahira, Yorie
Moura, José M. F.
author_facet Wright, Oren
Nakahira, Yorie
Moura, José M. F.
contents Uncertainty quantification of neural networks is critical to measuring the reliability and robustness of deep learning systems. However, this often involves costly or inaccurate sampling methods and approximations. This paper presents a sample-free moment propagation technique that propagates mean vectors and covariance matrices across a network to accurately characterize the input-output distributions of neural networks. A key enabler of our technique is an analytic solution for the covariance of random variables passed through nonlinear activation functions, such as Heaviside, ReLU, and GELU. The wide applicability and merits of the proposed technique are shown in experiments analyzing the input-output distributions of trained neural networks and training Bayesian neural networks.
format Preprint
id arxiv_https___arxiv_org_abs_2403_16163
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Analytic Solution to Covariance Propagation in Neural Networks
Wright, Oren
Nakahira, Yorie
Moura, José M. F.
Machine Learning
Artificial Intelligence
Uncertainty quantification of neural networks is critical to measuring the reliability and robustness of deep learning systems. However, this often involves costly or inaccurate sampling methods and approximations. This paper presents a sample-free moment propagation technique that propagates mean vectors and covariance matrices across a network to accurately characterize the input-output distributions of neural networks. A key enabler of our technique is an analytic solution for the covariance of random variables passed through nonlinear activation functions, such as Heaviside, ReLU, and GELU. The wide applicability and merits of the proposed technique are shown in experiments analyzing the input-output distributions of trained neural networks and training Bayesian neural networks.
title An Analytic Solution to Covariance Propagation in Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2403.16163