Skip to main content
QUICK REVIEW

[论文解读] Golden-Retriever: High-Fidelity Agentic Retrieval Augmented Generation for Industrial Knowledge Base

Zhiyu An, Xianzhong Ding|arXiv (Cornell University)|Jul 20, 2024
Semantic Web and OntologiesComputer Science被引用 3
一句话总结

Golden-Retriever 提出了一种基于反思的问答增强框架,通过在检索前识别并消除领域特定术语的歧义,提升了工业知识库中检索增强生成(RAG)的性能。通过查询术语词典以澄清缩写和上下文,该方法提高了检索的准确性,在三种最先进的大语言模型上,相较于原始 LLM 的平均准确率提升了 79.2%,相较于原始 RAG 则提升了 40.7%。

ABSTRACT

This paper introduces Golden-Retriever, designed to efficiently navigate vast industrial knowledge bases, overcoming challenges in traditional LLM fine-tuning and RAG frameworks with domain-specific jargon and context interpretation. Golden-Retriever incorporates a reflection-based question augmentation step before document retrieval, which involves identifying jargon, clarifying its meaning based on context, and augmenting the question accordingly. Specifically, our method extracts and lists all jargon and abbreviations in the input question, determines the context against a pre-defined list, and queries a jargon dictionary for extended definitions and descriptions. This comprehensive augmentation ensures the RAG framework retrieves the most relevant documents by providing clear context and resolving ambiguities, significantly improving retrieval accuracy. Evaluations using three open-source LLMs on a domain-specific question-answer dataset demonstrate Golden-Retriever's superior performance, providing a robust solution for efficiently integrating and querying industrial knowledge bases.

研究动机与目标

  • 解决由于用户查询中存在模糊或未定义的术语以及缺乏上下文,导致工业知识库检索准确率低下的问题。
  • 通过在文档检索前解决术语歧义,克服传统 RAG 和事后检索修正方法的局限性。
  • 提升在领域术语高度密集的工业环境中,基于大语言模型的问答系统在检索上的保真度。
  • 通过实现无需模型微调的动态、上下文感知检索,减少对昂贵微调的依赖。
  • 开发一种可扩展的、代理式的 RAG 流程,通过检索前的问答理解增强检索的相关性。

提出的方法

  • 引入基于反思的问答增强步骤,识别输入问题中的所有术语和缩写。
  • 查询预定义的术语词典,为模糊术语检索扩展定义和上下文描述。
  • 在检索前,用更清晰、富含上下文的版本替换或增强原始问题,以提升语义对齐。
  • 采用回退机制,检测未列在词典中的术语,并返回结构化响应,提示用户检查拼写或联系知识库管理员。
  • 使用大语言模型在离线预处理阶段对文档进行摘要和上下文化处理,以增强文档数据库的丰富度,提升检索效果。
  • 结合光学字符识别(OCR)技术实现多格式文档的摄入,并通过大语言模型的摘要功能提升知识库中文档的质量。
Figure 1: An illustration comparing our method with related works. We consider two types of methods: offline and online. On the upper-left, existing offline methods use LLMs to generate datasets for training. The upper-right shows our offline method, using LLMs to enhance the document database for t
Figure 1: An illustration comparing our method with related works. We consider two types of methods: offline and online. On the upper-left, existing offline methods use LLMs to generate datasets for training. The upper-right shows our offline method, using LLMs to enhance the document database for t

实验结果

研究问题

  • RQ1在工业知识库中,通过术语消歧进行检索前的问答增强,是否能显著提升检索准确率?
  • RQ2在检索前,术语词典的集成在解决领域特定缩写歧义方面有多高效?
  • RQ3基于反思的问答增强是否优于事后修正方法(如 Corrective RAG 和 Self-RAG),特别是在低上下文、高术语密度的查询中?
  • RQ4现成的大语言模型在合成的、富含上下文的问答中,能否有效识别并解释未知缩写?
  • RQ5当遇到前所未见的术语时,系统能否保持高保真度?其处理此类情况的机制如何?

主要发现

  • Golden-Retriever 在领域特定问答数据集上,相较于原始 LLM,使 Meta-Llama-3-70B 的平均答案准确率提升了 79.2%。
  • 在使用相同 LLM 架构的前提下,相较于原始 RAG,其平均准确率提升了 40.7%。
  • 在三种大语言模型(Llama3、Mistral、Shisa)上,Golden-Retriever 相较于原始 LLM 的平均准确率提升了 57.3%,相较于原始 RAG 则提升了 35.0%。
  • 当问题中存在两个缩写时,Llama3 的缩写识别准确率达到 100%;当存在三个缩写时,准确率为 90%。
  • Mistral 在存在一个或两个缩写时准确率为 100%,但在存在四个和五个缩写时,准确率分别下降至 70% 和 80%。
  • 回退机制成功检测到 100% 的未知术语,并向用户提供结构化、可操作的响应。
Figure 2: Left: the workflow diagram of the online inference part of Golden-Retriever. Right: example interactions between the system and the LLM at the intermediate steps of the workflow. The system prompts LLM to generate intermediate responses, which are saved, accessed, and used for future steps
Figure 2: Left: the workflow diagram of the online inference part of Golden-Retriever. Right: example interactions between the system and the LLM at the intermediate steps of the workflow. The system prompts LLM to generate intermediate responses, which are saved, accessed, and used for future steps

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。