Skip to content

biaslab/DepthEstimationBNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage

Improved Depth Estimation of Bayesian Neural Networks

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.

Installation instructions

  1. Install Julia

  2. Open Julia

julia
  1. activate environment (using ] and backspace you can switch between the regular prompt and package manager)
>> ] activate .
  1. instantiate environment (only required once)
>> ] instantiate
  1. activate environments
>> ] activate experiments
  1. instantiate environment (only required once)
>> ] instantiate

License

MIT License Copyright (c) 2024-present BIASlab

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published