GraphArena: Evaluating and Exploring Large Language Models on Graph Computation

Jianheng Tang, Qifan Zhang, Yuhan Li, Nuo Chen, Jia Li
2/12/2026

No official code found. Best implementation: squareRoot3/GraphArena (33 stars, last commit 2025-03-02).

Abstract

The ``arms race'' of Large Language Models (LLMs) demands new benchmarks to examine their progresses. In this paper, we introduce GraphArena, a benchmarking tool designed to evaluate LLMs on real-world graph computational problems. It offers a suite of four polynomial-time tasks (e.g., Shortest Distance) and six NP-complete challenges (e.g., Traveling Salesman Problem). GraphArena features a rigorous evaluation framework that classifies LLM outputs as correct, suboptimal (feasible but not optimal), hallucinatory (properly formatted but infeasible), or missing. Evaluation of over 10 LLMs reveals that even top-performing LLMs struggle with larger, more complex graph problems and exhibit hallucination issues. We further explore four potential solutions to address this issue and improve LLMs on graph computation, including chain-of-thought prompting, instruction tuning, code writing, and scaling test-time compute, each demonstrating unique strengths and limitations. GraphArena complements the existing LLM benchmarks and is open-sourced at https://github.com/squareRoot3/GraphArena.

View on arXivView PDF

Code Implementations(1)

"GraphArena: Evaluating and Exploring Large Language Models on Graph Computation" in ICLR 2025

334Shell, PythonJun 5, 20241 years ago

Similar Papers

Cite this paper

@article{tang2026grapharena,
  title  = {GraphArena: Evaluating and Exploring Large Language Models on Graph Computation},
  author = {Jianheng Tang and Qifan Zhang and Yuhan Li and Nuo Chen and Jia Li},
  year   = {2026},
  eprint = {2407.00379},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.00379},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.00379.svg)](https://codeofpaper.com/paper/2407.00379)

Discussion