HyperGraphRAG:通过超图结构化知识表示实现检索增强生成
HyperGraphRAG: Retrieval-Augmented Generation via Hypergraph-Structured Knowledge Representation
AI总结:
针对现有基于图的RAG方法受二元关系限制、难以表示现实n元知识的问题,提出基于超图的HyperGraphRAG方法,通过超边表示n元关系,经多领域实验验证其在准确率、检索效率和生成质量上更优。
摘要:
标准检索增强生成(RAG)依赖基于分块的检索,而GraphRAG通过基于图的知识表示推进了这一方法。然而,现有基于图的RAG方法受限于二元关系,因为普通图中的每条边仅连接两个实体,限制了其表示现实知识中n元关系(n≥2)的能力。本研究提出HyperGraphRAG,这是一种新型的基于超图的RAG方法,通过超边表示n元关系事实,包含知识超图构建、检索和生成三个模块。在医学、农业、计算机科学和法学领域的实验表明,HyperGraphRAG在答案准确率、检索效率和生成质量上均优于标准RAG和以往基于图的RAG方法。我们的数据和代码公开于https://github.com/LHRLAB/HyperGraphRAG。
英文摘要:
Standard Retrieval-Augmented Generation (RAG) relies on chunk-based retrieval, whereas GraphRAG advances this approach by graph-based knowledge representation. However, existing graph-based RAG approaches are constrained by binary relations, as each edge in an ordinary graph connects only two entities, limiting their ability to represent the n-ary relations (n >= 2) in real-world knowledge. In this work, we propose HyperGraphRAG, a novel hypergraph-based RAG method that represents n-ary relational facts via hyperedges, and consists of knowledge hypergraph construction, retrieval, and generation. Experiments across medicine, agriculture, computer science, and law demonstrate that HyperGraphRAG outperforms both standard RAG and previous graph-based RAG methods in answer accuracy, retrieval efficiency, and generation quality. Our data and code are publicly available at https://github.com/LHRLAB/HyperGraphRAG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。