Structure Tax: How Structured Output affects LLMs Performance
Vineet Kumar, Kanishka, Bhuvanesh Mandora
Key points
From the paper's conclusion- Our findings indicate that properly designed structured formats can match or exceed free-form performance, reframing the critical question from `whether to structure' to `how to structure' for optimal reasoning preservation.
Abstract
Deploying large language models in production often requires constraining outputs to structured formats such as JSON or XML, and prior work treats the resulting accuracy loss as an inherent `structure tax'. We re-examine this claim by evaluating a battery of models, datasets and schemas, measuring task accuracy, confidence calibration, and hidden-state geometry. The tax turns out to depend on schema design rather than on structure per se: reasoning-first field ordering matches or exceeds free-form accuracy, while answer-first ordering causes steep drops, particularly in smaller models. Format sensitivity scales inversely with a task's own structural constraints, and schemas that preserve reasoning order also improve calibration with CKA showing greater separability between correct and incorrect representations in middle transformer layers. Our findings indicate that properly designed structured formats can match or exceed free-form performance, reframing the critical question from `whether to structure' to `how to structure' for optimal reasoning preservation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Constrained Decoding: Harmful or Beneficial? Revisiting Its Impact on LLM PerformancearXiv · 2026
- Why Does Structured Output Fail? An Empirical Study of Prompt-Enforced Pydantic Schemas Across Nine LLMsarXiv · 2026
- Graph Serializations for Reasoning LLMs: A Study Across Knowledge Extraction and Structural ReasoningarXiv · 2026
- Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python ImplementationsarXiv · 2026
- ReFormBench: Benchmarking the Stability of Response-Conditioned Format Correction in Large Language ModelsarXiv · 2026
- A Systematic Study of Small Language Models on Abstract Reasoning TasksarXiv · 2026