{"id":13784835,"url":"https://github.com/pierresegonne/VINF","last_synced_at":"2025-05-11T20:31:24.066Z","repository":{"id":112739364,"uuid":"244366819","full_name":"pierresegonne/VINF","owner":"pierresegonne","description":"Repository for DTU Special Course, focusing on Variational Inference using Normalizing Flows (VINF). Supervised by Michael Riis Andersen","archived":false,"fork":false,"pushed_at":"2020-06-11T20:40:25.000Z","size":90581,"stargazers_count":25,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T12:57:08.343Z","etag":null,"topics":["distributions","python3","tensorflow","variational-inference"],"latest_commit_sha":null,"homepage":"https://pierresegonne.github.io/VINF/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pierresegonne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-02T12:34:31.000Z","updated_at":"2024-03-15T04:21:26.000Z","dependencies_parsed_at":"2023-09-13T11:30:51.670Z","dependency_job_id":null,"html_url":"https://github.com/pierresegonne/VINF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierresegonne%2FVINF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierresegonne%2FVINF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierresegonne%2FVINF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierresegonne%2FVINF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierresegonne","download_url":"https://codeload.github.com/pierresegonne/VINF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253631986,"owners_count":21939370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributions","python3","tensorflow","variational-inference"],"created_at":"2024-08-03T19:00:53.118Z","updated_at":"2025-05-11T20:31:19.040Z","avatar_url":"https://github.com/pierresegonne.png","language":"Python","funding_links":[],"categories":["🧑‍💻 Repos \u003csmall\u003e(18)\u003c/small\u003e"],"sub_categories":["\u003cimg src=\"assets/tensorflow.svg\" alt=\"TensorFlow\" height=\"20px\"\u003e \u0026nbsp;TensorFlow Repos"],"readme":"![ex_space_warp](https://raw.githubusercontent.com/pierresegonne/VINF/master/space_warp/Figure_2%20copy.png)\n\n# Variational Inference using Normalizing Flows (VINF)\n\nThis repository provides a hands-on `tensorflow` implementation of Normalizing Flows as presented in the [paper](https://arxiv.org/pdf/1505.05770.pdf)\nintroducing the concept (D. Rezende \u0026 S. Mohamed). This code was developed as part of a Special Course at DTU (Denmarks Tekniske Universitet), supervised\nby 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/](https://pierresegonne.github.io/VINF/)\n\n## Implementation\nThis repository provides an implementation of \n- ADVI (Automatic Differential Variational Inference, with Diagonal Gaussian, baseline) \n- Planar Flow\n- Radial Flow\n\n## Demonstrative distributions \n\nTrue posterior\n\n![true_energies](https://raw.githubusercontent.com/pierresegonne/VINF/master/assets/energy_densities.png)\n\nSamples generated from the trained variational approximation\n\n![energy_1](https://raw.githubusercontent.com/pierresegonne/VINF/master/assets/energy_1_pf_hexbin.png)\n![energy_2](https://raw.githubusercontent.com/pierresegonne/VINF/master/assets/energy_2_pf_hexbin.png)\n![energy_3](https://raw.githubusercontent.com/pierresegonne/VINF/master/assets/energy_3_pf_hexbin.png)\n![energy_4](https://raw.githubusercontent.com/pierresegonne/VINF/master/assets/energy_4_pf_hexbin.png)\n\n\n## TODO\n- [ ] Run additional experiments on radial flows\n- [ ] Add requirements.txt\n- [ ] Improve models with the use of bijectors. See [this thread](https://stackoverflow.com/questions/61717694/embed-trainable-bijector-into-keras-model/62284510#62284510) for a starting point\n- [ ] Include new flow models.\n  - [ ] Glow [paper](https://papers.nips.cc/paper/8224-glow-generative-flow-with-invertible-1x1-convolutions.pdf)\n  - [ ] MAF [paper](https://papers.nips.cc/paper/6581-improved-variational-inference-with-inverse-autoregressive-flow.pdf)\n  - [ ] IAF [paper](https://papers.nips.cc/paper/6828-masked-autoregressive-flow-for-density-estimation.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierresegonne%2FVINF","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierresegonne%2FVINF","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierresegonne%2FVINF/lists"}