A t-distribution based operator for enhancing out of distribution robustness of neural network classifiers

Niccolò Antonello, Philip N. Garner
6/9/2020
eess.SPcs.CVcs.LG

Official code: idiap/tsoftmax (2 stars, Python, GPL-3.0, last commit 2021-04-13).

Abstract

Neural Network (NN) classifiers can assign extreme probabilities to samples that have not appeared during training (out-of-distribution samples) resulting in erroneous and unreliable predictions. One of the causes for this unwanted behaviour lies in the use of the standard softmax operator which pushes the posterior probabilities to be either zero or unity hence failing to model uncertainty.

Show full abstract

The statistical derivation of the softmax operator relies on the assumption that the distributions of the latent variables for a given class are Gaussian with known variance. However, it is possible to use different assumptions in the same derivation and attain from other families of distributions as well. This allows derivation of novel operators with more favourable properties. Here, a novel operator is proposed that is derived using $t$-distributions which are capable of providing a better description of uncertainty. It is shown that classifiers that adopt this novel operator can be more robust to out of distribution samples, often outperforming NNs that use the standard softmax operator. These enhancements can be reached with minimal changes to the NN architecture.

View on arXivView PDF

Code Implementations(1)

idiap/tsoftmaxOfficial100%
GPL-3.0

Reproducible code for the paper “A t-distribution based operator for enhancing out of distribution robustness of neural network classifiers"

23Python, ShellApr 30, 20205 years agoGPL-3.0
classificationneural-networksout-of-distribution-detectiont-distribution

Similar Papers

Cite this paper

@article{antonello2020tdistribution,
  title  = {A t-distribution based operator for enhancing out of distribution robustness of neural network classifiers},
  author = {Niccolò Antonello and Philip N. Garner},
  year   = {2020},
  eprint = {2006.05389},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.05389}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.05389.svg)](https://codeofpaper.com/paper/2006.05389)

Discussion