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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vbll-0.1.0.tar.gz
.
File metadata
- Download URL: vbll-0.1.0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e79feb5925e33a84744fa56460721a4c1932079ac10cf92e784c1b1d7da560b6 |
|
MD5 | 6cbae7d9d4f5aae98e8ff596322ac8c3 |
|
BLAKE2b-256 | 64c4d56fac99dfd2b07b6bb2ba6e01b830c9c95260a156f218200f0901674e05 |
File details
Details for the file vbll-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: vbll-0.1.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc3fba7e613d68751fcd393885c3c458821ac516d815cfae370f6ed0cf9b8aea |
|
MD5 | 610142288318d47c100538f0d927381e |
|
BLAKE2b-256 | 1d230769440b2bd9901576698671b36377e76e6a18d1e534f8c2954c5e76c087 |