SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.17949 · 2026

CUICurate: A GraphRAG-based Framework for Automated Clinical Concept Curation for NLP applications

Blanca Gallego, Victoria Blake, Jamie Novak, Mathew Miller, Sze-Yuan Ooi

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
vickyblake/CUICurate — 4 of 6
FunctionStatusWhere it lives
PipelineRunData Ran vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("cd9b223d228d23d3")
build_filter_prompt_template Ran vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("461e08475d30681c")
chunk_cuis Ran vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("754ccf7edcc5faa5")
parse_llm_list_or_dict Ran vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("b0115262023b2b12")
filter_cuis_llm Not yet run vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("2d1e0ba822a03233")
send_prompt_to_llm Not yet run vickyblake/CUICurate/src/cuicurate/filter_and_classify.py
code served (permissive licence) · get_code("aa5e6fd0665970bb")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 associated concepts. Constructing these sets is labour-intensive, inconsistently performed, and poorly supported by existing tools. 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. Candidate CUIs were retrieved using graph-based expansion and then filtered and classified using large language models (GPT-5 and Qwen3-32B). The framework was evaluated on five lexically heterogeneous clinical concepts against a manually curated concept sets and gold-standard concept sets. CUICurate produced substantially larger and more complete concept sets than the manual benchmarks. A single retrieval configuration across concepts achieved high recall of definitive concepts with manageable candidate sets. GPT-5 outperformed manual curation for all concepts and retained at least 95% of definitive gold-standard CUIs, while Qwen3-32B achieved comparable but slightly lower performance. Many missed concepts were not observed in 10,000 MIMIC-III notes. CUICurate infrastructure and end-to-end processing was inexpensive and stable across runs. Conclusions CUICurate offers a scalable, reproducible and cost-efficient approach for generating clinician-reviewable UMLS concept sets tailored to clinical natural language processing and phenotyping applications. UMLS concept metadata formatted CUI : UMLS preferred name UMLS description Candidate CUI text formatting for use in LLM prompts LLM filtering prompt LLM classification prompt

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.17949")
get_code_for_paper("2602.17949")
have("2602.17949")

Connect an agent — have() is free.