EMNLP Findings2023
Beyond Layout Embedding: Layout Attention with Gaussian Biases for Structured Document Understanding
Xi Zhu, Xue Han, Shuyuan Peng, Shuo Lei, Chao Deng, Junlan Feng
摘要
Effectively encoding layout information is a central problem in structured document understanding. Most existing methods rely heavily on millions of trainable parameters to learn the layout features of each word from Cartesian coordinates. However, two unresolved questions remain: (1) Is the Cartesian coordinate system the optimal choice for layout modeling? (2) Are massive learnable parameters truly necessary for layout representation? In this paper, we address these questions by proposing Layout Attention with Gaussian Biases (LAGaBi): Firstly, we find that polar coordinates provide a superior choice over Cartesian coordinates as they offer a measurement of both distance and angle between word pairs, capturing relative positions more effectively. Furthermore, by feeding the distances and angles into 2-D Gaussian kernels, we model intuitive inductive layout biases, i.e., the words closer within a document should receive more attention, which will act as the attention biases to revise the textual attention distribution. LAGaBi is modelagnostic and language-independent, which can be applied to a range of transformer-based models, such as the text pre-training models from the BERT series and the LayoutLM series that incorporate visual features. Experimental results on three widely used benchmarks demonstrate that, despite reducing the number of layout parameters from millions to 48, LAGaBi achieves competitive or even superior performance. Our code is available on GitHub 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation 引用了 Unsupervised Cross-lingual Representation Learning at Scale
- LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking 引用了 LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking 引用了 Unsupervised Cross-lingual Representation Learning at Scale
- LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking 引用了 DocFormer: End-to-End Transformer for Document Understanding
- DocFormer: End-to-End Transformer for Document Understanding 引用了 LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- Modeling Layout Reading Order as Ordering Relations for Visually-rich Document Understanding 引用了 LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking
- Modeling Layout Reading Order as Ordering Relations for Visually-rich Document Understanding 引用了 DocFormer: End-to-End Transformer for Document Understanding
引用它的顶会 Paper1
它引用的 Paper11
- Train Short, Test Long: Attention with Linear Biases Enables Input Length ExtrapolationOfir Press, Noah A. Smith, Mike LewisICLR 2022 · 1,168 次引用
- LayoutLMv3: Pre-training for Document AI with Unified Text and Image MaskingYupan Huang, Tengchao Lv, Lei Cui, Yutong Lu 等ACM MM 2022 · 606 次引用
- LayoutLM: Pre-training of Text and Layout for Document Image UnderstandingYiheng Xu, Minghao Li, Lei Cui, Shaohan Huang 等KDD 2020 · 575 次引用
- Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary 等ACL 2020 · 539 次引用
- DocFormer: End-to-End Transformer for Document UnderstandingSrikar Appalaraju, Bhavan Jasani, Bhargava Urala Kota, Yusheng Xie 等ICCV 2021 · 392 次引用
相关 Paper
- A Simple yet Effective Layout Token in Large Language Models for Document UnderstandingZhaoqing Zhu, Chuwei Luo, Zirui Shao, Feiyu Gao 等CVPR 2025
- StructMAR: Structure-Aware Masked Autoregression for Explicit Layout Alignment in Text-to-Image GenerationGang Cao, Junying ZhangICML 2026
- Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language ModelsRunsong Zhao, Xin Liu, Xinyu Liu, Pengcheng Huang 等EMNLP Findings 2025 · 1 次引用
- Enhancing Document Understanding with Group Position Embedding: A Novel Approach to Incorporate Layout InformationYuke Zhu, Yue Zhang, Dongdong Liu, Chi Xie 等ICLR 2025
- LayoutLLM: Layout Instruction Tuning with Large Language Models for Document UnderstandingChuwei Luo, Yufan Shen, Zhaoqing Zhu, Qi Zheng 等CVPR 2024 · 39 次引用
