LeakGFN: Robust Molecular Generation in Generative Flow Networks via Flow Decomposition
Hwanhee Kim, Seungyeon Choi, Sanghyun Park
Abstract
Generative Flow Networks (GFlowNets) sample diverse molecules proportionally to a reward, but the vast chemical space forces trajectory truncation, so incomplete fragments become terminal states alongside valid molecules. We formalize the resulting distortion as flow leakage, the probability mass a converged GFlowNet allocates to these forced terminals. We propose LEAKGFN, which decomposes flow into a chemical head that keeps add-action flow alive at the truncation boundary and a valid head that estimates the fraction of that flow reaching valid molecules from flow matching alone. The decomposition acts on training dynamics near the boundary rather than merely relabeling the target. Separate gradient pathways for flow magnitude and completion decouple the conflicting signals that destabilize single-head models, and our ablations attribute the dominant gain to it rather than to exploration. We also express the residual leakage in closed form and show that at a reward-proportional fixed point the sampler is exact over accessible molecules once conditioned on completion. Experiments on five molecular optimization tasks show the best or tied-best HM on four of them, and the module plugs into existing frameworks, improving pocket-conditioned and multi-objective generation. Code is available at https://github. com/HwanheeKim813/LeakGFN.
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 51b4d439-07f0-433d-96fc-b8d885ff0393Builds 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
- Trajectory balance: Improved credit assignment in GFlowNetsNikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun et al.NeurIPS 2022 · 316 citations
- Pocket2Mol: Efficient Molecular Sampling Based on 3D Protein PocketsXingang Peng, Shitong Luo, Jiaqi Guan, Qi Xie et al.ICML 2022 · 291 citations
- Multi-Objective Molecule Generation using Interpretable SubstructuresWengong Jin, Regina Barzilay, Tommi S. JaakkolaICML 2020 · 238 citations
- Biological Sequence Design with GFlowNetsMoksh Jain, Emmanuel Bengio, Alex Hernández-García, Jarrid Rector-Brooks et al.ICML 2022 · 224 citations
Related papers
- Loss-Guided Auxiliary Agents for Overcoming Mode Collapse in GFlowNetsIdriss Malek, Aya Laajil, Abhijith Sharma, Eric Moulines et al.AAAI 2026 · 3 citations
- Avoid What You Know: Divergent Trajectory Balance for GFlowNetsPedro Dall’Antonia, Tiago Silva, Daniel Csillag, Salem Lahlou et al.ICML 2026 · 2 citations
- Routing by Reaching: Composition of Pre-trained GFlowNets for Multi-Objective GenerationSeokwon Yoon, Youngbin Choi, Seunghyuk Cho, Seungbeom Lee et al.ICML 2026
- Pessimistic Backward Policy for GFlowNetsHyosoon Jang, Yunhui Jang, Minsu Kim, Jinkyoo Park et al.NeurIPS 2024 · 14 citations
- Towards Understanding and Improving GFlowNet TrainingMax W. Shen, Emmanuel Bengio, Ehsan Hajiramezanali, Andreas Loukas et al.ICML 2023 · 81 citations
