Lune

ACL Findings2023

QueryForm: A Simple Zero-shot Form Entity Query Framework

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

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 Query-Form. By unifying pre-training and fine-tuning into the same query-based framework, Query-Form enables models to learn from structured documents containing various entities and layouts, leading to better generalization to target document types without the need for targetspecific 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DocFormer: End-to-End Transformer for Document Understanding cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
  • DocFormer: End-to-End Transformer for Document Understanding cites Language Models are Few-Shot Learners
  • Information Extraction from Visually Rich Documents using LLM-based Organization of Documents into Independent Textual Segments cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
  • Information Extraction from Visually Rich Documents using LLM-based Organization of Documents into Independent Textual Segments cites DocFormer: End-to-End Transformer for Document Understanding
  • Information Extraction from Visually Rich Documents using LLM-based Organization of Documents into Independent Textual Segments cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. MessToClean: Evidence-Grounded Structure-Preserving Reconstruction for Real-World Degraded Exam Paper ImagesJiayi Tuo, Cheng Tang, Zihan Wang, Chenyue Zhou et al.ACL 2026
  2. Information Extraction from Visually Rich Documents using LLM-based Organization of Documents into Independent Textual SegmentsAniket Bhattacharyya, Anurag Tripathi, Ujjal Das, Archan Karmakar et al.ACL 2025

Builds on10

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. LayoutLM: Pre-training of Text and Layout for Document Image UnderstandingYiheng Xu, Minghao Li, Lei Cui, Shaohan Huang et al.KDD 2020 · 575 citations
  3. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations
  4. DocFormer: End-to-End Transformer for Document UnderstandingSrikar Appalaraju, Bhavan Jasani, Bhargava Urala Kota, Yusheng Xie et al.ICCV 2021 · 392 citations
  5. ETC: Encoding Long and Structured Inputs in TransformersJoshua Ainslie, Santiago Ontañón, Chris Alberti, Vaclav Cvicek et al.EMNLP 2020 · 268 citations

Related papers

  1. Extracting Zero-shot Structured Information from Form-like Documents: Pretraining with Keys and TriggersRongyu Cao, Ping LuoAAAI 2021 · 6 citations
  2. UNER: A Unified Prediction Head for Named Entity Recognition in Visually-rich DocumentsYi Tu, Chong Zhang, Ya Guo, Huan Chen et al.ACM MM 2024 · 2 citations
  3. Zero-Shot Slot Filling with Slot-Prefix Prompting and Attention Relationship DescriptorQiaoyang Luo, Lingqiao LiuAAAI 2023 · 10 citations
  4. I2DFormer: Learning Image to Document Attention for Zero-Shot Image ClassificationMuhammad Ferjad Naeem, Yongqin Xian, Luc Van Gool, Federico TombariNeurIPS 2022 · 63 citations
  5. A Transformational Biencoder with In-Domain Negative Sampling for Zero-Shot Entity LinkingKai Sun, Richong Zhang, Samuel Mensah, Yongyi Mao et al.ACL Findings 2022 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines