[Paper Review] KAG: Boosting LLMs in Professional Domains via Knowledge Augmented Generation
KAG integrates knowledge graphs with retrieval-augmented generation to boost LLM reasoning in professional domains, achieving notable improvements over RAG baselines on multi-hop QA benchmarks and real-world Ant Group tasks.
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.
Motivation & Objective
- Motivate improved domain knowledge services by leveraging explicit KG semantics and reasoning in tandem with retrieval-based LLMs.
- Develop LLM-friendly knowledge representation and mutual indexing between graphs and text chunks to enhance retrieval and planning.
- Create a logical-form guided hybrid solver that unifies planning, reasoning, and retrieval for complex, multi-hop questions.
- Align knowledge semantics offline and online to improve accuracy and reduce noise in professional domains.
- Demonstrate effectiveness on multi-hop QA benchmarks and industry applications (E-Government and E-Health).
Proposed method
- Propose LLMFriSPG, an LLM-friendly knowledge representation framework that separates instances and concepts and enables mutual-indexing with text chunks.
- Introduce a logical-form-guided hybrid solving engine with planning, reasoning, and retrieval operators to fuse KG reasoning, language reasoning, and numerical computation.
- Implement knowledge alignment via semantic reasoning to connect domain knowledge offline (KG constraints) and online retrieval.
- Enhance an overarching KAG model that strengthens NLU, NLI, and NLG capabilities to support the framework’s modules.
- Employ a three-part KAG pipeline: KAG-Builder for offline indexes, KAG-Solver for reasoning, and KAG-Model for modality-specific capabilities.
- Validate on 2WikiMultiHopQA, MuSiQue, and HotpotQA with significant F1 gains versus HippoRAG; deploy in Ant Group’s E-Government and E-Health QA tasks.
Experimental results
Research questions
- RQ1How can knowledge graphs and vector retrieval be integrated to improve domain-specific reasoning in LLMs?
- RQ2Can a logical-form guided hybrid engine outperform traditional RAG in multi-hop and cross-paragraph QA tasks?
- RQ3What is the impact of LLM-friendly knowledge representations and semantic alignment on retrieval accuracy and reasoning reliability in professional domains?
- RQ4How does KAG perform on real-world professional QA tasks compared with existing RAG baselines?
- RQ5What are the practical steps to natively integrate KAG with open-source KG engines for broader adoption?
Key findings
- KAG outperforms state-of-the-art baselines on multi-hop QA benchmarks, with relative F1 improvements of 19.6% on 2WikiMultiHopQA, 12.2% on MuSiQue, and 12.5% on HotpotQA.
- Retrieval metrics also show notable enhancements over HippoRAG across the evaluated tasks.
- KAG applications in Ant Group’s E-Government and E-Health QA tasks achieve significantly higher accuracy than traditional RAG methods.
- KAG is planned to be natively supported on OpenSPG, facilitating local development of domain knowledge services.
- The framework demonstrates that leveraging KG semantics and a symbolic logical form improves both generation quality and deterministic inference in professional domains.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.