arXiv Analytics

Sign in

arXiv:1712.01664 [stat.ML]AbstractReferencesReviewsResources

Learning a Generative Model for Validity in Complex Discrete Structures

David Janz, Jos van der Westhuizen, Brooks Paige, Matt J. Kusner, Jose Miguel Hernandez-Labato

Published 2017-12-05Version 1

Deep generative models have been successfully used to learn representations for high-dimensional discrete spaces by representing discrete objects as sequences, for which powerful sequence-based deep models can be employed. Unfortunately, these techniques are significantly hindered by the fact that these generative models often produce invalid sequences: sequences which do not represent any underlying discrete structure. As a step towards solving this problem, we propose to learn a deep recurrent validator model, which can estimate whether a partial sequence can function as the beginning of a full, valid sequence. This model not only discriminates between valid and invalid sequences, but also provides insight as to how individual sequence elements influence the validity of the overall sequence, and the existence of a corresponding discrete object. To learn this model we propose a reinforcement learning approach, where an oracle which can evaluate validity of complete sequences provides a sparse reward signal. We believe this is a key step toward learning generative models that faithfully produce valid sequences which represent discrete objects. We demonstrate its effectiveness in evaluating the validity of Python 3 source code for mathematical expressions, and improving the ability of a variational autoencoder trained on SMILES strings to decode valid molecular structures.

Related articles: Most relevant | Search more
arXiv:1911.07676 [stat.ML] (Published 2019-11-18)
Learning with Good Feature Representations in Bandits and in RL with a Generative Model
arXiv:2201.00844 [stat.ML] (Published 2022-01-03, updated 2022-07-21)
Deriving discriminative classifiers from generative models
arXiv:2203.07755 [stat.ML] (Published 2022-03-15)
Generative models and Bayesian inversion using Laplace approximation