English

Difficulty in chirality recognition for Transformer architectures learning chemical structures from string

Machine Learning 2024-02-20 v4 Computation and Language Chemical Physics Biomolecules

Abstract

Recent years have seen rapid development of descriptor generation based on representation learning of extremely diverse molecules, especially those that apply natural language processing (NLP) models to SMILES, a literal representation of molecular structure. However, little research has been done on how these models understand chemical structure. To address this black box, we investigated the relationship between the learning progress of SMILES and chemical structure using a representative NLP model, the Transformer. We show that while the Transformer learns partial structures of molecules quickly, it requires extended training to understand overall structures. Consistently, the accuracy of molecular property predictions using descriptors generated from models at different learning steps was similar from the beginning to the end of training. Furthermore, we found that the Transformer requires particularly long training to learn chirality and sometimes stagnates with low performance due to misunderstanding of enantiomers. These findings are expected to deepen the understanding of NLP models in chemistry.

Keywords

Cite

@article{arxiv.2303.11593,
  title  = {Difficulty in chirality recognition for Transformer architectures learning chemical structures from string},
  author = {Yasuhiro Yoshikai and Tadahaya Mizuno and Shumpei Nemoto and Hiroyuki Kusuhara},
  journal= {arXiv preprint arXiv:2303.11593},
  year   = {2024}
}

Comments

29 pages, 6 figures

R2 v1 2026-06-28T09:25:33.100Z