Fine-tuning Large Language Models for Rare Disease Concept Normalization
Abstract
ObjectiveWe aim to develop a novel method for rare disease concept normalization by fine-tuning Llama 2, an open-source large language model (LLM), using a domain-specific corpus sourced from the Human Phenotype Ontology (HPO). MethodsWe developed an in-house template-based script to generate two corpora for fine-tuning. The first (NAME) contains standardized HPO names, sourced from the HPO vocabularies, along with their corresponding identifiers. The second (NAME+SYN) includes HPO names and half of the concepts synonyms as well as identifiers. Subsequently, we fine-tuned Llama2 (Llama2-7B) for each sentence set and conducted an evaluation using a range of sentence prompts and various phenotype terms. ResultsWhen the phenotype terms for normalization were included in the fine-tuning corpora, both models demonstrated nearly perfect performance, averaging over 99% accuracy. In comparison, ChatGPT-3.5 has only [~]20% accuracy in identifying HPO IDs for phenotype terms. When single-character typos were introduced in the phenotype terms, the accuracy of NAME and NAME+SYN is 10.2% and 36.1%, respectively, but increases to 61.8% (NAME+SYN) with additional typo-specific fine-tuning. For terms sourced from HPO vocabularies as unseen synonyms, the NAME model achieved 11.2% accuracy, while the NAME+SYN model achieved 92.7% accuracy. ConclusionOur fine-tuned models demonstrate ability to normalize phenotype terms unseen in the fine-tuning corpus, including misspellings, synonyms, terms from other ontologies, and laymens terms. Our approach provides a solution for the use of LLM to identify named medical entities from the clinical narratives, while successfully normalizing them to standard concepts in a controlled vocabulary.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 54
- FWCI
- 7.33
- Field percentile
- top 1%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Improving Automated Deep Phenotyping Through Large Language Models Using Retrieval Augmented Generation
Brandon T. Garcia, Lauren E. Westerfield, … Jennifer Ellen Posey·Genome MedicinePeer-reviewed·Aug 18, 2025
- A Comparative Benchmark of Biomedical Language Models for Concept Normalization from Real-World Text
Anshul Verma, Abhijay, … Kumardeep Chaudhary·bioRxiv·Sep 21, 2026
- PhenoID, a language model normalizer of physical examinations from genetics clinical notes
Davy Weissenbacher, Siddharth Rawal, … Ian M. Campbell·medRxiv·Oct 16, 2023
- MetaHarmonizer: robust biomedical metadata harmonization and a contamination control for inflated LLM performance on public benchmarks
Changchang Li, Abhilash Dahl, … Sehyun Oh·bioRxiv·Jun 17, 2026
- RDEmbed: A Sentence-Embedding Framework for Rare Disease Phenotype Representation and Phenotypic Similarity Analysis
Xinghua Wang, Jianlian Wang, … Arif Harmanci·bioRxiv·Oct 19, 2026
- PhenoXtract: combining Large Language Model and Knowledge Graph embedding to extract phenotypes from clinical descriptions
Silvia Berardelli, Galadriel Brière, … Anaı̈s Baudot·bioRxiv·Jun 26, 2026