Schema-Driven Structured Information Extraction from Biomedical Literature via Large Language Models
Abstract
Named Entity Recognition and Relation Extraction are key Information Extraction tasks that enable the transformation of unstructured text into structured, machine-interpretable knowledge. In the biomedical domain, the extraction process must be guided by semantic constraints and domain knowledge to prevent the introduction of incorrect, inconsistent, or irrelevant information. In this paper, we propose a framework for constrained multi-stage information extraction pipelines guided by biomedical ontologies. The approach relies on the specification of a schema describing the entities, relations, constraints, and semantic dependencies relevant to the target domain. The schema is used to automatically generate a list of context-aware prompts that guide a general-purpose LLM during the extraction process (avoiding specific fine-tuning). The framework further supports mapping to ontology terms, extraction guidelines, and ontology-derived examples to improve extraction consistency and semantic validation. The proposed approach has been integrated into ShemaLink, an intelligent web platform supporting schema specification, prompt generation and execution, ontology-aware mapping, and visualization of extracted entities and relations. Extensive experiments on biomedical information extraction benchmarks show that our approach outperforms existing schema-guided prompt engineering methods by more effectively modeling dependencies between entity and relation extraction tasks, while achieving performance comparable to fine-tuned domain-specific models.