Search-on-Graph: Iterative Informed Navigation for Large Language Model Reasoning on Knowledge Graphs

Jia Ao Sun, Hao Yu, Fabrizio Gotti, Fengran Mo, Yihong Wu, Yuchen Hui, Jian-Yun Nie · DOI

Abstract

Large Language Models (LLMs) frequently struggle with knowledge-intensive, multi-hop reasoning tasks, often resulting in factual hallucinations. While Knowledge Graphs (KGs) provide a structured and reliable external memory, existing methods for querying them—such as semantic parsing or subgraph retrieval—suffer from schema complexity and information noise. We introduce Search-on-Graph (SoG), a plug-and-play framework that enables LLMs to navigate KGs through an iterative "observe-then-navigate" strategy. By utilizing a single search tool to explore local neighborhoods and employing adaptive filtering for high-degree nodes, SoG achieves state-of-the-art performance across six major benchmarks without the need for fine-tuning or complex multi-agent architectures.

Introduction

Despite their reasoning capabilities, LLMs are limited by their static training data and a tendency to generate plausible but incorrect information. Knowledge Graphs like Wikidata and Freebase offer a solution by providing structured, factual relationships. However, bridging the gap between natural language questions and KG queries is notoriously difficult.

Existing approaches generally fall into three categories, each with significant drawbacks:

  1. Semantic Parsing: Translating questions into formal queries (e.g., SPARQL) requires the LLM to have perfect knowledge of the KG schema. Any hallucination of a relation name leads to a failed query.
  2. Subgraph Retrieval: Extracting a large neighborhood around a topic entity introduces significant noise, often overwhelming the LLM's context window with irrelevant data.
  3. Agentic Methods: Exploring multiple paths in parallel (e.g., beam search) leads to an exponential expansion of the search space, increasing both cost and complexity.

Search-on-Graph (SoG) addresses these issues by simplifying the interaction to a single, iterative search tool that allows the LLM to "look before it leaps."

Methodology

SoG is built on the principle of informed navigation. Instead of planning a complete path or generating a complex query upfront, the LLM explores the graph one hop at a time.

The Observe-then-Navigate Strategy

When presented with a question, the LLM calls a SEARCH tool on a starting entity. The tool returns the immediate 1-hop neighbors. The LLM then observes the actual available relations, reasons about which path is most likely to lead to the answer, and executes the next hop. This iterative process continues until the LLM identifies the target information.

Technical Innovations

To make this process efficient and robust, SoG incorporates several key features:

  • Adaptive Filtering for High-Degree Nodes: "Hub" entities (e.g., a country or a major city) can have millions of connections. To prevent context overflow, SoG first returns a list of unique property types. The LLM then selects the relevant property, and a second targeted tool call retrieves only the filtered results.
  • Space-Efficient Markdown Formatting: Rather than returning dense JSON objects, the search tool provides results in a concise Markdown table. This reduces token consumption and improves the LLM's ability to parse and reason over the data.
  • Few-Shot Prompting: The framework utilizes 1 to 5 examples to demonstrate how to chain tool calls and extract final answers, making it entirely training-free.

Experimental Evaluation

We evaluated SoG across six widely recognized KGQA benchmarks using two major knowledge bases:

  • Freebase: SimpleQuestions (SimpleQA), WebQuestionsSP (WebQSP), ComplexWebQuestions (CWQ), and GrailQA.
  • Wikidata: QALD-9 and QALD-10.

The evaluation utilized gold entity annotations to focus specifically on the reasoning and navigation capabilities of the framework. We tested the system using off-the-shelf models, including GPT-4o and the Qwen3 series (30B and 235B).

Key Results and Insights

SoG achieved state-of-the-art (SOTA) performance on all six benchmarks.

Performance Gains

The most significant improvements were observed on Wikidata, which features a particularly complex schema. SoG outperformed previous best methods by +16.6% on QALD-9 (82.5% accuracy) and +16.7% on QALD-10 (79.8% accuracy). On Freebase benchmarks, the framework showed consistent gains, including a +9.9% improvement on SimpleQA.

Efficiency and Reasoning

By switching from JSON to Markdown and implementing adaptive filtering, SoG reduced total token usage by more than 50% while simultaneously increasing exact match accuracy. Ablation studies revealed that "Thinking" models (like Qwen3-Thinking) are particularly effective in this framework, as they actively analyze retrieved relations rather than relying on simple pattern matching.

Discussion and Limitations

The success of SoG suggests that complex, multi-module agentic architectures may not be necessary for effective KG reasoning. Instead, aligning the task with LLM strengths—specifically iterative observation over local context—provides a more robust path forward.

However, the current framework relies on gold entity annotations. In real-world scenarios, an initial entity-linking step would be required. Additionally, while adaptive filtering mitigates the "hub node" problem, extremely dense graphs may still result in result truncation if the filtered set exceeds the hard limit (1,000 results in our tests).

Conclusion

Search-on-Graph demonstrates that a simple, iterative approach to Knowledge Graph navigation can outperform complex, specialized systems. By prioritizing observation over speculation, SoG provides a reliable and efficient method for grounding LLM reasoning in factual, structured data.

Summary updated

BibTeX
@misc{sun2025search,
  author = {Jia Ao Sun and Hao Yu and Fabrizio Gotti and Fengran Mo and Yihong Wu and Yuchen Hui and Jian-Yun Nie},
  title = {{Search-on-Graph: Iterative Informed Navigation for Large Language Model Reasoning on Knowledge Graphs}},
  year = {2025},
  eprint = {2510.08825},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.08825},
}
Figure