Skip to main content

VIABEL: Variational Inference and Approximation Bounds that are Efficient and Lightweight

Build Status Code Coverage Documentation Status

VIABEL is a library (still in early development) that provides two types of functionality:

  1. A lightweight, flexible set of methods for variational inference that is agnostic to how the model is constructed. All that is required is a log density and its gradient.
  2. Methods for computing bounds on the errors of the mean, standard deviation, and variance estimates produced by a continuous approximation to an (unnormalized) distribution. A canonical application is a variational approximation to a Bayesian posterior distribution.

Documentation

For examples and API documentation, see readthedocs.

Installation

You can install the latest stable version using pip install viabel. Alternatively, you can clone the repository and use the master branch to get the most up-to-date version.

Citing VIABEL

If you use this package for diagnostics, please cite:

Validated Variational Inference via Practical Posterior Error Bounds. Jonathan H. Huggins, Mikołaj Kasprzak, Trevor Campbell, Tamara Broderick. In Proc. of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS), Palermo, Italy. PMLR: Volume 108, 2020.

The equivalent BibTeX entry is:

@inproceedings{Huggins:2020:VI,
  author = {Huggins, Jonathan H and Kasprzak, Miko{\l}aj and Campbell, Trevor and Broderick, Tamara},
  title = {{Validated Variational Inference via Practical Posterior Error Bounds}},
  booktitle = {Proc. of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS)},
  year = {2020}
}

If you use this package for variational inference, please cite:

Robust, Automated, and Accurate Black-box Variational Inference. Manushi Welandawe, Michael Riis Andersen, Aki Vehtari, Jonathan H. Huggins. arXiv:2203.15945 [stat.ML] (2022).

The equivalent BibTeX entry is:

@article{Welandawe:2022:BBVI,
  author = {Welandawe, Manushi and Andersen, Michael Riis and Vehtari, Aki and Huggins, Jonathan H},
  title = {Robust, Automated, and Accurate Black-box Variational Inference},
  journal = {arXiv},
  volume = {arXiv:2203.15945 [stat.ML]},
  year = {2022}
}

Metadata

Release files for viabel 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viabel 0.5.1
File Size Uploaded
viabel-0.5.1.tar.gz 29.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for viabel 0.5.1
File Interpreter ABI Platform
viabel-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 62.1 kB

Release files / viabel-0.5.1.tar.gz

Download URL viabel-0.5.1.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f8d04dbafa9202dcc1ec442bf3dfd22909c946d00f783cdf877aaa02cfa6ae9f
BLAKE2b-256 checksum
How to use checksums
e9a3f0de8d64aaa40cb7f91c1b6714bb772cf0c8970668ac75fb96abec25a9bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.3

Release files / viabel-0.5.1-py3-none-any.whl

Download URL viabel-0.5.1-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e8ee1ed1189c232eec6ba7083b4902ac20727b5d79ad370e61590b51d4348bd
BLAKE2b-256 checksum
How to use checksums
4eac3b1c3db717ce73ac29c015ce858127fbe8387275160dc0d06d96eba096a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page