GTA: Graph Theory Agent and Benchmark for Algorithmic Graph Reasoning with LLMs

📅 2026-09-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究解决LLMs在图数据上多步推理的可靠性问题,通过构建GT Bench基准测试并提出Graph Theory Agent(GTA)来优化不同图表示下的推理性能。
📝 Abstract
Large Language Models (LLMs) are increasingly asked to reason over structured data such as graphs, yet how reliably they can carry out multi-step graph algorithms in language remains unclear. Existing evaluations tend to use simple tasks on small graphs, to score code generation rather than reasoning over the graph itself, or to fix a single input format. We introduce Graph Theory Bench (GT Bench), a benchmark covering 24 classical graph problems in 44 task-structure settings, with over 100,000 examples across four representations: natural language, structured language, adjacency list, and adjacency matrix. Evaluating eight LLMs on GT Bench shows that accuracy is strongly tied to the input representation, that the best representation shifts with graph density, size, and topology as well as with the model, and that this sensitivity persists, attenuated, in the strongest reasoning models. Building on these observations, we propose the Graph Theory Agent (GTA), which pairs a preference-trained representation selector with plan-and-decompose scaffolding around a frozen executor LLM. GTA lifts Phi-4 from 53.5% to 69.1% on the benchmark's easy split and from 33.0% to 41.5% on its hard split, outperforming eight prompting and agent baselines, and transfers without retraining to GraCoRe and NLGraph. Code for benchmark generation and evaluation: https://github.com/xzx34/GTA. The project homepage is available at https://xzx34.github.io/gta/.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
Graph Reasoning
Algorithmic Graph Problems
Input Representation
Innovation

Methods, ideas, or system contributions that make the work stand out.

Graph Theory Agent
representation selector
plan-and-decompose scaffolding
frozen executor LLM
Graph Theory Bench
🔎 Similar Papers