Using GNN property predictors as molecule generators

Abstract Graph neural networks (GNNs) have emerged as powerful tools to accurately predict materials and molecular properties in computational and automated discovery pipelines. In this article, we exploit the invertible nature of these neural networks to directly generate molecular structures with...

Full description

Saved in:
Bibliographic Details
Main Authors: Félix Therrien, Edward H. Sargent, Oleksandr Voznyy
Format: Article
Language:English
Published: Nature Portfolio 2025-05-01
Series:Nature Communications
Online Access:https://doi.org/10.1038/s41467-025-59439-1
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849729030537871360
author Félix Therrien
Edward H. Sargent
Oleksandr Voznyy
author_facet Félix Therrien
Edward H. Sargent
Oleksandr Voznyy
author_sort Félix Therrien
collection DOAJ
description Abstract Graph neural networks (GNNs) have emerged as powerful tools to accurately predict materials and molecular properties in computational and automated discovery pipelines. In this article, we exploit the invertible nature of these neural networks to directly generate molecular structures with desired electronic properties. Starting from a random graph or an existing molecule, we perform a gradient ascent while holding the GNN weights fixed in order to optimize its input, the molecular graph, towards the target property. Valence rules are enforced strictly through a judicious graph construction. The method relies entirely on the property predictor; no additional training is required on molecular structures. We demonstrate the application of this method by generating molecules with specific energy gaps verified with density functional theory (DFT) and with specific octanol-water partition coefficients (logP). Our approach hits target properties with rates comparable to or better than state-of-the-art generative models while consistently generating more diverse molecules. Moreover, while validating our framework we created a dataset of 1617 new molecules and their corresponding DFT-calculated properties that could serve as an out-of-distribution test set for QM9-trained models.
format Article
id doaj-art-0e237754686b402bb445f5a09623226a
institution DOAJ
issn 2041-1723
language English
publishDate 2025-05-01
publisher Nature Portfolio
record_format Article
series Nature Communications
spelling doaj-art-0e237754686b402bb445f5a09623226a2025-08-20T03:09:20ZengNature PortfolioNature Communications2041-17232025-05-011611710.1038/s41467-025-59439-1Using GNN property predictors as molecule generatorsFélix Therrien0Edward H. Sargent1Oleksandr Voznyy2University of TorontoUniversity of TorontoUniversity of TorontoAbstract Graph neural networks (GNNs) have emerged as powerful tools to accurately predict materials and molecular properties in computational and automated discovery pipelines. In this article, we exploit the invertible nature of these neural networks to directly generate molecular structures with desired electronic properties. Starting from a random graph or an existing molecule, we perform a gradient ascent while holding the GNN weights fixed in order to optimize its input, the molecular graph, towards the target property. Valence rules are enforced strictly through a judicious graph construction. The method relies entirely on the property predictor; no additional training is required on molecular structures. We demonstrate the application of this method by generating molecules with specific energy gaps verified with density functional theory (DFT) and with specific octanol-water partition coefficients (logP). Our approach hits target properties with rates comparable to or better than state-of-the-art generative models while consistently generating more diverse molecules. Moreover, while validating our framework we created a dataset of 1617 new molecules and their corresponding DFT-calculated properties that could serve as an out-of-distribution test set for QM9-trained models.https://doi.org/10.1038/s41467-025-59439-1
spellingShingle Félix Therrien
Edward H. Sargent
Oleksandr Voznyy
Using GNN property predictors as molecule generators
Nature Communications
title Using GNN property predictors as molecule generators
title_full Using GNN property predictors as molecule generators
title_fullStr Using GNN property predictors as molecule generators
title_full_unstemmed Using GNN property predictors as molecule generators
title_short Using GNN property predictors as molecule generators
title_sort using gnn property predictors as molecule generators
url https://doi.org/10.1038/s41467-025-59439-1
work_keys_str_mv AT felixtherrien usinggnnpropertypredictorsasmoleculegenerators
AT edwardhsargent usinggnnpropertypredictorsasmoleculegenerators
AT oleksandrvoznyy usinggnnpropertypredictorsasmoleculegenerators