Skip to content

Code to reproduce experiments in paper: "Amortized Variational Inference: When and Why?"

Notifications You must be signed in to change notification settings

charlesm93/AVI-when-and-why

Repository files navigation

AVI-when-and-why

Code to reproduce the experiments in the paper: "Amortized Variational Inference: When and Why?" by Charles Margossian and David Blei.

Preprint: https://arxiv.org/abs/2307.11018

Overview

This code can be used to reproduce the results and figures in Section 4 "Numerical Experiments" of the paper. There are four models:

  • linear probabilistic model
  • Nonlinear probabilistic model
  • Bayesian neural network
  • Sawtime series

For each model, run the notebook with the corresponding name. Experimental results are saved in a deliv directory (the first time you run this code, you will need to create this directory). Each notebook also contains code which reads in the experimental results and generates the figures used in the paper.

About

Code to reproduce experiments in paper: "Amortized Variational Inference: When and Why?"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published