Pretraining Generative Flow Networks with Inexpensive Rewards for Molecular Graph Generation
Mohit Pandey, Gopeshh Subbaraj, Artem Cherkasov, Martin Ester, Emmanuel Bengio
Abstract
Generative Flow Networks (GFlowNets) have recently emerged as a suitable framework for generating diverse and high-quality molecular structures by learning from rewards treated as unnormalized distributions. Previous works in this framework often restrict exploration by using predefined molecular fragments as building blocks, limiting the chemical space that can be accessed. In this work, we introduce Atomic GFlowNets (A-GFNs), a foundational generative model leveraging individual atoms as building blocks to explore drug-like chemical space more comprehensively. We propose an unsupervised pre-training approach using drug-like molecule datasets, which teaches A-GFNs about inexpensive yet informative molecular descriptors such as drug-likeliness, topological polar surface area, and synthetic accessibility scores. These properties serve as proxy rewards, guiding A-GFNs towards regions of chemical space that exhibit desirable pharmacological properties. We further implement a goal-conditioned finetuning process, which adapts A-GFNs to optimize for specific target properties. In this work, we pretrain A-GFN on a subset of ZINC dataset, and by employing robust evaluation metrics we show the effectiveness of our approach when compared to other relevant baseline methods for a wide range of drug design tasks. The code is accessible at https: //github.com/diamondspark/AGFN .
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 f4740b67-a3ee-42bf-83cf-f409fb6a1d52Cited by top-tier papers4
- Compositional Flows for 3D Molecule and Synthesis Pathway Co-designTony Shen, Seonghwan Seo, Ross Irwin, Kieran Didi et al.ICML 2025
- Condition-Aware Graph Flow Matching for Modeling the Distributions of Complex Fluid SystemsXiaochao Deng, Jie Chen, Xiaogang DengICML 2026
- Flow of Spans: Generalizing Language Models to Dynamic Span-Vocabulary via GFlowNetsBo Xue, Yunchong Song, Fanghao Shao, Xuekai Zhu et al.ICLR 2026
- Synthesizable Molecular Generation via Soft-constrained GFlowNets with Rich Chemical PriorsHyeonah Kim, Minsu Kim, Celine Roget, Dionessa Biton et al.ICML 2026
Builds on29
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Flow Network based Generative Models for Non-Iterative Diverse Candidate GenerationEmmanuel Bengio, Moksh Jain, Maksym Korablyov, Doina Precup et al.NeurIPS 2021 · 565 citations
- GraphAF: a Flow-based Autoregressive Model for Molecular Graph GenerationChence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang et al.ICLR 2020 · 532 citations
- Hierarchical Generation of Molecular Graphs using Structural MotifsWengong Jin, Regina Barzilay, Tommi S. JaakkolaICML 2020 · 356 citations
- Score-based Generative Modeling of Graphs via the System of Stochastic Differential EquationsJaehyeong Jo, Seul Lee, Sung Ju HwangICML 2022 · 327 citations
Related papers
- RGFN: Synthesizable Molecular Generation Using GFlowNetsMichal Koziarski, Andrei Rekesh, Dmytro Shevchuk, Almer van der Sloot et al.NeurIPS 2024 · 56 citations
- Order-Preserving GFlowNetsYihang Chen, Lukas MauchICLR 2024 · 17 citations
- Generative Flows on Synthetic Pathway for Drug DesignSeonghwan Seo, Minsu Kim, Tony Shen, Martin Ester et al.ICLR 2025
- SynFlowNet: Design of Diverse and Novel Molecules with Synthesis ConstraintsMiruna T. Cretu, Charles Harris, Ilia Igashov, Arne Schneuing et al.ICLR 2025 · 7 citations
- Pre-Training and Fine-Tuning Generative Flow NetworksLing Pan, Moksh Jain, Kanika Madan, Yoshua BengioICLR 2024 · 24 citations
