SwinDocSegmenter: An End-to-End Unified Domain Adaptive Transformer for Document Instance Segmentation

Ayan Banerjee, Sanket Biswas, Josep Lladós, Umapada Pal
5/8/2023
cs.CVcs.LG

Official code: ayanban011/SwinDocSegmenter (75 stars, Apache-2.0, last commit 2024-09-12).

Abstract

Instance-level segmentation of documents consists in assigning a class-aware and instance-aware label to each pixel of the image. It is a key step in document parsing for their understanding. In this paper, we present a unified transformer encoder-decoder architecture for en-to-end instance segmentation of complex layouts in document images. The method adapts a contrastive training with a mixed query selection for anchor initialization in the decoder. Later on, it performs a dot product between the obtained query embeddings and the pixel embedding map (coming from the encoder) for semantic reasoning. Extensive experimentation on competitive benchmarks like PubLayNet, PRIMA, Historical Japanese (HJ), and TableBank demonstrate that our model with SwinL backbone achieves better segmentation performance than the existing state-of-the-art approaches with the average precision of \textbf{93.72}, \textbf{54.39}, \textbf{84.65} and \textbf{98.04} respectively under one billion parameters. The code is made publicly available at: \href{https://github.com/ayanban011/SwinDocSegmenter}{github.com/ayanban011/SwinDocSegmenter}

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICDAR 2023] (Oral) An End-to-End Unified Domain Adaptive Transformer for Document Instance Segmentation

7541C++, CudaApr 17, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{banerjee2023swindocsegmenter,
  title  = {SwinDocSegmenter: An End-to-End Unified Domain Adaptive Transformer for Document Instance Segmentation},
  author = {Ayan Banerjee and Sanket Biswas and Josep Lladós and Umapada Pal},
  year   = {2023},
  eprint = {2305.04609},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.04609v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.04609.svg)](https://codeofpaper.com/paper/2305.04609)

Discussion