mlsanityData to 7 Oct 2026

Can Large Language Models Analyze Graphs like Professionals? A Benchmark, Datasets and Models

arXiv 2409.19667 ↗First posted 29 Sep 2024cs.CL cs.AIcited by 17

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  9. 2021Program Synthesis with Large Language Modelscited by 3,509
  10. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  12. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
21 more
  1. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  2. 2014DeepWalk: Online Learning of Social Representationscited by 1,543
  3. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  4. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  5. 2023Large Language Modelscited by 774
  6. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
  7. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
  8. 2023What can Large Language Models do in chemistry? A comprehensive benchmark on eight taskscited by 179
  9. 2024FinBen: A Holistic Financial Benchmark for Large Language Modelscited by 140
  10. 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Modelcited by 105
  11. 2023SimTeG: A Frustratingly Simple Approach Improves Textual Graph Learningcited by 73
  12. 2023Label-free Node Classification on Graphs with Large Language Models (LLMS)cited by 72
  13. 2024GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Taskscited by 63
  14. 2024Deep Learning for Cross-Domain Data Fusion in Urban Computing: Taxonomy, Advances, and Outlookcited by 33
  15. 2022ACES: Translation Accuracy Challenge Sets for Evaluating Machine Translation Metricscited by 25
  16. 2023Prompt-based Node Feature Extractor for Few-shot Learning on Text-Attributed Graphscited by 23
  17. 2024Towards Better Chain-of-Thought: A Reflection on Effectiveness and Faithfulnesscited by 20
  18. 2019GraSPy: Graph Statistics in Pythoncited by 15
  19. 2020Little Ball of Fur: A Python Library for Graph Samplingcited by 15
  20. 2023Which Modality should I use -- Text, Motif, or Image? : Understanding Graphs with Large Language Modelscited by 14
  21. 2024Beyond Imitation: Learning Key Reasoning Steps from Dual Chain-of-Thoughts in Reasoning Distillationcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 8; 2026: 7.

17 papers.

Sort:

By area: