Skip to content

Research on Structured Output of Large Language Models Based on Dual-Dimensional Testing

Sep 2026 · Applied and Computational Engineering · Vol 270, pp. None-None · 0 citations

TL;DR

The results show that JSON, although widely used in practice, is not always the most efficient structured output format, and output formats and constraint methods should be selected according to task shape, latency budget, model capability, and tolerance for downstream repair.

Abstract

This study evaluates multiple constraint methods and output formats for producing structured data with large language models. To move beyond JSON-centered discussions, it builds a dual-dimensional testing framework in which output formats are compared horizontally and constraint methods are compared vertically. The experiments use practical extraction tasks and measure syntactic correctness, semantic correctness, response time, and token consumption across local open-source models and commercial lightweight models. The results show that JSON, although widely used in practice, is not always the most efficient structured output format. CSV and TSV perform well for flat tabular tasks, while JSON with validation or constrained decoding is more suitable when stability and schema compliance are critical. The findings indicate that output formats and constraint methods should be selected according to task shape, latency budget, model capability, and tolerance for downstream repair, rather than from a fixed preference for a single format.

View source

Similar papers

#artificial intelligence Preprint Oct 2026

Structure Tax: How Structured Output affects LLMs Performance

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, confid...

Vineet Kumar, Kanishka, Bhuvanesh Mandora · 0 citations
#large language models Open access Sep 2026

Adaptive multi-format synergistic table understanding framework for large language models

Tables serve as a foundational medium for representing structured information and are widely adopted across diverse domains such as scientific research, financial analysis, public administration, and data-intensive industrial applications. Existing large language models (LLMs)-based table understanding approaches commo...

Feng-Juan Zhang, Gang Zhou, Zhu-Feng Li et al. · 0 citations
Book Open access Oct 2026

Assessing Capabilities of Large Language Models for Multi-Level Modeling

Large Language Models (LLMs) are increasingly being explored in Model-Driven Engineering as assistants for generating, transforming, and evolving modeling artifacts from natural language descriptions. Existing work, however, has mainly focused on traditional two-level modeling settings, while the applicability of LLMs...

Arianna Fedeli, Ludovico Iovino, Maria Teresa Rossi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.