GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarking

Jiayan Guo, Lun Du, Hengyu Liu, Mengyu Zhou, Xinyi He +1 more
5/24/2023
cs.AIcs.CL

No official code found. Best implementation: SpaceLearner/Graph-GPT (0 stars, last commit 2025-04-04).

Abstract

Large language models~(LLM) like ChatGPT have become indispensable to artificial general intelligence~(AGI), demonstrating excellent performance in various natural language processing tasks. In the real world, graph data is ubiquitous and an essential part of AGI and prevails in domains like social network analysis, bioinformatics and recommender systems. The training corpus of large language models often includes some algorithmic components, which allows them to achieve certain effects on some graph data-related problems. However, there is still little research on their performance on a broader range of graph-structured data. In this study, we conduct an extensive investigation to assess the proficiency of LLMs in comprehending graph data, employing a diverse range of structural and semantic-related tasks. Our analysis encompasses 10 distinct tasks that evaluate the LLMs' capabilities in graph understanding. Through our study, we not only uncover the current limitations of language models in comprehending graph structures and performing associated reasoning tasks but also emphasize the necessity for further advancements and novel approaches to enhance their graph processing capabilities. Our findings contribute valuable insights towards bridging the gap between language models and graph understanding, paving the way for more effective graph mining and knowledge extraction.

View on arXivView PDF

Code Implementations(1)

Is GPT good at handling structural data ?

00Python, Jupyter NotebookMar 8, 20231 years ago

Similar Papers

Cite this paper

@article{guo2023gptgraph,
  title  = {GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarking},
  author = {Jiayan Guo and Lun Du and Hengyu Liu and Mengyu Zhou and Xinyi He and Shi Han},
  year   = {2023},
  eprint = {2305.15066},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15066v2}
}

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/2305.15066.svg)](https://codeofpaper.com/paper/2305.15066)

Discussion