Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Grammar Variational Autoencoder

About

Deep generative models have been wildly successful at learning coherent latent representations for continuous data such as video and audio. However, generative modeling of discrete data such as arithmetic expressions and molecular structures still poses significant challenges. Crucially, state-of-the-art methods often produce outputs that are not valid. We make the key observation that frequently, discrete data can be represented as a parse tree from a context-free grammar. We propose a variational autoencoder which encodes and decodes directly to and from these parse trees, ensuring the generated outputs are always valid. Surprisingly, we show that not only does our model more often generate valid outputs, it also learns a more coherent latent space in which nearby points decode to similar discrete outputs. We demonstrate the effectiveness of our learned models by showing their improved performance in Bayesian optimization for symbolic regression and molecular synthesis.

Matt J. Kusner, Brooks Paige, Jos\'e Miguel Hern\'andez-Lobato• 2017

Related benchmarks

TaskDatasetResultRank
Molecular GenerationZINC250K
Uniqueness9
68
Molecular GenerationQM9
Validity60.2
30
Molecular GenerationZINC 250K (train/test)
Uniqueness0.09
12
Molecular GenerationZINC250K MOSES (test)
FCD0.571
10
Molecular GenerationQM9 (train test)
Uniqueness9.3
10
Molecule GenerationZINC250K
Generation Time0.86
9
Molecule GenerationQM9
Generation Time0.46
9
Molecule GenerationQM9
FCD0.513
9
structure-based drug designProtein Target Panel 4IAQ, 4NC3, 3UON, 4GV1, 6CM4, 4DJH--
7
Molecular Generation QualityQM9 GDB-17
Validity60
5
Showing 10 of 10 rows

Other info

Follow for update