mlsanityData to 13 Oct 2026

Spatial ModernBERT: Spatial-Aware Transformer for Table and Key-Value Extraction in Financial Documents at Scale

arXiv 2507.08865 ↗First posted 9 Jul 2025cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Extracting tables and key-value pairs from financial documents is essential for business workflows such as auditing, data analytics, and automated invoice processing. In this work, we introduce Spatial ModernBERT-a transformer-based model augmented with spatial embeddings-to accurately detect and extract tabular data and key-value fields from complex financial documents. We cast the extraction task as token classification across three heads: (1) Label Head, classifying each token as a label (e.g., PO Number, PO Date, Item Description, Quantity, Base Cost, MRP, etc.); (2) Column Head, predicting column indices; (3) Row Head, distinguishing the start of item rows and header rows. The model is pretrained on the PubTables-1M dataset, then fine-tuned on a financial document dataset, achieving robust performance through cross-entropy loss on each classification head. We propose a post-processing method to merge tokens using B-I-IB tagging, reconstruct the tabular layout, and extract key-value pairs. Empirical evaluation shows that Spatial ModernBERT effectively leverages both textual and spatial cues, facilitating highly accurate table and key-value extraction in real-world financial documents.

Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 42 of its 60 references that are in the map. First posted on arXiv 9 Jul 2025.

Builds on

42 of 60 references.

References · 42

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  3. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,625
  4. 2020End-to-End Object Detection with Transformerscited by 7,396
  5. 2025Qwen2.5-VL Technical Reportcited by 5,499
  6. 2023Improved Baselines with Visual Instruction Tuningcited by 4,389
  7. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,368
  8. 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,154
  9. 2021YOLOX: Exceeding YOLO Series in 2021cited by 1,069
  10. 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 551
  11. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 544
  12. 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 482
30 more
  1. 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 406
  2. 2021OCR-free Document Understanding Transformercited by 402
  3. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 362
  4. 2019FUNSD: A Dataset for Form Understanding in Noisy Scanned Documentscited by 345
  5. 2021DocFormer: End-to-End Transformer for Document Understandingcited by 254
  6. 2019Image-based table recognition: data, model, and evaluationcited by 233
  7. 2022DiT: Self-supervised Pre-training for Document Image Transformercited by 152
  8. 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
  9. 2021PubTables-1M: Towards comprehensive table extraction from unstructured documentscited by 122
  10. 2021SelfDoc: Self-Supervised Document Representation Learningcited by 117
  11. 2022LiLT: A Simple yet Effective Language-Independent Layout Transformer for Structured Document Understandingcited by 107
  12. 2021BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documentscited by 104
  13. 2020CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documentscited by 98
  14. 2022TableFormer: Table Structure Understanding with Transformerscited by 93
  15. 2019Complicated Table Structure Recognitioncited by 91
  16. 2021StrucTexT: Structured Text Understanding with Multi-Modal Transformerscited by 90
  17. 2022Unified Pretraining Framework for Document Understandingcited by 85
  18. 2020TableNet: Deep Learning model for end-to-end Table detection and Tabular data extraction from Scanned Document Imagescited by 69
  19. 2022XYLayoutLM: Towards Layout-Aware Multimodal Networks For Visually-Rich Document Understandingcited by 68
  20. 2021LGPMA: Complicated Table Structure Recognition with Local and Global Pyramid Mask Alignmentcited by 46
  21. 2021Split, embed and merge: An accurate table structure recognizercited by 42
  22. 2023Improving Table Structure Recognition with Visual-Alignment Sequential Coordinate Modelingcited by 41
  23. 2021Neural Collaborative Graph Machines for Table Structure Recognitioncited by 30
  24. 2022TRUST: An Accurate and End-to-End Table structure Recognizer Using Splitting-based Transformerscited by 19
  25. 2023Aligning benchmark datasets for table structure recognitioncited by 15
  26. 2023GridFormer: Towards Accurate Table Structure Recognition via Grid Predictioncited by 13
  27. 2015A Survey on Hough Transform, Theory, Techniques and Applicationscited by 11
  28. 2023Rethinking Image-based Table Recognition Using Weakly Supervised Methodscited by 10
  29. 2022SpaDE: Improving Sparse Representations using a Dual Document Encoder for First-stage Retrievalcited by 6
  30. 2024Multi-Cell Decoder and Mutual Learning for Table Structure and Character Recognitioncited by 5

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 1.

1 paper.