Autoencoding Undirected Molecular Graphs With Neural Networks

Jeppe Johan Waarkjær Olsen, Peter Ebert Christensen, Martin Hangaard Hansen, Alexander Rosenberg Johansen
11/26/2019
cs.LGstat.ML
transformer-attention

Official code: jeppe742/language_of_molecules (0 stars, Jupyter Notebook, last commit 2020-05-21).

Abstract

Discrete structure rules for validating molecular structures are usually limited to fulfillment of the octet rule or similar simple deterministic heuristics. We propose a model, inspired by language modeling from natural language processing, with the ability to learn from a collection of undirected molecular graphs, enabling fitting of any underlying structure rule present in the collection.

Show full abstract

We introduce an adaption to the popular Transformer model, which can learn relationships between atoms and bonds. To our knowledge, the Transformer adaption is the first model that is trained to solve the unsupervised task of recovering partially observed molecules. In this work, we assess how different degrees of information impact performance w.r.t. to fitting the QM9 dataset, which conforms to the octet rule, and to fitting the ZINC dataset, which contains hypervalent molecules and ions requiring the model to learn a more complex structure rule. More specifically, we test a full discrete graph with bond order information, a full discrete graph with only connectivity, a bag-of-neighbors, a bag-of-atoms, and a count-based unigram statistics. These results provide encouraging evidence that neural networks, even when only connectivity is available, can learn arbitrary molecular structure rules specific to a dataset, as the Transformer adaption surpasses a strong octet rule baseline on the ZINC dataset.

View on arXivView PDF

Code Implementations(1)

Master thesis written at DTU. Also source code for paper "Autoencoding Undirected Molecular Graphs With Neural Networks"

00Jupyter Notebook, PythonAug 5, 20196 years ago

Similar Papers

Cite this paper

@article{olsen2019autoencoding,
  title  = {Autoencoding Undirected Molecular Graphs With Neural Networks},
  author = {Jeppe Johan Waarkjær Olsen and Peter Ebert Christensen and Martin Hangaard Hansen and Alexander Rosenberg Johansen},
  year   = {2019},
  eprint = {2001.03517},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.03517}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.03517.svg)](https://codeofpaper.com/paper/2001.03517)

Discussion