A fine-tuned large language model based molecular dynamics agent for code generation to obtain material thermodynamic parameters

In the field of materials science, addressing the complex relationship between the material structure and properties has increasingly involved leveraging the text generation capabilities of AI-generated content (AIGC) models for tasks that include literature mining and data analysis. However, theoretical calculations and code development remain labor-intensive challenges. This paper proposes a novel approach based on text-to-code generation, utilizing large language models to automate the implementation of simulation programs in materials science. The effectiveness of automated code generation and review is validated with thermodynamics simulations based on the LAMMPS software as a foundation. This study introduces Molecular Dynamics Agent (MDAgent), a framework designed to guide large models in automatically generating, executing, and refining simulation code. In addition, a thermodynamic simulation code dataset for LAMMPS was constructed to fine-tune the language model. Expert evaluation scores demonstrate that MDAgent significantly improves the code generation and review capabilities. The proposed approach reduces the average task time by 42.22%, as compared to traditional models, thus highlighting its potential applications in the field of materials science.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-03-25
DOI
https://doi.org/10.1038/s41598-025-92337-6
Citations
5
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
2.59
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A fine-tuned large language model based molecular dynamics agent for code generation to obtain material thermodynamic parameters

Xingyue Chen, Teh‐Ia Huo, Wei Qin, Yuntao Jiang et al.
5 citations
Scientific Reports
Machine Learning in Materials Science
2.59
article

A fine-tuned large language model based molecular dynamics agent for code generation to obtain material thermodynamic parameters

Xingyue Chen, Teh‐Ia Huo, Wei Qin, Yuntao Jiang, Jing Xiang, Xin Chen, Bowen Wu, Zhenyu Wang, Gang Huang, Xinjian Ma, Zhuofan Shi
article en
5 citations

Abstract

In the field of materials science, addressing the complex relationship between the material structure and properties has increasingly involved leveraging the text generation capabilities of AI-generated content (AIGC) models for tasks that include literature mining and data analysis. However, theoretical calculations and code development remain labor-intensive challenges. This paper proposes a novel approach based on text-to-code generation, utilizing large language models to automate the implementation of simulation programs in materials science. The effectiveness of automated code generation and review is validated with thermodynamics simulations based on the LAMMPS software as a foundation. This study introduces Molecular Dynamics Agent (MDAgent), a framework designed to guide large models in automatically generating, executing, and refining simulation code. In addition, a thermodynamic simulation code dataset for LAMMPS was constructed to fine-tune the language model. Expert evaluation scores demonstrate that MDAgent significantly improves the code generation and review capabilities. The proposed approach reduces the average task time by 42.22%, as compared to traditional models, thus highlighting its potential applications in the field of materials science.

Scientific ReportsVol. 15(1)
China Academy of Space Technology (CN), Chinese Academy of Sciences (CN), Peking University (CN), Beijing Institute of Big Data Research (CN), Institute of Information Engineering (CN)
Openalex Percentile: Top 11%
Machine Learning in Materials Science
2.59
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.