Cornell study: JSON mode cuts answer diversity across 44 language models

omarsar0 · x · 2026-07-23

Structured output can narrow model answers more than expected

A Cornell paper tests whether asking for structured output changes not just formatting, but the content distribution itself. Across 44 language models and 31 broad-answer prompts, the authors find that a simple instruction like “Reply with JSON only” measurably reduces diversity.

Key findings

Why it matters

If your agent or pipeline relies on JSON mode, you may be sampling from a smaller and more homogeneous pool than the chat surface suggests.

Original post →

More from coding & agent

coding & agent channel →