arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12767cs.CLcs.AI
收藏

R2-KG:面向知识图谱可靠推理的通用双智能体框架

R2-KG: General-Purpose Dual-Agent Framework for Reliable Reasoning on Knowledge Graphs

KAIST(韩国科学技术院)

Sumin Jo, Junseong Choi, Jiho Kim, Edward Choi

AI总结:

R2-KG 提出即插即用的双智能体框架,由低能力 Operator 收集证据、高能力 Supervisor 做最终判断,并结合弃权机制,在降低推理成本的同时提升知识图谱推理的准确率与可靠性。

摘要:

近期研究将大语言模型(LLMs)与知识图谱(KGs)结合以增强推理,在无需额外训练的情况下提高推理准确率并缓解幻觉。然而,现有框架仍存在两个实际缺陷:一旦知识图谱或推理任务发生变化就必须重新调优,并且依赖单一高能力大语言模型来实现可靠(即可信)推理。为解决这些问题,我们提出 R2-KG,一个即插即用的双智能体框架,将推理分为两个角色:Operator(低能力大语言模型)负责收集证据,Supervisor(高能力大语言模型)负责做出最终判断。该设计在大语言模型推理上具有成本效率,同时保持较强的推理准确率。此外,R2-KG 采用弃权(不执行)机制,仅当从知识图谱中收集到充分证据时才生成答案,从而显著提升可靠性。在五个多样化基准上的实验表明,无论用作 Operator 的大语言模型自身能力如何,R2-KG 在准确率和可靠性上均持续优于基线。进一步实验揭示,配备严格自洽策略的单智能体版 R2-KG 在降低推理成本的同时取得显著高于基线的可靠性,但在复杂知识图谱中弃权率有所上升。我们的研究结果确立了 R2-KG 作为基于知识图谱推理的灵活且高成本效益的解决方案,减少了对高能力大语言模型的依赖,同时确保可信推理。代码见 https://github.com/ekrxjwh2009/R2-KG/。

英文摘要:

Recent studies have combined Large Language Models (LLMs) with Knowledge Graphs (KGs) to enhance reasoning, improving inference accuracy without additional training while mitigating hallucination. However, existing frameworks still suffer two practical drawbacks: they must be re-tuned whenever the KG or reasoning task changes, and they depend on a single, high-capacity LLM for reliable (i.e., trustworthy) reasoning. To address this, we introduce R2-KG, a plug-and-play, dual-agent framework that separates reasoning into two roles: an Operator (a low-capacity LLM) that gathers evidence and a Supervisor (a high-capacity LLM) that makes final judgments. This design is cost-efficient for LLM inference while still maintaining strong reasoning accuracy. Additionally, R2-KG employs an Abstention mechanism, generating answers only when sufficient evidence is collected from KG, which significantly enhances reliability. Experiments across five diverse benchmarks show that R2-KG consistently outperforms baselines in both accuracy and reliability, regardless of the inherent capability of LLMs used as the Operator. Further experiments reveal that the single-agent version of R2-KG, equipped with a strict self-consistency strategy, achieves significantly higher-than-baseline reliability with reduced inference cost but increased abstention rate in complex KGs. Our findings establish R2-KG as a flexible and cost-effective solution for KG-based reasoning, reducing reliance on high-capacity LLMs while ensuring trustworthy inference. The code is available at https://github.com/ekrxjwh2009/R2-KG/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑