Abstract
Machine learning is transforming materials discovery by providing rapid predictions of material properties, which enables large-scale screening for target materials. However, such models require training data. While automated data extraction from scientific literature has potential, current auto-generated datasets often lack sufficient accuracy and critical structural and processing details of materials that influence the properties. Using band gap as an example, we demonstrate Large language model (LLM)-prompt-based extraction yields an order of magnitude lower error rate. Combined with additional prompts to select a subset of experimentally measured properties from pure, single-crystalline bulk materials, this results in an automatically extracted dataset that's larger and more diverse than the largest existing human-curated database of experimental band gaps. Compared to the existing human-curated database, we show the model trained on our extracted database achieves a 19% reduction in the mean absolute error of predicted band gaps. Finally, we demonstrate that LLMs are able to train models predicting band gap on the extracted data, achieving an automated pipeline of data extraction to materials property prediction.
Introduction
In the race to discover new materials for electronics, solar cells, and catalysts, machine learning (ML) has emerged as a powerful tool. However, the performance of ML models is strictly limited by the quality of their training data. Currently, researchers rely on two primary sources: computational data from Density Functional Theory (DFT), which is plentiful but often physically inaccurate, and experimental data, which is the "gold standard" but remains buried in millions of unstructured research papers.
Existing automated extraction tools often fail to capture crucial context, such as whether a value refers to a nanoparticle or a bulk material, or if it is a theoretical prediction rather than an experimental measurement. Human curation, while accurate, is far too slow to keep up with the volume of scientific publishing. This paper presents a high-fidelity pipeline using Large Language Models (LLMs) to bridge this gap.
Methodology
The researchers moved beyond simple keyword matching by using GPT-4 in a multi-stage, zero-shot prompting pipeline designed for high precision:
- Entity Extraction: The LLM identifies the material, property name, value, and units from a sentence.
- Contextual Verification: Four specific follow-up questions filter the data to ensure it represents intrinsic properties (e.g., is the material a pure, non-doped, bulk single crystal? Was the value measured experimentally?).
- Noise-Robust Modeling: Graph Neural Networks (GNNs) were trained using Huber loss, which is less sensitive to outliers like typographical errors in the source literature.
- Code Generation: The LLM was also used to write the Python code necessary to train and compare different ML models on the extracted data, creating an end-to-end automated pipeline.
Results
Extraction Quality
The LLM pipeline demonstrated an order of magnitude lower error rate compared to previous state-of-the-art rule-based tools. By prioritizing precision over recall, the system achieved 99% precision in entity extraction, ensuring that the data used for training is nearly as reliable as human-curated data.
Predictive Performance
The impact of high-quality data is most evident in model performance. Models trained on the LLM-extracted dataset achieved a 19% reduction in Mean Absolute Error (MAE) compared to those trained on the leading human-curated database (matbench_expt_gap).
Key insights from the results include:
- Context is Critical: By filtering for "pure bulk single crystals," the pipeline removed the noise caused by morphology (like thin films or nanoparticles) that typically plagues automated datasets.
- Synergistic Data: The best-performing models were those trained on a combination of the new LLM-extracted data and existing human-curated data, suggesting the LLM successfully identifies high-quality "hidden gems" in the literature.
Conclusion and Future Work
This study demonstrates that LLMs can effectively automate the creation of high-quality experimental datasets for materials science. While the system is currently limited by typos in source materials and a single-sentence context window, it provides a scalable path forward. Future work will explore long-context LLMs to parse entire papers and extend the pipeline to more complex properties like superconductivity transition temperatures.
Summary updated