Skip to main content
QUICK REVIEW

[Paper Review] All SMILES Variational Autoencoder

Zaccary Alperstein, Artem Cherkasov|arXiv (Cornell University)|May 30, 2019
Computational Drug Discovery MethodsComputer Science70 references40 citations
TL;DR

The All SMILES VAE encodes a molecule by jointly processing multiple SMILES strings with stacked RNNs and attention, then decodes to a disjoint set of SMILES, achieving state-of-the-art property prediction and gradient-based molecular optimization within a constrained latent space.

ABSTRACT

Variational autoencoders (VAEs) defined over SMILES string and graph-based representations of molecules promise to improve the optimization of molecular properties, thereby revolutionizing the pharmaceuticals and materials industries. However, these VAEs are hindered by the non-unique nature of SMILES strings and the computational cost of graph convolutions. To efficiently pass messages along all paths through the molecular graph, we encode multiple SMILES strings of a single molecule using a set of stacked recurrent neural networks, pooling hidden representations of each atom between SMILES representations, and use attentional pooling to build a final fixed-length latent representation. By then decoding to a disjoint set of SMILES strings of the molecule, our All SMILES VAE learns an almost bijective mapping between molecules and latent representations near the high-probability-mass subspace of the prior. Our SMILES-derived but molecule-based latent representations significantly surpass the state-of-the-art in a variety of fully- and semi-supervised property regression and molecular property optimization tasks.

Motivation & Objective

  • Motivate improved molecular property optimization in a discrete chemical space by addressing SMILES non-uniqueness and graph complexity.
  • Develop a latent representation that captures molecule-level features rather than SMILES realizations.
  • Enable efficient gradient-based molecular property optimization through a bijective-like latent mapping.
  • Demonstrate state-of-the-art performance in semi- and fully-supervised property prediction and toxicity assessment.

Proposed method

  • Encode a molecule from multiple SMILES strings using parallel stacked RNNs with pooling between corresponding atoms across SMILES representations.
  • Pool homologous atom representations across SMILES strings to emulate message passing on molecular graphs.
  • Use Bahdanau-style attention to form a fixed-length latent representation from pooled RNN outputs.
  • Decode to a disjoint set of SMILES strings of the same molecule using a beam-search decoder to encourage a near-bijection with the molecule space.
  • Train property regressors jointly on latent representations and optimize properties via gradient-based methods within a reparametrized latent space constrained to the prior’s high-probability region.
  • If desired, optionally enforce grammatical constraints on decoding to valid SMILES strings.

Experimental results

Research questions

  • RQ1Can a latent space built from multiple SMILES strings per molecule yield a robust, molecule-centered representation despite SMILES non-uniqueness?
  • RQ2Does decoding to disjoint SMILES strings enforce molecule-focused latent representations that generalize for property prediction and optimization?
  • RQ3How does gradient-based optimization in the latent space perform for molecular properties under prior-constrained regions, compared to prior-unconstrained approaches?
  • RQ4What are the gains in semi- and fully-supervised property prediction and toxicity assistance when using All SMILES latent representations versus prior state-of-the-art methods?

Key findings

  • Reconstruction accuracy: 87.4% ± 1% of a held-out ZINC250k test set is reconstructed accurately using mean latent posteriors and beam-search decoding.
  • Validity of prior samples: 98.5% ± 0.1% of samples drawn from the prior decode to valid SMILES strings.
  • Novelty and practicality: molecules decoded from 50,000 prior samples are all unique and 99.958% are novel relative to training data; average synthetic accessibility score is 2.97 ± 0.01.
  • Fully supervised regression performance on ZINC250k shows MAE of 0.005 ± 0.0006 for logP and 0.0052 ± 0.0001 for QED, outperforming ECFP, CVAE, and graph-convolution baselines.
  • Tox21 toxicity prediction: All SMILES achieves an AUC-ROC of 0.871 on the Tox21 dataset, surpassing several prior models.
  • Molecular optimization: gradient-based latent-space optimization yields top penalized logP and QED values comparable to or exceeding recent state-of-the-art methods, with explicit comparison to JT-VAE, GCPN, and MolDQN results.

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.