Abstract
The adaptation capability to a wide range of domains is crucial for scene text spotting models when deployed to real-world conditions. However, existing state-of-the-art (SOTA) approaches usually incorporate scene text detection and recognition simply by pretraining on natural scene text datasets, which do not directly exploit the intermediate feature representations between multiple domains. Here, we investigate the problem of domain-adaptive scene text spotting, i.e., training a model on multi-domain source data such that it can directly adapt to target domains rather than being specialized for a specific domain or scenario. Further, we investigate a transformer baseline called Swin-TESTR to focus on solving scene-text spotting for both regular and arbitrary-shaped scene text along with an exhaustive evaluation. The results clearly demonstrate the potential of intermediate representations to achieve significant performance on text spotting benchmarks across multiple domains (e.g. language, synth-to-real, and documents), both in terms of accuracy and efficiency.
Introduction
Scene text spotting—the joint task of detecting and recognizing text in natural images—is a cornerstone of computer vision with applications ranging from autonomous driving to document digitization. However, models often struggle with the "domain gap," where a system trained on synthetic English data fails to generalize to diverse real-world scenarios, such as curved Vietnamese signs or dense Chinese documents. Traditional approaches rely on pre-training on synthetic data followed by narrow fine-tuning, which is computationally expensive and prone to "catastrophic forgetting."
This research investigates whether diverse, multi-lingual real-world data can serve as a "domain-agnostic" foundation for more robust text spotting. By leveraging rich intermediate feature representations, the authors demonstrate that models can adapt more effectively to new languages and layouts without exhaustive specialized training.
Swin-TESTR: A Hierarchical Transformer Baseline
To address these challenges, the authors introduce Swin-TESTR, an evolution of the Transformer-based Text Spotter (TESTR). The architecture is designed to capture both local character details and global contextual relationships through a unified single-encoder, dual-decoder setup.
The model consists of three primary components:
- Swin-Transformer Backbone: Unlike standard CNNs, the Swin-tiny backbone generates hierarchical feature maps, allowing the model to process text at multiple scales.
- Transformer Encoder: This component encodes image features into positional object queries, facilitating the detection of text instances.
- Dual Decoders: One decoder predicts text location (using control points for arbitrary shapes), while the other performs character recognition.
The Multi-Lingual Bridge
The core innovation lies in the use of multi-lingual datasets, specifically MLT17 (covering 6 languages and 8 scripts), as an intermediate representation. The authors identify MLT17 as a uniquely powerful bridge; because it contains a massive variety of scripts and orientations, pre-training on it allows the model to "learn how to learn" universal text features.
By analyzing perceptual similarity metrics like FID and SSIM, the study found that datasets with similar structural characteristics (e.g., MLT17 and Total-Text) transfer knowledge more effectively. This suggests that the richness of the intermediate feature representation is the primary driver of adaptation performance, allowing the model to generalize to "Out-of-Vocabulary" (OOV) words by understanding character structures rather than memorizing a dictionary.
Performance and Adaptation Results
The efficacy of this multi-lingual pre-training is evident in the model's performance across various benchmarks. Swin-TESTR achieved state-of-the-art (SOTA) results, including an H-mean of 87.95% for detection on Total-Text and 90.13% on ICDAR15.
As shown in the performance charts, the inclusion of multi-lingual data (MLT) consistently improves results compared to training on synthetic data alone. Notably, on the CTW1500 dataset, which features long and curved text, the model reached 82.91% in end-to-end recognition with a full lexicon. The model maintains high accuracy without needing the complex linguistic modeling used by many competitors, relying instead on superior visual representations.
Conclusion and Future Directions
Swin-TESTR demonstrates that robust visual representations, bolstered by multi-lingual pre-training, can significantly close the domain gap in scene text spotting. While the model excels at text-centric tasks, it currently struggles with non-textual document elements like tables or separators, as its weights are optimized specifically for spotting text. Future work will focus on integrating even more diverse datasets and balancing text-spotting capabilities with general object detection to enhance performance in complex document layout analysis.
Summary updated