GFlowNets and variational inference
Nikolay Malkin, Salem Lahlou, Tristan Deleu, Xu Ji, Edward J. Hu, Katie Everett, Dinghuai Zhang, Yoshua Bengio
Abstract
This paper builds bridges between two families of probabilistic algorithms: (hierarchical) variational inference (VI), which is typically used to model distributions over continuous spaces, and generative flow networks (GFlowNets), which have been used for distributions over discrete structures such as graphs. We demonstrate that, in certain cases, VI algorithms are equivalent to special cases of GFlowNets in the sense of equality of expected gradients of their learning objectives. We then point out the differences between the two families and show how these differences emerge experimentally. Notably, GFlowNets, which borrow ideas from reinforcement learning, are more amenable than VI to off-policy training without the cost of high gradient variance induced by importance sampling. We argue that this property of GFlowNets can provide advantages for capturing diversity in multimodal target distributions. Code: https://github.com/GFNOrg/GFN_vs_HVI .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
48 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Iterated Denoising Energy Matching for Sampling from Boltzmann Densities cites Improved sampling via learned diffusions
- Iterated Denoising Energy Matching for Sampling from Boltzmann Densities cites A theory of continuous generative flow networks
- Iterated Denoising Energy Matching for Sampling from Boltzmann Densities cites Denoising Diffusion Probabilistic Models
- Improved sampling via learned diffusions cites Trajectory balance: Improved credit assignment in GFlowNets
- Improved sampling via learned diffusions cites Denoising Diffusion Probabilistic Models
- Generative Flow Networks for Discrete Probabilistic Modeling cites Trajectory balance: Improved credit assignment in GFlowNets
- Trajectory balance: Improved credit assignment in GFlowNets cites Generative Flow Networks for Discrete Probabilistic Modeling
- Generative Flow Networks for Discrete Probabilistic Modeling cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Learning GFlowNets From Partial Episodes For Improved Convergence And Stability cites Generative Flow Networks for Discrete Probabilistic Modeling
- Learning GFlowNets From Partial Episodes For Improved Convergence And Stability cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- A theory of continuous generative flow networks cites Generative Flow Networks for Discrete Probabilistic Modeling
- A theory of continuous generative flow networks cites Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- A theory of continuous generative flow networks cites Denoising Diffusion Probabilistic Models
- A theory of continuous generative flow networks cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Trajectory balance: Improved credit assignment in GFlowNets cites Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Trajectory balance: Improved credit assignment in GFlowNets cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
Cited by top-tier papers48
- Trajectory balance: Improved credit assignment in GFlowNetsNikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun et al.NeurIPS 2022 · 316 citations
- Learning GFlowNets From Partial Episodes For Improved Convergence And StabilityKanika Madan, Jarrid Rector-Brooks, Maksym Korablyov, Emmanuel Bengio et al.ICML 2023 · 138 citations
- A theory of continuous generative flow networksSalem Lahlou, Tristan Deleu, Pablo Lemos, Dinghuai Zhang et al.ICML 2023 · 118 citations
- Iterated Denoising Energy Matching for Sampling from Boltzmann DensitiesTara Akhound-Sadegh, Jarrid Rector-Brooks, Avishek Joey Bose, Sarthak Mittal et al.ICML 2024 · 109 citations
- Improved sampling via learned diffusionsLorenz Richter, Julius BernerICLR 2024 · 103 citations
Builds on10
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- NVAE: A Deep Hierarchical Variational AutoencoderArash Vahdat, Jan KautzNeurIPS 2020 · 1,141 citations
- Flow Network based Generative Models for Non-Iterative Diverse Candidate GenerationEmmanuel Bengio, Moksh Jain, Maksym Korablyov, Doina Precup et al.NeurIPS 2021 · 565 citations
- Learning GFlowNets From Partial Episodes For Improved Convergence And StabilityKanika Madan, Jarrid Rector-Brooks, Maksym Korablyov, Emmanuel Bengio et al.ICML 2023 · 138 citations
- Generative Flow Networks for Discrete Probabilistic ModelingDinghuai Zhang, Nikolay Malkin, Zhen Liu, Alexandra Volokhova et al.ICML 2022 · 131 citations
Related papers
- On Divergence Measures for Training GFlowNetsTiago da Silva, Eliezer de Souza da Silva, Diego MesquitaNeurIPS 2024 · 8 citations
- CFlowNets: Continuous Control with Generative Flow NetworksYinchuan Li, Shuang Luo, Haozhi Wang, Jianye HaoICLR 2023 · 6 citations
- PhyloGFN: Phylogenetic inference with generative flow networksMing-Yang Zhou, Zichao Yan, Elliot Layne, Nikolay Malkin et al.ICLR 2024 · 32 citations
- GFlowNet-EM for Learning Compositional Latent Variable ModelsEdward J. Hu, Nikolay Malkin, Moksh Jain, Katie E. Everett et al.ICML 2023 · 48 citations
- When do GFlowNets learn the right distribution?Tiago da Silva, Rodrigo Barreto Alves, Eliezer de Souza da Silva, Amauri H. Souza et al.ICLR 2025
