Skip to main content
QUICK REVIEW

[논문 리뷰] KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation

Lei Liang, Mengshu Sun|arXiv (Cornell University)|2024. 09. 10.
Semantic Web and OntologiesComputer Science인용 수 5
한 줄 요약

KAG는 지식 그래프를 검색 기반 생성과 통합하여 전문 도메인에서 LLM 추론을 강화하고 다중 단계 QA 벤치마크 및 실세계 안타 그룹 작업에서 RAG 기반선 대비 현저한 개선을 달성합니다.

ABSTRACT

The recently developed retrieval-augmented generation (RAG) technology has enabled the efficient construction of domain-specific applications. However, it also has limitations, including the gap between vector similarity and the relevance of knowledge reasoning, as well as insensitivity to knowledge logic, such as numerical values, temporal relations, expert rules, and others, which hinder the effectiveness of professional knowledge services. In this work, we introduce a professional domain knowledge service framework called Knowledge Augmented Generation (KAG). KAG is designed to address the aforementioned challenges with the motivation of making full use of the advantages of knowledge graph(KG) and vector retrieval, and to improve generation and reasoning performance by bidirectionally enhancing large language models (LLMs) and KGs through five key aspects: (1) LLM-friendly knowledge representation, (2) mutual-indexing between knowledge graphs and original chunks, (3) logical-form-guided hybrid reasoning engine, (4) knowledge alignment with semantic reasoning, and (5) model capability enhancement for KAG. We compared KAG with existing RAG methods in multihop question answering and found that it significantly outperforms state-of-theart methods, achieving a relative improvement of 19.6% on 2wiki and 33.5% on hotpotQA in terms of F1 score. We have successfully applied KAG to two professional knowledge Q&A tasks of Ant Group, including E-Government Q&A and E-Health Q&A, achieving significant improvement in professionalism compared to RAG methods.

연구 동기 및 목표

  • 도메인 지식 서비스의 향상을 촉진하기 위해 명시적 KG 의미론과 추론을 검색 기반 LLM과 함께 활용한다.
  • 검색 및 계획을 강화하기 위해 LLM 친화적인 지식 표현과 그래프-텍스트 간의 상호 인덱싱을 개발한다.
  • 복잡하고 다중 홉 질문에 대해 계획, 추론, 검색을 통합하는 논리 형식 기반의 하이브리드 솔버를 생성한다.
  • 전문 도메인에서 정확도를 향상시키고 노이즈를 줄이기 위해 오프라인과 온라인에서 지식 의미론을 정렬한다.
  • 다중 홉 QA 벤치마크 및 산업 응용(전자정부 및 전자건강)에서 효과를 시연한다.

제안 방법

  • 텍스트 청크와의 상호 인덱싱을 가능하게 하고 인스턴스와 개념을 분리하는 LLM 친화적 지식 표현 프레임워크인 LLMFriSPG를 제안한다.
  • KG 추론, 언어 추론, 수치 계산을 융합하기 위한 계획, 추론, 검색 연산자를 갖춘 논리 형식 안내 하이브리드 해결 엔진을 도입한다.
  • 도메인 지식을 오프라인(KG 제약)과 온라인 검색에 연결하기 위해 의미론적 추론을 통한 지식 정렬을 구현한다.
  • 프레임워크 모듈을 지지하기 위해 NLU, NLI, NLG 역량을 강화하는 통합 KAG 모델을 향상시킨다.
  • 오프라인 인덱스를 위한 KAG-Builder, 추론을 위한 KAG-Solver, 양상별 기능을 위한 KAG-Model의 3부분 KAG 파이프라인을 적용한다.
  • 2WikiMultiHopQA, MuSiQue, HotpotQA에서 HippoRAG에 비해 유의미한 F1 향상을 보이며 검증한다; Ant Group의 전자정부 및 전자건강 QA 작업에 배치한다.

실험 결과

연구 질문

  • RQ1지식 그래프와 벡터 검색을 어떻게 통합하여 LLM의 도메인 특화 추론을 향상시킬 수 있는가?
  • RQ2논리 형식이 가이드된 하이브리드 엔진이 다중 홉 및 문단 간 QA 작업에서 전통적인 RAG를 능가할 수 있는가?
  • RQ3LLM 친화적 지식 표현과 의미 정렬이 전문 도메인에서 검색 정확도와 추론 신뢰성에 미치는 영향은 무엇인가?
  • RQ4실제 전문 QA 작업에서 기존 RAG 기준선과 비교할 때 KAG의 성능은 어떠한가?
  • RQ5더 넓은 도입을 위해 KAG를 오픈 소스 KG 엔진과 네이티브하게 통합하는 실질적 단계는 무엇인가?

주요 결과

  • KAG는 다중 홉 QA 벤치마크에서 최신 기준선을 능가하며, 2WikiMultiHopQA에서 상대 F1 개선 19.6%, MuSiQue에서 12.2%, HotpotQA에서 12.5%를 달성했다.
  • 평가된 작업 전반에서 검색 지표 역시 HippoRAG 대비 현저한 향상을 보인다.
  • Ant Group의 전자정부 및 전자건강 QA 작업에서 KAG 애플리케이션은 전통적 RAG 방법보다 상당히 높은 정확도를 달성한다.
  • KAG는 OpenSPG에서 네이티브하게 지원될 예정이며, 도메인 지식 서비스의 로컬 개발을 촉진한다.
  • 이 프레임워크는 KG 의미론과 기호적 논리 형식을 활용하는 것이 전문 도메인에서 생성 품질과 결정론적 추론을 모두 향상시킨다는 것을 보여준다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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