Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoders

Tengfei Ma, Jie Chen, Cao Xiao
9/7/2018
cs.LGstat.ML

Official code: microsoft/constrained-graph-variational-autoencoder (240 stars, Python, MIT, last commit 2023-06-03).

Abstract

Deep generative models have achieved remarkable success in various data domains, including images, time series, and natural languages. There remain, however, substantial challenges for combinatorial structures, including graphs.

Show full abstract

One of the key challenges lies in the difficulty of ensuring semantic validity in context. For examples, in molecular graphs, the number of bonding-electron pairs must not exceed the valence of an atom; whereas in protein interaction networks, two proteins may be connected only when they belong to the same or correlated gene ontology terms. These constraints are not easy to be incorporated into a generative model. In this work, we propose a regularization framework for variational autoencoders as a step toward semantic validity. We focus on the matrix representation of graphs and formulate penalty terms that regularize the output distribution of the decoder to encourage the satisfaction of validity constraints. Experimental results confirm a much higher likelihood of sampling valid graphs in our approach, compared with others reported in the literature.

View on arXivView PDF

Code Implementations(1)

MIT

Sample code for Constrained Graph Variational Autoencoders

24055Python, ShellJul 19, 20183 years agoMIT

Similar Papers

Cite this paper

@article{ma2018constrained,
  title  = {Constrained Generation of Semantically Valid Graphs via Regularizing Variational Autoencoders},
  author = {Tengfei Ma and Jie Chen and Cao Xiao},
  year   = {2018},
  eprint = {1809.02630},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.02630}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1809.02630.svg)](https://codeofpaper.com/paper/1809.02630)

Discussion