GitHunt
PI

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

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.

Languages

Python68.2%Jupyter Notebook31.8%HTML0.1%

Contributors

Created March 2, 2020
Updated December 9, 2025
pierresegonne/VINF | GitHunt