Mitigating Hallucinations of Large Language Models in Medical Information Extraction via Contrastive Decoding

Autor: Xu, Derong, Zhang, Ziheng, Zhu, Zhihong, Lin, Zhenxi, Liu, Qidong, Wu, Xian, Xu, Tong, Zhao, Xiangyu, Zheng, Yefeng, Chen, Enhong
Rok vydání: 2024
Předmět:
Druh dokumentu: Working Paper
Popis: The impressive capabilities of large language models (LLMs) have attracted extensive interests of applying LLMs to medical field. However, the complex nature of clinical environments presents significant hallucination challenges for LLMs, hindering their widespread adoption. In this paper, we address these hallucination issues in the context of Medical Information Extraction (MIE) tasks by introducing ALternate Contrastive Decoding (ALCD). We begin by redefining MIE tasks as an identify-and-classify process. We then separate the identification and classification functions of LLMs by selectively masking the optimization of tokens during fine-tuning. During the inference stage, we alternately contrast output distributions derived from sub-task models. This approach aims to selectively enhance the identification and classification capabilities while minimizing the influence of other inherent abilities in LLMs. Additionally, we propose an alternate adaptive constraint strategy to more effectively adjust the scale and scope of contrastive tokens. Through comprehensive experiments on two different backbones and six diverse medical information extraction tasks, ALCD demonstrates significant improvements in resolving hallucination issues compared to conventional decoding methods.
Comment: Accepted by EMNLP 2024 Findings
Databáze: arXiv