English

Any-Property-Conditional Molecule Generation with Self-Criticism using Spanning Trees

Machine Learning 2025-07-17 v3 Biomolecules

Abstract

Generating novel molecules is challenging, with most representations leading to generative models producing many invalid molecules. Spanning Tree-based Graph Generation (STGG) is a promising approach to ensure the generation of valid molecules, outperforming state-of-the-art SMILES and graph diffusion models for unconditional generation. In the real world, we want to be able to generate molecules conditional on one or multiple desired properties rather than unconditionally. Thus, in this work, we extend STGG to multi-property-conditional generation. Our approach, STGG+, incorporates a modern Transformer architecture, random masking of properties during training (enabling conditioning on any subset of properties and classifier-free guidance), an auxiliary property-prediction loss (allowing the model to self-criticize molecules and select the best ones), and other improvements. We show that STGG+ achieves state-of-the-art performance on in-distribution and out-of-distribution conditional generation, and reward maximization.

Keywords

Cite

@article{arxiv.2407.09357,
  title  = {Any-Property-Conditional Molecule Generation with Self-Criticism using Spanning Trees},
  author = {Alexia Jolicoeur-Martineau and Aristide Baratin and Kisoo Kwon and Boris Knyazev and Yan Zhang},
  journal= {arXiv preprint arXiv:2407.09357},
  year   = {2025}
}

Comments

Code: https://github.com/SamsungSAILMontreal/AnyMolGenCritic

R2 v1 2026-06-28T17:38:48.760Z