Can Large Language Models Analyze Graphs like Professionals? A Benchmark, Datasets and Models
Not on the map. Why?
Abstract (arXiv)
The need to analyze graphs is ubiquitous across various fields, from social networks to biological research and recommendation systems. Therefore, enabling the ability of large language models (LLMs) to process graphs is an important step toward more advanced general intelligence. However, current LLM benchmarks on graph analysis require models to directly reason over the prompts describing graph topology, and are thus limited to small graphs with only a few dozens of nodes. In contrast, human experts typically write programs based on popular libraries for task solving, and can thus handle graphs with different scales. To this end, a question naturally arises: can LLMs analyze graphs like professionals? In this paper, we introduce ProGraph, a manually crafted benchmark containing 3 categories of graph tasks. The benchmark expects solutions based on programming instead of directly reasoning over raw inputs. Our findings reveal that the performance of current LLMs is unsatisfactory, with the best model achieving only 36% accuracy. To bridge this gap, we propose LLM4Graph datasets, which include crawled documents and auto-generated codes based on 6 widely used graph libraries. By augmenting closed-source LLMs with document retrieval and fine-tuning open-source ones on the codes, we show 11-32% absolute improvements in their accuracies. Our results underscore that the capabilities of LLMs in handling structured data are still under-explored, and show the effectiveness of LLM4Graph in enhancing LLMs' proficiency of graph analysis. The benchmark, datasets and enhanced open-source models are available at https://github.com/BUPT-GAMMA/ProGraph.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 33 of its 56 references that are in the map. First posted on arXiv 29 Sep 2024.
Builds on
33 of 56 references.
References · 33
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
21 more
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2023Large Language Modelscited by 774
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
- 2023What can Large Language Models do in chemistry? A comprehensive benchmark on eight taskscited by 179
- 2024FinBen: A Holistic Financial Benchmark for Large Language Modelscited by 140
- 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Modelcited by 105
- 2023SimTeG: A Frustratingly Simple Approach Improves Textual Graph Learningcited by 73
- 2023Label-free Node Classification on Graphs with Large Language Models (LLMS)cited by 72
- 2024GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Taskscited by 63
- 2024Deep Learning for Cross-Domain Data Fusion in Urban Computing: Taxonomy, Advances, and Outlookcited by 33
- 2022ACES: Translation Accuracy Challenge Sets for Evaluating Machine Translation Metricscited by 25
- 2023Prompt-based Node Feature Extractor for Few-shot Learning on Text-Attributed Graphscited by 23
- 2024Towards Better Chain-of-Thought: A Reflection on Effectiveness and Faithfulnesscited by 20
- 2019GraSPy: Graph Statistics in Pythoncited by 15
- 2020Little Ball of Fur: A Python Library for Graph Samplingcited by 15
- 2023Which Modality should I use -- Text, Motif, or Image? : Understanding Graphs with Large Language Modelscited by 14
- 2024Beyond Imitation: Learning Key Reasoning Steps from Dual Chain-of-Thoughts in Reasoning Distillationcited by 13
Built on by
Citing papers per year: 2024: 2; 2025: 8; 2026: 7.
17 papers.
Sort:
By area:
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunitiescited by 23
- 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaborationcited by 12
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solvingcited by 11
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generationcited by 9
- 2025CEQuest: Benchmarking Large Language Models for Construction Estimationcited by 6
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoningcited by 6
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inferencecited by 4
- 2025MA-GTS: A Multi-Agent Framework for Solving Complex Graph Problems in Real-World Applicationscited by 3
- 2026<SOG_k>: One LLM Token for Explicit Graph Structural Understandingcited by 2
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understandingcited by 2
- 2026GABench: A Comprehensive Benchmark for Evaluating LLM Agents on Graph Analysis Taskscited by 2
- 2025Improving LLMs' Generalized Reasoning Abilities by Graph Problemscited by 1
5 more
- 2025Is Implicit Knowledge Enough for LLMs? A RAG Approach for Tree-based Structurescited by 0
- 2026Hypergraph as Languagecited by 0
- 2026GraspLLM: Towards Zero-Shot Generalization on Text-Attributed Graphs with LLMscited by 0
- 2026LLM-Aided A* Search in Non-Geometric Network Graphscited by 0
- 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMscited by 0
- 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs10 Sep 2026
- 2026GABench: A Comprehensive Benchmark for Evaluating LLM Agents on Graph Analysis Tasks3 Aug 2026
- 2026LLM-Aided A* Search in Non-Geometric Network Graphs22 Jun 2026
- 2026GraspLLM: Towards Zero-Shot Generalization on Text-Attributed Graphs with LLMs10 Jun 2026
- 2026Hypergraph as Language21 May 2026
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding5 May 2026
- 2026<SOG_k>: One LLM Token for Explicit Graph Structural Understanding2 Feb 2026
- 2025Is Implicit Knowledge Enough for LLMs? A RAG Approach for Tree-based Structures12 Oct 2025
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning29 Sep 2025
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inference23 Sep 2025
- 2025CEQuest: Benchmarking Large Language Models for Construction Estimation22 Aug 2025
- 2025Improving LLMs' Generalized Reasoning Abilities by Graph Problems23 Jul 2025
5 more
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunities22 Jun 2025
- 2025MA-GTS: A Multi-Agent Framework for Solving Complex Graph Problems in Real-World Applications25 Feb 2025
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generation17 Feb 2025
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solving24 Oct 2024
- 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaboration23 Oct 2024
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solvingcited by 11
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generationcited by 9
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoningcited by 6
- 2025Improving LLMs' Generalized Reasoning Abilities by Graph Problemscited by 1
- 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMscited by 0
- 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs10 Sep 2026
- 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning29 Sep 2025
- 2025Improving LLMs' Generalized Reasoning Abilities by Graph Problems23 Jul 2025
- 2025GraphThought: Graph Combinatorial Optimization with Thought Generation17 Feb 2025
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solving24 Oct 2024
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunitiescited by 23
- 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaborationcited by 12
- 2025MA-GTS: A Multi-Agent Framework for Solving Complex Graph Problems in Real-World Applicationscited by 3
- 2026GABench: A Comprehensive Benchmark for Evaluating LLM Agents on Graph Analysis Taskscited by 2
- 2026GABench: A Comprehensive Benchmark for Evaluating LLM Agents on Graph Analysis Tasks3 Aug 2026
- 2025Graphs Meet AI Agents: Taxonomy, Progress, and Future Opportunities22 Jun 2025
- 2025MA-GTS: A Multi-Agent Framework for Solving Complex Graph Problems in Real-World Applications25 Feb 2025
- 2024GraphTeam: Facilitating Large Language Model-based Graph Analysis via Multi-Agent Collaboration23 Oct 2024
- 2025CEQuest: Benchmarking Large Language Models for Construction Estimationcited by 6
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inferencecited by 4
- 2026<SOG_k>: One LLM Token for Explicit Graph Structural Understandingcited by 2
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understandingcited by 2
- 2026Hypergraph as Languagecited by 0
- 2026GraspLLM: Towards Zero-Shot Generalization on Text-Attributed Graphs with LLMscited by 0
- 2026LLM-Aided A* Search in Non-Geometric Network Graphscited by 0
- 2026LLM-Aided A* Search in Non-Geometric Network Graphs22 Jun 2026
- 2026GraspLLM: Towards Zero-Shot Generalization on Text-Attributed Graphs with LLMs10 Jun 2026
- 2026Hypergraph as Language21 May 2026
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding5 May 2026
- 2026<SOG_k>: One LLM Token for Explicit Graph Structural Understanding2 Feb 2026
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inference23 Sep 2025
- 2025CEQuest: Benchmarking Large Language Models for Construction Estimation22 Aug 2025