Form2Seq : A Framework for Higher-Order Form Structure Extraction
Milan Aggarwal, Hiresh Gupta, Mausoom Sarkar, Balaji Krishnamurthy
Abstract
Document structure extraction has been a widely researched area for decades with recent works performing it as a semantic segmentation task over document images using fullyconvolution networks. Such methods are limited by image resolution due to which they fail to disambiguate structures in dense regions which appear commonly in forms. To mitigate this, we propose Form2Seq, a novel sequenceto-sequence (Seq2Seq) inspired framework for structure extraction using text, with a specific focus on forms, which leverages relative spatial arrangement of structures. We discuss two tasks; 1) Classification of low-level constituent elements (TextBlock and empty fillable Widget) into ten types such as field captions, list items, and others; 2) Grouping lower-level elements into higher-order constructs, such as Text Fields, ChoiceFields and ChoiceGroups, used as information collection mechanism in forms. To achieve this, we arrange the constituent elements linearly in natural reading order, feed their spatial and textual representations to Seq2Seq framework, which sequentially outputs prediction of each element depending on the final task. We modify Seq2Seq for grouping task and discuss improvements obtained through cascaded end-to-end training of two tasks versus training in isolation. Experimental results show the effectiveness of our text-based approach achieving an accuracy of 90% on classification task and an F1 of 75.82, 86.01, 61.63 on groups discussed above respectively, outperforming segmentation baselines. Further we show our framework achieves state of the results for table structure recognition on ICDAR 2013 dataset.
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.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Selective Labeling: How to Radically Lower Data-Labeling Costs for Document Extraction Models cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- Selective Labeling: How to Radically Lower Data-Labeling Costs for Document Extraction Models cites Representation Learning for Information Extraction from Form-like Documents
- Selective Labeling: How to Radically Lower Data-Labeling Costs for Document Extraction Models cites FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information Extraction
- MUSTIE: Multimodal Structural Transformer for Web Information Extraction cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- MUSTIE: Multimodal Structural Transformer for Web Information Extraction cites Representation Learning for Information Extraction from Form-like Documents
- MUSTIE: Multimodal Structural Transformer for Web Information Extraction cites WebFormer: The Web-page Transformer for Structure Information Extraction
- MUSTIE: Multimodal Structural Transformer for Web Information Extraction cites FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information Extraction
- FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extraction cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extraction cites Representation Learning for Information Extraction from Form-like Documents
- FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extraction cites FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information Extraction
- WebFormer: The Web-page Transformer for Structure Information Extraction cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- WebFormer: The Web-page Transformer for Structure Information Extraction cites Representation Learning for Information Extraction from Form-like Documents
- FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information Extraction cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information Extraction cites Representation Learning for Information Extraction from Form-like Documents
Cited by top-tier papers11
- FormNet: Structural Encoding beyond Sequential Modeling in Form Document Information ExtractionChen-Yu Lee, Chun-Liang Li, Timothy Dozat, Vincent Perot et al.ACL 2022 · 90 citations
- WebFormer: The Web-page Transformer for Structure Information ExtractionQifan Wang, Yi Fang, Anirudh Ravula, Fuli Feng et al.WWW 2022 · 88 citations
- MUSTIE: Multimodal Structural Transformer for Web Information ExtractionQifan Wang, Jingang Wang, Xiaojun Quan, Fuli Feng et al.ACL 2023 · 16 citations
- FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information ExtractionChen-Yu Lee, Chun-Liang Li, Hao Zhang, Timothy Dozat et al.ACL 2023 · 7 citations
- Selective Labeling: How to Radically Lower Data-Labeling Costs for Document Extraction ModelsYichao Zhou, James B. Wendt, Navneet Potti, Jing Xie et al.EMNLP 2023
Builds on2
- LayoutLM: Pre-training of Text and Layout for Document Image UnderstandingYiheng Xu, Minghao Li, Lei Cui, Shaohan Huang et al.KDD 2020 · 575 citations
- Representation Learning for Information Extraction from Form-like DocumentsBodhisattwa Prasad Majumder, Navneet Potti, Sandeep Tata, James Bradley Wendt et al.ACL 2020 · 111 citations
Related papers
- Improving Table Structure Recognition with Visual-Alignment Sequential Coordinate ModelingYongshuai Huang, Ning Lu, Dapeng Chen, Yibo Li et al.CVPR 2023
- StrucTexTv2: Masked Visual-Textual Prediction for Document Image Pre-trainingYuechen Yu, Yulin Li, Chengquan Zhang, Xiaoqiang Zhang et al.ICLR 2023 · 18 citations
- Spatial Dependency Parsing for Semi-Structured Document Information ExtractionWonseok Hwang, Jinyeong Yim, Seunghyun Park, Sohee Yang et al.ACL Findings 2021 · 84 citations
- Text2Event: Controllable Sequence-to-Structure Generation for End-to-end Event ExtractionYaojie Lu, Hongyu Lin, Jin Xu, Xianpei Han et al.ACL 2021
- DocFormerv2: Local Features for Document UnderstandingSrikar Appalaraju, Peng Tang, Qi Dong, Nishant Sankaran et al.AAAI 2024 · 68 citations
