English

Masked Self-Supervised Pre-Training for Text Recognition Transformers on Large-Scale Datasets

Computer Vision and Pattern Recognition 2025-03-31 v1 Artificial Intelligence Machine Learning

Abstract

Self-supervised learning has emerged as a powerful approach for leveraging large-scale unlabeled data to improve model performance in various domains. In this paper, we explore masked self-supervised pre-training for text recognition transformers. Specifically, we propose two modifications to the pre-training phase: progressively increasing the masking probability, and modifying the loss function to incorporate both masked and non-masked patches. We conduct extensive experiments using a dataset of 50M unlabeled text lines for pre-training and four differently sized annotated datasets for fine-tuning. Furthermore, we compare our pre-trained models against those trained with transfer learning, demonstrating the effectiveness of the self-supervised pre-training. In particular, pre-training consistently improves the character error rate of models, in some cases up to 30 % relatively. It is also on par with transfer learning but without relying on extra annotated text lines.

Keywords

Cite

@article{arxiv.2503.22513,
  title  = {Masked Self-Supervised Pre-Training for Text Recognition Transformers on Large-Scale Datasets},
  author = {Martin Kišš and Michal Hradiš},
  journal= {arXiv preprint arXiv:2503.22513},
  year   = {2025}
}

Comments

18 pages, 7 tables, 6 figures; Submitted to ICDAR25

R2 v1 2026-06-28T22:38:09.823Z