Skip to main content
QUICK REVIEW

[Paper Review] ESTISR: Adapting Efficient Scene Text Image Super-resolution for Real-Scenes

Minghao Fu, Xin Man|arXiv (Cornell University)|Jun 4, 2023
Advanced Image Processing TechniquesComputer Science3 citations
TL;DR

ESTISR proposes an efficient scene text image super-resolution network that combines a re-parameterized inverted residual block for lightweight feature extraction and a novel linear-complexity self-attention mechanism with softmax shrinking to enhance efficiency and performance. It achieves state-of-the-art STR accuracy with 25.52ms inference time and 1.02GB memory usage, significantly outperforming prior methods in speed and efficiency while maintaining high image quality.

ABSTRACT

While scene text image super-resolution (STISR) has yielded remarkable improvements in accurately recognizing scene text, prior methodologies have placed excessive emphasis on optimizing performance, rather than paying due attention to efficiency - a crucial factor in ensuring deployment of the STISR-STR pipeline. In this work, we propose a novel Efficient Scene Text Image Super-resolution (ESTISR) Network for resource-limited deployment platform. ESTISR's functionality primarily depends on two critical components: a CNN-based feature extractor and an efficient self-attention mechanism used for decoding low-resolution images. We designed a re-parameterized inverted residual block specifically suited for resource-limited circumstances as the feature extractor. Meanwhile, we proposed a novel self-attention mechanism, softmax shrinking, based on a kernel-based approach. This innovative technique offers linear complexity while also naturally incorporating discriminating low-level features into the self-attention structure. Extensive experiments on TextZoom show that ESTISR retains a high image restoration quality and improved STR accuracy of low-resolution images. Furthermore, ESTISR consistently outperforms current methods in terms of actual running time and peak memory consumption, while achieving a better trade-off between performance and efficiency.

Motivation & Objective

  • To address the inefficiency of existing scene text image super-resolution (STISR) methods that hinder deployment on resource-limited devices.
  • To reduce the computational and memory overhead of STISR models without sacrificing image restoration quality or text recognition accuracy.
  • To design a lightweight feature extractor suitable for low-resource environments while preserving strong representation capacity.
  • To develop a self-attention mechanism with linear complexity that integrates low-level features to improve performance in text-focused image restoration.
  • To achieve a better trade-off between performance and efficiency in the STISR-STR pipeline for real-world applications.

Proposed method

  • A re-parameterized inverted residual block (RIRB) is designed as the feature extractor, enabling high feature extraction capability during training and fast inference via structural re-parameterization.
  • A novel self-attention mechanism called 'softmax shrinking' is proposed, which uses a kernel-based approach to reduce complexity from O(n²) to O(n) while incorporating low-level features.
  • The low-level feature generator produces a matrix that acts as a third-party similarity factor between query and key in the scaled dot-product attention, enhancing locality discrimination.
  • The self-attention mechanism is integrated into a CNN-Transformer hybrid decoder to jointly exploit local and global dependencies in low-resolution text images.
  • The model is trained end-to-end on the TextZoom dataset with supervision on both image restoration and text recognition accuracy.
  • The method is evaluated using inference time, memory consumption, PSNR, SSIM, and STR accuracy on CRNN-based recognition.
Figure 1 : Overall network architecture of the proposed efficient scene text image super-resolution (ESTISR). LMHSA represents multi-head self-attention with linear complexity, LN denotes layer normalization, BN denotes batch normalization, and FFN is the feed-forward network [ 36 ] .
Figure 1 : Overall network architecture of the proposed efficient scene text image super-resolution (ESTISR). LMHSA represents multi-head self-attention with linear complexity, LN denotes layer normalization, BN denotes batch normalization, and FFN is the feed-forward network [ 36 ] .

Experimental results

Research questions

  • RQ1Can a re-parameterized inverted residual block achieve high feature extraction performance while maintaining fast inference speed in resource-constrained settings?
  • RQ2Can a linear-complexity self-attention mechanism with low-level feature injection outperform standard Transformer-based attention in STISR tasks?
  • RQ3Does integrating low-level priors into the attention mechanism improve image restoration quality and STR accuracy?
  • RQ4To what extent can ESTISR reduce inference time and memory usage compared to existing STISR models while maintaining or improving performance?
  • RQ5Is the proposed softmax shrinking mechanism more effective than other kernel-based attention approximations in low-level vision tasks like text super-resolution?

Key findings

  • ESTISR achieves 46.1% STR accuracy on the TextZoom dataset, outperforming all baselines, including TBSRN and TATT, which are significantly slower.
  • The model reduces inference time to 25.52ms and peak memory usage to 1.02GB, representing a 59% reduction in time and 75% reduction in memory compared to TBSRN.
  • The proposed softmax shrinking self-attention mechanism achieves 20.75 PSNR and 0.7607 SSIM, outperforming vanilla self-attention and other kernel-based methods like Performer and RFA.
  • The ablation study confirms that removing the low-level feature generator leads to a drop in performance, proving its importance in enhancing attention quality.
  • Cosformer and RFA show significant performance degradation (40.62% and 41.09% accuracy), indicating that not all kernel-based attention methods are suitable for low-level text restoration.
  • The model demonstrates a superior performance-efficiency trade-off, with ESTISR achieving the best balance among all evaluated methods in terms of speed, memory, and accuracy.
Figure 2 : Residual block (a), inverted residual block (b) and our re-parameterized inverted residual block (c).
Figure 2 : Residual block (a), inverted residual block (b) and our re-parameterized inverted residual block (c).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.