Skip to content

Official implementation of "Normalizing flow neural networks by JKO scheme" (NeurIPS 2023 spotlight)

Notifications You must be signed in to change notification settings

hamrel-cxu/JKO-iFlow

Repository files navigation

JKO-iFlow

Official implementation of "Normalizing flow neural networks by JKO scheme" [arxiv] [NeurIPS23].

Please direct inquiries regarding implementation to cxu310@gatech.edu.

Pre-requisites

pip install -r requirements.txt

Usage

We have simplified the code to make it minimally dependent on external packages and self-contained.

Run the codes below to train 2d flow on the non-trivial examples of rose and fractal trees (see Figure 3).

  • Rose:
python main.py --JKO_config configs/JKO_rose.yaml
  • Fractal tree:
python main.py --JKO_config configs/JKO_tree.yaml

Citation

@inproceedings{
    xu2023normalizing,
    title={Normalizing flow neural networks by {JKO} scheme},
    author={Chen Xu and Xiuyuan Cheng and Yao Xie},
    booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
    year={2023},
    url={https://openreview.net/forum?id=ZQMlfNijY5}
}

Animation

We show below the forward (data to noise) and backward (noise to data) process over time.

About

Official implementation of "Normalizing flow neural networks by JKO scheme" (NeurIPS 2023 spotlight)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages