The Research Report
SO-Bench: The Gap Between Valid JSON and Correct JSON
Every production team that uses LLMs for extraction has hit this wall eventually. The model returns perfect JSON. Schema validation passes. Downstream code processes it without complaint. Then someone notices the extracted invoice date says 2024 instead of 2025, or the total amount is off by a factor of ten.
That gap, between structurally correct output and factually correct output, is exactly what SO-Bench sets out to measure.
What SO-Bench Is
SOB (The Structured Output Benchmark) comes from JigsawStack and was submitted to NeurIPS 2026. It evaluates how accurately 21 frontier and open-weight LLMs extract structured data from three distinct source modalities: native text, images, and audio conversations.
The design choice that sets it apart is how it handles modality. Every model receives a text-normalized representation of its input regardless of source type. An image goes through OCR first. An audio file gets transcribed. The model never sees pixels or waveforms. This isolates structured-output capability from raw perception quality, giving a fair head-to-head comparison across architectures on the same underlying task.
The dataset contains 5,000 text records drawn from HotpotQA multi-hop questions, 209 image records from OCR-processed PDFs across seven document types (multi-column layouts, dense tables, scanned historical documents, small-print text, mathematical typesetting), and 115 audio records from the AMI meeting corpus. Each record pairs a natural-language question with a target JSON schema and a verified ground-truth answer.
The Seven Metrics
SOB does not stop at schema validation. It measures seven distinct dimensions of output quality.
Schema compliance checks whether the model outputs parseable JSON that matches the required schema structure. Value accuracy measures exact leaf-value match against ground truth. Faithfulness asks whether the extracted values are actually supported by the source context. Structural completeness and structural coverage track whether required fields and nested objects are present and filled. Type safety verifies that field types match the schema definition. Strict precision measures what percentage of the model's extracted values are both correct and complete.
This granularity matters. A model might nail schema compliance while hallucinating half the leaf values, and you would never catch it with a simple validator.
The Results Are Uncomfortable
The headline finding: models achieve near-perfect schema compliance across all three modalities. Yet the best model reaches only 83.0% value accuracy on text, 67.2% on images, and 23.7% on audio.
The audio result is striking. When context grows longer and more conversational, extraction accuracy collapses. Meeting transcripts with multiple speakers, interruptions, and overlapping dialogue are genuinely hard. A human transcription followed by a model reading that transcript introduces two failure points, and both show up in the final numbers.
The image results reveal a subtler problem. OCR-processed documents with dense tables, multi-column layouts, or degraded scanned pages trip up models that handle clean text well. The formatting itself becomes noise.
Model size does not predict performance. Larger models do not consistently outperform smaller ones on structured extraction tasks. This contradicts assumptions baked into many production architectures.
Rankings shift across source types. A model that ranks first on text might rank fifth on images. No single model dominates across all three modalities, which means evaluation on one source type gives an incomplete picture.
Why Schema Validation Is Not Enough
The benchmark surfaces a failure mode that structured output tools do not typically catch. Consider a model extracting from a Wikipedia article about an artist. The ground truth occupation field should read "composer" and "songwriter." The model returns "American country music artist" and "composer." The JSON is valid. The types are correct. The values are wrong.
Schema validators pass this response every time. Downstream systems process it without errors. The hallucination hides inside structurally correct JSON, making it harder to detect than a free-text hallucination would be.
SOB calls this out directly. The field value is wrong, but it looks right because the structure is right.
Implications for Production Teams
If you are building invoice parsers, medical record extractors, document-to-database pipelines, or any system where an LLM converts unstructured content into structured records, this benchmark is a reminder of what evaluation actually requires.
Schema compliance is table stakes. The hard problem is value accuracy, and it varies dramatically by input type. A model that performs well on clean text will underperform on OCR scans. A model that handles both may still fall apart on meeting transcripts.
The practical takeaway: test on your actual input modality. If your pipeline includes OCR, evaluate on OCR output, not on clean text. If it includes ASR, evaluate on transcribed audio. Schema validation should run first, but it should never run alone.
The benchmark is available on HuggingFace as neurips2026sob/sob, with the evaluation pipeline and full dataset released for reproducibility.