Metraipolis › archive › dc_149b72611905

RamseyGadgets: A Graph Construction Dataset for LLMs — arXiv:2608.14999

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.14999
License (as archived)
CC0-1.0
Archived
2026-10-18T17:57:35.075Z
SHA-256 of the archived text
a2c73119c71ebdbedd6eae650bd13c281487efffa86a7c371343aaf0e23ffa00
Stable URL of this page
https://metraipolis.com/documento/dc_149b72611905

How to cite

RamseyGadgets: A Graph Construction Dataset for LLMs — arXiv:2608.14999 — arXiv (en), https://arxiv.org/abs/2608.14999 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_149b72611905 (Metraipolis archive dc_149b72611905, sha256 a2c73119c71ebdbedd6eae650bd13c281487efffa86a7c371343aaf0e23ffa00)
BibTeX
@misc{dc149b72611905,
  title = {RamseyGadgets: A Graph Construction Dataset for LLMs — arXiv:2608.14999},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.14999},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_149b72611905; sha256 a2c73119c71ebdbedd6eae650bd13c281487efffa86a7c371343aaf0e23ffa00},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.14999. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Constructing special graphs is an important task within graph theory and computer science. Many popular graph constructions are the result of a comprehensive exploration of relevant graphs and human ingenuity. Given the rise of generative AI usage in mathematics, it is natural to test whether LLMs are able to construct graphs with specified properties using their reasoning capabilities. Unfortunately, many natural graph construction problems, such as finding extremal Ramsey-good graphs (i.e., avoiding specific monochromatic subgraphs), have been explored extensively in the literature, making it difficult to ascertain whether a construction is the product of an LLM's reasoning capabilities or its recollection from training data. In this work, we introduce \textbf{RamseyGadgets}, a novel dataset of 70 underexplored graph construction problems that require finding Ramsey-good graphs with special properties (e.g., containing an edge with a fixed color). These problems have reasonably sized solutions (at most 10 vertices) that can be verified by SAT solvers, making them suitable for automatic evaluation. Our dataset is easily expandable, as one can simply change the monochromatic subgraphs being avoided to obtain a new set of problems. We evaluate the performance of five open-source LLMs on our dataset and report the results. Our findings show that LLMs achieve only 37.70% accuracy on the hard-tier problems in our dataset, with Gemma-4-31B achieving the highest performance out of the five. We also showcase how our dataset allows us to ascertain what kind of hints help LLMs perform better at this task.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-18 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.14999 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T16:29:13.974Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).