Transformer-Based UNet with Multi-Headed Cross-Attention Skip Connections to Eliminate Artifacts in Scanned Documents

AI-generated keywords: Transformer-Based UNet

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors David Kreuzer and Michael Munz address the need for high-quality text extraction in document analysis tasks such as Document Classification and Named Entity Recognition.
  • Challenges posed by poor scan quality and resulting artifacts can introduce errors in the Optical Character Recognition (OCR) process.
  • The proposed approach combines a modified UNet structure with a Swin Transformer backbone to eliminate typical artifacts found in scanned documents.
  • Multi-headed cross-attention skip connections enhance the model's ability to address compression errors, pixelation, and random noise.
  • Experimental results show a significant improvement in text extraction quality, achieving a reduced error rate of up to 53.9% on synthetic data.
  • The pretrained base-model is adaptable to new artifacts, demonstrating flexibility and scalability.
  • Cross-attention skip connections allow integration of textual information from the encoder or input commands to more effectively control the model's output.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: David Kreuzer, Michael Munz

Abstract: The extraction of text in high quality is essential for text-based document analysis tasks like Document Classification or Named Entity Recognition. Unfortunately, this is not always ensured, as poor scan quality and the resulting artifacts lead to errors in the Optical Character Recognition (OCR) process. Current approaches using Convolutional Neural Networks show promising results for background removal tasks but fail correcting artifacts like pixelation or compression errors. For general images, Transformer backbones are getting integrated more frequently in well-known neural network structures for denoising tasks. In this work, a modified UNet structure using a Swin Transformer backbone is presented to remove typical artifacts in scanned documents. Multi-headed cross-attention skip connections are used to more selectively learn features in respective levels of abstraction. The performance of this approach is examined regarding compression errors, pixelation and random noise. An improvement in text extraction quality with a reduced error rate of up to 53.9% on the synthetic data is archived. The pretrained base-model can be easily adapted to new artifacts. The cross-attention skip connections allow to integrate textual information extracted from the encoder or in form of commands to more selectively control the models outcome. The latter is shown by means of an example application.

Submitted to arXiv on 05 Jun. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2306.02815v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

, , , , In their paper titled "Transformer-Based UNet with Multi-Headed Cross-Attention Skip Connections to Eliminate Artifacts in Scanned Documents," authors David Kreuzer and Michael Munz address the crucial need for high-quality text extraction in document analysis tasks such as Document Classification and Named Entity Recognition. They highlight the challenges posed by poor scan quality and resulting artifacts that can introduce errors in the Optical Character Recognition (OCR) process. Convolutional Neural Networks have shown promise in background removal tasks, but they often struggle to correct artifacts like pixelation or compression errors. To tackle these issues, the authors propose a novel approach that combines a modified UNet structure with a Swin Transformer backbone specifically designed to eliminate typical artifacts found in scanned documents. By incorporating multi-headed cross-attention skip connections, the model can selectively learn features at different levels of abstraction, enhancing its ability to address compression errors, pixelation, and random noise. Through experimentation, the authors demonstrate a significant improvement in text extraction quality, achieving a reduced error rate of up to 53.9% on synthetic data. They also highlight the adaptability of their pretrained base-model to new artifacts, showcasing the model's flexibility and scalability. Additionally, by leveraging cross-attention skip connections, textual information extracted from the encoder or input commands can be integrated to more effectively control the model's output. Overall, this innovative approach offers a promising solution for enhancing text extraction accuracy in scanned documents by effectively addressing common artifacts through a combination of UNet architecture and Transformer backbone with multi-headed cross-attention skip connections. The authors provide compelling evidence of its efficacy through experimental results and demonstrate its potential for practical applications through an illustrative example.
Created on 21 Mar. 2025

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.