FastFlows: Flow-Based Models for Molecular Graph Generation

Nathan C. Frey, Vijay Gadepally, Bharath Ramsundar
1/28/2022
physics.chem-phcs.LG

Official code: the-matter-lab/selfies (865 stars, Apache-2.0, last commit 2025-05-17).

Abstract

We propose a framework using normalizing-flow based models, SELF-Referencing Embedded Strings, and multi-objective optimization that efficiently generates small molecules. With an initial training set of only 100 small molecules, FastFlows generates thousands of chemically valid molecules in seconds. Because of the efficient sampling, substructure filters can be applied as desired to eliminate compounds with unreasonable moieties. Using easily computable and learned metrics for druglikeness, synthetic accessibility, and synthetic complexity, we perform a multi-objective optimization to demonstrate how FastFlows functions in a high-throughput virtual screening context. Our model is significantly simpler and easier to train than autoregressive molecular generative models, and enables fast generation and identification of druglike, synthesizable molecules.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Robust representation of semantically constrained graphs, in particular for molecules in chemistry

865146PythonMay 31, 20191 years agoApache-2.0

Cite this paper

@article{frey2022fastflows,
  title  = {FastFlows: Flow-Based Models for Molecular Graph Generation},
  author = {Nathan C. Frey and Vijay Gadepally and Bharath Ramsundar},
  year   = {2022},
  eprint = {2201.12419},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12419}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.12419.svg)](https://codeofpaper.com/paper/2201.12419)

Discussion