Structured Output Collapses Answer Diversity Across 44 Language Models
Quick Answer
The study reveals that requesting JSON format from 44 language models significantly reduces answer diversity, with the modal answer increasing from 41% to 64% in a one-word prompt.
Quick Take
This structured output leads to a more homogeneous response landscape, affecting how models are evaluated and chosen, particularly highlighting the behavior of distinctive models like Claude Fable.
Key Points
- Answer diversity drops from 52 distinct answers to 36 when using JSON.
- Mean answer-choice surprisal decreases from 1.80 to 1.58 bits.
- Six out of 44 models shift toward the modal answer, especially distinctive ones.
- JSON format compresses response significantly compared to plain chat.
- Structured output impacts how language models are consumed in software.
DeepSignal Analysis
What happened
A study analyzed the impact of requesting JSON format from 44 language models on answer diversity. The results indicated that the modal answer increased from 41% to 64% for a one-word prompt, leading to a more uniform response landscape. This shift was particularly pronounced among distinctive models like Claude Fable.
Key evidence
- The modal answer for the unconstrained 'Pick a word' prompt rose from 41% to 64% when responses were requested in JSON format.
- Distinct answers decreased from 52 to 36, and the mean answer-choice surprisal dropped from 1.80 to 1.58 bits.
- Six out of 44 models showed a shift toward the modal answer, with notable changes in models like Claude Fable, which answered 'cerulean' 100% of the time in JSON but 0% in chat.
Why it matters
This finding highlights how structured output formats, such as JSON, can significantly influence the behavior of language models. The increased homogeneity in responses raises questions about the evaluation and selection of models, as it may not reflect their performance in more natural conversational settings. Understanding these dynamics is crucial for developers and researchers aiming to leverage language models effectively.
Paper Resources
Source Excerpt
When a language model must choose one answer from a large space of equally valid options, a format clause -- "Reply with JSON only" -- changes which answer it chooses. We re-run the One-Word Census (arXiv:2607. 12796): 31 wide-answer-space category prompts asked of 44 models, now with the reply requested in JSON -- no schema enforcement, no constrained decoding, only the request. Convergence deepens sharply: on the unconstrained "Pick a word" prompt the modal answer rises from 41% to 64% of the p
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from arXiv cs.CL
See more →RF-Agent: A Practical Framework for Building Language Agents for RFIC Design
RF-Agent introduces a novel framework for RF circuit design using , creating a unique RF-domain reasoning dataset with over 11,000 samples. The study reveals that domain-specific supervised fine-tuning and semantic retrieval strategies significantly enhance RF reasoning performance, particularly for smaller models.