Abstract
Scene Text Image Super-resolution (STISR) aims to recover high-resolution (HR) text images from low-resolution (LR) inputs to improve the performance of downstream optical character recognition (OCR) systems. Traditional methods often struggle with complex backgrounds, leading to mis-reconstruction and localization errors. This paper introduces LEMMA (Location Enhanced Multi-ModAl network), a framework that explicitly identifies and enhances character regions. By utilizing a Location Enhancement Module (LEM) and bidirectional visual-semantic alignment, LEMMA prioritizes text clarity over generic image reconstruction. Experimental results on the TextZoom benchmark demonstrate that LEMMA achieves state-of-the-art recognition accuracy, particularly on challenging "Hard" subsets and long text sequences.
Introduction
In real-world scenarios, text captured in photos is often blurred or downsampled, hindering the accuracy of OCR systems. Scene Text Image Super-resolution (STISR) serves as a critical preprocessing step to restore these images. However, existing STISR methods frequently treat foreground characters and complex backgrounds (e.g., shadows, textures, or fences) with equal importance. This lack of differentiation often results in "hallucinated" strokes where background noise is mistaken for character features, or localization errors where the boundaries of characters become blurred.
To address these issues, we present LEMMA. Unlike previous approaches that rely solely on image-level supervision, LEMMA leverages character-level location information to guide the reconstruction process, ensuring the model focuses its computational resources on the most informative regions of the image.
Methodology
The LEMMA framework is built upon three primary innovations designed to synchronize visual and semantic information while suppressing background noise.
1. Location Enhancement Module (LEM)
The LEM is designed to pinpoint character regions using attention maps from a pre-trained text recognizer. To account for "attention drift"—a common phenomenon where a recognizer's focus shifts slightly away from the character center—LEM employs a Compression and Expansion strategy. This strategy processes attention maps to ensure the entire character region is captured. Furthermore, a Feature Selection technique is used to retain only the "top-K" most relevant character features, effectively filtering out background noise before it can interfere with the reconstruction.
2. Multi-modal Alignment Module (MAM)
While many models use one-way alignment (using image features to guide text), LEMMA introduces bidirectional alignment. The MAM aligns visual features with semantic text features and subsequently uses this bridge to align the text back to the image space. This bidirectional flow ensures that the "what" (semantic identity) and the "where" (spatial coordinates) of each character are perfectly synchronized.
3. Adaptive Fusion Module (AdaFM)
Integrating semantic guidance into the super-resolution process requires precision. AdaFM utilizes channel attention and global depth-wise convolutions to adaptively determine the influence of text-specific guidance at each layer of the network. This allows the model to dynamically balance visual textures and semantic priors based on the specific needs of the input image.
Experiments and Results
LEMMA was evaluated primarily on the TextZoom dataset, which contains real-world LR-HR pairs categorized into Easy, Medium, and Hard subsets. To test generalization, the model was also evaluated on manually degraded versions of standard benchmarks like ICDAR2015, CUTE80, SVT, and SVTP.
Recognition Accuracy vs. PSNR
A key finding of this research is the decoupling of Peak Signal-to-Noise Ratio (PSNR) and OCR accuracy. While some simpler models may achieve higher PSNR by reconstructing the background more accurately, LEMMA prioritizes the reconstruction of character strokes. This focus can lead to lower overall PSNR but results in significantly higher recognition accuracy. On the TextZoom "Hard" subset, LEMMA improved accuracy by 0.6% to 2.0% over the previous state-of-the-art (C3-STISR).
Performance on Long Text
LEMMA demonstrates particular robustness when processing long text strings. Traditional models often suffer from cumulative errors or blurring towards the end of a sequence. By explicitly modeling character locations, LEMMA maintains high reconstruction quality across the entire string, reaching an average accuracy of 66.0% across all TextZoom subsets when using the ASTER recognizer.
Discussion and Limitations
While LEMMA represents a significant step forward, it is not without limitations. The model's performance is partially dependent on the quality of the initial attention maps provided by the pre-trained recognizer. In cases where the input image is extremely degraded, the recognizer may fail to provide useful guidance. Additionally, highly stylized "artistic" fonts or characters that are physically occluded remain challenging for the current architecture.
Conclusion
By shifting the focus from global image reconstruction to explicit character location enhancement, LEMMA provides a more robust solution for STISR. The framework effectively mitigates the distracting influence of complex backgrounds, leading to clearer text and superior performance in downstream OCR tasks. Future work will focus on improving the quality of initial attention maps and extending the model's capabilities to handle more irregular and diverse text shapes.
Summary updated