[Paper Review] MedHalu: Hallucinations in Responses to Healthcare Queries by Large Language Models
MedHalu provides a first-of-its-kind medical hallucination dataset and detection framework to study LLM responses to real-world healthcare queries, showing experts outperform both laypeople and LLMs in detecting medical hallucinations and demonstrating that expert-in-the-loop prompts improve LLM detection performance.
Large language models (LLMs) are starting to complement traditional information seeking mechanisms such as web search. LLM-powered chatbots like ChatGPT are gaining prominence among the general public. AI chatbots are also increasingly producing content on social media platforms. However, LLMs are also prone to hallucinations, generating plausible yet factually incorrect or fabricated information. This becomes a critical problem when laypeople start seeking information about sensitive issues such as healthcare. Existing works in LLM hallucinations in the medical domain mainly focus on testing the medical knowledge of LLMs through standardized medical exam questions which are often well-defined and clear-cut with definitive answers. However, these approaches may not fully capture how these LLMs perform during real-world interactions with patients. This work conducts a pioneering study on hallucinations in LLM-generated responses to real-world healthcare queries from patients.We introduce MedHalu, a novel medical hallucination benchmark featuring diverse health-related topics and hallucinated responses from LLMs, with detailed annotation of the hallucination types and text spans. We also propose MedHaluDetect, a comprehensive framework for evaluating LLMs' abilities to detect hallucinations. Furthermore, we study the vulnerability to medical hallucinations among three groups -- medical experts, LLMs, and laypeople. Notably, LLMs significantly underperform human experts and, in some cases, even laypeople in detecting medical hallucinations. To improve hallucination detection, we propose an expert-in-the-loop approach that integrates expert reasoning into LLM inputs, significantly improving hallucination detection for all LLMs, including a 6.3% macro-F1 improvement for GPT-4. Our code and dataset are available at https://netsys.surrey.ac.uk/datasets/medhalu/.
Motivation & Objective
- Study hallucinations in LLM responses to real-world healthcare queries.
- Create a labeled medical hallucination dataset with diverse topics and text spans.
- Evaluate LLMs, medical experts, and laypeople on hallucination detection.
- Propose an expert-in-the-loop approach to improve automated detection.
Proposed method
- Define input-conflicting, context-conflicting, and fact-conflicting hallucinations for healthcare QA.
- Assemble MedHalu dataset with real-world queries from HealthQA, LiveQA, and MedicationQA and generate hallucinated answers via GPT-3.5.
- Label hallucination types and spans with expert validation (Cohen’s Kappa ~0.73).
- Develop MedHaluDetect to assess hallucination detection across LLMs, experts, and laypeople.
- Evaluate detection performance via accuracy, macro-P, macro-R, macro-F1 and edit distance between detected spans and expert spans.
- Investigate expert-in-the-loop prompts by incorporating expert reasoning into LLM prompts.
Experimental results
Research questions
- RQ1How do LLMs, experts, and laypeople perform at detecting medical hallucinations in real-world healthcare queries?
- RQ2Which hallucination types are easiest or hardest to detect across evaluators and models?
- RQ3Can expert reasoning improve LLM-based hallucination detection?
- RQ4What is the comparative impact of expert-in-the-loop prompts on detection performance across models?
- RQ5How reliable is the MedHalu dataset for benchmarking medical hallucinations?
Key findings
- LLMs lag behind medical experts in detecting medical hallucinations, and sometimes underperform laypeople.
- GPT-3.5 and GPT-4 generally outperform LLaMA-2 in detection, with GPT-4 showing the best aggregate performance.
- Experts achieve higher macro-F1 scores (HealthQA 0.79, LiveQA 0.57, MedicationQA 0.71) than LLMs or laypeople.
- LiveQA is the most challenging subset for hallucination detection across evaluators.
- Expert-in-the-loop prompts yield notable gains, with GPT-4 showing an average macro-F1 increase of 6.3 percentage points over non-expert prompts.
- Mean edit distances between LLM-detected spans and expert spans are lower for GPT-4 than GPT-3.5 across datasets (HealthQA: 37.41 vs 38.46; LiveQA: 84.33 vs 107.11; MedicationQA: 47.8 vs 71.7).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.