Saved in:
Bibliographic Details
Main Authors: de Mathelin, Antoine, Deheeger, François, Mougeot, Mathilde, Vayatis, Nicolas
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2309.15704
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912211884048384
author de Mathelin, Antoine
Deheeger, François
Mougeot, Mathilde
Vayatis, Nicolas
author_facet de Mathelin, Antoine
Deheeger, François
Mougeot, Mathilde
Vayatis, Nicolas
contents This paper deals with uncertainty quantification and out-of-distribution detection in deep learning using Bayesian and ensemble methods. It proposes a practical solution to the lack of prediction diversity observed recently for standard approaches when used out-of-distribution (Ovadia et al., 2019; Liu et al., 2021). Considering that this issue is mainly related to a lack of weight diversity, we claim that standard methods sample in "over-restricted" regions of the weight space due to the use of "over-regularization" processes, such as weight decay and zero-mean centered Gaussian priors. We propose to solve the problem by adopting the maximum entropy principle for the weight distribution, with the underlying idea to maximize the weight diversity. Under this paradigm, the epistemic uncertainty is described by the weight distribution of maximal entropy that produces neural networks "consistent" with the training observations. Considering stochastic neural networks, a practical optimization is derived to build such a distribution, defined as a trade-off between the average empirical risk and the weight distribution entropy. We develop a novel weight parameterization for the stochastic model, based on the singular value decomposition of the neural network's hidden representations, which enables a large increase of the weight entropy for a small empirical risk penalization. We provide both theoretical and numerical results to assess the efficiency of the approach. In particular, the proposed algorithm appears in the top three best methods in all configurations of an extensive out-of-distribution detection benchmark including more than thirty competitors.
format Preprint
id arxiv_https___arxiv_org_abs_2309_15704
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Deep Out-of-Distribution Uncertainty Quantification via Weight Entropy Maximization
de Mathelin, Antoine
Deheeger, François
Mougeot, Mathilde
Vayatis, Nicolas
Machine Learning
This paper deals with uncertainty quantification and out-of-distribution detection in deep learning using Bayesian and ensemble methods. It proposes a practical solution to the lack of prediction diversity observed recently for standard approaches when used out-of-distribution (Ovadia et al., 2019; Liu et al., 2021). Considering that this issue is mainly related to a lack of weight diversity, we claim that standard methods sample in "over-restricted" regions of the weight space due to the use of "over-regularization" processes, such as weight decay and zero-mean centered Gaussian priors. We propose to solve the problem by adopting the maximum entropy principle for the weight distribution, with the underlying idea to maximize the weight diversity. Under this paradigm, the epistemic uncertainty is described by the weight distribution of maximal entropy that produces neural networks "consistent" with the training observations. Considering stochastic neural networks, a practical optimization is derived to build such a distribution, defined as a trade-off between the average empirical risk and the weight distribution entropy. We develop a novel weight parameterization for the stochastic model, based on the singular value decomposition of the neural network's hidden representations, which enables a large increase of the weight entropy for a small empirical risk penalization. We provide both theoretical and numerical results to assess the efficiency of the approach. In particular, the proposed algorithm appears in the top three best methods in all configurations of an extensive out-of-distribution detection benchmark including more than thirty competitors.
title Deep Out-of-Distribution Uncertainty Quantification via Weight Entropy Maximization
topic Machine Learning
url https://arxiv.org/abs/2309.15704