arrow
返回

Developing large language models for quantum chemistry simulation input generation

delete2025-01-01
delete0
delete
OA
AI
P
Pieter Floris Jacobs
R
Robert Pollice *
DOI:10.1039/d4dd00366gdelete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Scientists across domains are often challenged to master domain-specific languages (DSLs) for their research, which are merely a means to an end but are pervasive in fields like computational chemistry. Automated code generation promises to overcome this barrier, allowing researchers to focus on their core expertise. While large language models (LLMs) have shown impressive capabilities in synthesizing code from natural language prompts, they often struggle with DSLs, likely due to their limited exposure during training. In this work, we investigate the potential of foundational LLMs for generating input files for the quantum chemistry package ORCA by establishing a general framework that can be adapted to other DSLs. To improve upon as our base model, we explore the impact of prompt engineering, retrieval-augmented generation, and finetuning via synthetically generated datasets. We find that finetuning, even with synthetic datasets as small as 500 samples, significantly improves performance. Additionally, we observe that finetuning shows synergism with advanced prompt engineering such as chain-of-thought prompting. Consequently, our best finetuned models outperform the formally much more powerful model. In turn, finetuning GPT-4o with the same small synthetic dataset leads to a further substantial performance improvement, suggesting our approach to be more general rather than limited to LLMs with poor base proficiency. All tools and datasets are made openly available for future research. We believe that this research lays the groundwork for a wider adoption of LLMs for DSLs in chemistry and beyond.

期刊

Digital Discovery 封面图
Digital Discovery
IF:
5.6
论文数:
997
被引数:
1.7K

机构

暂无机构信息
引用论文

引用论文

A Systematic Review of Swarm Robots
err2020-06-18
err0
errOAAI
errIroju Olaronke; Ikono Rhoda; Ishaya Gambo; Ojerinde Oluwaseun; Olaleke Janet
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
The Erosive Axial Collapse of a Cavitating Vortex: An Experimental Study
err1997-09-01
err0
errOAAI
errM. A. Dominguez-Cortazar; J. P. Franc; J. M. Michel
err分享
err收藏
学者 查看更多内容