atlas

Research map / Graph learning / Graph self-supervised learning

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

ICLR 2025 · Graph learning › Graph self-supervised learning · approach: LLMs and graph foundation models · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces a benchmark testing whether LLMs understand graph patterns from terminology-based, topology-based, and data-driven descriptions across synthetic and real-world graphs, finding O1-mini strongest on most tasks.

Problem

Whether large language models can comprehend, edit, detect, and autonomously mine graph patterns (primitive motifs, k-cores, frequent subgraphs, discriminative patterns) is largely unexplored.

Approach

A multi-task benchmark that categorizes graph pattern descriptions into terminology-based, topology-based, and data-driven types, evaluated with prompting on synthetic and real-world graphs, plus a Transformer expressiveness argument that Transformers can simulate LOCAL/message-passing algorithms over edge-list inputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use O1-mini rather than the other evaluated modelsPattern translation · Pattern translationaverage accuracy: 0.83 -> 0.86Helped
Use terminology-based rather than topology-based pattern descriptions (ablation)GPT-4 · BenzeneF1 score: 0.71 -> 0.88Helped
Use terminology-based rather than topology-based pattern descriptions (ablation)GPT-4 · R-COF1 score: 0.64 -> 0.73Helped
Combine terminology-based and topology-based descriptions (ablation)GPT-4 · BenzeneF1 score: 0.88 -> 0.89No clear effect
Combine terminology-based and topology-based descriptions (ablation)GPT-4 · R-COF1 score: 0.73 -> 0.71Hurt
Use edge-list rather than adjacency-list formatDiscriminative pattern learning · BA-2motifclassification accuracyHelped
Use adjacency-list rather than edge-list format3-core detection · 3-core detectionprecisionHelped
Use terminology-based rather than topology-based descriptionsLLMs · Pattern detectionF1 scoreHelped

Surprising findings

Limitations

Experimental setup

Datasets: BA-2motif MUTAG ogbg-molhiv ogbg-bbbp IMDB-BINARY IMDB-MULTI ENZYMES Fingerprint Benzene Alkane-Carbonyl Fluoride-Carbonyl

Benchmarks: GraphPattern benchmark (pattern translation, graph modification, pattern detection, isomorphic mapping, k-core detection MUTAG ogbg-molhiv ogbg-bbbp IMDB-BINARY IMDB-MULTI ENZYMES Fingerprint Benzene Alkane-Carbonyl Fluoride-Carbonyl

Metrics: accuracy diversity score success rate F1 score precision discriminative pattern ratio

Baselines: GPT-4 GPT-4o Mixtral Llama Gemini Claude

Builds on: NLGraph GraphInstruct BA-2motif

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy