This repository provides a full implementation of our method for solving mean-field variational inference based on optimal transport: for
Jupyter notebooks that replicate the experiments found in our paper can be found in examples
, where we compute the mean-field approximation to: a product Gaussian mixture example, a non-isotropic Gaussian, and a posterior arises from a synthetic Bayesian logistic regression problem.
At the core is one method MFVI_obj
which performs all the computation. The user is required to pass in the appropriate truncation parameter, mesh-size, and
If you found this code helpful, or are building upon this work, please cite
Yiheng Jiang, Sinho Chewi, and Aram-Alexandre Pooladian. "Algorithms for mean-field variational inference via polyhedral optimization in the Wasserstein space." arXiv. 2023. [arxiv]
@article{jiang2023algorithms,
title={Algorithms for mean-field variational inference via polyhedral optimization in the Wasserstein space},
author={Jiang, Yiheng and Chewi, Sinho and Pooladian, Aram-Alexandre},
journal={arXiv preprint arXiv:2312.02849},
year={2023}
}