Extracting ontology-compliant knowledge from scientific text describing irradiated materials using large language models
Organizations: IBM Research · Dpto. Física Atómica, Molecular y Nuclear Instituto Carlos I de Física Teórica y Computacional Univ. of Granada, Spain · IFMIF DONES, Spain · Instituto de Ciencia de Materiales de Madrid (ICMM) CSIC, Spain ·
Abstract
The quest for new materials increasingly relies on predictive models and comprehensive simulations that span scales from atomic to macroscopic levels. However, essential data necessary for these models and simulations are often embedded in scientific literature as unstructured text, limiting reusability and posing challenges for researchers seeking to leverage existing knowledge effectively. While extracting structured data from unstructured text using large language models is gaining popularity, traditional methods typically generate key-value pairs data with straightforward schemas. In contrast, we introduce eolas, a modular pipeline that uses large language models to automatically transform scientific documents into knowledge graphs aligned with a specified ontology. We demonstrate eolas effectiveness in extracting useful information for scientists studying materials designed to endure the extreme temperatures and radiation levels found in fusion reactors. While a human expert might spend between thirty to ninety minutes extracting relevant data from an article, eolas can generate high-quality knowledge graphs in just a few minutes. These are presented in a tabular format with faceted navigation for easy human validation. Additionally, we introduce the first benchmark dataset designed to assess large language models capabilities in constructing knowledge graphs within the domain of irradiated materials. The analysis of 168 experiments using our dataset, various large language models and prompting techniques provides key insights that we summarize into practical guidelines for effectively extracting knowledge graphs aligned with an input ontology.
Figures & tables
| instructions, serialization | use instances | use examples | use consolidation | LLMs | number of configurations |
| S, BAML | 48 | ||||
| S, TTL | 48 | ||||
| D, TTL | 48 | ||||
| S, VERB | 12 | ||||
| D, VERB | 12 |
| zero-shot | few-shot | ||||||||
| examples | False | True | |||||||
| instances | False | True | False | True | |||||
| consolidation | False | True | False | True | False | True | False | True | |
| instructions serialization | LLM | ||||||||
| S, TTL | GPT_120 | 12.6 | 12.6 | 12.6 | 12.6 | 37.8 | 38.7 | 30.6 | 32.4 |
| GPT_20 | 12.6 | 12.6 | 12.6 | 12.6 | 9.0 | 9.0 | 7.2 | 8.1 | |
| zero-shot | few-shot | ||||||||
| examples | False | True | |||||||
| instances | False | True | False | True | |||||
| consolidation | False | True | False | True | False | True | False | True | |
| instructions serialization | LLM | ||||||||
| S, TTL | GPT_120 | 12.6 | 12.6 | 12.6 | 12.6 | 62.2 | 63.1 | 57.7 | 59.5 |
| GPT_20 | 12.6 | 12.6 | 12.6 | 12.6 | 27.9 | 28.8 | 27.9 | 28.8 | |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| zero-shot | few-shot | ||||||||
| examples | False | True | |||||||
| instances | False | True | False | True | |||||
| consolidation | False | True | False | True | False | True | False | True | |
| instructions serialization | LLM | ||||||||
| S, TTL | GPT_120 | 12.6 | 12.6 | 12.6 | 12.6 | 27.9 | 28.8 | 19.8 | 19.8 |
| GPT_20 | 12.6 | 12.6 | 12.6 | 12.6 | 5.4 | 5.4 | 0.9 | 1.8 | |
| zero-shot | few-shot | ||||||||
| examples | False | True | |||||||
| instances | False | True | False | True | |||||
| consolidation | False | True | False | True | False | True | False | True | |
| instructions serialization | LLM | ||||||||
| S, TTL | GPT_120 | 12.6 | 12.6 | 12.6 | 12.6 | 53.2 | 52.3 | 48.6 | 50.5 |
| GPT_20 | 12.6 | 12.6 | 12.6 | 12.6 | 19.8 | 21.6 | 16.2 | 18.9 | |
| zero-shot | few-shot | ||||||||
| examples | False | True | |||||||
| instances | False | True | False | True | |||||
| consolidation | False | True | False | True | False | True | False | True | |
| instructions serialization | LLM | ||||||||
| S, TTL | GPT_120 | 12.6 | 12.6 | 12.6 | 12.6 | 67.6 | 69.4 | 65.8 | 67.6 |
| GPT_20 | 12.6 | 12.6 | 12.6 | 12.6 | 36.9 | 36.9 | 37.8 | 38.7 | |
| Question | Answer (Graph-RAG) |
|---|---|
| What is the relaxation volume of C15 clusters of size 12 and 48? | The relaxation volume of C15 clusters of size 12 and 48 calculated with DFT is 0.91 and 0.98 , respectively. |
| What is the relaxation volume for all defect types? | The relaxation volume for all defect types is as follows: – Dumbbell SIA: 1.5 – C15 clusters (size 12): 0.91 – C15 clusters (size 48): 0.98 – dislocation loops: 0.905 – dislocation loops: 0.873 – Single vacancies: – Spherical cavities (radius 1 nm): 0.46 eV – L100 and L111 defects: 0.95 – Loop 100 (size 6): 0.86 – Loop 111 (size 6): 0.89 … etc. |
| What is the relaxation volume for all defect types as calculated with DFT? | The relaxation volume for all defect types as calculated with DFT is not explicitly provided in the knowledge graph. However, the relaxation volume for specific defect types such as dumbbell SIAs and C15 clusters is mentioned. For dumbbell SIAs, the relaxation volume is 1.62 according to DFT simulations by Ma et al. For C15 clusters, the relaxation volume is 0.91 for C15 12 and 0.98 for C15 48 . |
| What is the migration energy of a vacancy in iron according to DFT calculations? | The migration energy of a vacancy in iron according to DFT calculations is 0.65 eV. |
| What is the migration energy of a self-interstitial in iron according to DFT calculations? | The migration energy of a self-interstitial in iron according to DFT calculations is 0.3 eV. |
| What is the migration energy of a vacancy in iron according to molecular dynamics using empirical potentials? | NA |
KG Construction
Knowledge graph construction turns text, tables, images, and databases into structured entities and relationships that machines can query and reason over.
See all 197 papers