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

Sumin Jo, Junseong Choi, Jiho Kim, Edward ChoiarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) often struggle with factual hallucinations when reasoning over complex data. Integrating Knowledge Graphs (KGs) provides a grounded factual base, but existing integration frameworks are often costly, rigid, and prone to irreversible search errors. We present R2-KG, a dual-agent framework that decouples the reasoning process into a low-capacity Operator for graph exploration and a high-capacity Supervisor for auditing and final judgment. R2-KG introduces a formal abstention mechanism and a "reliability knob" via iteration limits, achieving state-of-the-art accuracy across diverse benchmarks while significantly reducing token costs.

Introduction

The integration of LLMs with Knowledge Graphs is essential for reliable fact-based reasoning. However, current state-of-the-art (SOTA) systems face three primary challenges: high operational costs due to reliance on expensive models for every step, rigidity in adapting to new KGs, and the inability to recover from early reasoning errors. R2-KG addresses these by splitting the labor between two specialized agents, allowing for cost-effective exploration and robust verification.

The R2-KG Framework

The core of R2-KG is the interaction between two distinct LLM roles:

  1. The Operator (Low-Capacity): This agent navigates the KG using helper functions like GetRelation() and ExploreKG(). It maintains a detailed chat log of its exploration but does not make final conclusions.
  2. The Supervisor (High-Capacity): The Supervisor acts as an auditor. It is invoked only when the Operator calls for Verification(). It reviews the Operator's evidence to either provide a final answer, offer feedback for further exploration (backtracking), or trigger an Abstention if the reasoning remains inconclusive within the iteration limit.
Detailed workflow of the Operator and Supervisor interaction during KG exploration.

This decoupled architecture allows the system to backtrack when the Supervisor identifies a dead end, solving the "irreversible search" problem common in single-agent systems. The Operator can also invoke multiple helper functions in parallel, keeping several candidate reasoning paths alive simultaneously.

Experimental Evaluation

R2-KG was evaluated on five diverse benchmarks to prove its general-purpose nature: WebQSP and CWQ (multi-label QA), MetaQA (multi-hop reasoning), CRONQUESTIONS (temporal reasoning), and FactKG (fact verification). The authors also introduced the Reliable KG-Based Reasoning Task, a new setting that explicitly treats "Abstain" as a valid output for uncertain queries, emphasizing the framework's focus on reliability.

Key Results and Insights

R2-KG consistently outperformed existing baselines, including Think-on-Graph (ToG) and KG-GPT. Notably, it achieved a 100% hit rate on the MetaQA 3-hop task.

The Reliability Knob

A central feature of R2-KG is the iteration limit ($T$), which serves as a "reliability knob." As shown in the performance metrics across various datasets, increasing the iteration limit generally improves coverage and hit rates, allowing the user to tune the system's behavior based on the desired balance between precision and exploration depth.

Performance metrics across five benchmarks as a function of the iteration limit.

Efficiency and Grounding

By utilizing a low-capacity model for the majority of the graph traversal, R2-KG reduced costs by approximately $0.033 per query compared to using a high-capacity model for the entire process. Furthermore, the framework showed superior grounding; when presented with synthetic KGs containing counter-factual information, R2-KG prioritized the provided graph evidence over the LLM's internal pre-trained knowledge, effectively mitigating hallucinations.

Conclusion and Future Work

R2-KG provides a scalable and reliable framework for KG-based reasoning. By separating exploration from verification and implementing an explicit abstention mechanism, it offers a path toward more trustworthy and cost-effective AI systems. Future work will focus on improving multi-label retrieval and further optimizing the Supervisor's role in guiding exploration strategies without significantly increasing costs.

Summary updated

BibTeX
@misc{jo2025r,
  author = {Sumin Jo and Junseong Choi and Jiho Kim and Edward Choi},
  title = {{R2-KG: General-Purpose Dual-Agent Framework for Reliable Reasoning on Knowledge Graphs}},
  year = {2025},
  eprint = {2502.12767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.12767},
}
Figure