Expected flow networks in stochastic environments and two-player zero-sum games
Marco Jiralerspong, Bilun Sun, Danilo Vucetic, Tianyu Zhang, Yoshua Bengio, Gauthier Gidel, Nikolay Malkin
Abstract
Generative flow networks (GFlowNets) are sequential sampling models trained to match a given distribution. GFlowNets have been successfully applied to various structured object generation tasks, sampling a diverse set of high-reward objects quickly. We propose expected flow networks (EFlowNets), which extend GFlowNets to stochastic environments. We show that EFlowNets outperform other GFlowNet formulations in stochastic tasks such as protein design. We then extend the concept of EFlowNets to adversarial environments, proposing adversarial flow networks (AFlowNets) for two-player zero-sum games. We show that AFlowNets learn to find above 80% of optimal moves in Connect-4 via self-play and outperform AlphaZero in tournaments. Code: https://github.com/GFNOrg/AdversarialFlowNetworks . * Equal contribution. ⋄ CIFAR Senior Fellow. † CIFAR AI Chair.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- Loss-Guided Auxiliary Agents for Overcoming Mode Collapse in GFlowNetsIdriss Malek, Aya Laajil, Abhijith Sharma, Eric Moulines et al.AAAI 2026 · 3 citations
- Discrete Compositional Generation via General Soft Operators and Robust Reinforcement LearningMarco Jiralerspong, Esther Derman, Danilo Vucetic, Nikolay Malkin et al.ICLR 2026 · 2 citations
- Generalization and Distributed Learning of GFlowNetsTiago Silva, Amauri H. Souza, Omar Rivasplata, Vikas Garg et al.ICLR 2025
- 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
- Spectral Flow Matching: Stabilizing Stochastic GFlowNets via Frequency-Domain RegularizationNadhir Hassen, Johan VerjansICML 2026
Builds on12
- 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
- A theory of continuous generative flow networksSalem Lahlou, Tristan Deleu, Pablo Lemos, Dinghuai Zhang et al.ICML 2023 · 118 citations
- A Compositional Atlas of Tractable Circuit Operations for Probabilistic InferenceAntonio Vergari, YooJung Choi, Anji Liu, Stefano Teso et al.NeurIPS 2021 · 112 citations
Related papers
- CFlowNets: Continuous Control with Generative Flow NetworksYinchuan Li, Shuang Luo, Haozhi Wang, Jianye HaoICLR 2023 · 6 citations
- Pre-Training and Fine-Tuning Generative Flow NetworksLing Pan, Moksh Jain, Kanika Madan, Yoshua BengioICLR 2024 · 24 citations
- Flow Factorization for Efficient Generative Flow NetworksJiashun Liu, Chunhui Li, Cheng-Hao Liu, Dianbo Liu et al.AAAI 2025
- Avoid What You Know: Divergent Trajectory Balance for GFlowNetsPedro Dall’Antonia, Tiago Silva, Daniel Csillag, Salem Lahlou et al.ICML 2026 · 2 citations
- GFlowNet Training by Policy GradientsPuhua Niu, Shili Wu, Mingzhou Fan, Xiaoning QianICML 2024 · 6 citations
