mlsanityData to 14 Oct 2026

How Do Large Language Models Understand Graph Patterns? A Benchmark for Graph Pattern Comprehension

arXiv 2410.05298 ↗First posted 4 Oct 2024cs.LG cs.AIcited by 30

Not on the map. Why?

Abstract (arXiv)

Benchmarking the capabilities and limitations of large language models (LLMs) in graph-related tasks is becoming an increasingly popular and crucial area of research. Recent studies have shown that LLMs exhibit a preliminary ability to understand graph structures and node features. However, the potential of LLMs in graph pattern mining remains largely unexplored. This is a key component in fields such as computational chemistry, biology, and social network analysis. To bridge this gap, this work introduces a comprehensive benchmark to assess LLMs' capabilities in graph pattern tasks. We have developed a benchmark that evaluates whether LLMs can understand graph patterns based on either terminological or topological descriptions. Additionally, our benchmark tests the LLMs' capacity to autonomously discover graph patterns from data. The benchmark encompasses both synthetic and real datasets, and a variety of models, with a total of 11 tasks and 7 models. Our experimental framework is designed for easy expansion to accommodate new models and datasets. Our findings reveal that: (1) LLMs have preliminary abilities to understand graph patterns, with O1-mini outperforming in the majority of tasks; (2) Formatting input data to align with the knowledge acquired during pretraining can enhance performance; (3) The strategies employed by LLMs may differ from those used in conventional algorithms.

Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 31 of its 54 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

31 of 54 references.

References · 31

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  4. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
  5. 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
  6. 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 728
  7. 2020Parameterized Explainer for Graph Neural Networkcited by 426
  8. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  9. 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 274
  10. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
  11. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 252
  12. 2020Can Graph Neural Networks Count Substructures?cited by 236
19 more
  1. 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 226
  2. 2023Language is All a Graph Needscited by 220
  3. 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 210
  4. 2019What graph neural networks cannot learn: depth vs widthcited by 201
  5. 2024LLaGA: Large Language and Graph Assistantcited by 181
  6. 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
  7. 2023MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adaptercited by 128
  8. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 118
  9. 2023GraphText: Graph Reasoning in Text Spacecited by 111
  10. 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Modelcited by 107
  11. 2022Evaluating Explainability for Graph Neural Networkscited by 87
  12. 2023InstructMol: Multi-Modal Integration for Building a Versatile and Reliable Molecular Assistant in Drug Discoverycited by 86
  13. 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
  14. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 58
  15. 2023Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?cited by 31
  16. 2024Simulation of Graph Algorithms with Looped Transformerscited by 30
  17. 2024Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Miningcited by 20
  18. 2022CLARE: A Semi-supervised Community Detection Algorithmcited by 13
  19. 2017Deterministic subgraph detection in broadcast CONGESTcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 17; 2026: 12.

30 papers.

Sort:

By area:

  1. 2025A Survey of Context Engineering for Large Language Modelscited by 126
  2. 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 77
  3. 2025When Do LLMs Help With Node Classification? A Comprehensive Analysiscited by 21
  4. 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigationcited by 12
  5. 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solvingcited by 11
  6. 2025Model Generalization on Text Attribute Graphs: Principles with Large Language Modelscited by 8
  7. 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphscited by 6
  8. 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphscited by 6
  9. 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applicationscited by 6
  10. 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inferencecited by 5
  11. 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspectivecited by 4
  12. 2025LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphscited by 4
18 more
  1. 2026GNN-as-Judge: Unleashing the Power of LLMs for Graph Learning with GNN Feedbackcited by 4
  2. 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
  3. 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracingcited by 3
  4. 2025Damba-ST: Domain-Adaptive Mamba for Efficient Urban Spatio-Temporal Predictioncited by 2
  5. 2025GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretabilitycited by 2
  6. 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoningcited by 2
  7. 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understandingcited by 2
  8. 2025PrefixAgent: An LLM-Powered Design Framework for Efficient Prefix Adder Optimizationcited by 0
  9. 2025GraphGhost: Tracing Structures Behind Large Language Modelscited by 0
  10. 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategycited by 0
  11. 2026LoReC: Rethinking Large Language Models for Graph Data Analysiscited by 0
  12. 2026Evaluating LLMs on Large-Scale Graph Property Estimation via Random Walkscited by 0
  13. 2026A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuningcited by 0
  14. 2026GraphARC: A Comprehensive Benchmark for Graph-Based Abstract Reasoningcited by 0
  15. 2026Beyond the Golden Teacher: Enhancing Graph Learning through LLM-GNN Co-teachingcited by 0
  16. 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaborationcited by 0
  17. 2026ReMem: Rethinking Perception and Memory in Long-Context Recommendation Agentscited by 0
  18. 2026GraphCert: Bootstrap Agentic Graph Reasoning with Certified Evidence Rubricscited by 0