HILGEN: Hierarchically-Informed Data Generation for Biomedical NER Using Knowledgebases and Large Language Models

Yao Ge, Yuting Guo, Sudeshna Das, Swati Rajwal, Selen Bozkurt, Abeed SarkerarXiv 2025 · DOI

Introduction

Named Entity Recognition (NER) is a critical component of clinical Natural Language Processing (NLP), enabling the identification of entities such as drugs, symptoms, and genes. However, the biomedical domain faces significant challenges in developing high-performing NER models due to the high cost of expert data labeling and the limitations of Large Language Models (LLMs). While LLMs can generate synthetic data, they are prone to hallucinations and often fail to capture the structural accuracy required for specialized medical tasks.

HILGEN (Hierarchically-Informed Data Generation) addresses these "few-shot" challenges by combining the structured domain knowledge of the Unified Medical Language System (UMLS) with the generative capabilities of GPT-3.5.

Methodology

The HILGEN framework employs a hybrid approach to generate high-quality synthetic training data from a limited set of labeled examples (e.g., five shots).

UMLS-Informed Generation

HILGEN utilizes the UMLS Metathesaurus to anchor synthetic data in validated medical knowledge. It explores three layers of relationships:

  • Synonyms: Lexical variants sharing the same Concept Unique Identifier (CUI).
  • Semantic Types: Broad categories like pharmacological substances.
  • Hierarchical Relationships: Parent, child, and sibling concepts retrieved via the SNOMEDCT_US dictionary.

GPT-Based Contextualization

A two-step prompting strategy is used with GPT-3.5. First, the LLM generates new sentences that preserve the original context while substituting entities with related concepts from UMLS. Second, the LLM converts these sentences into the standard IOB (Inside-Outside-Beginning) format for NER training.

Overview of the HILGEN framework for synthetic data generation.

Ensemble Learning

To mitigate noise, HILGEN trains models on both UMLS-only and GPT-only synthetic data. An ensemble method then combines these predictions using weighted voting to filter out incorrect labels.

Experimental Setup

The researchers evaluated HILGEN across four diverse biomedical benchmarks:

  • MIMIC III: Clinical notes from critical care units.
  • BC5CDR: PubMed articles on chemical-disease relationships.
  • NCBI-Disease: Annotated PubMed abstracts for disease names.
  • Med-Mentions: A large-scale corpus linked to UMLS concepts.

Results and Discussion

HILGEN demonstrated substantial performance gains in 5-shot scenarios. Incorporating UMLS-informed data led to an average $F_1$ score increase of 40.36% for BERT-Large models, with the "Best-Ensemble" approach achieving a 42.29% average improvement.

F1-score improvements across various HILGEN configurations.

Key insights from the evaluation include:

  • The Anchor Effect: Anchoring LLMs to a knowledge base significantly reduces hallucinations.
  • Hierarchy Importance: Vertical hierarchical relationships (parents/children) provided more value than simple synonyms.
  • Complementary Strengths: The structural accuracy of UMLS and the linguistic diversity of GPT-3.5 are mutually beneficial.

Conclusion

HILGEN effectively bridges the gap between structured knowledge bases and generative LLMs for biomedical NER. While the study demonstrated significant improvements, future work will explore scaling the number of related concepts, more sophisticated prompt engineering (e.g., Chain-of-Thought), and the impact of varying shot counts beyond the 5-shot setting.

Summary updated

BibTeX
@misc{ge2025hilgen,
  author = {Yao Ge and Yuting Guo and Sudeshna Das and Swati Rajwal and Selen Bozkurt and Abeed Sarker},
  title = {{HILGEN: Hierarchically-Informed Data Generation for Biomedical NER Using Knowledgebases and Large Language Models}},
  year = {2025},
  eprint = {2503.04930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.04930},
}
Figure