A fine-tuned large language model based molecular dynamics agent for code generation to obtain material thermodynamic
Zhuofan Shi1,2,3, Chunxiao Xin1,2,3, Tong Huo2,3,4
1School of Software and Microelectronics, Peking University, Beijing, 102600, China.
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.
More Related Videos
06:37Analyzing Melts and Fluids from Ab Initio Molecular Dynamics Simulations with the UMD Package
Published on: September 17, 2021
07:31Author Spotlight: Advancing Cell Membrane Biophysics - Exploring Interactions and Challenges Through Experimental and Computational Approaches
Published on: September 1, 2023
Related Concept Videos
Thermodynamic Potentials
Thermal Sigmatropic Reactions: Overview
Sigmatropic shifts are classified based on an order term [i, j ], where i and j indicate the number of atoms across which each end of the σ bond migrates. Below are examples of a [3,3] sigmatropic shift in...
Thermodynamics: Activity Coefficient
The activity coefficient is a measure of the deviation from ideal behavior. When the ionic strength of the solution is minimal, the activity coefficient of an ionic species is close to unity, making...
Thermodynamic Systems
Consider an example of tea boiling in a kettle. The...
Kinetic Molecular Theory: Molecular Velocities, Temperature, and Kinetic Energy
Maxwell's Thermodynamic Relations
All thermodynamic potentials are exact differentials. Therefore, their...
