Taxonomy-Driven Knowledge Graph Construction for Domain-Specific Scientific Applications

Huitong Pan, Qi Zhang, Mustapha Adamu, Eduard C. Dragut, Longin Jan LateckiACL 2025

Abstract

Scientific discovery is often hindered by the vast amount of unstructured data trapped in research publications. While Knowledge Graphs (KGs) offer a solution for automated reasoning, constructing them for specialized domains like climate science presents significant challenges, including model hallucinations and the "long tail" problem of rare technical terms. This paper introduces TaxoDrivenKG, a framework that leverages expert-curated taxonomies and Retrieval-Augmented Generation (RAG) to anchor Large Language Models (LLMs) during the extraction process. Our approach reduces hallucinations by 23.3% and improves extraction accuracy by nearly 14% on a newly developed climate science benchmark.

Introduction

The exponential growth of scientific literature makes it increasingly difficult for researchers to keep pace with new findings. Knowledge Graphs—structured representations of entities and their relationships—are essential for making this data machine-readable. However, building KGs for niche scientific fields faces two primary bottlenecks:

  1. The "Long Tail" Problem: General-purpose LLMs often lack the domain-specific training data required to accurately identify rare technical terms or distinguish between common and technical usages of words.
  2. Expert Knowledge Gap: Existing automated KG construction methods frequently ignore established expert-curated taxonomies, leading to inconsistent data that lacks semantic rigor.

The TaxoDrivenKG Framework

To address these challenges, we propose a three-stage framework that integrates expert taxonomies directly into the LLM extraction pipeline.

Overview of the TaxoDrivenKG framework, illustrating the flow from domain taxonomy through the RAG-enabled LLM to the final Knowledge Graph.

1. Taxonomy Integration and Semantic Scaffolding

The process begins by unifying existing expert taxonomies (e.g., NASA’s GCMD) into a "semantic scaffold." To ensure consistency, an LLM is used to generate concise definitions for taxonomy nodes that lack them, providing a clear reference for the extraction phase.

2. Dual-Phase RAG Synergy

The core of our method is a dual-phase Retrieval-Augmented Generation (RAG) approach:

  • PreRAG: Before processing a document, the system retrieves "suggested entities" from the taxonomy that are semantically similar to the text, providing the LLM with relevant context.
  • PostRAG: After the LLM generates its output, the system validates the extracted entities against the taxonomy. Entities that do not align with the expert-curated list are flagged or filtered to prevent hallucinations.
Detailed three-stage pipeline: 1) LLM Prompt construction with expert guidance, 2) Entity and Relationship Extraction, and 3) Output validation and entity linking (PostRAG).

3. Dynamic KG Assembly

Validated data is funneled into a Neo4j graph database. An "expert-in-the-loop" mechanism allows for the inclusion of emerging terms not yet present in the taxonomy, ensuring the KG remains current while maintaining structural integrity.

Datasets and Benchmarking

We introduce two key resources to evaluate domain-specific KG construction:

  • ClimateIE Benchmark: A dataset of 25 climate science publications with 1,705 entity links and 3,618 expert-validated relationships.
  • GCMD+: An expanded version of the Global Change Master Directory taxonomy, featuring 16,360 unique entities.

Key Results and Insights

Our experiments demonstrate the effectiveness of anchoring LLMs to structured expert knowledge:

  • Hallucination Reduction: The framework achieved a 23.3% reduction in entity hallucinations compared to baseline LLM methods.
  • Accuracy Gains: TaxoDrivenKG showed an 18% F1 gain over state-of-the-art generalist models like GLiNER in climate science named entity recognition.
  • Model Performance: Llama-3-70B emerged as the most effective backbone, achieving a 0.501 F1 score (relaxed), outperforming both GPT-4o and DeepSeek-V3 in this specialized domain.

The study also highlights the importance of Few-Shot Learning, where providing just 10 annotated examples improved performance by 13.9%, and the utility of RAG for validation, demonstrating that external data is as valuable for verifying outputs as it is for providing context.

Conclusion and Future Work

TaxoDrivenKG represents a significant step toward automated, high-fidelity knowledge extraction in specialized scientific fields. While challenges remain—such as handling acronym ambiguity and expanding to non-English literature—the integration of expert taxonomies as "hard constraints" provides a robust path forward. Future research will focus on automating taxonomy expansion and developing multilingual capabilities to further unlock the global wealth of scientific knowledge.

Summary updated

BibTeX
@inproceedings{pan2025taxonomy,
  author = {Huitong Pan and Qi Zhang and Mustapha Adamu and Eduard C. Dragut and Longin Jan Latecki},
  title = {{Taxonomy-Driven Knowledge Graph Construction for Domain-Specific Scientific Applications}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure