Variational Inference on the Final-Layer Output of Neural Networks

Yadi Wei, Roni Khardon
2/5/2023
3 citations
cs.LGstat.ML
bayesian

Official code: weiyadi/VIFO (0 stars, Jupyter Notebook, last commit 2024-09-22).

Abstract

Traditional neural networks are simple to train but they typically produce overconfident predictions. In contrast, Bayesian neural networks provide good uncertainty quantification but optimizing them is time consuming due to the large parameter space.

Show full abstract

This paper proposes to combine the advantages of both approaches by performing Variational Inference in the Final layer Output space (VIFO), because the output space is much smaller than the parameter space. We use neural networks to learn the mean and the variance of the probabilistic output. Using the Bayesian formulation we incorporate collapsed variational inference with VIFO which significantly improves the performance in practice. On the other hand, like standard, non-Bayesian models, VIFO enjoys simple training and one can use Rademacher complexity to provide risk bounds for the model. Experiments show that VIFO provides a good tradeoff in terms of run time and uncertainty quantification, especially for out of distribution data.

View on arXivView PDF

Code Implementations(1)

weiyadi/VIFOOfficial100%
00Jupyter Notebook, PythonSep 15, 20242 years ago

Similar Papers

Cite this paper

@article{wei2023variational,
  title  = {Variational Inference on the Final-Layer Output of Neural Networks},
  author = {Yadi Wei and Roni Khardon},
  year   = {2023},
  eprint = {2302.02420},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.02420v5}
}

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/2302.02420.svg)](https://codeofpaper.com/paper/2302.02420)

Discussion