LongListBench
收藏资源简介:
LongListBench是一个用于评估从复杂商业PDF中提取长列表实体的基准数据集,专注于保险和商业卡车运输领域。它旨在解决长列表提取中的常见失败模式,如遗漏、合并或虚构行导致文档级结果无效。数据集包含32个合成PDF文档和29,599条目标记录,不包含真实客户个人身份信息(PII)。数据分为三个配置:1)`core_operations`:包含26个类似生产环境的商业保险和卡车运输PDF,具有密集的重复操作、IFTA(国际燃料税协议)和损失运行记录,用于测试规模和输出完整性;2)`claim_multihop`:包含3个长索赔PDF,其中事件记录必须从文档远距离部分组装;3)`policy_packets`:包含3个长商业主保险、工人赔偿和商业一般责任保单包,其中记录必须从远距离部分组装。每个文档标注了14种复杂性压力因素(如跨页、分割记录、多行、重复项、大文档、多表格、多列、合并单元格、OCR条件、长距离证据等),以模拟现实世界的提取挑战。数据集提供PDF字节、OCR转录文本、JSON格式的地面真值以及包含生成细节的元数据。主要评估指标是严格的归一化记录完整性(精确记录召回率和完整文档率),字段重叠F1分数作为次要诊断指标。数据集附带了四个基于大语言模型的代理基线性能结果,并提供了详细的提取模式(JSON Schema)。所有文档均为合成生成,布局和内容参考了真实文档结构,但所有标识符和内容均为虚构。
LongListBench is a benchmark dataset for evaluating long-list entity extraction from complex commercial PDFs, focusing on the insurance and commercial trucking sectors. It aims to address common failure modes in long-list extraction, such as omission, merging, or fabricated rows that lead to invalid document-level results. The dataset contains 32 synthetic PDF documents and 29,599 target records, with no real customer personally identifiable information (PII) included. The data is divided into three configurations: 1. `core_operations`: 26 production-like commercial insurance and trucking PDFs featuring dense repeated operations, International Fuel Tax Agreement (IFTA) and loss run records, used to test scalability and output completeness; 2. `claim_multihop`: 3 long claim PDFs where event records must be assembled from distant sections of the document; 3. `policy_packets`: 3 long commercial package, workers' compensation, and commercial general liability policy packets, where records must be assembled from distant sections. Each document is annotated with 14 complexity stressors (e.g., cross-page breaks, split records, multi-line entries, duplicates, large documents, multiple tables, multiple columns, merged cells, OCR conditions, long-range evidence, etc.) to simulate real-world extraction challenges. The dataset provides PDF bytes, OCR transcribed text, ground truth in JSON format, and metadata including generation details. The primary evaluation metrics are strict normalized record integrity (exact record recall and complete document rate), with field-overlap F1 score as a secondary diagnostic metric. The dataset includes performance results of four LLM-based AI Agent baselines, as well as a detailed extraction schema ("JSON Schema"). All documents are synthetically generated, with layouts and content modeled after real document structures, but all identifiers and content are entirely fictitious.
LongListBench 数据集概述
基本信息
- 名称: LongListBench
- 语言: 英语 (en)
- 许可证: MIT
- 开发者: Kay.ai
- 作者: Anton Fedoruk, Serhii Shchoholiev, Akhil Mehta, Vishal Rohra
- 数据集规模: 少于 1,000 条样本 (n<1K)
- 数据集地址: https://huggingface.co/datasets/kaydotai/LongListBench
- GitHub 仓库: https://github.com/kaydotai/longlistbench
数据集描述
LongListBench 专注于测量长列表提取任务中模型在完整度方面的失败模式,适用于保险和商业卡车运输领域的 PDF 文档。系统接收一个 PDF 或 OCR 转录文本以及一个目标合同,然后返回完整的目标列表。该数据集包含 32 个合成 PDF 和 29,599 条目标记录,不包含任何真实客户 PII 数据。
数据集配置与数据划分
| 配置名称 | 描述 | 目标字段 | 文档数 | 记录数/文档范围 | 目标记录总数 | 页码范围 |
|---|---|---|---|---|---|---|
core_operations |
26 个类似生产环境的商业保险和卡车运输 PDF,包含密集重复操作、IFTA 和损失运行记录 | records |
26 | 260-2,571 | 28,178 | 17-84 |
claim_multihop |
3 个长篇幅理赔 PDF,事故记录需从远距离章节中组装 | incidents |
3 | 12-40 | 77 | 61-148 |
policy_packets |
3 个长篇幅商业业主、工人赔偿和商业一般责任险保单包,记录需从远距离章节中组装 | records |
3 | 344-562 | 1,344 | 99-133 |
核心功能与标签
数据集包含 14 种标准复杂性压力标签 (Stressors),用于标注每个 PDF 中的提取难度:
| 标签 | 含义 |
|---|---|
page_breaks |
列表或支持证据跨页延续,包含重复表头或继承上下文 |
split_records |
一条目标记录的字段分布在不同的视觉区块、章节或页面中,需组装 |
multi_row |
记录包含换行注释、描述、条款或续行 |
duplicates |
存在前期条款、归档、重复或近似重复的干扰材料 |
large_doc |
文档长度足以考验截断和记录完整性行为 |
multiple_tables |
目标行与摘要、分类账、时间表、支持表或空表混合 |
multi_column |
页面使用双栏或表单式布局,考验阅读顺序 |
merged_cells |
表格包含跨行或合并单元格结构 |
ocr_condition |
发布的文本条件为从渲染页面图像进行的 OCR |
ocr_layout_condition |
OCR 保留视觉间距和阅读顺序,而非将表格转换为干净的 CSV 格式行 |
long_range_evidence |
字段需从同一 PDF 的远距离章节中连接 |
cross_section_join |
目标记录需从单独标记的章节中组装,如返回摘要、距离/加仑表和责任表 |
repeated_keys |
常见键(如州或司法管辖区)跨章节或返回重复出现,仅凭键不足以匹配 |
heterogeneous_record_list |
目标列表包含多种记录模式,尤其在保单包中 |
数据列说明
| 列名 | 类型 | 描述 |
|---|---|---|
document_id |
string | 稳定样本标识符 |
complexity_regime |
string | 文档族,如 ifta_mileage_by_vehicle、loss_run_external 等 |
evaluation_role |
string | 预设评估角色:scale_control 或 structural_challenge |
num_pages |
int32 | 生成器记录的页面数 |
target_field |
string | 顶层列表名称:incidents 或 records |
target_record_type |
string | 主要模式族 |
target_count |
int32 | ground_truth 中的目标记录数 |
stressors |
list[string] | 文档的压力标签 |
pdf |
嵌入的源 PDF 字节 | |
ground_truth |
string | 包含预期记录的 JSON 字符串 |
metadata |
string | 包含清单元数据、文件哈希、证据映射等的 JSON 字符串 |
ocr_transcript |
string | 从渲染 PDF 页面图像生成的 OCR 转录文本 |
当前基线结果
数据集包含 4 个全语料库 OCR 条件下的 agentic 基线结果:
| 协议 | 文档数 | 目标记录 | 精确记录召回率 | 完全文档 | 字段微 F1 | 字段宏 F1 |
|---|---|---|---|---|---|---|
Codex CLI gpt-5.6-sol |
32 | 29,599 | 97.9% | 8/32 (25.0%) | 99.4% | 99.4% |
Claude Code CLI claude-fable-5 |
32 | 29,599 | 95.1% | 9/32 (28.1%) | 96.8% | 93.6% |
Codex CLI gpt-5.5 |
32 | 29,599 | 94.5% | 4/32 (12.5%) | 98.8% | 98.6% |
Claude Code CLI claude-opus-4-8 |
32 | 29,599 | 97.7% | 7/32 (21.9%) | 99.4% | 99.3% |
数据生成与来源
文档均为合成生成,遵循以下工作流:
- 确定性固定装置创建符合模式的基本事实。
- 布局生成器将记录放置到文档特定的表格和叙述性章节中。
- HTML/CSS 渲染生成源 PDF。
- 在渲染页面上进行 OCR 生成发布的转录文本。
不包含任何客户文档或真实的被保险人、索赔人、保单或账户数据。真实文档仅用作布局和包组织的结构参考。
许可证
MIT 许可证。文档和基本事实均为合成数据,随仓库一起以该许可证发布。





