Saved in:
Bibliographic Details
Main Authors: Jang, Yunhui, Kim, Jaehyung, Ahn, Sungsoo
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16340
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909619750699008
author Jang, Yunhui
Kim, Jaehyung
Ahn, Sungsoo
author_facet Jang, Yunhui
Kim, Jaehyung
Ahn, Sungsoo
contents Large language models (LLMs) are increasingly recognized as powerful tools for scientific discovery, particularly in molecular science. A fundamental requirement for these models is the ability to accurately understand molecular structures, commonly encoded in the SMILES representation. However, current LLMs struggle to interpret SMILES, even failing to carry out basic tasks such as counting molecular rings. To address this limitation, we introduce CLEANMOL, a novel framework that formulates SMILES parsing into a suite of clean and deterministic tasks explicitly designed to promote graph-level molecular comprehension. These tasks span from subgraph matching to global graph matching, providing structured supervision aligned with molecular structural properties. We construct a molecular pretraining dataset with adaptive difficulty scoring and pre-train open-source LLMs on these tasks. Our results show that CLEANMOL not only enhances structural comprehension but also achieves the best or competes with the baseline on the Mol-Instructions benchmark.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16340
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improving Chemical Understanding of LLMs via SMILES Parsing
Jang, Yunhui
Kim, Jaehyung
Ahn, Sungsoo
Machine Learning
Large language models (LLMs) are increasingly recognized as powerful tools for scientific discovery, particularly in molecular science. A fundamental requirement for these models is the ability to accurately understand molecular structures, commonly encoded in the SMILES representation. However, current LLMs struggle to interpret SMILES, even failing to carry out basic tasks such as counting molecular rings. To address this limitation, we introduce CLEANMOL, a novel framework that formulates SMILES parsing into a suite of clean and deterministic tasks explicitly designed to promote graph-level molecular comprehension. These tasks span from subgraph matching to global graph matching, providing structured supervision aligned with molecular structural properties. We construct a molecular pretraining dataset with adaptive difficulty scoring and pre-train open-source LLMs on these tasks. Our results show that CLEANMOL not only enhances structural comprehension but also achieves the best or competes with the baseline on the Mol-Instructions benchmark.
title Improving Chemical Understanding of LLMs via SMILES Parsing
topic Machine Learning
url https://arxiv.org/abs/2505.16340