# Poster 27981

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/27981

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello and welcome to our presentation on molecular graph generation in latent Euclidean space. My name is Mohamed Amin Katata and this is joint work with Nicolas Gao, Johanna Zoma, Tom Wallschläger and Stefan Günemann.
In this work we tackle the problem of molecular graph generation, where given any desired properties we would like to generate a molecule that satisfies these properties. This has a lot of applications in drug discovery and material design for example. In this work we only focus on generating 2D molecules, that is we're not interested in generating the 3D structure of the molecule.
Existing work can be split into auto -regressive models and auto-trans models. On the one hand, we mostly see VAE-based models that learn to generate a molecule from a latent space. While this works quite well in practice, it has a few limitations. First, the performance depends on the generation order and fixing the size of the latent space is sub-optimal for generating molecules with different sizes. On the other hand, diffusion-based models do not come with these limitations.
permutations. With the right architecture we can define permutation invariant graph distributions and the whole process is size consistent. However, these models still perform worse than autoregressive models and discrete optimization is hard. The goal of our work is to combine the best of both worlds by defining diffusion models and node structure taken space.
Specifically, instead of defining the diffusion model directly on the graph structure like in Digress, we propose to map this graph representation into continuous point clouds representation where we then define our forward and reverse diffusion process. This allows us to have a size consistent and continuous latent space while also having a permutation invariant graph distribution. We call our model EDM cycle because we use the equivariant diffusion model.
loop with a synthetic coordinate embedding framework that we propose. Now the question is how to map between the graph space and the latent point cloud space. For this we define an auto encoder which I'm going to explain now. So given the graph representation of a molecule where each node represents an atom and the node features correspond to atom types and edges correspond to bond types, we would like to generate synthetic coordinates for
For each atom, by running distance geometry and classical force field simulations, which will allow us to get approximate synthetic coordinates that encode the bond structure information within them, allowing us to also get rid of the discrete edges of the graph. As a second step, we run one layer of an equivariant GNN to further process the node features and coordinates and get the latent space where we will define.
define our diffusion process. This part so far defines our encoder. Now to get the original graph representation from the latent representation, we define the decoder as a node-level MLP that runs on each node and an edge-level MLP that runs on each pair of nodes and define the reconstruction task as two classification tasks and train our model using cross-entropy. We find that our model achieves an almost perfect reconstruction in our datasets.
After training the encoder and decoder, we can now train the diffusion model defined on the latent space. We start by mapping all of our training molecules using the encoder to get the latent representations, to which we add noises in our forward diffusion and we train the denoising in GNN to reconstruct the clean latent representation from the noisy one. We train the whole process using L2 loss as is typical in diffusion models.
For sampling, we start with a Gaussian 3D point cloud and iteratively apply the reverse diffusion to denoise the noisy point cloud into a clean one. Finally, we apply the decoder to get the discrete graph structure from the clean point cloud. This is also permutation invariant inference time and the process looks like this.
We test our model on two datasets, zinc and guacamole. We compare to a bunch of autoregressive models as well as to digress. Then we find that on zinc our model outperforms all autoregressive models as well as digress by more than 30% and on guacamole outperforms digress by 16%. Beyond unconditional generation our model can also do property conditional generation, scaffold constraint generation and similarity constraint optimization.
as well as other tasks. Further details are provided in the paper. Thank you.
