ChemPrompt: a genetic algorithm-based prompt engineering framework for enhanced QSAR prediction with large language models

Background Quantitative structure–activity relationship (QSAR) prediction remains a challenging problem in drug discovery, yet it offers a promising avenue to reduce time- and cost-intensive experimental workloads. Recently, studies utilizing large language models (LLMs) to process molecular structure data, such as the simplified molecular-input line-entry system (SMILES), have gained attention; however, such approaches still struggle to improve prediction accuracy owing to the absence of physicochemical property information, which is difficult to infer from structural information alone. Methods To address this issue, we propose ChemPrompt, a framework that employs prompt engineering to integrate physicochemical information into SMILES strings. Furthermore, we present a genetic algorithm to search for the molecular prompt best suited to each prediction task. Results We evaluated the proposed method on four regression benchmark datasets (FreeSolv, ESOL, Lipophilicity, and Caco-2) and one classification benchmark (ClinTox). Compared with using SMILES alone as input, ChemPrompt reduced the root mean square error (RMSE) on the regression tasks and improved F1-scores on the classification task, and it also outperformed prompts that simply appended all available descriptors. Across the five datasets, it achieved the best mean rank among the compared fingerprint- and SMILES-based methods under both five-fold cross-validation and a scaffold split. In addition, optimized prompts showed no measurable performance loss at 16-bit (Float16) precision, indicating that ChemPrompt is practical in research settings with limited high-performance computing resources. Conclusion These results indicate that optimizing the descriptor content of molecular prompts is an effective and computationally practical strategy for molecular property prediction with LLMs, and that it can be applied without fine-tuning in resource-constrained settings.

Authors

Institutions

Publication Details

Journal
Journal of Cheminformatics
Published
2026-11-27
DOI
https://doi.org/10.1186/s13321-026-01341-z
Primary Topic
Computational Drug Discovery Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

ChemPrompt: a genetic algorithm-based prompt engineering framework for enhanced QSAR prediction with large language models

Jonghwan Choi, Taeung Song, Jeong Tae Lee
Journal of Cheminformatics
Computational Drug Discovery Methods
article

ChemPrompt: a genetic algorithm-based prompt engineering framework for enhanced QSAR prediction with large language models

Jonghwan Choi, Taeung Song, Jeong Tae Lee
article en

Abstract

Background Quantitative structure–activity relationship (QSAR) prediction remains a challenging problem in drug discovery, yet it offers a promising avenue to reduce time- and cost-intensive experimental workloads. Recently, studies utilizing large language models (LLMs) to process molecular structure data, such as the simplified molecular-input line-entry system (SMILES), have gained attention; however, such approaches still struggle to improve prediction accuracy owing to the absence of physicochemical property information, which is difficult to infer from structural information alone. Methods To address this issue, we propose ChemPrompt, a framework that employs prompt engineering to integrate physicochemical information into SMILES strings. Furthermore, we present a genetic algorithm to search for the molecular prompt best suited to each prediction task. Results We evaluated the proposed method on four regression benchmark datasets (FreeSolv, ESOL, Lipophilicity, and Caco-2) and one classification benchmark (ClinTox). Compared with using SMILES alone as input, ChemPrompt reduced the root mean square error (RMSE) on the regression tasks and improved F1-scores on the classification task, and it also outperformed prompts that simply appended all available descriptors. Across the five datasets, it achieved the best mean rank among the compared fingerprint- and SMILES-based methods under both five-fold cross-validation and a scaffold split. In addition, optimized prompts showed no measurable performance loss at 16-bit (Float16) precision, indicating that ChemPrompt is practical in research settings with limited high-performance computing resources. Conclusion These results indicate that optimizing the descriptor content of molecular prompts is an effective and computationally practical strategy for molecular property prediction with LLMs, and that it can be applied without fine-tuning in resource-constrained settings.

Journal of CheminformaticsVol. 18(1)
Hallym Polytechnic University (KR)
Computational Drug Discovery Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon