QueryForm: A Simple Zero-shot Form Entity Query Framework
Authors:
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- DualPrompt: Complementary Prompting for Rehearsal-Free Continual Learning2022
- OCR-Free Document Understanding Transformer2022
- LAMBERT: Layout-Aware Language Modeling for Information Extraction2021
- FUNSD: A Dataset for Form Understanding in Noisy Scanned Documents2019
- CloudScan - A Configuration-Free Invoice Analysis System Using Recurrent Neural Networks2017
- Evaluation of SVM, MLP and GMM Classifiers for Layout Analysis of Historical Documents2013
- Building a test collection for complex document information processing2006
- Artificial neural networks for document analysis and recognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2005
- A fast and efficient method for extracting text paragraphs and graphics from unconstrained documents2003
- A fast algorithm for bottom-up document layout analysisIEEE Transactions on Pattern Analysis and Machine Intelligence, 1997