By Bart van Erp and Bert de Vries
Accepted to the Workshop on Bayesian Decision-making and Uncertainty, 38th Conference on Neural Information Processing Systems (NeurIPS 2024)
Abstract
This paper proposes improvements over earlier work by Nazareth and Blei for estimating the depth of Bayesian neural networks. Here, we propose a discrete truncated normal distribution over the network depth to independently learn its mean and variance. Posterior distributions are inferred by minimizing the variational free energy, which balances the model complexity and accuracy. Our method improves test accuracy in the spiral data set and reduces the variance in posterior depth estimates.
This repository contains all experiments of the paper.
-
Install Julia
-
Open Julia
julia
- activate environment (using
]
and backspace you can switch between the regular prompt and package manager)
>> ] activate .
- instantiate environment (only required once)
>> ] instantiate
- activate environments
>> ] activate experiments
- instantiate environment (only required once)
>> ] instantiate
MIT License Copyright (c) 2024-present BIASlab