Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations
Not on the map. Why?
Abstract (arXiv)
Large language models are increasingly used to extract records, generate SQL, summarize reports, answer policy questions, and route operational work. At these software boundaries, parseable output is necessary but does not establish task correctness. We present a reproducible benchmark protocol, a public executable artifact, and a confirmatory live API evaluation that separate structural validity from task-specific correctness across five business workflow tasks and six Python implementation conditions: PydanticAI, LangGraph, DSPy, CrewAI, Agno, and a framework-free SDK reference. We hypothesize that (H1) schema validity and task quality are separable, (H2) structured-output binding paths are heterogeneous under a shared model and lowest-common-denominator contract, and (H3) condition-by-task interactions concentrate failures rather than shifting all tasks equally. Confirmatory analysis uses distinct task instances (100 extraction and 50 per other task, with three nested replicates) under a frozen analysis plan, yielding a 5400-row primary matrix with equivalence margins and Holm-adjusted contrasts against the SDK reference. In the eligible confirmatory run, overall schema validity was 0.684 and mean automated quality was 0.638. PydanticAI, LangGraph, and DSPy retained near-ceiling schema validity with mean quality 0.91-0.94, while the plain SDK, Agno, and CrewAI conditions were substantially lower in this package and model configuration. Schema-valid rows still produced many task-score flags, especially in extraction and compliance QA, and quality residuals show strong condition-by-task interactions (including a workflow collapse for CrewAI). Labelled ablations address retry budgets and feature-using mechanisms; primary contrasts remain system-configuration findings, not causal attributions to marketed library features.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 29 of its 47 references that are in the map. Submitted 20 Nov 2026, announced 23 Nov 2026.
Builds on
29 of 47 references.
References · 29
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2022Survey of Hallucination in Natural Language Generationcited by 2,143
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,401
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,205
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 400
- 2019FUNSD: A Dataset for Form Understanding in Noisy Scanned Documentscited by 357
- 2024AI Agents That Mattercited by 296
- 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 267
- 2021ICDAR2019 Competition on Scanned Receipt OCR and Information Extractioncited by 262
17 more
- 2023Efficient Guided Generation for Large Language Modelscited by 244
- 2025Survey on Evaluation of LLM-based Agentscited by 220
- 2025Evaluation and Benchmarking of LLM Agents: A Surveycited by 166
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 116
- 2023DocILE Benchmark for Document Information Localization and Extractioncited by 61
- 2025Learning to Generate Structured Output with Schema Reinforcement Learningcited by 32
- 2025StructEval: Benchmarking LLMs' Capabilities to Generate Structural Outputscited by 31
- 2025SLOT: Structuring the Output of Large Language Modelscited by 21
- 2024BenchmarkCards: Standardized Documentation for Large Language Model Benchmarkscited by 15
- 2026Auditing Automated Evaluation, Error Propagation, and Runtime Mitigation in Tool-Using Language Agentscited by 13
- 2026ExtractBench: A Benchmark and Evaluation Methodology for Complex Structured Extractioncited by 12
- 2025CORE: Full-Path Evaluation of LLM Agents Beyond Final Statecited by 11
- 2026LLMStructBench: Benchmarking Large Language Model Structured Data Extractioncited by 7
- 2026The Structured Output Benchmark: A Multi-Source Benchmark for Evaluating Structured Output Quality in Large Language Modelscited by 6
- 2026The Constraint Tax: Measuring Validity-Correctness Tradeoffs in Structured Outputs for Small Language Modelscited by 6
- 2026Evaluation Cards: An Interpretive Layer for AI Evaluation Reportingcited by 6
- 2026Empirical Study for Structured Output Control in LLMs for Software Engineeringcited by 2
Built on by
Not cited yet.