CUICurate: A GraphRAG-based Framework for Automated Clinical Concept Curation for NLP applications
About
Background: Clinical named entity recognition tools commonly map free text to Unified Medical Language System (UMLS) Concept Unique Identifiers (CUIs). For many downstream tasks, however, the clinically meaningful unit is not a single CUI but a concept set comprising related synonyms, subtypes, and supertypes. Constructing such concept sets is labour-intensive, inconsistently performed, and poorly supported by existing tools, particularly for NLP pipelines that operate directly on UMLS CUIs. Methods We present CUICurate, a Graph-based retrieval-augmented generation (GraphRAG) framework for automated UMLS concept set curation. A UMLS knowledge graph (KG) was constructed and embedded for semantic retrieval. For each target concept, candidate CUIs were retrieved from the KG, followed by large language model (LLM) filtering and classification steps comparing two LLMs (GPT-5 and GPT-5-mini). The framework was evaluated on five lexically heterogeneous clinical concepts against a manually curated benchmark and gold-standard concept sets. Results Across all concepts, CUICurate produced substantially larger and more complete concept sets than the manual benchmarks whilst matching human precision. Comparisons between the two LLMs found that GPT-5-mini achieved higher recall during filtering, while GPT-5 produced classifications that more closely aligned with clinician judgements. Outputs were stable across repeated runs and computationally inexpensive. Conclusions CUICurate offers a scalable and reproducible approach to support UMLS concept set curation that substantially reduces manual effort. By integrating graph-based retrieval with LLM reasoning, the framework produces focused candidate concept sets that can be adapted to clinical NLP pipelines for different phenotyping and analytic requirements.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Graph Retrieval | UMLS manual concept sets M | Recall98 | 5 | |
| Clinical Concept Classification | UMLS Five Target Concepts Definitive class (test) | Macro Recall71 | 3 | |
| LLM Filtering | Manually adjudicated gold-standard CUIs Chronic Heart Failure v1 (test) | CUIs Count137 | 3 | |
| LLM Filtering | Manually adjudicated gold-standard CUIs Fluid Overload v1 (test) | CUIs Count77 | 3 | |
| LLM Filtering | Manually adjudicated gold-standard CUIs Ischaemic Stroke v1 (test) | Total CUIs277 | 3 | |
| LLM Filtering | Manually adjudicated gold-standard CUIs LV Systolic Dysfunction v1 (test) | CUI Count90 | 3 | |
| LLM Filtering | Manually adjudicated gold-standard CUIs Poor Mobility v1 (test) | CUIs Count205 | 3 | |
| Clinical Concept Classification | UMLS Five Target Concepts All Classes (test) | Macro Recall0.72 | 3 | |
| Graph Retrieval | Chronic heart failure concept set (val) | Manual CUI Count98 | 1 | |
| Graph Retrieval | Fluid overload concept set (Manual val) | CUIs (Manual Count)30 | 1 |