ChemPrompt: a genetic algorithm-based prompt engineering framework for enhanced QSAR prediction with large language models
Taeung Song, Jeong Tae Lee, Jonghwan Choi
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SmileyLlama: modifying large language models for directed chemical space explorationNature Computational Science · 2026
- Large Language Model Agent for Modular Task Execution in Drug DiscoveryJournal of Chemical Information and Modeling · 2026
- Chemical genomics language model toward reliable and explainable compound-protein interaction explorationJournal of Cheminformatics · 2026
- Deep generative molecular design and its value in modern drug discoveryExpert Opinion on Drug Discovery · 2026
- Elucidating the Space of Enzymatic Reaction: A Unified Benchmark and Pretrained ModelarXiv · 2026
- ReactionSeek: LLM-powered literature data mining and knowledge discovery in organic synthesisNature Communications · 2026