Related Experiment Video
Updated: Jun 9, 2025

Author Spotlight: Unveiling the Potential of VSFG Microscopy in Studying Mesoscopically Heterogeneous Self-Assembled Structures
Published on: December 1, 2023
Comparing SMILES and SELFIES tokenization for enhanced chemical language modeling
Miguelangel Leon1, Yuriy Perezhohin1, Fernando Peres1
1NOVA Information Management School (NOVA IMS), Universidade Nova de Lisboa, 1070-312, Lisbon, Portugal.
Abstract:
Life sciences research and experimentation are resource-intensive, requiring extensive trials and considerable time. Often, experiments do not achieve their intended objectives, but progress is made through trial and error, eventually leading to breakthroughs. Machine learning is transforming this traditional approach, providing methods to expedite processes and accelerate discoveries. Deep Learning is becoming increasingly prominent in chemistry, with Convolutional Graph Networks (CGN) being a key focus, though other approaches also show significant potential. This research explores the application of Natural Language Processing (NLP) to evaluate the effectiveness of chemical language representations, specifically SMILES and SELFIES, using tokenization methods such as Byte Pair Encoding (BPE) and a novel approach developed in this study, Atom Pair Encoding (APE), in BERT-based models. The primary objective is to assess how these tokenization techniques influence the performance of chemical language models in biophysics and physiology classification tasks. The findings reveal that APE, particularly when used with SMILES representations, significantly outperforms BPE by preserving the integrity and contextual relationships among chemical elements, thereby enhancing classification accuracy. Performance was evaluated in downstream classification tasks using three distinct datasets for HIV, toxicology, and blood-brain barrier penetration, with ROC-AUC serving as the evaluation metric. This study highlights the critical role of tokenization in processing chemical language and suggests that refining these techniques could lead to significant advancements in drug discovery and material science.
Related Concept Videos
Peptide Identification Using Tandem Mass Spectrometry
This technique helps gather information regarding the protein from which the peptide was obtained and to study the peptides’ amino acid sequence. Identifying peptides from a complex mixture is an important component of the growing field of...
Molecular Models
Photochemical Electrocyclic Reactions: Stereochemistry
Selection Rules: Photochemical Activation
SN1 Reaction: Stereochemistry
In the first step of an SN1 reaction, the bond between the electrophilic carbon and the leaving group ionizes to generate the carbocation intermediate. The second step of the mechanism is the nucleophilic attack.
In the formed carbocation, the positively charged carbon is sp2 hybridized with a trigonal planar geometry. As all the three substituents lie on the same plane, a plane of symmetry for the...
Chemical Ionization (CI) Mass Spectrometry
SN2 Reaction: Stereochemistry
If the substrate is an achiral molecule at the α-carbon, the inversion of configuration is not...

