Papers › GraphOmni: A Comprehensive and Extendable Benchmark Framework for Large Language...

GraphOmni: A Comprehensive and Extendable Benchmark Framework for Large Language Models on Graph-theoretic Tasks

17 Apr 2025arXiv:2504.12764archive 2025-07-28

Hao Xu, Xiangru Jian, Xinjian Zhao, Wei Pang, Chao Zhang, Suyuchen Wang, Qixin Zhang, Zhengyuan Dong, Joao Monteiro, Bang Liu, Qiuzhuang Sun, Tianshu Yu

This paper introduces GraphOmni, a comprehensive benchmark designed to evaluate the reasoning capabilities of LLMs on graph-theoretic tasks articulated in natural language. GraphOmni encompasses diverse graph types, serialization formats, and prompting schemes, significantly exceeding prior efforts in both scope and depth. Through extensive systematic evaluation, we identify critical interactions among these dimensions, demonstrating their substantial impact on model performance. Our experiments reveal that state-of-the-art models like Claude-3.5 and o4-mini consistently outperform other models, yet even these leading models exhibit substantial room for improvement. Performance variability is evident depending on the specific combinations of factors we considered, underscoring the necessity of comprehensive evaluations across these interconnected dimensions. Additionally, we observe distinct impacts of serialization and prompting strategies between open-source and closed-source models, encouraging the development of tailored approaches. Motivated by the findings, we also propose a reinforcement learning-inspired framework that adaptively selects the optimal factors influencing LLM reasoning capabilities. This flexible and extendable benchmark not only deepens our understanding of LLM performance on structured tasks but also provides a robust foundation for advancing research in LLM-based graph reasoning. The code and datasets are available at https://github.com/GAI-Community/GraphOmni.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2504.12764")

Code

Syntology Ran 0 of 27 code samples harvested from 2 repositories linked to this paper; 27 have no recorded run.

By repository: official repository: 27 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gai-community/graphomni officialmentioned in papermentioned on GitHubMIT report
more1643127748/graphomni officialmentioned in papermentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 0 ran; 0 honoured the contract we drafted; 27 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

27unverified

Licence: 0 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_graph gai-community/graphomni/eval_fun/verification.py official repository unverified MIT (permissive) · 83b83cb8a93f63f4 · report
build_graph_from_csv gai-community/graphomni/eval_fun/verification.py official repository unverified MIT (permissive) · d7ca9d0e9d027761 · report
check_and_download_model gai-community/graphomni/openllm/predict.py official repository unverified MIT (permissive) · e3b4cb8414c7b5ec · report
convert_english_numbers gai-community/graphomni/eval_fun/triangle_eval_fun.py official repository unverified MIT (permissive) · 138606b1a03b7b4d · report
count_tokens gai-community/graphomni/eval_fun/token.py official repository unverified MIT (permissive) · c4fa9aad367464fa · report
create_adj_matrix gai-community/graphomni/eval_fun/token.py official repository unverified MIT (permissive) · 70beee368bff933c · report
eval_connectivity gai-community/graphomni/eval_fun/connectivity_eval_fun.py official repository unverified MIT (permissive) · b16ac88a9e21c924 · report
eval_cycle gai-community/graphomni/eval_fun/cycle_eval_fun.py official repository unverified MIT (permissive) · a7c5dc906f2a4be7 · report
eval_diameter_number gai-community/graphomni/eval_fun/diameter_eval_fun.py official repository unverified MIT (permissive) · 2d2637dd0f93dd94 · report
evaltask gai-community/graphomni/main_closemodel.py official repository unverified MIT (permissive) · 2f51bb646f57b609 · report
evaluate_bfsorder gai-community/graphomni/eval_fun/bfsorder_eval_fun.py official repository unverified MIT (permissive) · 21523d87e7f7f8d1 · report
evaluate_shortest_path gai-community/graphomni/eval_fun/shortest_path_eval_fun.py official repository unverified MIT (permissive) · a336e706c03b0e4e · report
extract_and_check_numbers_bfsorder gai-community/graphomni/eval_fun/bfsorder_eval_fun.py official repository unverified MIT (permissive) · 3efcfb2d6b5a05d1 · report
extract_and_check_numbers_dimater gai-community/graphomni/eval_fun/diameter_eval_fun.py official repository unverified MIT (permissive) · b7515efb0fb3c7a9 · report
extract_and_check_numbers_path gai-community/graphomni/eval_fun/shortest_path_eval_fun.py official repository unverified MIT (permissive) · d61be97e2d23280d · report
extract_and_check_numbers_triangle gai-community/graphomni/eval_fun/triangle_eval_fun.py official repository unverified MIT (permissive) · d8333297634fc3ad · report
extract_data_from_jsonl gai-community/graphomni/closedllm/batchapi_openai_6tasks_retrive.py official repository unverified MIT (permissive) · 08ecf1166f290426 · report
extract_numbers_before_node gai-community/graphomni/eval_fun/bfsorder_eval_fun.py official repository unverified MIT (permissive) · f6524b105c2bfbee · report
extract_relevant_sentences gai-community/graphomni/eval_fun/connectivity_eval_fun.py official repository unverified MIT (permissive) · a1917cc156eef5d6 · report
extract_relevant_sentences more1643127748/graphomni/eval_fun/cycle_eval_fun.py official repository unverified MIT (permissive) · 8027b8a1f685b048 · report
filter_sentences gai-community/graphomni/eval_fun/connectivity_eval_fun.py official repository unverified MIT (permissive) · 5474a9d6201092ed · report
find_batch_ids_in_logs gai-community/graphomni/closedllm/batchapi_openai_6tasks_retrive.py official repository unverified MIT (permissive) · dd84d21546412fc1 · report
get_edges_from_str gai-community/graphomni/eval_fun/token.py official repository unverified MIT (permissive) · f700f4d3a7aa2d5c · report
getquery gai-community/graphomni/main_closemodel.py official repository unverified MIT (permissive) · e80463f3f6994f9a · report
loadqery gai-community/graphomni/closedllm/batchapi_openai_6tasks.py official repository unverified MIT (permissive) · 4fe8ce25424e3f7f · report
merge_short_paragraphs gai-community/graphomni/eval_fun/diameter_eval_fun.py official repository unverified MIT (permissive) · 75a1d893016bda9f · report
validate_bfs gai-community/graphomni/eval_fun/verification.py official repository unverified MIT (permissive) · 090ce4b1b724e715 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections