Real-Time Trustworthiness Scoring for LLM Structured Outputs and Data Extraction
This work addresses the challenge of sporadic errors in structured outputs generated by large language models (LLMs), which hinder their reliable deployment in enterprise settings. The authors propose CONSTRUCT, a method that estimates real-time confidence scores based on output uncertainty, enabling assessment of both overall and field-level reliability for any LLM—including black-box APIs without access to log probabilities—without requiring labeled data or model customization. CONSTRUCT supports heterogeneous fields and nested JSON structures. The study introduces the first public benchmark for structured generation with reliable ground-truth annotations. Evaluated across four datasets involving models such as Gemini 3 and GPT-5, CONSTRUCT significantly outperforms existing approaches in precision and recall for error detection.