TL;DR
DualTSR is a unified framework for scene text image super-resolution (STISR) that eliminates the need for external OCR models or complex multi-stage pipelines. By coupling continuous image generation (via flow matching) and discrete text prediction (via absorbing-state diffusion) within a single shared multimodal transformer, it achieves state-of-the-art accuracy while running over 100x faster and using a fraction of the memory of previous diffusion-based methods.
What Problem Does This Paper Address?
Scene Text Image Super-Resolution (STISR) isn't just about making pixels look sharper; it's about preserving the precise semantic meaning of text. Standard image super-resolution methods often blur or distort text strokes, leading to recognition failures. To fix this, modern STISR methods rely heavily on text priors—typically by using a pre-trained, external OCR model to guess the text before trying to upscale the image.
However, this introduces a major bottleneck: if the external OCR model misidentifies a character in a highly degraded, low-resolution image, that error propagates directly into the super-resolution network, resulting in hallucinated strokes and incorrect glyphs. Furthermore, these multi-stage pipelines are computationally heavy, slow, and complex to train. The authors of this paper set out to build a unified framework that can learn both semantic and structural cues internally, without relying on any external OCR priors during inference.
Methods
The authors introduce DualTSR, a framework that formulates STISR as a joint, coupled continuous-discrete generation task:
- Continuous Image Generation: The model uses conditional flow matching (CFM) to reconstruct high-resolution image latents from the low-resolution input.
- Discrete Text Prediction: Simultaneously, an absorbing-state discrete diffusion process reconstructs the text sequence directly within the token space by iteratively unmasking tokens.
- Unified Multimodal Transformer: Instead of using separate networks for text and images, both processes share a single transformer backbone (inspired by the MM-DiT architecture used in Stable Diffusion 3).
During training, the model uses a synchronized corruption strategy, exposing the transformer to partially obscured image and text states at matched noise levels. This forces the visual and textual branches to interact and cooperate at every single layer via a joint attention mechanism, rather than exchanging information only at isolated fusion points.
Datasets
The model was evaluated on two primary benchmarks:
- CTR-TSR: A synthetic Chinese scene text dataset constructed by the authors to mimic the pipeline of previous state-of-the-art methods, containing 64,139 training images and 8,690 testing images.
- RealCE: A real-world Chinese scene text benchmark. Because the original dataset contains alignment and localization errors, the authors curated a clean, well-aligned subset of 300 LR-HR pairs for reliable evaluation.
Key Insights and Ideas
- Layer-Wise Synergy Beats Modular Fusion: Separating text recognition and image generation into distinct modules limits their interaction. By sharing a single transformer backbone, the current text hypothesis directly guides visual stroke reconstruction, while the evolving image simultaneously refines the text prediction at every layer.
- The Sampling Paradox in Text SR: In standard image generation, more diffusion sampling steps usually mean better quality. However, the authors discovered a unique trade-off for text: while more steps improve texture smoothness, they can actually blur fine character strokes. DualTSR achieves its best text legibility using a remarkably low number of steps (just 4 steps), making it incredibly fast.
Key Results
DualTSR achieves state-of-the-art performance across the board while delivering massive efficiency gains:
- Higher Accuracy: On the CTR-TSR dataset at $\times4$ upscaling, DualTSR improves exact-match word recognition accuracy (ACC) by 12.78 percentage points compared to the previous leading diffusion model, DiffTSR.
- Dramatically Faster: It slashes end-to-end latency from 13.3 seconds down to just 132 milliseconds (a $101\times$ speedup), bringing generative STISR into the realm of practical, real-time deployment.
- Lightweight Footprint: It reduces the parameter count from 1.23B to 203M ($6.1\times$ fewer parameters) and cuts peak memory usage from 5.4GB to 1.2GB ($4.5\times$ less memory).
Limitations and Future Work
Despite its strong performance, DualTSR still faces challenges under extreme degradation. When an image is so severely corrupted that virtually all color, font, and stroke cues are missing, the internal text branch can still fail to predict the correct characters.
For future work, the authors suggest that this unified continuous-discrete framework could be extended to other multimodal restoration tasks or adapted to handle broader, multi-language character sets beyond Chinese.
Summary updated