arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2407.05015cs.CLcs.AI
收藏

你怎么知道的?教生成式语言模型为生物医学问题引用答案

How do you know that? Teaching Generative Language Models to Reference Answers to Biomedical Questions

The Institute for AI of Serbia(塞尔维亚人工智能研究所);Bayer A.G.(拜耳公司)

Bojana Bašaragin, Adela Ljajić, Darija Medvecki, Lorenzo Cassano, Miloš Košprdić, Nikola Milošević

AI总结:

本文提出生物医学RAG系统,利用PubMed检索摘要并微调LLM生成带引用答案,检索性能较PubMed搜索引擎绝对提升23%,引用质量媲美GPT-4 Turbo,并公开数据集与模型。

摘要:

大型语言模型(LLM)最近已成为在线回答用户问题的主要来源。尽管它们能够提供流畅的答案,但其准确性和可靠性可能构成重大挑战。在生物医学等敏感领域尤其如此,这些领域对事实正确答案的需求更高。本文介绍了一个生物医学检索增强生成(RAG)系统,旨在提高生成回复的可靠性。该系统基于一个为带引用问答而微调的LLM,其中从PubMed检索到的相关摘要通过提示作为输入传递给LLM的上下文。其输出是基于PubMed摘要的答案,每个陈述都相应地附上引用,使用户能够验证答案。我们的检索系统相比PubMed搜索引擎实现了23%的绝对提升。基于小样本的人工评估,我们微调后的LLM组件在引用相关摘要方面取得了与GPT-4 Turbo相当的结果。我们公开了用于微调模型的数据集,以及基于Mistral-7B-instruct-v0.1和v0.2的微调模型。

英文摘要:

Large language models (LLMs) have recently become the leading source of answers for users' questions online. Despite their ability to offer eloquent answers, their accuracy and reliability can pose a significant challenge. This is especially true for sensitive domains such as biomedicine, where there is a higher need for factually correct answers. This paper introduces a biomedical retrieval-augmented generation (RAG) system designed to enhance the reliability of generated responses. The system is based on a fine-tuned LLM for the referenced question-answering, where retrieved relevant abstracts from PubMed are passed to LLM's context as input through a prompt. Its output is an answer based on PubMed abstracts, where each statement is referenced accordingly, allowing the users to verify the answer. Our retrieval system achieves an absolute improvement of 23% compared to the PubMed search engine. Based on the manual evaluation on a small sample, our fine-tuned LLM component achieves comparable results to GPT-4 Turbo in referencing relevant abstracts. We make the dataset used to fine-tune the models and the fine-tuned models based on Mistral-7B-instruct-v0.1 and v0.2 publicly available.

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

↑