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.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

vbll-0.1.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vbll-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.17 Darwin/21.3.0

File hashes

Hashes for vbll-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36a382ddb8e2cf8f089264689f337223d619135ed9ff75a6fced99d73b81fe88
MD5 6510f2afbe452e562e6862a118820919
BLAKE2b-256 992c5ba8a9372bfc78d6b2de7e2f0ec9bde7c45355493e3398416a1d1aadd8bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vbll-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.17 Darwin/21.3.0

File hashes

Hashes for vbll-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0be2dfcd52659109e46e0e4cc2b428c3dfba180b7177c4478972a8c23d966ff7
MD5 5dab31ca0bda267d6671b53638f105ac
BLAKE2b-256 d4e2204aa3763e28db625a08c9cf7537f3bba7a68cc55ca7a5d2ea8b2f3471f0

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