PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 15, 2021Journal of Chemical Information and Modeling135 citationsOpen Access

SMILES Pair Encoding: A Data-Driven Substructure Tokenization Algorithm for Deep Learning

View Full Paper
XLXinhao LiDFDenis Fourches

Key Points

  • To introduce and evaluate SMILES pair encoding (SPE), a data-driven substructure tokenization algorithm that creates a vocabulary of frequent chemical substrings for deep learning.
  • Extracted high-frequency SMILES substrings from large chemical repositories (e.g., ChEMBL) to establish a learned token vocabulary.
  • Assessed SPE performance against standard atom-level and k-mer tokenization across molecular generation tasks and 24 benchmark quantitative structure–activity relationship (QSAR) datasets.
  • Released the method as an open-source Python library, SmilesPE.
  • SPE generative models outperformed atom-level models across molecular novelty, diversity, and fidelity to the training set distribution.
  • SPE-based QSAR models consistently matched or outperformed both atom-level and k-mer tokenization approaches across 24 benchmark datasets.

Abstract

Simplified molecular input line entry system (SMILES)-based deep learning models are slowly emerging as an important research topic in cheminformatics. In this study, we introduce SMILES pair encoding (SPE), a data-driven tokenization algorithm. SPE first learns a vocabulary of high-frequency SMILES substrings from a large chemical dataset (e.g., ChEMBL) and then tokenizes SMILES based on the learned vocabulary for the actual training of deep learning models. SPE augments the widely used atom-level tokenization by adding human-readable and chemically explainable SMILES substrings as tokens. Case studies show that SPE can achieve superior performances on both molecular generation and quantitative structure–activity relationship (QSAR) prediction tasks. In particular, the SPE-based generative models outperformed the atom-level tokenization model in the aspects of novelty, diversity, and ability to resemble the training set distribution. The performance of SPE-based QSAR prediction models were evaluated using 24 benchmark datasets where SPE consistently either did match or outperform atom-level and k-mer tokenization. Therefore, SPE could be a promising tokenization method for SMILES-based deep learning models. An open-source Python package SmilesPE was developed to implement this algorithm and is now freely available at https://github.com/XinhaoLi74/SmilesPE.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Li et al. (2021) studied this question.

synapsesocial.com/papers/6a0fe5909e54838161fd5b31https://doi.org/10.1021/acs.jcim.0c01127
Ask AI
Helpful
Bookmark
Share
View Full Paper