mlsanityData to 7 Oct 2026

Detecting Differences Is Not Understanding Structure: Large Language Models Fail at Graph Isomorphism

arXiv 2606.09484 ↗First posted 8 Jun 2026cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have shown impressive performance on diverse reasoning tasks, yet their capacity for structural reasoning in graphs remains unclear. We investigate whether LLMs can genuinely understand graph isomorphism -a fundamental problem in graph theory. While LLMs achieve near-perfect accuracy on isomorphism detection, we show this performance is illusory. When identical graphs are presented with permuted node labels, LLMs fail to identify their isomorphism. This finding suggests that LLMs exploit patterns rather than reasoning about abstract graph structure. Since permutation invariance is a fundamental requirement for valid structural reasoning, these results indicate that success on graph reasoning benchmarks should not be interpreted as evidence of genuine topological understanding.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 19 of its 28 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

19 of 28 references.

References · 19

  1. 2018How Powerful are Graph Neural Networks?cited by 4,355
  2. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  3. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
  4. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
  5. 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systemscited by 108
  6. 2024A Survey of Large Language Models for Graphscited by 71
  7. 2022A Short Tutorial on The Weisfeiler-Lehman Test And Its Variantscited by 52
  8. 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Taskscited by 24
  9. 2024LLMs for Relational Reasoning: How Far are We?cited by 21
  10. 2025When Do LLMs Help With Node Classification? A Comprehensive Analysiscited by 21
  11. 2024NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variationscited by 19
  12. 2024Order Matters: Exploring Order Sensitivity in Multimodal Large Language Modelscited by 19
7 more
  1. 2025The Order Effect: Investigating Prompt Sensitivity to Input Order in LLMscited by 19
  2. 2024Graph Learning in the Era of LLMs: A Survey from the Perspective of Data, Models, and Taskscited by 10
  3. 2025Set-LLM: A Permutation-Invariant LLMcited by 10
  4. 2024Can LLMs perform structured graph reasoning?cited by 9
  5. 2025Grounding LLM Reasoning with Knowledge Graphscited by 7
  6. 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoningcited by 7
  7. 2025Lost in Serialization: Invariance and Generalization of LLM Graph Reasonerscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Revisiting the Graph Reasoning Ability of Large Language Models: Case Studies in Translation, Connectivity and Shortest Path
  2. 2025Rethinking and Benchmarking Large Language Models for Graph Reasoning
  3. 2023Evaluating Large Language Models on Graphs: Performance Insights and Comparative Analysis
  4. 2024A Hierarchical Language Model For Interpretable Graph Reasoning
  5. 2026Are Large Language Models Suitable for Graph Computation? Progress and Prospects
  6. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability
  7. 2026GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs
  8. 2024GUNDAM: Aligning Large Language Models with Graph Understanding