Search NASASearch

DOE OSTI · 3030415

Agentic framework for programmatic crystal structure generation using a fine-tuned worker–supervisor large language model

Abstract

Platinum group metals (PGMs) underpin many catalytic technologies but face severe supply constraints, motivating the search for alternative materials and computational methods to accelerate discovery. While atomistic simulation tools such as Pymatgen and ASE have streamlined structure manipulation, they require detailed inputs, limiting accessibility for experimentalists and slowing early-stage exploration. Here, in this study, we present an AI-driven agentic framework that orchestrates worker–supervisor large language models (LLMs). The worker translates natural-language prompts of varying abstraction into valid crystallographic structures using a compact LLM fine-tuned with low-rank adaptation on a curated text–code–CIF dataset, emphasizing energy-efficient training. Benchmarking against the baseline CodeGen-350M-mono model shows that fine-tuning reduces hallucination rates from 100% to as low as 5% and improves structural match accuracy to up to 82% for fully specified inputs. Accuracy declines with decreasing prompt detail but remains nontrivial even when only stoichiometry and space group are provided, underscoring the LLM’s capacity for crystallographic inference. The supervisor Claude LLM evaluates the outputs and triggers iterative refinement through the worker’s built-in structure manipulation capabilities (e.g., supercell scaling, strain, vacancy, and substitution operations). We further demonstrate use cases for technologically relevant catalysts, including IrO 2 , pyrochlore Pb 2 Ir 2 O 7 , Ni 2 FeO 4 , and Ni 3 Mo, where the framework generates physically consistent structures that can be refined via geometry optimization. This work introduces a low-energy, language-driven pathway for integrating human and machine intelligence in materials design, paving the way for AI-assisted synthesis planning and high-throughput screening of complex oxides.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Baibakova, Viktoriia [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0009000457999510), Serov, Alexey [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000331824726). 2026-03-02. Agentic framework for programmatic crystal structure generation using a fine-tuned worker–supervisor large language model. https://doi.org/10.1016/j.egyai.2026.100710

Cite the original work for its findings. Save a collection to share your selection of sources.