When Does Retrieval Beat Direct LLM Diagnosis in Rare Disease? An Empirical Study of Ontology Coverage
Summary
Mohamed Elmofty and Ulf Leser's empirical study, presented at BioNLP 2026, investigates when retrieval-augmented Large Language Models (LLMs) outperform direct LLM diagnosis for rare diseases. Analyzing 10,382 cases across seven benchmarks, the research compares phenotype-based retrieval, LLM reranking, and unrestricted LLM diagnosis. A clear performance crossover was identified, contingent on "retrieval coverage"—the fraction of cases where the true diagnosis is within the retriever's top-50. Ontology-based retrieval excels on high-coverage datasets, while open-ended LLM diagnosis performs better on low-coverage datasets. Adding an LLM reranker to retrieved candidates further boosts accuracy, narrowing the gap to agentic systems like DeepRare by up to 2 percentage points on MME and LIRICAL benchmarks. The study attributes retrieval's limitations to annotation sparsity and phenotypic homogeneity, advocating for per-dataset evaluation and hybrid diagnostic approaches.
Key takeaway
For AI Scientists developing rare disease diagnostic systems, you should critically assess your chosen approach based on dataset characteristics. If your target dataset exhibits high retrieval coverage, prioritize ontology-based retrieval. Conversely, for low-coverage scenarios, lean into open-ended LLM diagnosis. Consider implementing an LLM reranker over retrieved candidates to significantly boost accuracy, potentially closing the gap to complex agentic systems by up to 2 percentage points. This hybrid strategy ensures robust performance across diverse diagnostic challenges.
Key insights
Retrieval-augmented LLM performance in rare disease diagnosis depends on ontology coverage, necessitating hybrid approaches.
Principles
- Retrieval coverage dictates optimal LLM diagnostic strategy.
- Aggregate benchmark scores can mask qualitatively different diagnostic settings.
- Ontology-based retrieval is limited by annotation sparsity and phenotypic homogeneity.
Method
Design hybrid diagnostic systems combining retrieval, reranking, and parametric LLM generation based on specific case characteristics.
In practice
- Evaluate diagnostic systems on a per-dataset basis.
- Integrate LLM rerankers to refine retrieved diagnostic candidates.
- Combine retrieval with direct LLM generation for robust diagnosis.
Topics
- Rare Disease Diagnosis
- Large Language Models
- Retrieval-Augmented Generation
- Ontology Coverage
- LLM Reranking
- Hybrid AI Systems
Best for: AI Scientist, Machine Learning Engineer, Research Scientist
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.