Abstract
In text recognition, self-supervised pre-training emerges as a good solution to reduce dependence on expansive annotated real data. Previous studies primarily focus on local visual representation by leveraging mask image modeling or sequence contrastive learning. However, they omit modeling the linguistic information in text images, which is crucial for recognizing text. To simultaneously capture local character features and linguistic information in visual space, we propose Symmetric Superimposition Modeling (SSM). The objective of SSM is to reconstruct the direction-specific pixel and feature signals from the symmetrically superimposed input. Specifically, we add the original image with its inverted views to create the symmetrically superimposed inputs. At the pixel level, we reconstruct the original and inverted images to capture character shapes and texture-level linguistic context. At the feature level, we reconstruct the feature of the same original image and inverted image with different augmentations to model the semantic-level linguistic context and the local character discrimination. In our design, we disrupt the character shape and linguistic rules. Consequently, the dual-level reconstruction facilitates understanding character shapes and linguistic information from the perspective of visual texture and feature semantics. Experiments on various text recognition benchmarks demonstrate the effectiveness and generality of SSM, with 4.1% average performance gains and 86.6% new state-of-the-art average word accuracy on Union14M benchmarks.
Introduction
Recognizing text in the wild—on signs, packaging, or artistic logos—is challenging due to the scarcity of labeled real-world data. While self-supervised learning (SSL) has helped bridge this gap, existing methods like Masked Image Modeling (MIM) and Sequence Contrastive Learning (SCL) often focus exclusively on local visual features, such as character curves. They frequently ignore linguistic information—the implicit rules of character sequences and context. Symmetric Superimposition Modeling (SSM) addresses this by introducing a pretext task that disrupts both character shapes and linguistic flow, forcing the model to learn deeper, more robust representations to solve the visual puzzle.
Methodology: The SSM Framework
The core of the proposed method is the Symmetric Superimposition Modeling pretext task, implemented via a Siamese network architecture.
Symmetric Superimposition
For any given text image, the system creates an "inverted view" using horizontal flip, vertical flip, or 180-degree rotation. This inverted view is superimposed (added) onto the original image. This process creates a complex input where characters overlap, breaking standard visual patterns and forcing the model to learn the internal logic of character sequences to separate the two views.
Dual-Branch Reconstruction
The model employs a two-pronged approach to reconstruction:
- Pixel-level Reconstruction: An encoder-regressor-decoder setup takes the superimposed image and, guided by a "direction prompt," reconstructs the clean original and inverted images. This captures character shapes and texture-level linguistic context.
- Feature-level Reconstruction: To prevent "feature collapse," a target branch generates high-dimensional feature keys. The online branch must match these keys, ensuring the model learns semantic-level linguistic context and local character discrimination.
Experiments and Results
The authors utilized massive datasets for pre-training, including Union14M-U (10 million real images) and OCR-CC (15.77 million images). Evaluation was conducted across common benchmarks and the rigorous Union14M benchmarks.
Qualitative Performance
The model's ability to "unmix" superimposed images is demonstrated through its successful reconstruction of original and inverted views across various symmetry types.
Key Insights
- Rotation as a Strong Signal: Ablation studies revealed that 180-degree rotation is the most effective inversion technique. Unlike simple flips, rotation changes both character orientation and reading order, providing the strongest signal for learning linguistic rules.
- State-of-the-Art Accuracy: SSM achieved an average word accuracy of 86.6% on the Union14M benchmarks, a significant improvement over previous methods.
- Data Efficiency: The model performs exceptionally well in low-data scenarios. When fine-tuned on only 1% of labeled data, SSM significantly outperformed existing state-of-the-art methods, proving its pre-training captures highly reusable knowledge.
- Multilingual Superiority: In multilingual tests (MLT19), SSM outperformed the runner-up by 15.5% on average, with a remarkable 27.4% gain on Arabic text, likely due to its proficiency in handling varied reading directions.
Conclusion
Symmetric Superimposition Modeling represents a significant step forward in self-supervised text recognition. By forcing models to disentangle blended text images, SSM effectively captures the synergy between visual character features and linguistic context. While challenges remain in handling extreme artistic distortions, the framework's efficiency and cross-lingual performance establish a new standard for the field.
Code is available at: https://github.com/FaltingsA/SSM
Summary updated