Ontology-Guided Query Expansion for Biomedical Document Retrieval using Large Language Models

Zabir Al Nazi, Vagelis Hristidis, Aaron Lawson McLean, Jannat Ara Meem, Md Taukir Azam Chowdhury
8/15/2025
cs.IRcs.LG

No official code found. Best implementation: zabir-nabil/ontology-guided-query-expansion (2 stars, MIT, last commit 2025-10-28).

Abstract

Effective Question Answering (QA) on large biomedical document collections requires effective document retrieval techniques. The latter remains a challenging task due to the domain-specific vocabulary and semantic ambiguity in user queries. We propose BMQExpander, a novel ontology-aware query expansion pipeline that combines medical knowledge - definitions and relationships - from the UMLS Metathesaurus with the generative capabilities of large language models (LLMs) to enhance retrieval effectiveness. We implemented several state-of-the-art baselines, including sparse and dense retrievers, query expansion methods, and biomedical-specific solutions. We show that BMQExpander has superior retrieval performance on three popular biomedical Information Retrieval (IR) benchmarks: NFCorpus, TREC-COVID, and SciFact - with improvements of up to 22.1% in NDCG@10 over sparse baselines and up to 6.5% over the strongest baseline. Further, BMQExpander generalizes robustly under query perturbation settings, in contrast to supervised baselines, achieving up to 15.7% improvement over the strongest baseline. As a side contribution, we publish our paraphrased benchmarks. Finally, our qualitative analysis shows that BMQExpander has fewer hallucinations compared to other LLM-based query expansion baselines.

View on arXivView PDF

Code Implementations(1)

MIT

Ontology-Guided Query Expansion for Biomedical Document Retrieval using Large Language Models

21Python, Jupyter NotebookMay 11, 202511 months agoMIT
biomedicalinformation-retrievalmetamapquery-expansionumls-metathesaurus

Similar Papers

Cite this paper

@article{nazi2025ontologyguided,
  title  = {Ontology-Guided Query Expansion for Biomedical Document Retrieval using Large Language Models},
  author = {Zabir Al Nazi and Vagelis Hristidis and Aaron Lawson McLean and Jannat Ara Meem and Md Taukir Azam Chowdhury},
  year   = {2025},
  eprint = {2508.11784},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.11784v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.11784.svg)](https://codeofpaper.com/paper/2508.11784)

Discussion