Lift Your Molecules: Molecular Graph Generation in Latent Euclidean Space

Mohamed Amine Ketata, Nicholas Gao, Johanna Sommer, Tom Wollschläger, Stephan Günnemann

Abstract

We introduce a new framework for molecular graph generation with 3D molecular generative models. Our Synthetic Coordinate Embedding (SyCo) framework maps molecular graphs to Euclidean point clouds via synthetic conformer coordinates and learns the inverse map using an E(n)-Equivariant Graph Neural Network (EGNN). The induced point cloud-structured latent space is well-suited to apply existing 3D molecular generative models. This approach simplifies the graph generation problem - without relying on molecular fragments nor autoregressive decoding - into a point cloud generation problem followed by node and edge classification tasks. Further, we propose a novel similarity-constrained optimization scheme for 3D diffusion models based on inpainting and guidance. As a concrete implementation of our framework, we develop EDM-SyCo based on the E(3) Equivariant Diffusion Model (EDM). EDM-SyCo achieves state-of-the-art performance in distribution learning of molecular graphs, outperforming the best non-autoregressive methods by more than 30% on ZINC250K and 16% on the large-scale GuacaMol dataset while improving conditional generation by up to 3.9 times.

Introduction

Generating novel, drug-like molecules is a cornerstone of modern drug discovery, but representing molecules as graphs presents significant challenges. Graphs are discrete, sparse, and possess complex symmetries like rings. Existing approaches generally fall into two categories: autoregressive models, which build molecules atom-by-atom but are slow and order-dependent, and all-at-once models, which often struggle to capture the joint distribution of atoms and bonds accurately.

While 3D molecule generation has seen success using diffusion models on point clouds, these models typically require 3D coordinates that are often unavailable or expensive to compute. This paper introduces the SYCO (Synthetic Coordinate Embedding) framework to bridge this gap, asking if the power of 3D generative models can be harnessed to generate 2D molecular graphs by "lifting" them into a continuous 3D latent space.

Methods

The SYCO framework bridges 2D graphs and 3D point clouds through several key steps:

  1. Synthetic Lifting: For every molecule in the training set, standard tools (RDKit’s ETKDG) generate "synthetic" 3D coordinates (conformers). These provide a spatial representation that implicitly encodes the graph's topology.
  2. Equivariant Autoencoder: An E(n)-Equivariant Graph Neural Network (EGNN) maps these 3D-lifted graphs into a continuous, node-structured Euclidean latent space.
  3. EDM-SYCO: An Equivariant Diffusion Model (EDM) is trained on this latent space. To generate a molecule, the model starts with Gaussian noise and iteratively denoises it into a latent point cloud.
  4. Decoding: A simple MLP-based decoder takes the latent point cloud and classifies atom and bond types to reconstruct the final molecular graph.
The SYCO framework overview: lifting graphs to a latent point cloud space for diffusion-based generation.

Additionally, the authors propose a novel similarity-constrained optimization scheme. By combining inpainting (fixing a scaffold) and guidance (optimizing for drug-likeness), the model can add new atoms to a scaffold during generation, overcoming a common limitation of fixed-size diffusion models.

Results

The model was evaluated on the ZINC250K, GuacaMol, and MOSES benchmarks. EDM-SYCO achieved state-of-the-art performance in distribution learning. On ZINC250K, it reached a Fréchet ChemNet Distance (FCD) of 0.85, a 30% improvement over the previous best non-autoregressive model, DiGress.

Performance comparison on ZINC250K: EDM-SyCo outperforms existing autoregressive and all-at-once methods in distribution metrics.

Key results include:

  • High Fidelity: The autoencoder achieved 99.93% accuracy in reconstructing graphs from the latent space.
  • Scalability: On the large-scale GuacaMol dataset, EDM-SYCO outperformed DiGress by 16% in FCD.
  • Optimization Efficiency: In property-conditioned generation, EDM-SYCO improved performance by up to 3.9 times compared to unconditional generation.

Discussion

By moving the generation problem from discrete graph space to a continuous latent space, SYCO enables efficient gradient-based guidance and avoids the ordering problems of autoregressive models. However, limitations remain. Like most diffusion models, inference is relatively slow due to iterative sampling. The base model also requires a pre-specified number of atoms, and while the optimization framework can add atoms, it cannot easily remove them. Future work will focus on more efficient sampling strategies and variable-sized graph generation.

Summary updated

BibTeX
@inproceedings{ketata2025lift,
  author = {Mohamed Amine Ketata and Nicholas Gao and Johanna Sommer and Tom Wollschläger and Stephan Günnemann},
  title = {{Lift Your Molecules: Molecular Graph Generation in Latent Euclidean Space}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=uNomADvF3s},
}
Figure