pierresegonne / VINF

Repository for DTU Special Course, focusing on Variational Inference using Normalizing Flows (VINF). Supervised by Michael Riis Andersen

Home Page:https://pierresegonne.github.io/VINF/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ex_space_warp

Variational Inference using Normalizing Flows (VINF)

This repository provides a hands-on tensorflow implementation of Normalizing Flows as presented in the paper introducing the concept (D. Rezende & S. Mohamed). This code was developed as part of a Special Course at DTU (Denmarks Tekniske Universitet), supervised by Michael Riis Andersen. The final report of the course, that details all experiments run with this repository can directly be accessed at https://pierresegonne.github.io/VINF/

Implementation

This repository provides an implementation of

  • ADVI (Automatic Differential Variational Inference, with Diagonal Gaussian, baseline)
  • Planar Flow
  • Radial Flow

Demonstrative distributions

True posterior

true_energies

Samples generated from the trained variational approximation

energy_1 energy_2 energy_3 energy_4

TODO

  • Run additional experiments on radial flows
  • Add requirements.txt
  • Improve models with the use of bijectors. See this thread for a starting point
  • Include new flow models.

About

Repository for DTU Special Course, focusing on Variational Inference using Normalizing Flows (VINF). Supervised by Michael Riis Andersen

https://pierresegonne.github.io/VINF/


Languages

Language:Python 68.2%Language:Jupyter Notebook 31.8%Language:HTML 0.1%