Ayan Banerjee, Sanket Biswas, Josep Llad'os, U. Pal
{"title":"SwinDocSegmenter: An End-to-End Unified Domain Adaptive Transformer for Document Instance Segmentation","authors":"Ayan Banerjee, Sanket Biswas, Josep Llad'os, U. Pal","doi":"10.48550/arXiv.2305.04609","DOIUrl":null,"url":null,"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}","PeriodicalId":294655,"journal":{"name":"IEEE International Conference on Document Analysis and Recognition","volume":"87 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE International Conference on Document Analysis and Recognition","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2305.04609","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
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}
文档的实例级分割包括为图像的每个像素分配一个类感知和实例感知的标签。这是他们理解文档解析的关键步骤。在本文中,我们提出了一种统一的转换器编码器-解码器架构,用于文档图像中复杂布局的端到端实例分割。该方法对解码器中的锚初始化采用混合查询选择的对比训练。随后,它在获得的查询嵌入和像素嵌入映射(来自编码器)之间执行点积,以进行语义推理。在pubaynet、PRIMA、Historical Japanese (HJ)和TableBank等具有竞争力的基准测试上进行的大量实验表明,使用SwinL主干的模型比现有的最先进的方法获得了更好的分割性能,在10亿个参数下,平均精度分别为\textbf{93.72}、\textbf{54.39}、\textbf{84.65}和\textbf{98.04}。守则已于以下网址公开: \href{https://github.com/ayanban011/SwinDocSegmenter}{github.com/ayanban011/SwinDocSegmenter}