Clinical Knowledge Graph Construction and Evaluation with Multi-LLMs via Retrieval-Augmented Generation
Udiptaman Das, Krishnasai B. Atmakuri, Duy Ho, Chi Lee, Yugyung Lee
TL;DR
This work presents KG-RAG, an end-to-end framework for building and validating clinical knowledge graphs directly from unstructured oncology narratives. It employs a multi-agent prompting cascade with Gemini 2.0 Flash for schema-guided EAV extraction, GPT-4o for enrichment and reflection-based refinement, and Grok 3 for adversarial validation, all grounded to ontologies such as SNOMED CT, LOINC, RxNorm, GO, and ICD encoded in RDF/RDFS/OWL. The methodology spans five stages—EAV extraction, ontology mapping, relation discovery, semantic encoding, and trust-based validation—producing SPARQL-compatible graphs with composite trust scores. The approach demonstrates robust factual grounding, semantic coherence, and ontology compliance across PDAC and BRCA cohorts in CORAL, enabling explainable clinical AI and decision support with continuous self-supervision and refinement.
Abstract
Large language models (LLMs) offer new opportunities for constructing knowledge graphs (KGs) from unstructured clinical narratives. However, existing approaches often rely on structured inputs and lack robust validation of factual accuracy and semantic consistency, limitations that are especially problematic in oncology. We introduce an end-to-end framework for clinical KG construction and evaluation directly from free text using multi-agent prompting and a schema-constrained Retrieval-Augmented Generation (KG-RAG) strategy. Our pipeline integrates (1) prompt-driven entity, attribute, and relation extraction; (2) entropy-based uncertainty scoring; (3) ontology-aligned RDF/OWL schema generation; and (4) multi-LLM consensus validation for hallucination detection and semantic refinement. Beyond static graph construction, the framework supports continuous refinement and self-supervised evaluation, enabling iterative improvement of graph quality. Applied to two oncology cohorts (PDAC and BRCA), our method produces interpretable, SPARQL-compatible, and clinically grounded knowledge graphs without relying on gold-standard annotations. Experimental results demonstrate consistent gains in precision, relevance, and ontology compliance over baseline methods.
