arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.14760cs.CLcs.AIcs.IRcs.LG
收藏

面向特定领域问答的检索增强生成

Retrieval Augmented Generation for Domain-specific Question Answering

Adobe(奥多比公司)

Sanat Sharma, David Seunghyun Yoon, Franck Dernoncourt, Dewang Sultania, Karishma Bagga, Mengjiao Zhang, Trung Bui, Varun Kotte

AI总结:

本文针对特定领域问答中通用大模型缺乏领域知识的问题,提出构建大型问答数据库并对检索器进行微调的检索增强生成框架,显著减少幻觉并提升生成质量。

摘要:

问答(QA)已成为大型语言模型高级发展中的重要应用。通用的预训练大型语言模型在问答时并未经过专门训练,无法恰当理解特定领域(如金融、医疗、教育以及产品客服)的知识或术语。为了更好地满足领域特定理解的需求,我们为Adobe产品构建了一个内部问答系统。我们提出了一种新颖的框架,用于编制大型问答数据库,并开发了用于大型语言模型检索感知微调的方法。我们展示了微调检索器能显著提升最终生成结果的质量。我们的整体方法在保留最新检索信息以进行上下文接地(contextual grounding)的同时,减少了生成过程中的幻觉现象。

英文摘要:

Question answering (QA) has become an important application in the advanced development of large language models. General pre-trained large language models for question-answering are not trained to properly understand the knowledge or terminology for a specific domain, such as finance, healthcare, education, and customer service for a product. To better cater to domain-specific understanding, we build an in-house question-answering system for Adobe products. We propose a novel framework to compile a large question-answer database and develop the approach for retrieval-aware finetuning of a Large Language model. We showcase that fine-tuning the retriever leads to major improvements in the final generation. Our overall approach reduces hallucinations during generation while keeping in context the latest retrieval information for contextual grounding.

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

↑