Are LLMs Truly Graph-Savvy? A Comprehensive Evaluation of Graph Generation

While large language models (LLMs) have demonstrated impressive capabilities across diverse tasks, their ability to generate valid graph structures remains underexplored.We evaluate fifteen state-of-the-art LLMs on five specialized graph generation tasks spanning delivery networks, social networks, quantum circuits, genedisease networks, and transportation systems.We also test the LLMs using 3 different prompt types: direct, iterative feedback, and programaugmented.Models supported with explicit reasoning modules (o3-mini-high, o1, Claude 3.7 Sonnet, DeepSeek-R1) solve more than twice as many tasks as their general-purpose peers, independent of parameter count.Error analysis reveals two recurring failure modes: smaller parameter size Llama models often violate basic structural constraints, whereas Claude models respect topology but mismanage higherorder logical rules.Allowing models to refine their answers iteratively yields uneven gains, underscoring fundamental differences in errorcorrection capacity.This work demonstrates that graph understanding stems from specialized training methodologies rather than scale, establishing a framework for developing truly graph-savvy language models.Results and verification scripts available at github.com/Are-LLMs-Truly-Graph-Savvy.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-srw.64
Primary Topic
Semantic Web and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Are LLMs Truly Graph-Savvy? A Comprehensive Evaluation of Graph Generation

Ambuj K. Singh, Ege Demirci, Rithwik Kerur
Semantic Web and Ontologies
article

Are LLMs Truly Graph-Savvy? A Comprehensive Evaluation of Graph Generation

Ambuj K. Singh, Ege Demirci, Rithwik Kerur
article en

Abstract

While large language models (LLMs) have demonstrated impressive capabilities across diverse tasks, their ability to generate valid graph structures remains underexplored.We evaluate fifteen state-of-the-art LLMs on five specialized graph generation tasks spanning delivery networks, social networks, quantum circuits, genedisease networks, and transportation systems.We also test the LLMs using 3 different prompt types: direct, iterative feedback, and programaugmented.Models supported with explicit reasoning modules (o3-mini-high, o1, Claude 3.7 Sonnet, DeepSeek-R1) solve more than twice as many tasks as their general-purpose peers, independent of parameter count.Error analysis reveals two recurring failure modes: smaller parameter size Llama models often violate basic structural constraints, whereas Claude models respect topology but mismanage higherorder logical rules.Allowing models to refine their answers iteratively yields uneven gains, underscoring fundamental differences in errorcorrection capacity.This work demonstrates that graph understanding stems from specialized training methodologies rather than scale, establishing a framework for developing truly graph-savvy language models.Results and verification scripts available at github.com/Are-LLMs-Truly-Graph-Savvy.

University of California, Santa Barbara (US)
Openalex Percentile: Top 90%
Semantic Web and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Are LLMs Truly Graph-Savvy? A Comprehensive Evaluation of Graph Generation — Ambuj K. Singh, Ege Demirci, et al. · (2025) | TGRS Research Map | TGRS