arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.15702cs.CL
收藏

通过对比解码缓解大语言模型在医学信息抽取中的幻觉

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

University of Science and Technology of China(中国科学技术大学);Jarvis Research Center, Tencent YouTu Lab(腾讯优图实验室贾维斯研究中心);Peking University(北京大学);Westlake University(西湖大学);City University of Hong Kong(香港城市大学)

Derong Xu, Ziheng Zhang, Zhihong Zhu, Zhenxi Lin, Qidong Liu, Xian Wu, Tong Xu, Xiangyu Zhao, Yefeng Zheng, Enhong Chen

AI总结:

本文提出交替对比解码(ALCD)方法,通过分离LLMs的识别与分类功能并交替对比子任务输出分布,有效缓解医学信息抽取中的幻觉问题,在多个任务上显著优于传统解码方法。

摘要:

大语言模型(LLMs)的卓越能力引起了将其应用于医学领域的广泛兴趣。然而,临床环境的复杂性给LLMs带来了显著的幻觉挑战,阻碍了其广泛采用。本文针对医学信息抽取(MIE)任务中的幻觉问题,提出了交替对比解码(ALCD)。我们首先将MIE任务重新定义为一个识别与分类的过程。然后,通过在微调过程中选择性地掩蔽token的优化,分离LLMs的识别与分类功能。在推理阶段,我们交替对比来自子任务模型的输出分布。该方法旨在选择性地增强识别与分类能力,同时最小化LLMs其他固有能力的影响。此外,我们提出了一种交替自适应约束策略,以更有效地调整对比token的规模和范围。通过在两种不同骨干模型和六项多样化医学信息抽取任务上的综合实验,ALCD与常规解码方法相比,在解决幻觉问题方面展现出显著改进。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑