Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Benchmarking Retrieval-Augmented Generation for Medicine

About

While large language models (LLMs) have achieved state-of-the-art performance on a wide range of medical question answering (QA) tasks, they still face challenges with hallucinations and outdated knowledge. Retrieval-augmented generation (RAG) is a promising solution and has been widely adopted. However, a RAG system can involve multiple flexible components, and there is a lack of best practices regarding the optimal RAG setting for various medical purposes. To systematically evaluate such systems, we propose the Medical Information Retrieval-Augmented Generation Evaluation (MIRAGE), a first-of-its-kind benchmark including 7,663 questions from five medical QA datasets. Using MIRAGE, we conducted large-scale experiments with over 1.8 trillion prompt tokens on 41 combinations of different corpora, retrievers, and backbone LLMs through the MedRAG toolkit introduced in this work. Overall, MedRAG improves the accuracy of six different LLMs by up to 18% over chain-of-thought prompting, elevating the performance of GPT-3.5 and Mixtral to GPT-4-level. Our results show that the combination of various medical corpora and retrievers achieves the best performance. In addition, we discovered a log-linear scaling property and the "lost-in-the-middle" effects in medical RAG. We believe our comprehensive evaluations can serve as practical guidelines for implementing RAG systems for medicine.

Guangzhi Xiong, Qiao Jin, Zhiyong Lu, Aidong Zhang• 2024

Related benchmarks

TaskDatasetResultRank
Medical Question AnsweringMedMCQA
Accuracy64.4
346
Medical Question AnsweringMedQA
Accuracy69.9
153
Question AnsweringMedQA
Accuracy51
96
Medical Question AnsweringMedExpQA
Overall Accuracy72.8
70
Medical Question AnsweringMedbullets
Accuracy49.4
65
Medical Question AnsweringMMLU Med
Accuracy68.1
61
Medical Question AnsweringMedXpertQA
Accuracy17.3
31
Multi-hop Question AnsweringMulti-Hop QA
Accuracy33.2
29
Medical Question AnsweringMMLU-P
Accuracy66.1
29
Medical ReasoningMedDDx (test)
Basic Accuracy36.5
28
Showing 10 of 20 rows

Other info

Code

Follow for update