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)|2024. 07. 20.
Semantic Web and OntologiesComputer Science인용 수 3
한 줄 요약

Golden-Retriever는 산업 지식 기반 시스템에서 검색 기반 생성(Retrieval-Augmented Generation, RAG)의 정확도를 향상시키기 위해 검색 이전에 도메인 특화 용어를 식별하고 의미를 명확히 하는 반사 기반 질문 증강 프레임워크를 제안한다. 어휘 사전을 활용해 약어와 맥락을 명확히 하여 검색 정밀도를 향상시키며, 일반적인 LLM보다 평균 79.2% 향상되고, 일반적인 RAG보다는 40.7% 향상된 성능을 달성하였다. 이는 세 개의 최신 LLM에서 평가된 결과이다.

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 및 검색 후 보정 방법의 한계를 극복하기 위해 문서 검색 이전에 의미의 모호함을 사전에 해결하기 위해.
  • 도메인 특화 용어가 널리 사용되는 산업 환경에서 LLM 기반 질문-답변의 정밀도를 향상시키기 위해.
  • 모델 재학습 없이도 동적이고 맥락 인식 가능한 검색을 가능하게 하여 고비용의 미세조정에 대한 의존도를 줄이기 위해.
  • 사전 검색 단계에서 질문 이해를 향상시켜 검색의 관련성을 높이는 확장 가능한 에이전트 기반 RAG 파이프라인을 개발하기 위해.

제안 방법

  • 입력 질문 내의 모든 도메인 용어와 약어를 식별하는 반사 기반 질문 증강 단계를 도입한다.
  • 사전 정의된 어휘 사전을 이용해 모호한 용어에 대한 확장 정의와 맥락 설명을 검색한다.
  • 검색 이전에 원본 질문을 명확하고 맥락이 풍부한 버전으로 대체하거나 강화하여 의미적 일치도를 향상시킨다.
  • 목록에 없는 어휘를 감지하는 후속 조치 메커니즘을 구현하여, 사용자에게 철자 확인 또는 지식 기반 관리자에게 문의할 것을 안내하는 구조화된 응답을 반환한다.
  • 오프라인 사전 처리 단계에서 LLM을 활용해 문서를 요약하고 맥락화하여, 더 나은 검색을 위한 문서 데이터베이스를 풍부하게 한다.
  • 다양한 형식의 문서 수신을 위해 OCR을 통합하고, LLM 기반 요약을 통해 지식 기반 내 문서 품질을 향상시킨다.
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사전 구입 가능한 LLM이 합성된 맥락이 풍부한 질문에서 알 수 없는 약어를 얼마나 잘 식별하고 해석할 수 있는가?
  • RQ5시스템이 이전에 보지 못한 어휘 용어를 만났을 때도 높은 정밀도를 유지할 수 있는가, 그리고 이러한 경우에 어떻게 대처하는가?

주요 결과

  • Golden-Retriever는 도메인 특화 질문-답변 데이터셋에서 Meta-Llama-3-70B의 평균 정답 정확도를 일반적인 LLM 대비 79.2% 향상시켰다.
  • 동일한 LLM 기반 백본을 사용할 때, 일반적인 RAG 대비 평균 정확도에서 40.7% 향상된 성과를 기록했다.
  • 세 개의 LLM(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

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.