Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Dai, Xinnan, Wen, Qihao, Shen, Yifei, Wen, Hongzhi, Li, Dongsheng, Tang, Jiliang, Shan, Caihua
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913639956480000
author Dai, Xinnan
Wen, Qihao
Shen, Yifei
Wen, Hongzhi
Li, Dongsheng
Tang, Jiliang
Shan, Caihua
author_facet Dai, Xinnan
Wen, Qihao
Shen, Yifei
Wen, Hongzhi
Li, Dongsheng
Tang, Jiliang
Shan, Caihua
contents Large Language Models (LLMs) have achieved great success in various reasoning tasks. In this work, we focus on the graph reasoning ability of LLMs. Although theoretical studies proved that LLMs are capable of handling graph reasoning tasks, empirical evaluations reveal numerous failures. To deepen our understanding on this discrepancy, we revisit the ability of LLMs on three fundamental graph tasks: graph description translation, graph connectivity, and the shortest-path problem. Our findings suggest that LLMs can fail to understand graph structures through text descriptions and exhibit varying performance for all these three fundamental tasks. Meanwhile, we perform a real-world investigation on knowledge graphs and make consistent observations with our findings. The codes and datasets are available.
format Preprint
id arxiv_https___arxiv_org_abs_2408_09529
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path
Dai, Xinnan
Wen, Qihao
Shen, Yifei
Wen, Hongzhi
Li, Dongsheng
Tang, Jiliang
Shan, Caihua
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have achieved great success in various reasoning tasks. In this work, we focus on the graph reasoning ability of LLMs. Although theoretical studies proved that LLMs are capable of handling graph reasoning tasks, empirical evaluations reveal numerous failures. To deepen our understanding on this discrepancy, we revisit the ability of LLMs on three fundamental graph tasks: graph description translation, graph connectivity, and the shortest-path problem. Our findings suggest that LLMs can fail to understand graph structures through text descriptions and exhibit varying performance for all these three fundamental tasks. Meanwhile, we perform a real-world investigation on knowledge graphs and make consistent observations with our findings. The codes and datasets are available.
title Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2408.09529