mlsanityData to 7 Oct 2026

Beyond Squared Error: Exploring Loss Design for Enhanced Training of Generative Flow Networks

arXiv 2410.02596 ↗First posted 3 Oct 2024cs.LG cs.AIcited by 9

Not on the map. Why?

Abstract (arXiv)

Generative Flow Networks (GFlowNets) are a novel class of generative models designed to sample from unnormalized distributions and have found applications in various important tasks, attracting great research interest in their training algorithms. In general, GFlowNets are trained by fitting the forward flow to the backward flow on sampled training objects. Prior work focused on the choice of training objects, parameterizations, sampling and resampling strategies, and backward policies, aiming to enhance credit assignment, exploration, or exploitation of the training process. However, the choice of regression loss, which can highly influence the exploration and exploitation behavior of the under-training policy, has been overlooked. Due to the lack of theoretical understanding for choosing an appropriate regression loss, most existing algorithms train the flow network by minimizing the squared error of the forward and backward flows in log-space, i.e., using the quadratic regression loss. In this work, we rigorously prove that distinct regression losses correspond to specific divergence measures, enabling us to design and analyze regression losses according to the desired properties of the corresponding divergence measures. Specifically, we examine two key properties: zero-forcing and zero-avoiding, where the former promotes exploitation and higher rewards, and the latter encourages exploration and enhances diversity. Based on our theoretical framework, we propose three novel regression losses, namely, Shifted-Cosh, Linex(1/2), and Linex(1). We evaluate them across three benchmarks: hyper-grid, bit-sequence generation, and molecule generation. Our proposed losses are compatible with most existing training algorithms, and significantly improve the performances of the algorithms concerning convergence speed, sample diversity, and robustness.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 44 of its 55 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

44 of 55 references.

References · 44

  1. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
  2. 2016f-GAN: Training Generative Neural Samplers using Variational Divergence Minimizationcited by 504
  3. 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
  4. 2021GFlowNet Foundationscited by 286
  5. 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
  6. 2023Beyond Reverse KL: Generalizing Direct Preference Optimization with Diverse Divergence Constraintscited by 174
  7. 2022Biological Sequence Design with GFlowNetscited by 172
  8. 2022Bayesian Structure Learning with Generative Flow Networkscited by 153
  9. 2022Learning GFlowNets from partial episodes for improved convergence and stabilitycited by 129
  10. 2023Aligning Language Models with Preferences through f-divergence Minimizationcited by 118
  11. 2022Generative Flow Networks for Discrete Probabilistic Modelingcited by 113
  12. 2023Extreme Q-Learning: MaxEnt RL without Entropycited by 113
32 more
  1. 2016R'enyi Divergence Variational Inferencecited by 104
  2. 2022GFlowNets and variational inferencecited by 103
  3. 2022Multi-Objective GFlowNetscited by 100
  4. 2023A theory of continuous generative flow networkscited by 98
  5. 2023Amortizing intractable inference in large language modelscited by 94
  6. 2023Better Training of GFlowNets with Local Credit and Incomplete Trajectoriescited by 83
  7. 2023Towards Understanding and Improving GFlowNet Trainingcited by 74
  8. 2024Amortizing intractable inference in diffusion models for vision, language, and controlcited by 70
  9. 2023GFlowNets for AI-Driven Scientific Discoverycited by 63
  10. 2023Generative Flow Networks as Entropy-Regularized RLcited by 60
  11. 2023Diffusion Generative Flow Samplers: Improving learning signals through partial trajectory optimizationcited by 57
  12. 2024Ant Colony Sampling with GFlowNets for Combinatorial Optimizationcited by 53
  13. 2023Joint Bayesian Inference of Graphical Structure and Parameters with a Single Generative Flow Networkcited by 50
  14. 2022Generative Augmented Flow Networkscited by 48
  15. 2023Sample-efficient Multi-objective Molecular Optimization with GFlowNetscited by 48
  16. 2023Local Search GFlowNetscited by 45
  17. 2022A Variational Perspective on Generative Flow Networkscited by 39
  18. 2024Genetic-guided GFlowNets for Sample Efficient Molecular Optimizationcited by 36
  19. 2023Stochastic Generative Flow Networkscited by 32
  20. 2023Thompson sampling for improved exploration in GFlowNetscited by 31
  21. 2023Maximum entropy GFlowNets with soft Q-learningcited by 30
  22. 2023Distributional GFlowNets with Quantile Flowscited by 28
  23. 2023DynGFN: Towards Bayesian Inference of Gene Regulatory Networks with GFlowNetscited by 27
  24. 2023Learning to Scale Logits for Temperature-Conditional GFlowNetscited by 26
  25. 2023Learning Energy Decompositions for Partial Inference of GFlowNetscited by 24
  26. 2024QGFN: Controllable Greediness with Action Valuescited by 18
  27. 2019Variational f-divergence Minimizationcited by 16
  28. 2023Order-Preserving GFlowNetscited by 13
  29. 2024Pessimistic Backward Policy for GFlowNetscited by 13
  30. 2023A Theory of Non-Acyclic Generative Flow Networkscited by 12
  31. 2024Latent Logic Tree Extraction for Event Sequence Explanation from LLMscited by 9
  32. 2024GFlowNet Pretraining with Inexpensive Rewardscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 6.

9 papers.