Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph

Jiashuo Sun, Chengjin Xu, Lumingyuan Tang, Sai Wang, Chen Lin +4 more
2/12/2026

No official code found. Best implementation: DataArcTech/ToG (663 stars, last commit 2024-03-24). 2 more below.

Abstract

Although large language models (LLMs) have achieved significant success in various tasks, they often struggle with hallucination problems, especially in scenarios requiring deep and responsible reasoning. These issues could be partially addressed by introducing external knowledge graphs (KG) in LLM reasoning. In this paper, we propose a new LLM-KG integrating paradigm ``$\hbox{LLM}\otimes\hbox{KG}$'' which treats the LLM as an agent to interactively explore related entities and relations on KGs and perform reasoning based on the retrieved knowledge. We further implement this paradigm by introducing a new approach called Think-on-Graph (ToG), in which the LLM agent iteratively executes beam search on KG, discovers the most promising reasoning paths, and returns the most likely reasoning results. We use a number of well-designed experiments to examine and illustrate the following advantages of ToG: 1) compared with LLMs, ToG has better deep reasoning power; 2) ToG has the ability of knowledge traceability and knowledge correctability by leveraging LLMs reasoning and expert feedback; 3) ToG provides a flexible plug-and-play framework for different LLMs, KGs and prompting strategies without any additional training cost; 4) the performance of ToG with small LLM models could exceed large LLM such as GPT-4 in certain scenarios and this reduces the cost of LLM deployment and application. As a training-free method with lower computational cost and better generality, ToG achieves overall SOTA in 6 out of 9 datasets where most previous SOTAs rely on additional training.

View on arXivView PDF

Code Implementations(3)

DataArcTech/ToGCommunity100%

This is the official github repo of Think-on-Graph (ICLR 2024). If you are interested in our work or willing to join our research team in Shenzhen, please feel free to contact us by email ([email protected])

66374Shell, PythonNov 6, 20232 years ago
iclr2024knowledge-graphllm
GasolSun36/ToGCommunity59%

[ICLR 2024] Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph

24218Shell, PythonSep 19, 20232 years ago
MIT

Small Project to compare the Graph Language Model approach (https://arxiv.org/abs/2401.07105) with Think on Graph (https://arxiv.org/abs/2307.07697)

00Shell, PythonSep 20, 20241 years agoMIT

Similar Papers

Cite this paper

@article{sun2026thinkongraph,
  title  = {Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge Graph},
  author = {Jiashuo Sun and Chengjin Xu and Lumingyuan Tang and Sai Wang and Chen Lin and Yeyun Gong and Lionel M. Ni and H. Shum and Jian Guo},
  year   = {2026},
  eprint = {2307.07697},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2307.07697},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.07697.svg)](https://codeofpaper.com/paper/2307.07697)

Discussion