cs.AIOct 15, 2026

Graph Serializations for Reasoning LLMs: A Study Across Knowledge Extraction and Structural Reasoning

Authors: Julien Yu, Mihaela Bornea, Avirup Sil, Katrin Kirchhoff

Organizations: Oracle

Abstract

The way a knowledge graph is serialized as text for inclusion into LLM context can substantially affect downstream LLM performance, with prior work reporting tens of percentage points variations across formats. However, existing studies consider only a limited set of representations and predate frontier reasoning models, which now offer stronger reasoning, instruction-following, and long-context capabilities. We evaluate 15 graph representation formats across nine frontier LLM configurations on ontology-based knowledge extraction and structural graph reasoning tasks. While knowledge extraction is relatively insensitive to different serialization formats, the choice of the optimal format for structural reasoning tasks significantly affects accuracy. We demonstrate that the optimal representation choice depends on model, query, and task and propose to approach graph serialization as a dynamic orchestration decision.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Structure Tax: How Structured Output affects LLMs Performance

    Oct 8, 2026Vineet Kumar, Kanishka, Bhuvanesh MandoraStructured Output GenerationStructured Reasoning in Language Models

  2. Position: How can Graphs Help Large Language Models?

    May 4, 2026Xiyuan Wang, Yi Hu, Yanbo Wang +2LLM GroundingKnowledge Augmentation for Language Models

  3. GraphDancer: Training LLMs to Explore and Reason over Graphs via Curriculum Reinforcement Learning

    Jan 24, 2026Yuyang Bai, Zhuofeng Li, Ping Nie +3LLM Reasoning with GraphsRL for Language Model Reasoning