paper-with-me

Papers

MP-GELU Bayesian Neural Networks: Moment Propagation by GELU Nonlinearity

2022-11-24 · Yuki Hirayama, Sinya Takamaeda-Yamazaki

Bayesian neural networks (BNNs) have been an important framework in the study of uncertainty quantification. Deterministic variational inference, one of the inference methods, utilizes moment propagation to compute the predictive distributions and objective functions. Unfortunately, deriving the moments requires computationally expensive Taylor expansion in nonlinear functions, such as a rectified linear unit (ReLU) or a sigmoid function. Therefore, a new nonlinear function that realizes faster moment propagation than conventional functions is required. In this paper, we propose a novel nonlinear function named moment propagating-Gaussian error linear unit (MP-GELU) that enables the fast derivation of first and second moments in BNNs. MP-GELU enables the analytical computation of moments by applying nonlinearity to the input statistics, thereby reducing the computationally expensive calculations required for nonlinear functions. In empirical experiments on regression tasks, we observed that the proposed MP-GELU provides higher prediction accuracy and better quality of uncertainty with faster execution than those of ReLU-based BNNs.

📄 PDF Abstract BibTeX arXiv:2211.13402

Code (0)

등록된 구현이 없습니다.

Tasks

Uncertainty QuantificationVariational Inference

Similar Papers 제목 키워드 기반

Gaussian Error Linear Units (GELUs)

2016-06-27 · Dan Hendrycks, Kevin Gimpel

We propose the Gaussian Error Linear Unit (GELU), a high-performing neural network activation function. The GELU activation function is $x\Phi(x)$, where $\Phi(x)$ the standard Gaussian cumulative distribution function. …

An Analytic Solution to Covariance Propagation in Neural Networks

2024-03-24 · Oren Wright, Yorie Nakahira, José M. F. Moura

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 …

Uncertainty Quantification

Leveraging Continuously Differentiable Activation Functions for Learning in Quantized Noisy Environments

2024-02-04 · Vivswan Shah, Nathan Youngblood

Real-world analog systems intrinsically suffer from noise that can impede model convergence and accuracy on a variety of deep learning models. We demonstrate that differentiable activations like GELU and SiLU enable robu…

Quantization

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

2026-01-29 · Simon Kuang, Xinfan Lin arxiv

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 de…

Reusing Softmax Hardware Unit for GELU Computation in Transformers

2024-02-15 · Christodoulos Peltekis, Kosmas Alexandridis, Giorgos Dimitrakopoulos

Transformers have improved drastically the performance of natural language processing (NLP) and computer vision applications. The computation of transformers involves matrix multiplications and non-linear activation func…