Skip to main content

No project description provided

Project description

Variational Bayesian Last Layers (VBLL)

Introduction

VBLL introduces a deterministic variational formulation for training Bayesian last layers in neural networks. This method offers a computationally efficient approach to improving uncertainty estimation in deep learning models. By leveraging this technique, VBLL can be trained and evaluated with quadratic complexity in last layer width, making it nearly computationally free to add to standard architectures. Our work focuses on enhancing predictive accuracy, calibration, and out-of-distribution detection over baselines in both regression and classification.

Installation

# Clone the repository
git clone https://github.com/VectorInstitute/vbll.git

# Navigate into the repository directory
cd vbll

# Install required dependencies
pip install -e .

Usage

The repository includes Jupyter Notebooks demonstrating the application of VBLL for regression and classification tasks. For detailed usage examples, please refer to the provided notebooks.

Contributing

Contributions to the VBLL project are welcome. If you're interested in contributing, please read the contribution guidelines in the repository.

Citation

If you find VBLL useful in your research, please consider citing our paper:

@inproceedings{harrison2024vbll,
  title={Variational Bayesian Last Layers},
  author={Harrison, James and Willes, John and Snoek, Jasper},
  booktitle={International Conference on Learning Representations},
  year={2024}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vbll-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

vbll-0.1.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file vbll-0.1.1.tar.gz.

File metadata

  • Download URL: vbll-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.17

File hashes

Hashes for vbll-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8e4c1be2a9d04eba52ea7bffcbc190d18245441b0c523ba9d786d12d838c50b4
MD5 dd806c71f035b7c5d99f2a73878e67ae
BLAKE2b-256 b17cf23fd913f80905894f0898e0707bc1152980f53eb6b4321e4ec682e9eace

See more details on using hashes here.

File details

Details for the file vbll-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vbll-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.17

File hashes

Hashes for vbll-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b02d5820d661ca74ce58736a01c7d6da7621bf16d57fcc0073b4f7e2f2687118
MD5 1ddf25c68fd2836494f82bc127919e98
BLAKE2b-256 1afbe49a9fd865881171b023438015b69ad180fd8105de68cac3e1604166200c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page