Abstract
Scene Text Image Super-Resolution (STISR) is critical for enhancing the performance of Optical Character Recognition (OCR) systems in real-world scenarios. However, traditional upsampling modules often introduce jagged edges and pixel-wise noise that hinder recognition. This paper introduces the Robust Text Super-Resolution Network (RTSRN), which incorporates a novel Pixel Adapter Module (PAM). By treating pixels as nodes in a local graph, PAM effectively refines the upsampled image with high efficiency. Combined with an MLP-based sequential backbone and a contour-aware loss function, the proposed method achieves state-of-the-art performance on the TextZoom benchmark and demonstrates superior generalization across diverse datasets.
Introduction
Scene Text Image Super-Resolution (STISR) focuses on reconstructing high-resolution (HR) text from low-resolution (LR) images captured in challenging environments, such as distant street signs or distorted documents. While significant progress has been made in feature extraction, the upsampling stage remains a critical bottleneck. Standard techniques like Pixel Shuffle often aggregate neighboring pixels without considering the structural relationships between adjacent groups, leading to "meaningless noise" and blurred contours. These artifacts significantly degrade the accuracy of downstream OCR engines.
To address this, we present the Pixel Adapter Module (PAM), a graph-based post-processing tool designed to rectify distortions introduced during upsampling. Unlike previous graph-based methods that suffer from high computational complexity, PAM utilizes a localized sliding window approach to maintain efficiency while ensuring structural integrity.
Methodology
Robust Text Super-Resolution Network (RTSRN)
The RTSRN framework consists of three primary components designed to capture the unique structural and sequential nature of text.
1. Pixel Adapter Module (PAM)
The PAM is the core innovation of this work. It treats pixels as nodes within a graph to model local spatial relationships. To overcome the memory and latency issues of traditional Graph Attention Networks (GATs), which typically utilize massive adjacency matrices, PAM employs a sliding window mechanism. Each pixel only interacts with its immediate 3x3 neighborhood. This localized approach allows for parallel computation, resulting in a 100x to 1000x speedup compared to previous pixel-wise graph methods while effectively smoothing jagged edges.
2. MLP-based Sequential Residual Block (MSRB)
Text is inherently directional and sequential. The MSRB backbone utilizes Multi-Axis Dynamic Mix (MADM) layers—MLP-based structures that process features along horizontal, vertical, and channel axes. These are integrated with LSTMs to capture the long-range dependencies necessary for recognizing strings of characters.
3. Local Contour Awareness (LCA) Loss
Standard reconstruction losses (e.g., L1 or L2) often fail to preserve the sharp boundaries required for character recognition. The RTSRN utilizes a Local Contour Awareness ($L_{lca}$) loss based on the Histogram of Oriented Gradients (HOG). By supervising the model on gradient orientations rather than raw pixel intensities, the network is forced to prioritize the structural contours of the text.
Experimental Results
Benchmarking on TextZoom
The model was primarily evaluated on the TextZoom dataset, which contains over 21,000 LR-HR pairs from real-world captures. The RTSRN consistently outperformed existing state-of-the-art (SOTA) methods:
- Single-stage training: Recognition accuracy improved from 52.6% to 53.3%.
- Multi-stage training: Accuracy increased from 53.7% to 56.3%.
Generalization and Efficiency
To test robustness against domain shift, the model was evaluated on ICDAR2015, SVTP, and COCOText without additional fine-tuning. RTSRN exceeded previous leading models, such as TATT, by up to 5.5% in recognition accuracy. Qualitatively, the outputs showed significantly sharper edges and fewer artifacts in characters like 'e' and 'o', which are traditionally prone to blurring. Furthermore, the PAM's efficiency makes it a viable candidate for real-time applications where previous graph-based post-processing was too computationally expensive.
Conclusion
The Pixel Adapter Module provides a highly efficient solution to the long-standing problem of upsampling artifacts in STISR. By combining local graph attention with a contour-aware loss function, the RTSRN achieves superior text reconstruction and recognition accuracy. Future work will explore the applicability of the Pixel Adapter to general image restoration tasks, such as denoising and non-textual super-resolution.
Summary updated