Automated Machine Learning Pipeline: Large Language Models-Assisted Automated Dataset Generation for Training Machine-Learned Interatomic Potentials
Adam Lahouari, Jutta Rogal, Mark E. Tuckerman
TL;DR
AMLP addresses the challenge of building reliable MLIPs by automating dataset generation, code selection, and validation using a multi-agent LLM system within the MACE framework. The pipeline converts raw structure inputs into QM-ready workflows, generates AIMD-based training data, and trains and validates MLIPs with ASE-based analyses. In the acridine polymorph case, AMLP achieves sub-Å geometries and near-DFT accuracy for energies and forces, with robust energy conservation and meaningful dynamical validation across temperatures, while revealing limitations in transferability to unseen high-temperature forms. The work outlines a scalable path to automated MLIP development and points to future extensions to other architectures and active-learning orchestration.
Abstract
Machine learning interatomic potentials (MLIPs) have become powerful tools to extend molecular simulations beyond the limits of quantum methods, offering near-quantum accuracy at much lower computational cost. Yet, developing reliable MLIPs remains difficult because it requires generating high-quality datasets, preprocessing atomic structures, and carefully training and validating models. In this work, we introduce an Automated Machine Learning Pipeline (AMLP) that unifies the entire workflow from dataset creation to model validation. AMLP employs large-language-model agents to assist with electronic-structure code selection, input preparation, and output conversion, while its analysis suite (AMLP-Analysis), based on ASE supports a range of molecular simulations. The pipeline is built on the MACE architecture and validated on acridine polymorphs, where, with a straightforward fine-tuning of a foundation model, mean absolute errors of ~1.7 meV/atom in energies and ~7.0 meV/Å in forces are achieved. The fitted MLIP reproduces DFT geometries with sub-Å accuracy and demonstrates stability during molecular dynamics simulations in the microcanonical and canonical ensembles.
