Beyond Squared Error: Exploring Loss Design for Enhanced Training of Generative Flow Networks
Rui Hu, Yifan Zhang, Zhuoran Li, Longbo Huang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Avoid What You Know: Divergent Trajectory Balance for GFlowNets 引用了 Biological Sequence Design with GFlowNets
- Avoid What You Know: Divergent Trajectory Balance for GFlowNets 引用了 Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Avoid What You Know: Divergent Trajectory Balance for GFlowNets 引用了 Trajectory balance: Improved credit assignment in GFlowNets
- Avoid What You Know: Divergent Trajectory Balance for GFlowNets 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Path-dependent Discrete Amortized Inference 引用了 Revisiting Non-Acyclic GFlowNets in Discrete Environments
- Path-dependent Discrete Amortized Inference 引用了 Biological Sequence Design with GFlowNets
- Path-dependent Discrete Amortized Inference 引用了 Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Path-dependent Discrete Amortized Inference 引用了 Trajectory balance: Improved credit assignment in GFlowNets
- Path-dependent Discrete Amortized Inference 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Revisiting Non-Acyclic GFlowNets in Discrete Environments 引用了 Biological Sequence Design with GFlowNets
- Revisiting Non-Acyclic GFlowNets in Discrete Environments 引用了 Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Revisiting Non-Acyclic GFlowNets in Discrete Environments 引用了 Trajectory balance: Improved credit assignment in GFlowNets
- Revisiting Non-Acyclic GFlowNets in Discrete Environments 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Biological Sequence Design with GFlowNets 引用了 Trajectory balance: Improved credit assignment in GFlowNets
- Biological Sequence Design with GFlowNets 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training 引用了 Revisiting Non-Acyclic GFlowNets in Discrete Environments
- Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training 引用了 Biological Sequence Design with GFlowNets
- Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training 引用了 Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet Training 引用了 Trajectory balance: Improved credit assignment in GFlowNets
- Learning GFlowNets From Partial Episodes For Improved Convergence And Stability 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
- Trajectory balance: Improved credit assignment in GFlowNets 引用了 Learning GFlowNets From Partial Episodes For Improved Convergence And Stability
- Trajectory balance: Improved credit assignment in GFlowNets 引用了 Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
引用它的顶会 Paper4
- Avoid What You Know: Divergent Trajectory Balance for GFlowNetsPedro Dall’Antonia, Tiago Silva, Daniel Csillag, Salem Lahlou 等ICML 2026 · 2 次引用
- Path-dependent Discrete Amortized InferenceTiago Silva, Esmeralda S. Whitammer, Salem LahlouICML 2026
- Revisiting Non-Acyclic GFlowNets in Discrete EnvironmentsNikita Morozov, Ian Maksimov, Daniil Tiapkin, Sergey SamsonovICML 2025
- Beyond the Proxy: Trajectory-Distilled Guidance for Offline GFlowNet TrainingRuishuo Chen, Xun Wang, Rui Hu, Zhuoran Li 等ICML 2026
它引用的 Paper22
- Flow Network based Generative Models for Non-Iterative Diverse Candidate GenerationEmmanuel Bengio, Moksh Jain, Maksym Korablyov, Doina Precup 等NeurIPS 2021 · 565 次引用
- Trajectory balance: Improved credit assignment in GFlowNetsNikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun 等NeurIPS 2022 · 316 次引用
- Biological Sequence Design with GFlowNetsMoksh Jain, Emmanuel Bengio, Alex Hernández-García, Jarrid Rector-Brooks 等ICML 2022 · 224 次引用
- Beyond Reverse KL: Generalizing Direct Preference Optimization with Diverse Divergence ConstraintsChaoqi Wang, Yibo Jiang, Chenghao Yang, Han Liu 等ICLR 2024 · 173 次引用
- Learning GFlowNets From Partial Episodes For Improved Convergence And StabilityKanika Madan, Jarrid Rector-Brooks, Maksym Korablyov, Emmanuel Bengio 等ICML 2023 · 138 次引用
相关 Paper
- On Divergence Measures for Training GFlowNetsTiago da Silva, Eliezer de Souza da Silva, Diego MesquitaNeurIPS 2024 · 8 次引用
- Towards Understanding and Improving GFlowNet TrainingMax W. Shen, Emmanuel Bengio, Ehsan Hajiramezanali, Andreas Loukas 等ICML 2023 · 81 次引用
- Pessimistic Backward Policy for GFlowNetsHyosoon Jang, Yunhui Jang, Minsu Kim, Jinkyoo Park 等NeurIPS 2024 · 14 次引用
- CFlowNets: Continuous Control with Generative Flow NetworksYinchuan Li, Shuang Luo, Haozhi Wang, Jianye HaoICLR 2023 · 6 次引用
- Optimizing Backward Policies in GFlowNets via Trajectory Likelihood MaximizationTimofei Gritsaev, Nikita Morozov, Sergey Samsonov, Daniil TiapkinICLR 2025
