How Do Large Language Models Understand Graph Patterns? A Benchmark for Graph Pattern Comprehension
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
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
- 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
- 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 728
- 2020Parameterized Explainer for Graph Neural Networkcited by 426
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 274
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 260
- 2023Can Language Models Solve Graph Problems in Natural Language?cited by 252
- 2020Can Graph Neural Networks Count Substructures?cited by 236
19 more
- 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 226
- 2023Language is All a Graph Needscited by 220
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 210
- 2019What graph neural networks cannot learn: depth vs widthcited by 201
- 2024LLaGA: Large Language and Graph Assistantcited by 181
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 176
- 2023MolCA: Molecular Graph-Language Modeling with Cross-Modal Projector and Uni-Modal Adaptercited by 128
- 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 118
- 2023GraphText: Graph Reasoning in Text Spacecited by 111
- 2023GraphLLM: Boosting Graph Reasoning Ability of Large Language Modelcited by 107
- 2022Evaluating Explainability for Graph Neural Networkscited by 87
- 2023InstructMol: Multi-Modal Integration for Building a Versatile and Reliable Molecular Assistant in Drug Discoverycited by 86
- 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
- 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 58
- 2023Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?cited by 31
- 2024Simulation of Graph Algorithms with Looped Transformerscited by 30
- 2024Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Miningcited by 20
- 2022CLARE: A Semi-supervised Community Detection Algorithmcited by 13
- 2017Deterministic subgraph detection in broadcast CONGESTcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 17; 2026: 12.
30 papers.
Sort:
By area:
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 77
- 2025When Do LLMs Help With Node Classification? A Comprehensive Analysiscited by 21
- 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigationcited by 12
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solvingcited by 11
- 2025Model Generalization on Text Attribute Graphs: Principles with Large Language Modelscited by 8
- 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphscited by 6
- 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphscited by 6
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applicationscited by 6
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inferencecited by 5
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspectivecited by 4
- 2025LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphscited by 4
18 more
- 2026GNN-as-Judge: Unleashing the Power of LLMs for Graph Learning with GNN Feedbackcited by 4
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracingcited by 3
- 2025Damba-ST: Domain-Adaptive Mamba for Efficient Urban Spatio-Temporal Predictioncited by 2
- 2025GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretabilitycited by 2
- 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoningcited by 2
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understandingcited by 2
- 2025PrefixAgent: An LLM-Powered Design Framework for Efficient Prefix Adder Optimizationcited by 0
- 2025GraphGhost: Tracing Structures Behind Large Language Modelscited by 0
- 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategycited by 0
- 2026LoReC: Rethinking Large Language Models for Graph Data Analysiscited by 0
- 2026Evaluating LLMs on Large-Scale Graph Property Estimation via Random Walkscited by 0
- 2026A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuningcited by 0
- 2026GraphARC: A Comprehensive Benchmark for Graph-Based Abstract Reasoningcited by 0
- 2026Beyond the Golden Teacher: Enhancing Graph Learning through LLM-GNN Co-teachingcited by 0
- 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaborationcited by 0
- 2026ReMem: Rethinking Perception and Memory in Long-Context Recommendation Agentscited by 0
- 2026GraphCert: Bootstrap Agentic Graph Reasoning with Certified Evidence Rubricscited by 0
- 2026GraphCert: Bootstrap Agentic Graph Reasoning with Certified Evidence Rubrics30 Sep 2026
- 2026ReMem: Rethinking Perception and Memory in Long-Context Recommendation Agents29 Sep 2026
- 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaboration15 Jun 2026
- 2026Beyond the Golden Teacher: Enhancing Graph Learning through LLM-GNN Co-teaching10 Jun 2026
- 2026GraphARC: A Comprehensive Benchmark for Graph-Based Abstract Reasoning29 May 2026
- 2026A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuning12 May 2026
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding5 May 2026
- 2026Evaluating LLMs on Large-Scale Graph Property Estimation via Random Walks2 May 2026
- 2026LoReC: Rethinking Large Language Models for Graph Data Analysis20 Apr 2026
- 2026GNN-as-Judge: Unleashing the Power of LLMs for Graph Learning with GNN Feedback11 Mar 2026
- 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoning2 Mar 2026
- 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategy24 Feb 2026
18 more
- 2025LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphs24 Dec 2025
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applications24 Oct 2025
- 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphs8 Oct 2025
- 2025GraphGhost: Tracing Structures Behind Large Language Models7 Oct 2025
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective26 Sep 2025
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing24 Sep 2025
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inference23 Sep 2025
- 2025GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretability22 Sep 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025PrefixAgent: An LLM-Powered Design Framework for Efficient Prefix Adder Optimization8 Jul 2025
- 2025Damba-ST: Domain-Adaptive Mamba for Efficient Urban Spatio-Temporal Prediction22 Jun 2025
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphs9 Apr 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
- 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigation26 Feb 2025
- 2025Model Generalization on Text Attribute Graphs: Principles with Large Language Models17 Feb 2025
- 2025When Do LLMs Help With Node Classification? A Comprehensive Analysis2 Feb 2025
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solving24 Oct 2024
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 77
- 2024GCoder: Improving Large Language Model for Generalized Graph Problem Solvingcited by 11
- 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphscited by 6
- 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphscited by 6
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracingcited by 3
- 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoningcited by 2
- 2025GraphGhost: Tracing Structures Behind Large Language Modelscited by 0
- 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategycited by 0
- 2026LoReC: Rethinking Large Language Models for Graph Data Analysiscited by 0
- 2026Evaluating LLMs on Large-Scale Graph Property Estimation via Random Walkscited by 0
- 2026GraphARC: A Comprehensive Benchmark for Graph-Based Abstract Reasoningcited by 0
- 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaborationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026GraphCert: Bootstrap Agentic Graph Reasoning with Certified Evidence Rubrics30 Sep 2026
- 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaboration15 Jun 2026
- 2026GraphARC: A Comprehensive Benchmark for Graph-Based Abstract Reasoning29 May 2026
- 2026Evaluating LLMs on Large-Scale Graph Property Estimation via Random Walks2 May 2026
- 2026LoReC: Rethinking Large Language Models for Graph Data Analysis20 Apr 2026
- 2026GraphScout: Empowering Large Language Models with Intrinsic Exploration Ability for Agentic Graph Reasoning2 Mar 2026
- 2026Graph Property Inference in Small Language Models: Effects of Representation and Reasoning Strategy24 Feb 2026
- 2025Reasoning by Exploration: A Unified Approach to Retrieval and Generation over Graphs8 Oct 2025
- 2025GraphGhost: Tracing Structures Behind Large Language Models7 Oct 2025
- 2025Uncovering Graph Reasoning in Decoder-only Transformers with Circuit Tracing24 Sep 2025
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025KG-LLM-Bench: A Scalable Benchmark for Evaluating LLM Reasoning on Textualized Knowledge Graphs9 Apr 2025
12 newest of 13 All 13 (JSON)
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025When Do LLMs Help With Node Classification? A Comprehensive Analysiscited by 21
- 2025Exploring Graph Learning Tasks with Pure LLMs: A Comprehensive Benchmark and Investigationcited by 12
- 2025Model Generalization on Text Attribute Graphs: Principles with Large Language Modelscited by 8
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applicationscited by 6
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inferencecited by 5
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspectivecited by 4
- 2025LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphscited by 4
- 2026GNN-as-Judge: Unleashing the Power of LLMs for Graph Learning with GNN Feedbackcited by 4
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2025GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretabilitycited by 2
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understandingcited by 2
12 most cited of 15 All 15 (JSON)
- 2026Beyond the Golden Teacher: Enhancing Graph Learning through LLM-GNN Co-teaching10 Jun 2026
- 2026A Unified Graph Language Model for Multi-Domain Multi-Task Graph Alignment Instruction Tuning12 May 2026
- 2026Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding5 May 2026
- 2026GNN-as-Judge: Unleashing the Power of LLMs for Graph Learning with GNN Feedback11 Mar 2026
- 2025LLMTM: Benchmarking and Optimizing LLMs for Temporal Motif Analysis in Dynamic Graphs24 Dec 2025
- 2025Large Language Models Meet Text-Attributed Graphs: A Survey of Integration Frameworks and Applications24 Oct 2025
- 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective26 Sep 2025
- 2025Actions Speak Louder than Prompts: A Large-Scale Study of LLMs for Graph Inference23 Sep 2025
- 2025GnnXemplar: Exemplars to Explanations -- Natural Language Rules for Global GNN Interpretability22 Sep 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025PrefixAgent: An LLM-Powered Design Framework for Efficient Prefix Adder Optimization8 Jul 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
12 newest of 15 All 15 (JSON)