Self-Referencing Embedded Strings (SELFIES): A 100% robust molecular string representation

Mario Krenn, Florian Häse, AkshatKumar Nigam, Pascal Friederich, Alán Aspuru-Guzik
5/31/2019
cs.LGphysics.chem-phquant-ph

Official code: the-matter-lab/selfies (865 stars, Apache-2.0, last commit 2025-05-17).

Abstract

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 SELFIES (SELF-referencIng Embedded Strings), a string-based representation of molecules which is 100\% robust. Every SELFIES string corresponds to a valid molecule, and SELFIES can represent every molecule. SELFIES 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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Robust representation of semantically constrained graphs, in particular for molecules in chemistry

865146PythonMay 31, 20191 years agoApache-2.0

Similar Papers

Cite this paper

@article{krenn2019selfreferencing,
  title  = {Self-Referencing Embedded Strings (SELFIES): A 100% robust molecular string representation},
  author = {Mario Krenn and Florian Häse and AkshatKumar Nigam and Pascal Friederich and Alán Aspuru-Guzik},
  year   = {2019},
  eprint = {1905.13741},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.13741}
}

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/1905.13741.svg)](https://codeofpaper.com/paper/1905.13741)

Discussion