Table of Contents
Fetching ...

Flexible, Model-Agnostic Method for Materials Data Extraction from Text Using General Purpose Language Models

Maciej P. Polak, Shrey Modi, Anna Latosinska, Jinming Zhang, Ching-Wen Wang, Shaonan Wang, Ayan Deep Hazra, Dane Morgan

TL;DR

The paper presents a simple, model-agnostic workflow for extracting materials data from full-text research papers by coupling zero-shot sentence classification with a human-in-the-loop to produce high-quality mid-sized databases. It demonstrates that modern LLMs, particularly GPT-3/3.5/4 families, achieve strong zero-shot performance for identifying data-bearing sentences, and that optional fine-tuning (Step 2) further boosts precision, enabling near-manual data quality with substantially reduced human effort. The approach is validated on bulk modulus data and extended to a larger, curated database of critical cooling rates for bulk metallic glasses, achieving hundreds of datapoints with a few hours of manual work. The method is designed to adapt quickly to new models and properties, offering a practical path to building useful materials databases without extensive coding or property-specific tooling. Overall, the workflow enables rapid construction of reliable, searchable materials data repositories suitable for machine learning training and materials discovery.

Abstract

Accurate and comprehensive material databases extracted from research papers are crucial for materials science and engineering, but their development requires significant human effort. With large language models (LLMs) transforming the way humans interact with text, LLMs provide an opportunity to revolutionize data extraction. In this study, we demonstrate a simple and efficient method for extracting materials data from full-text research papers leveraging the capabilities of LLMs combined with human supervision. This approach is particularly suitable for mid-sized databases and requires minimal to no coding or prior knowledge about the extracted property. It offers high recall and nearly perfect precision in the resulting database. The method is easily adaptable to new and superior language models, ensuring continued utility. We show this by evaluating and comparing its performance on GPT-3 and GPT-3.5/4 (which underlie ChatGPT), as well as free alternatives such as BART and DeBERTaV3. We provide a detailed analysis of the method's performance in extracting sentences containing bulk modulus data, achieving up to 90% precision at 96% recall, depending on the amount of human effort involved. We further demonstrate the method's broader effectiveness by developing a database of critical cooling rates for metallic glasses over twice the size of previous human curated databases.

Flexible, Model-Agnostic Method for Materials Data Extraction from Text Using General Purpose Language Models

TL;DR

The paper presents a simple, model-agnostic workflow for extracting materials data from full-text research papers by coupling zero-shot sentence classification with a human-in-the-loop to produce high-quality mid-sized databases. It demonstrates that modern LLMs, particularly GPT-3/3.5/4 families, achieve strong zero-shot performance for identifying data-bearing sentences, and that optional fine-tuning (Step 2) further boosts precision, enabling near-manual data quality with substantially reduced human effort. The approach is validated on bulk modulus data and extended to a larger, curated database of critical cooling rates for bulk metallic glasses, achieving hundreds of datapoints with a few hours of manual work. The method is designed to adapt quickly to new models and properties, offering a practical path to building useful materials databases without extensive coding or property-specific tooling. Overall, the workflow enables rapid construction of reliable, searchable materials data repositories suitable for machine learning training and materials discovery.

Abstract

Accurate and comprehensive material databases extracted from research papers are crucial for materials science and engineering, but their development requires significant human effort. With large language models (LLMs) transforming the way humans interact with text, LLMs provide an opportunity to revolutionize data extraction. In this study, we demonstrate a simple and efficient method for extracting materials data from full-text research papers leveraging the capabilities of LLMs combined with human supervision. This approach is particularly suitable for mid-sized databases and requires minimal to no coding or prior knowledge about the extracted property. It offers high recall and nearly perfect precision in the resulting database. The method is easily adaptable to new and superior language models, ensuring continued utility. We show this by evaluating and comparing its performance on GPT-3 and GPT-3.5/4 (which underlie ChatGPT), as well as free alternatives such as BART and DeBERTaV3. We provide a detailed analysis of the method's performance in extracting sentences containing bulk modulus data, achieving up to 90% precision at 96% recall, depending on the amount of human effort involved. We further demonstrate the method's broader effectiveness by developing a database of critical cooling rates for metallic glasses over twice the size of previous human curated databases.
Paper Structure (13 sections, 5 equations, 4 figures)

This paper contains 13 sections, 5 equations, 4 figures.

Figures (4)

  • Figure 1: Qualitative behavior of different types of approaches to data extraction, presented as human time required as a function of the size of the dataset. The broad range of the green (fully automatic), and orange (this work) represents the potential variation in the initial fixed time requirement, which may slightly influence the quality of the result. The dashed line suggests which method is the best choice for a given size of dataset.
  • Figure 2: A diagram of the steps necessary for NLP/LLM data extraction in the proposed method. The process starts with gathering and preparing the documents to be analyzed, a process not involving any NLP (Step 0), then a LLM is used to classify sentences by whether a sentence does or does not contain data for a given property (value and units) in a zero-shot fashion (Step 1). The pre-classified sentences are then (optionally) validated and used for fine-tuning the LLM and reclassifying the sentences with higher quality (Step 2). Finally the data is structured by a LLM/human assisted process, where the name of the material/system, the numerical value of the given property, its unit, and in some cases an additional detail, such as the temperature at which the value are obtained (Step 3). A detailed description of all steps can be found in Sec. \ref{['sec:method']}
  • Figure 3: Performance of different models after Step 1 (zero-shot binary classification of relevant sentences based on whether they contain bulk modulus data). (a) precision recall curves, (b) area under precision recall curve (PRC-AUC) (bars), maximum F1 score (circles), and area under receiver operating characteristic curves (ROC-AUC) (squares, right y-axis), (c) receiver operating characteristic curves with an inset the upper left corner, (d) precision at 90% recall and recall at 50% precision (right y-axis). The no skill line represent a baseline model where the classification is random. Chat models do not output probabilities, therefore only one point of the curves in (a) and (c) is available for each GPT-3.5 (chat) and GPT-4 models and is labeled with dark blue and dark red $\bm{\times}$ respectively. Note that all Chat models have 100% recall. Labels in panels (b) and (d) have been shortened, but represent the same models as those in the legend of (a) and (c). p1 and p2 in the davinci models represent two different prompts (see Sec. \ref{['sec:step1']}).
  • Figure 4: Comparison of performance of different methods after fine-tuning (Step 2, Sec. \ref{['sec:step2']}, binary classification of relevant sentences based on whether they contain bulk modulus data). Panel (a) shows precision recall curves, dotted lines correspond to the zero-shot (0-shot) result (davinci are averaged into one as described in the text), dashed and solid line correspond to fine-tuning on 100 and 200 positive sentence examples, respectively, (b) learning curves, i.e. performance metrics as a function of training set size, top to bottom: area under precision recall curve (PRC-AUC), maximum F1 score, area under receiver operating characteristic curves (ROC-AUC), recall at 50% precision, and precision at 90% recall. The horizontal thin dashed lines in corresponding colors represent zero-shot results. (c) receiver operating characteristic curves for the same data as in (a).