arXiv:2507.07695cs.CLcs.AI2025-07被引 1

K2RAG通过融合多种技术提升大模型问答准确率与效率

KeyKnowledgeRAG (K^2RAG): An Enhanced RAG method for improved LLM question-answering capabilities

  • 结合密集/稀疏检索、知识图谱与文本摘要,分治优化知识召回
  • 在MultiHopRAG上达到0.57平均相似度和0.82第三四分位数
  • 训练时间减少93%,显存占用仅为传统方法1/3,适合部署

微调大语言模型以融入更多知识成本极高。尽管已有多种降本技术,但模型规模增长仍带来挑战。为此,本文提出KeyKnowledgeRAG(K²RAG)框架,克服传统检索增强生成(RAG)在可扩展性与答案准确率上的局限。该框架借鉴分治思想,整合密集向量搜索、稀疏向量搜索、知识图谱与文本摘要技术,提升检索质量与系统效率。预处理阶段对训练数据进行摘要,显著缩短训练时间。在MultiHopRAG数据集上评估显示,K²RAG平均答案相似度达0.57,第三四分位数为0.82,优于常见朴素RAG实现。同时,其组件平均训练时间减少93%,执行速度比传统知识图谱基RAG快40%,显存占用仅为其他朴素RAG实现的三分之一,展现出卓越的可扩展性。

原文摘要 · Abstract (English)

Fine-tuning is an immensely resource-intensive process when retraining Large Language Models (LLMs) to incorporate a larger body of knowledge. Although many fine-tuning techniques have been developed to reduce the time and computational cost involved, the challenge persists as LLMs continue to grow in size and complexity. To address this, a new approach to knowledge expansion in LLMs is needed. Retrieval-Augmented Generation (RAG) offers one such alternative by storing external knowledge in a database and retrieving relevant chunks to support question answering. However, naive implementations of RAG face significant limitations in scalability and answer accuracy. This paper introduces KeyKnowledgeRAG (K2RAG), a novel framework designed to overcome these limitations. Inspired by the divide-and-conquer paradigm, K2RAG integrates dense and sparse vector search, knowledge graphs, and text summarization to improve retrieval quality and system efficiency. The framework also includes a preprocessing step that summarizes the training data, significantly reducing the training time. K2RAG was evaluated using the MultiHopRAG dataset, where the proposed pipeline was trained on the document corpus and tested on a separate evaluation set. Results demonstrated notable improvements over common naive RAG implementations. K2RAG achieved the highest mean answer similarity score of 0.57, and reached the highest third quartile (Q3) similarity of 0.82, indicating better alignment with ground-truth answers. In addition to improved accuracy, the framework proved highly efficient. The summarization step reduced the average training time of individual components by 93%, and execution speed was up to 40% faster than traditional knowledge graph-based RAG systems. K2RAG also demonstrated superior scalability, requiring three times less VRAM than several naive RAG implementations tested in this study.

RAG知识增强大模型优化高效推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。