DocSAM: Unified Document Image Segmentation via Query Decomposition and Heterogeneous Mixed Learning
Not on the map. Why?
Abstract (arXiv)
Document image segmentation is crucial for document analysis and recognition but remains challenging due to the diversity of document formats and segmentation tasks. Existing methods often address these tasks separately, resulting in limited generalization and resource wastage. This paper introduces DocSAM, a transformer-based unified framework designed for various document image segmentation tasks, such as document layout analysis, multi-granularity text segmentation, and table structure recognition, by modelling these tasks as a combination of instance and semantic segmentation. Specifically, DocSAM employs Sentence-BERT to map category names from each dataset into semantic queries that match the dimensionality of instance queries. These two sets of queries interact through an attention mechanism and are cross-attended with image features to predict instance and semantic segmentation masks. Instance categories are predicted by computing the dot product between instance and semantic queries, followed by softmax normalization of scores. Consequently, DocSAM can be jointly trained on heterogeneous datasets, enhancing robustness and generalization while reducing computational and storage resources. Comprehensive evaluations show that DocSAM surpasses existing methods in accuracy, efficiency, and adaptability, highlighting its potential for advancing document image understanding and segmentation across various applications. Codes are available at https://github.com/xhli-git/DocSAM.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 81 of its 109 references that are in the map. First posted on arXiv 5 Apr 2025.
Builds on
81 of 109 references.
References · 81
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2023Segment Anythingcited by 8,234
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017Mask R-CNNcited by 7,277
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
38 more
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2018YOLOv3: An Incremental Improvementcited by 2,659
- 2023A Survey of Large Language Modelscited by 2,576
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,292
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,152
- 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 495
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
- 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 485
- 2019Distance-IoU Loss: Faster and Better Learning for Bounding Box Regressioncited by 459
- 2019PubLayNet: largest dataset ever for document layout analysiscited by 351
- 2019Image-based table recognition: data, model, and evaluationcited by 237
- 2016COCO-Text: Dataset and Benchmark for Text Detection and Recognition in Natural Imagescited by 236
- 2024mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understandingcited by 220
- 2024TextMonkey: An OCR-Free Large Multimodal Model for Understanding Documentcited by 174
- 2023mPLUG-DocOwl: Modularized Multimodal Large Language Model for Document Understandingcited by 168
- 2017Total-Text: A Comprehensive Dataset for Scene Text Detection and Recognitioncited by 162
- 2020DocBank: A Benchmark Dataset for Document Layout Analysiscited by 153
- 2022DiT: Self-supervised Pre-training for Document Image Transformercited by 152
- 2019ICDAR2019 Robust Reading Challenge on Arbitrary-Shaped Text (RRC-ArT)cited by 147
- 2020Global Table Extractor (GTE): A Framework for Joint Table Identification and Cell Structure Recognition Using Visual Contextcited by 147
- 2022Unifying Vision, Text, and Layout for Universal Document Processingcited by 140
- 2019ICDAR2019 Robust Reading Challenge on Multi-lingual Scene Text Detection and Recognition -- RRC-MLT-2019cited by 139
- 2019ICDAR 2019 Robust Reading Challenge on Reading Chinese Text on Signboardcited by 128
- 2021PubTables-1M: Towards comprehensive table extraction from unstructured documentscited by 126
- 2019ICDAR 2019 Competition on Large-scale Street View Text with Partial Labeling -- RRC-LSVTcited by 122
- 2023DocLLM: A layout-aware generative language model for multimodal document understandingcited by 116
- 2018TextSnake: A Flexible Representation for Detecting Text of Arbitrary Shapescited by 114
- 2023DocPedia: Unleashing the Power of Large Multimodal Model in the Frequency Domain for Versatile Document Understandingcited by 106
- 2017ICDAR2017 Competition on Reading Chinese Text in the Wild (RCTW-17)cited by 105
- 2019TableBank: A Benchmark Dataset for Table Detection and Recognitioncited by 102
50 most cited of 81 All 81 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026DocSplit: A Comprehensive Benchmark Dataset and Evaluation Approach for Document Packet Recognition and Splittingcited by 5
- 2025DvD: Unleashing a Generative Paradigm for Document Dewarping via Coordinates-based Diffusion Modelcited by 4
- 2025Hierarchical structure understanding in complex tables with VLLMs: a benchmark and experimentscited by 0
- 2026ET-SAM: Efficient Point Prompt Prediction in SAM for Unified Scene Text Detection and Layout Analysiscited by 0
- 2026ET-SAM: Efficient Point Prompt Prediction in SAM for Unified Scene Text Detection and Layout Analysis26 Mar 2026
- 2026DocSplit: A Comprehensive Benchmark Dataset and Evaluation Approach for Document Packet Recognition and Splitting17 Feb 2026
- 2025Hierarchical structure understanding in complex tables with VLLMs: a benchmark and experiments11 Nov 2025
- 2025DvD: Unleashing a Generative Paradigm for Document Dewarping via Coordinates-based Diffusion Model28 May 2025