arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.07730cs.LGcs.AIcs.CL
收藏

QueryForm:一种简单的零样本表单实体查询框架

QueryForm: A Simple Zero-shot Form Entity Query Framework

Northeastern University(东北大学);Google Cloud AI(谷歌云人工智能);Google Research(谷歌研究院)

Zifeng Wang, Zizhao Zhang, Jacob Devlin, Chen-Yu Lee, Guolong Su, Hao Zhang, Jennifer Dy, Vincent Perot, Tomas Pfister

AI总结:

本文提出零样本表单实体查询框架QueryForm,通过双重提示机制和大规模网页数据预训练,在XFUND和Payment基准上以更小模型取得SOTA的F1分数。

摘要:

文档理解的零样本迁移学习是一个关键但研究不足的场景,有助于降低标注文档实体的高昂成本。我们提出了一种新颖的基于查询的框架QueryForm,它以零样本方式从类表单文档中提取实体值。QueryForm包含双重提示机制,将文档模式和特定实体类型组合成查询,用于提示Transformer模型执行单一实体提取任务。此外,我们提出利用从带有弱HTML标注的类表单网页生成的大规模查询-实体对来预训练QueryForm。通过将预训练和微调统一到相同的基于查询的框架中,QueryForm使模型能够从包含各种实体和布局的结构化文档中学习,从而更好地泛化到目标文档类型,而无需目标特定的训练数据。QueryForm在XFUND(+4.6%~10.1%)和Payment(+3.2%~9.5%)零样本基准测试上均创下了新的最先进平均F1分数,且模型规模更小,无需额外图像输入。

英文摘要:

Zero-shot transfer learning for document understanding is a crucial yet under-investigated scenario to help reduce the high cost involved in annotating document entities. We present a novel query-based framework, QueryForm, that extracts entity values from form-like documents in a zero-shot fashion. QueryForm contains a dual prompting mechanism that composes both the document schema and a specific entity type into a query, which is used to prompt a Transformer model to perform a single entity extraction task. Furthermore, we propose to leverage large-scale query-entity pairs generated from form-like webpages with weak HTML annotations to pre-train QueryForm. By unifying pre-training and fine-tuning into the same query-based framework, QueryForm enables models to learn from structured documents containing various entities and layouts, leading to better generalization to target document types without the need for target-specific training data. QueryForm sets new state-of-the-art average F1 score on both the XFUND (+4.6%~10.1%) and the Payment (+3.2%~9.5%) zero-shot benchmark, with a smaller model size and no additional image input.

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

↑