RT Journal Article SR Electronic T1 VAE-Sim: a novel molecular similarity measure based on a variational autoencoder JF bioRxiv FD Cold Spring Harbor Laboratory SP 2020.06.26.172908 DO 10.1101/2020.06.26.172908 A1 Samanta, Soumitra A1 O’Hagan, Steve A1 Swainston, Neil A1 Roberts, Timothy J. A1 Kell, Douglas B. YR 2020 UL http://biorxiv.org/content/early/2020/06/28/2020.06.26.172908.abstract AB Molecular similarity is an elusive but core ‘unsupervised’ cheminformatics concept, yet different ‘fingerprint’ encodings of molecular structures return very different similarity values even when using the same similarity metric. Each encoding may be of value when applied to other problems with objective or target functions, implying that a priori none is ‘better’ than the others, nor than encoding-free metrics such as maximum common substructure (MCSS). We here introduce a novel approach to molecular similarity, in the form of a variational autoencoder (VAE). This learns the joint distribution p(z|x) where z is a latent vector and x are the (same) input/output data. It takes the form of a ‘bowtie’-shaped artificial neural network. In the middle is a ‘bottleneck layer’ or latent vector in which inputs are transformed into, and represented as, a vector of numbers (encoding), with a reverse process (decoding) seeking to return the SMILES string that was the input. We train a VAE on over 6 million druglike molecules and natural products (including over one million in the final holdout set). The VAE vector distances provide a rapid and novel metric for molecular similarity that is both easily and rapidly calculated. We describe the method and its application to a typical similarity problem in cheminformatics.Competing Interest StatementThe authors have declared no competing interest.