arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.13902cs.CLcs.AI
收藏

利用特定领域检索增强生成增强大型语言模型:以眼科学长文本消费者健康问答为例

Enhancing Large Language Models with Domain-specific Retrieval Augment Generation: A Case Study on Long-form Consumer Health Question Answering in Ophthalmology

Yale University(耶鲁大学);National Eye Institute, National Institutes of Health(美国国立卫生研究院国家眼科研究所);Singapore Eye Research Institute(新加坡眼科研究所);Singapore National Eye Centre(新加坡国家眼科中心);National Center for Biotechnology Information, National Library of Medicine, National Institutes of Health(美国国立卫生研究院国家医学图书馆国家生物技术信息中心);Rice University(莱斯大学);National University of Singapore(新加坡国立大学)
Aidan Gilson, Xuguang Ai, Thilaka Arunachalam, Ziyou Chen, Ki Xiong Cheong, Amisha Dave, Cameron Duic, Mercy Kibe, Annette Kaminaka, Minali Prasad, Fares Siddig… 展开作者

Aidan Gilson, Xuguang Ai, Thilaka Arunachalam, Ziyou Chen, Ki Xiong Cheong, Amisha Dave, Cameron Duic, Mercy Kibe, Annette Kaminaka, Minali Prasad, Fares Siddig, Maxwell Singer, Wendy Wong, Qiao Jin, Tiarnan D. L. Keenan, Xia Hu, Emily Y. Chew, Zhiyong Lu, Hua Xu, Ron A. Adelman, Yih-Chung Tham, Qingyu Chen

AI总结:

本研究针对大型语言模型在医学问答中易产生幻觉证据的问题,开发了包含7万份眼科文档的RAG流水线,实验证明RAG显著提高了证据准确性与归因,但也面临答案准确性和完整性略降的挑战。

摘要:

尽管大型语言模型(LLMs)在医学领域具有潜力,但它们生成的回答可能缺乏支持证据或基于幻觉证据。虽然检索增强生成(RAG)常用于解决此问题,但很少有研究在下游特定领域应用中实施和评估RAG。我们开发了一个RAG流水线,包含70,000份眼科学特定文档,在推理时检索相关文档以增强LLMs。在一项关于长文本消费者健康问题的案例研究中,我们系统地评估了LLMs在有RAG和无RAG情况下对100个问题的回答,包括超过500条参考文献,并由10位医疗专业人员参与评估。评估重点关注证据的事实性、证据的选择和排名、证据的归因以及答案的准确性和完整性。无RAG的LLMs共提供了252条参考文献。其中,45.3%为幻觉,34.1%包含轻微错误,20.6%正确。相比之下,有RAG的LLMs显著提高了准确性(54.5%正确)并降低了错误率(18.8%轻微幻觉,26.7%有错误)。RAG检索的前10份文档中有62.5%被选为LLM回答的首选参考文献,平均排名为4.9。使用RAG还改善了证据归因(在5分制量表上从1.85提高到2.49,P<0.001),尽管准确性和完整性略有下降(分别从3.52降至3.23,P=0.03;从3.47降至3.27,P=0.17)。结果表明,LLMs在回答中经常表现出幻觉和错误证据,引发了对医学领域下游应用的担忧。RAG大幅减少了此类证据的比例,但也面临挑战。

英文摘要:

Despite the potential of Large Language Models (LLMs) in medicine, they may generate responses lacking supporting evidence or based on hallucinated evidence. While Retrieval Augment Generation (RAG) is popular to address this issue, few studies implemented and evaluated RAG in downstream domain-specific applications. We developed a RAG pipeline with 70,000 ophthalmology-specific documents that retrieve relevant documents to augment LLMs during inference time. In a case study on long-form consumer health questions, we systematically evaluated the responses including over 500 references of LLMs with and without RAG on 100 questions with 10 healthcare professionals. The evaluation focuses on factuality of evidence, selection and ranking of evidence, attribution of evidence, and answer accuracy and completeness. LLMs without RAG provided 252 references in total. Of which, 45.3% hallucinated, 34.1% consisted of minor errors, and 20.6% were correct. In contrast, LLMs with RAG significantly improved accuracy (54.5% being correct) and reduced error rates (18.8% with minor hallucinations and 26.7% with errors). 62.5% of the top 10 documents retrieved by RAG were selected as the top references in the LLM response, with an average ranking of 4.9. The use of RAG also improved evidence attribution (increasing from 1.85 to 2.49 on a 5-point scale, P<0.001), albeit with slight decreases in accuracy (from 3.52 to 3.23, P=0.03) and completeness (from 3.47 to 3.27, P=0.17). The results demonstrate that LLMs frequently exhibited hallucinated and erroneous evidence in the responses, raising concerns for downstream applications in the medical domain. RAG substantially reduced the proportion of such evidence but encountered challenges.

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

↑