Machine Learning: Science and Technology (Jan 2020)

Self-referencing embedded strings (SELFIES): A 100% robust molecular string representation

  • Mario Krenn,
  • Florian Häse,
  • AkshatKumar Nigam,
  • Pascal Friederich,
  • Alan Aspuru-Guzik

DOI
https://doi.org/10.1088/2632-2153/aba947
Journal volume & issue
Vol. 1, no. 4
p. 045024

Abstract

Read online

The discovery of novel materials and functional molecules can help to solve some of society’s most urgent challenges, ranging from efficient energy harvesting and storage to uncovering novel pharmaceutical drug candidates. Traditionally matter engineering–generally denoted as inverse design–was based massively on human intuition and high-throughput virtual screening. The last few years have seen the emergence of significant interest in computer-inspired designs based on evolutionary or deep learning methods. The major challenge here is that the standard strings molecular representation SMILES shows substantial weaknesses in that task because large fractions of strings do not correspond to valid molecules. Here, we solve this problem at a fundamental level and introduce S ELFIES (SELF-referencIng Embedded Strings), a string-based representation of molecules which is 100% robust. Every S ELFIES string corresponds to a valid molecule, and S ELFIES can represent every molecule. S ELFIES can be directly applied in arbitrary machine learning models without the adaptation of the models; each of the generated molecule candidates is valid. In our experiments, the model’s internal memory stores two orders of magnitude more diverse molecules than a similar test with SMILES. Furthermore, as all molecules are valid, it allows for explanation and interpretation of the internal working of the generative models.

Keywords