Lune

NeurIPS2024Top-tier venue

On Divergence Measures for Training GFlowNets

Tiago da Silva, Eliezer de Souza da Silva, Diego Mesquita

Abstract

Generative Flow Networks (GFlowNets) are amortized inference models designed to sample from unnormalized distributions over composable objects, with applications in generative modeling for tasks in fields such as causal discovery, NLP, and drug discovery. Traditionally, the training procedure for GFlowNets seeks to minimize the expected log-squared difference between a proposal (forward policy) and a target (backward policy) distribution, which enforces certain flow-matching conditions. While this training procedure is closely related to variational inference (VI), directly attempting standard Kullback-Leibler (KL) divergence minimization can lead to proven biased and potentially high-variance estimators. Therefore, we first review four divergence measures, namely, Renyi-α\alpha's, Tsallis-α\alpha's, reverse and forward KL's, and design statistically efficient estimators for their stochastic gradients in the context of training GFlowNets. Then, we verify that properly minimizing these divergences yields a provably correct and empirically effective training scheme, often leading to significantly faster convergence than previously proposed optimization. To achieve this, we design control variates based on the REINFORCE leave-one-out and score-matching estimators to reduce the variance of the learning objectives'gradients. Our work contributes by narrowing the gap between GFlowNets training and generalized variational approximations, paving the way for algorithmic ideas informed by the divergence minimization viewpoint.

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.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • f-Trajectory Balance: A Loss Family for Tuning GFlowNets, Generative Models, and LLMs with Off- and On-Policy Data cites Trajectory balance: Improved credit assignment in GFlowNets
  • f-Trajectory Balance: A Loss Family for Tuning GFlowNets, Generative Models, and LLMs with Off- and On-Policy Data cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Evaluating GFlowNet from partial episodes for stable and flexible policy-based training cites Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
  • Evaluating GFlowNet from partial episodes for stable and flexible policy-based training cites Trajectory balance: Improved credit assignment in GFlowNets
  • Evaluating GFlowNet from partial episodes for stable and flexible policy-based training cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Revisiting Non-Acyclic GFlowNets in Discrete Environments cites Biological Sequence Design with GFlowNets
  • Revisiting Non-Acyclic GFlowNets in Discrete Environments cites Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
  • Revisiting Non-Acyclic GFlowNets in Discrete Environments cites Trajectory balance: Improved credit assignment in GFlowNets
  • Revisiting Non-Acyclic GFlowNets in Discrete Environments cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Generative Flow Networks for Discrete Probabilistic Modeling cites Biological Sequence Design with GFlowNets
  • Biological Sequence Design with GFlowNets cites Generative Flow Networks for Discrete Probabilistic Modeling
  • 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
  • Biological Sequence Design with GFlowNets cites Trajectory balance: Improved credit assignment in GFlowNets
  • Biological Sequence Design with GFlowNets cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training cites Revisiting Non-Acyclic GFlowNets in Discrete Environments
  • Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training cites Generative Flow Networks for Discrete Probabilistic Modeling
  • Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training cites Biological Sequence Design with GFlowNets
  • Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training cites Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
  • Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training cites Trajectory balance: Improved credit assignment in GFlowNets
  • 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
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Evaluating GFlowNet from partial episodes for stable and flexible policy-based trainingPuhua Niu, Shili Wu, Xiaoning QianICLR 2026 · 2 citations
  2. ff-Trajectory Balance: A Loss Family for Tuning GFlowNets, Generative Models, and LLMs with Off- and On-Policy DataJake Fawkes, Jason HartfordICML 2026
  3. Revisiting Non-Acyclic GFlowNets in Discrete EnvironmentsNikita Morozov, Ian Maksimov, Daniil Tiapkin, Sergey SamsonovICML 2025
  4. Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet TrainingRuishuo Chen, Xun Wang, Rui Hu, Zhuoran Li et al.ICML 2026

Builds on26

  1. Flow Network based Generative Models for Non-Iterative Diverse Candidate GenerationEmmanuel Bengio, Moksh Jain, Maksym Korablyov, Doina Precup et al.NeurIPS 2021 · 565 citations
  2. Trajectory balance: Improved credit assignment in GFlowNetsNikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun et al.NeurIPS 2022 · 316 citations
  3. Biological Sequence Design with GFlowNetsMoksh Jain, Emmanuel Bengio, Alex Hernández-García, Jarrid Rector-Brooks et al.ICML 2022 · 224 citations
  4. Learning GFlowNets From Partial Episodes For Improved Convergence And StabilityKanika Madan, Jarrid Rector-Brooks, Maksym Korablyov, Emmanuel Bengio et al.ICML 2023 · 138 citations
  5. Generative Flow Networks for Discrete Probabilistic ModelingDinghuai Zhang, Nikolay Malkin, Zhen Liu, Alexandra Volokhova et al.ICML 2022 · 131 citations

Related papers

  1. GFlowNets and variational inferenceNikolay Malkin, Salem Lahlou, Tristan Deleu, Xu Ji et al.ICLR 2023
  2. A theory of continuous generative flow networksSalem Lahlou, Tristan Deleu, Pablo Lemos, Dinghuai Zhang et al.ICML 2023 · 118 citations
  3. Beyond Squared Error: Exploring Loss Design for Enhanced Training of Generative Flow NetworksRui Hu, Yifan Zhang, Zhuoran Li, Longbo HuangICLR 2025
  4. Avoid What You Know: Divergent Trajectory Balance for GFlowNetsPedro Dall’Antonia, Tiago Silva, Daniel Csillag, Salem Lahlou et al.ICML 2026 · 2 citations
  5. Optimizing Backward Policies in GFlowNets via Trajectory Likelihood MaximizationTimofei Gritsaev, Nikita Morozov, Sergey Samsonov, Daniil TiapkinICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines