Skip to main content
QUICK REVIEW

[Paper Review] GraphVAE: Towards Generation of Small Graphs Using Variational Autoencoders

Martin Simonovsky, Nikos Komodakis|arXiv (Cornell University)|Feb 9, 2018
Machine Learning in Materials ScienceMaterials Science34 references132 citations
TL;DR

GraphVAE introduces a variational autoencoder that decodes to a probabilistic, fully-connected graph of a fixed maximum size, enabling small-graph generation (e.g., molecules) without strict sequential decoding.

ABSTRACT

Deep learning on graphs has become a popular research topic with many applications. However, past work has concentrated on learning graph embedding tasks, which is in contrast with advances in generative models for images and text. Is it possible to transfer this progress to the domain of graphs? We propose to sidestep hurdles associated with linearization of such discrete structures by having a decoder output a probabilistic fully-connected graph of a predefined maximum size directly at once. Our method is formulated as a variational autoencoder. We evaluate on the challenging task of molecule generation.

Motivation & Objective

  • Motivate generating graphs directly from continuous codes rather than via sequence/linearization.
  • Propose a probabilistic fully-connected graph decoder that outputs graphs on a predefined maximum size.
  • Train the model as a variational autoencoder with a graph-matching based reconstruction loss.
  • Demonstrate applicability to molecule generation and assess conditional generation with attribute constraints.

Proposed method

  • Use a VAE framework with encoder q_phi(z|G) and decoder p_theta(G|z).
  • Decoder outputs a probabilistic graph (A, E, F) on k nodes, with independent node/edge existence and attribute variables.
  • Reconstruction loss is computed via approximate graph matching to align G with cG, involving a probabilistic assignment X between nodes.
  • Graph matching uses Max-Pooling Matching (MPM) followed by Hungarian discretization to obtain X.
  • Reconstruction terms include p(A'|z), p(F|z), p(E|z) with cross-entropy based likelihoods and a weighted sum.
  • Encoder uses edge-conditioned graph convolutions (ECC) and variational sampling (reparameterization).
  • Optionally condition both encoder and decoder on label y to obtain a disentangled z|y representation.

Experimental results

Research questions

  • RQ1Can a decoder that directly outputs a probabilistic graph on a fixed maximum size effectively generate small graphs without explicit sequential construction?
  • RQ2How does GraphVAE perform on small-molecule generation in terms of validity, novelty, and diversity compared to prior grammars/character-based baselines?
  • RQ3What is the impact of conditioning on auxiliary labels on the quality and controllability of generated graphs?
  • RQ4How scalable is the graph matching-based reconstruction loss and overall training to larger graphs within the small-graph regime?
  • RQ5Does implicit node probability assistance improve generation quality or trading off diversity?

Key findings

  • GraphVAE achieves chemically valid molecule samples at meaningful rates on QM9 and, with limitations, scales to larger small graphs (ZINC) up to k=38.
  • Conditioned models can generate molecules with reasonable label adherence (e.g., correct atom histograms) and show some extrapolation to novel graphs.
  • Across QM9 unconditional/conditional settings, higher latent dimension c improves validity and variety up to a point, with trade-offs in reconstruction vs. novelty.
  • Graph matching is crucial: ablations using identity permutation (NoGM) yield lower variety; the full graph-matching approach balances validity, accuracy, and novelty.
  • Implicit node probabilities can improve validity and novelty but may reduce variability and increase reconstruction loss.
  • Compared to baselines, GVAE tends to produce more valid samples (up to around 60%) with more diverse outputs, while some baselines produced very few valid samples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.