GraphInstruct: A Progressive Benchmark for Diagnosing Capability Gaps in LLM Graph Generation
Abstract
Graph-structured data underpins applications from citation analysis and social-network modeling to molecular design and knowledge-graph construction, and Large Language Models (LLMs) are increasingly used as prompt-driven graph synthesizers. Classical graph-generation reviews catalog graph generators and their evaluation primitives, but predate the LLM era and do not cover instruction-following graph synthesis. Recent LLM-era benchmarks evaluate models along graph-type or task-domain axes; such organizations, however, average over structural complexity and rarely localize where in the complexity spectrum an LLM breaks down. To close this gap, we introduce GraphInstruct, a progressive benchmark that stratifies LLM graph generation into six constraint-type levels and five evaluation dimensions, paired with 800 instructions generated from hand-authored templates, 1,582 algorithmically synthesized reference solutions, and a 12-LLM capability evaluation across 45 (model, strategy) configurations, extended to 20 LLMs including reasoning models. We find that cross-model dispersion peaks at multi-constraint composition rather than at the later levels that look harder, that no single prompting strategy dominates across levels or model families, and that domain-semantic scores stay flat under iteration on the tested model, where the low-scoring dimension is a serialization-sensitive surface metric. Atop the benchmark, a verification-guided iterative framework with constraint-aware adaptive prompting improves over the best prompting strategy on every tested model, illustrating that the benchmark's fine-grained signals support method development. Data, code, and reproducibility artifacts are released alongside the paper at https://github.com/AI4DataSynth/GraphInstruct_formal.