Syntax-Directed Variational Autoencoder for Structured Data

By Hanjun Dai, Yingtao Tian, Bo Dai, Steven S. Skiena, Le Song. 2018

358 citations recorded by the source corpus.

Deep generative models have been enjoying success in modeling continuous data. However it remains challenging to capture the representations for discrete structures with formal grammars and semantics, e.g., computer programs and molecular structures. How to generate both syntactically and semantically correct data still remains largely an open problem. Inspired by the theory of compiler where the syntax and semantics check is done via syntax-directed translation (SDT), we propose a novel syntax-directed variational autoencoder (SD-VAE) by introducing stochastic lazy attributes. This approach converts the offline SDT check into on-the-fly generated guidance for constraining the decoder. Comparing to the state-of-the-art methods, our approach enforces constraints on the output space so that the output will be not only syntactically valid, but also semantically reasonable. We evaluate the proposed model with applications in programming language and molecules, including reconstruction and program/molecule optimization. The results demonstrate the effectiveness in incorporating syntactic and semantic constraints in discrete generative models, which is significantly better than current state-of-the-art approaches.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Generative Models, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jure Leskovec
  2. William L. Hamilton
  3. Tommi S. Jaakkola
  4. Philip S. Yu
  5. Yoshua Bengio
  6. Percy Liang
  7. Regina Barzilay
  8. Mohit Bansal

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Luc Van Gool
  3. Xiaogang Wang
  4. Sanja Fidler
  5. Ming-Hsuan Yang
  6. Jitendra Malik
  7. Trevor Darrell
  8. Alan L. Yuille

In Generative Models

  1. Tommi S. Jaakkola
  2. Regina Barzilay
  3. Wengong Jin
  4. William L. Hamilton
  5. José Miguel Hernández-Lobato
  6. Jure Leskovec
  7. Shitong Luo
  8. Erik A. Daxberger

In Model Architectures

  1. Sanja Fidler
  2. Raquel Urtasun
  3. Jure Leskovec
  4. Tommi S. Jaakkola
  5. Yang Song
  6. Wengong Jin
  7. Regina Barzilay
  8. Rex Ying

Citations in the corpus