MoFlow: An Invertible Flow Model for Generating Molecular Graphs

Chengxi Zang, Fei Wang
6/17/2020
422 citations
stat.MLcs.LGphysics.chem-ph

Official code: calvin-zcx/moflow (149 stars, Python, MIT, last commit 2023-03-14).

Abstract

Generating molecular graphs with desired chemical properties driven by deep graph generative models provides a very promising way to accelerate drug discovery process. Such graph generative models usually consist of two steps: learning latent representations and generation of molecular graphs.

Show full abstract

However, to generate novel and chemically-valid molecular graphs from latent representations is very challenging because of the chemical constraints and combinatorial complexity of molecular graphs. In this paper, we propose MoFlow, a flow-based graph generative model to learn invertible mappings between molecular graphs and their latent representations. To generate molecular graphs, our MoFlow first generates bonds (edges) through a Glow based model, then generates atoms (nodes) given bonds by a novel graph conditional flow, and finally assembles them into a chemically valid molecular graph with a posthoc validity correction. Our MoFlow has merits including exact and tractable likelihood training, efficient one-pass embedding and generation, chemical validity guarantees, 100\% reconstruction of training data, and good generalization ability. We validate our model by four tasks: molecular graph generation and reconstruction, visualization of the continuous latent space, property optimization, and constrained property optimization. Our MoFlow achieves state-of-the-art performance, which implies its potential efficiency and effectiveness to explore large chemical space for drug discovery.

View on arXivView PDF

Code Implementations(1)

calvin-zcx/moflowOfficial100%
MIT

MoFlow: an invertible flow model for generating molecular graphs

14946PythonSep 30, 20203 years agoMIT
graph-generative-modelmoflowmolecular-graphsmolecule-designoptimize-existing-molecules

Similar Papers

Cite this paper

@article{zang2020moflow,
  title  = {MoFlow: An Invertible Flow Model for Generating Molecular Graphs},
  author = {Chengxi Zang and Fei Wang},
  year   = {2020},
  eprint = {2006.10137},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10137}
}

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/2006.10137.svg)](https://codeofpaper.com/paper/2006.10137)

Discussion