[논문 리뷰] MedHalu: Hallucinations in Responses to Healthcare Queries by Large Language Models
MedHalu는 세계 최초의 의료 환각 데이터셋 및 탐지 프레임워크를 제공하여 LLM이 실제 의료 문의에 어떻게 응답하는지 연구하고, 의료 환각 탐지에서 전문가가 일반인 및 LLM보다 우수하며 전문가-루프 프롬프트가 LLM 탐지 성능을 향상시킨다는 것을 보여준다.
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/.
연구 동기 및 목표
- 실세계 의료 질의에 대한 LLM 응답에서의 환각 연구.
- 다양한 주제와 텍스트 범위를 갖춘 라벨링된 의료 환각 데이터셋 생성.
- 환각 탐지에 대해 LLM, 의료 전문가, 일반인의 성과 평가.
- 자동 탐지 성능을 향상시키기 위한 전문가-루프 접근법 제안.
제안 방법
- 의료 QA에서의 입력 충돌(conflicting) 및 맥락 충돌(conflicting), 사실 충돌(fact-conflicting) 환각 정의.
- HealthQA, LiveQA, MedicationQA의 실제 쿼리를 사용해 MedHalu 데이터셋 구성 및 GPT-3.5로 환각 답변 생성.
- 전문가 검증으로 환각 유형과 범위를 라벨링(Cohen’s Kappa ~0.73).
- MedHaluDetect를 개발해 LLM, 전문가, 일반인에 걸친 환각 탐지 평가.
- 탐지 정확도, macro-P, macro-R, macro-F1, 탐지된 범위와 전문가 범위 간의 편집 거리 등을 통해 탐지 성능 평가.
- 전문가-루프 프롬프트를 도입해 전문가의 추론을 LLM 프롬프트에 반영하는 효과를 조사.
실험 결과
연구 질문
- RQ1실세계 의료 질의에서 LLM, 전문가, 일반인이 의료 환각 탐지에서 얼마나 성과를 보이는가?
- RQ2어떤 환각 유형이 평가자와 모델마다 탐지하기 쉽거나 어려운가?
- RQ3전문가의 추론이 LLM 기반 환각 탐지 성능을 향상시킬 수 있는가?
- RQ4모델 간 탐지 성능에 대한 전문가-루프 프롬프트의 비교 효과는 어떠한가?
- RQ5MedHalu 데이터셋이 의료 환각 벤치마킹에 얼마나 신뢰할 수 있는가?
주요 결과
- LLMs는 의료 환각 탐지에서 의료 전문가보다 뒤처지는 경우가 많고 때로는 일반인보다 저조한 성과를 보인다.
- GPT-3.5와 GPT-4는 일반적으로 LLaMA-2보다 탐지 성능이 우수하며, GPT-4가 종합 성능에서 최고를 보인다.
- 전문가가 macro-F1 점수를 더 높게 달성합니다(HhealthQA 0.79, LiveQA 0.57, MedicationQA 0.71) LLM이나 일반인보다 높음.
- LiveQA는 평가자 간 환각 탐지에 가장 도전적인 하위집합이다.
- 전문가-루프 프롬프트는 유의미한 향상을 낳으며, GPT-4는 비전문가 프롬프트에 비해 평균 macro-F1이 6.3 포인트 증가했다.
- LLM이 탐지한 범위와 전문가 범위 간의 평균 편집 거리는 데이터셋 간에 GPT-4가 GPT-3.5보다 더 낮아 HealthQA: 37.41 대 38.46; LiveQA: 84.33 대 107.11; MedicationQA: 47.8 대 71.7.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.