Abstract
Linking (aligning) biomedical concepts across diverse data sources enables various integrative analyses, but it is challenging due to the discrepancies in concept naming conventions. Various strategies have been developed to overcome this challenge, such as those based on string-matching rules, manually crafted thesauri, and machine learning models. However, these methods are constrained by limited prior biomedical knowledge and can hardly generalize beyond the limited amounts of rules, thesauri, or training samples. Recently, large language models (LLMs) have exhibited impressive results in diverse biomedical NLP tasks due to their unprecedentedly rich prior knowledge and strong zero-shot prediction abilities. However, LLMs suffer from issues including high costs, limited context length, and unreliable predictions. In this research, we propose PromptLink, a novel biomedical concept linking framework that leverages LLMs. It first employs a biomedical-specialized pre-trained language model to generate candidate concepts that can fit in the LLM context windows. Then it utilizes an LLM to link concepts through two-stage prompts, where the first-stage prompt aims to elicit the biomedical prior knowledge from the LLM for the concept linking task and the second-stage prompt enforces the LLM to reflect on its own predictions to further enhance their reliability. Empirical results on the concept linking task between two EHR datasets and an external biomedical KG demonstrate the effectiveness of PromptLink. Furthermore, PromptLink is a generic framework without reliance on additional prior knowledge, context, or training data, making it well-suited for concept linking across various types of data sources.
Introduction
Biomedical data is often siloed across various sources, such as Electronic Health Records (EHR) and research Knowledge Graphs (KG). A significant challenge in integrating these data sources is the discrepancy in concept naming conventions. For instance, a diagnosis recorded as "Chondroectodermal dysplasia" in an EHR may correspond to "Ellis-Van Creveld syndrome" in a KG. Biomedical concept linking is the task of identifying when different strings refer to the same clinical entity.
Traditional approaches, including rule-based string matching and supervised machine learning, face limitations. Rule-based methods struggle with semantic equivalence that lacks lexical similarity, while supervised models require extensive labeled data, which is scarce in the medical domain. While Large Language Models (LLMs) like GPT-4 possess the necessary medical knowledge, they are constrained by high costs, context window limits, and a tendency to hallucinate matches when none exist—the "NIL" prediction problem.
Methodology: The PromptLink Framework
PromptLink is a hybrid "Retrieve & Re-Rank" framework designed to leverage the strengths of LLMs while mitigating their limitations. The process consists of three primary stages:
- Candidate Generation: To manage the LLM's context window and reduce costs, PromptLink first uses SapBERT—a specialized biomedical language model—to generate embeddings for all concepts. A vector search identifies the top $K$ (e.g., 10) most similar candidates for a given query.
- First-Stage Prompting (Filtering): The LLM is tasked with a binary classification: does a concept pair refer to the same item? To ensure reliability, a self-consistency strategy is employed where the prompt is repeated multiple times. Candidates with low "belief scores" are filtered out.
- Second-Stage Prompting (Verification): The remaining candidates are evaluated in a more detailed context. The LLM labels the specific relationship (e.g., "exact match") and performs self-verification. If no candidate is deemed a true match, the system outputs a "NIL" prediction.
Experimental Results
The framework was evaluated on two benchmark datasets: MIID (MIMIC-III-iBKH-Disease) and CISE (CRADLE-iBKH-Side-Effect). PromptLink consistently outperformed state-of-the-art baselines. On the MIID dataset, it achieved an accuracy of 77.56%, significantly higher than SapBERT's 72.13%. On the CISE dataset, accuracy reached 88.80%.
Handling the NIL Problem
A critical advantage of PromptLink is its ability to handle cases where no valid match exists in the target knowledge graph. In a specialized test (MIID-NIL) where 25% of queries had no match, PromptLink achieved 92.9% accuracy in correctly identifying NIL cases. Unlike traditional models that rely on arbitrary similarity thresholds, PromptLink uses semantic reasoning to reject incorrect candidates.
Qualitative Analysis
Case studies highlight PromptLink's semantic depth. For example, it correctly links "Dermatophytosis of hand" to "Tinea manuum," whereas embedding-based models like SapBERT are often misled by lexical overlap, suggesting "Hand dermatosis" instead.
Conclusion
PromptLink demonstrates that LLMs can be effectively harnessed for biomedical concept linking through a structured, multi-stage retrieval and reasoning process. By combining specialized embeddings with self-verifying prompts, the framework achieves superior accuracy and robustness without requiring task-specific training data. While latency and API costs remain considerations for large-scale real-time use, PromptLink offers a powerful solution for high-quality offline data integration in the biomedical domain.
Summary updated