arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25359cs.CLcs.AI
收藏

结构化输出基准:一个多源基准,用于评估大型语言模型中的结构化输出质量

The Structured Output Benchmark: A Multi-Source Benchmark for Evaluating Structured Output Quality in Large Language Models

JigsawStack, Inc.(JigsawStack公司);New Delhi, India(印度新德里);San Francisco, CA, USA(美国旧金山);Durgapur, WB, India(印度德里邦杜格apur)

Abhinav Kumar Singh, Harsha Vardhan Khurdula, Yoeven D Khemlani, Vineet Agarwal

AI总结:

本文提出SOB基准,用于评估大型语言模型在多源数据中的结构化输出质量,通过文本、图像和音频三种模态的测试数据,发现模型在结构合规性上表现良好,但价值准确性在不同数据源中差异显著。

摘要:

大型语言模型正越来越多地被用于从无结构和半结构数据源中提取结构化数据:解析发票、医疗记录和将PDF文档转换为数据库条目。然而,现有的结构化输出生成基准要么只关注模式合规性,要么在单一数据源领域评估值正确性。我们介绍了SOB(结构化输出基准),一个涵盖三种数据源模态的多源基准:原生文本、图像和音频对话。所有模型接收上下文的文本规范化表示,无论数据源模态如何;这种刻意设计将结构化输出能力与原始视觉或语音处理质量隔离开来,确保公平、源无关的比较。我们的基准包括5000条文本评估记录,来源于多跳问答问题,来自25,091条完整语料库;209条图像记录来自OCR处理的PDF文件,涵盖七种文档类型,包括多列布局、密集表格、扫描历史文档、小字号文本和数学排版;115条音频记录来自AMI语料库。每条记录配对一个自然语言问题和一个模型必须遵循的JSON模式以及一个经过源上下文验证的真值答案。我们评估了21个前沿和开源模型,涵盖三个数据源领域和七个指标。我们的结果揭示了一个一致的模式:模型在结构合规性上表现接近完美,但最佳价值准确性,通过精确叶值匹配测量,在文本上达到83.0%,在图像上达到67.2%,在音频上达到23.7%,其中更长的上下文使提取变得显著困难。我们发布了数据集、评估流程和所有相关代码。

英文摘要:

Large Language Models are increasingly being deployed to extract structured data from unstructured and semi-structured sources: parsing invoices, medical records, and converting PDF documents to database entries. Yet existing benchmarks for structured output generation either focus on schema compliance alone, or evaluate value correctness within a single source domain. We introduce SOB (The Structured Output Benchmark), a multi-source benchmark spanning three source modalities: native text, images, and audio conversations. All models receive a text-normalized representation of their context regardless of source modality; this deliberate design isolates structured-output capability from raw vision or speech-processing quality, ensuring a fair, source-agnostic comparison. Our benchmark comprises 5,000 text evaluation records derived from multi-hop QA drawn from a 25,091-record full corpus, 209 image records from OCR-processed PDFs across seven document types including multi-column layouts, dense tables, scanned historical documents, small-print text, and mathematical typesetting, and 115 audio records from the AMI corpus. Each record pairs a natural-language question with a JSON schema that the model must follow and a ground-truth answer verified against the source context. We evaluate 21 frontier and open-weight models across three source domains and seven metrics. Our results reveal a consistent pattern: models achieve near-perfect schema compliance, yet the best Value Accuracy, measured by exact leaf-value match, reaches only 83.0% on text, 67.2% on images, and 23.7% on audio, where longer context makes extraction substantially harder. We release the dataset, evaluation pipeline, and all related code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑