Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MaskOCR: Text Recognition with Masked Encoder-Decoder Pretraining

About

Text images contain both visual and linguistic information. However, existing pre-training techniques for text recognition mainly focus on either visual representation learning or linguistic knowledge learning. In this paper, we propose a novel approach MaskOCR to unify vision and language pre-training in the classical encoder-decoder recognition framework. We adopt the masked image modeling approach to pre-train the feature encoder using a large set of unlabeled real text images, which allows us to learn strong visual representations. In contrast to introducing linguistic knowledge with an additional language model, we directly pre-train the sequence decoder. Specifically, we transform text data into synthesized text images to unify the data modalities of vision and language, and enhance the language modeling capability of the sequence decoder using a proposed masked image-language modeling scheme. Significantly, the encoder is frozen during the pre-training phase of the sequence decoder. Experimental results demonstrate that our proposed method achieves superior performance on benchmark datasets, including Chinese and English text images.

Pengyuan Lyu, Chengquan Zhang, Shanshan Liu, Meina Qiao, Yangliu Xu, Liang Wu, Kun Yao, Junyu Han, Errui Ding, Jingdong Wang• 2022

Related benchmarks

TaskDatasetResultRank
Scene Text RecognitionSVT (test)
Word Accuracy96.9
289
Scene Text RecognitionIIIT5K (test)
Word Accuracy98
244
Scene Text RecognitionIC15 (test)
Word Accuracy90.1
210
Scene Text RecognitionIC13 (test)
Word Accuracy98.2
207
Scene Text RecognitionSVTP (test)
Word Accuracy94.6
153
Scene Text RecognitionIC13, IC15, IIIT, SVT, SVTP, CUTE80 Average of 6 benchmarks (test)
Average Accuracy95.6
105
Scene Text RecognitionSVT 647 (test)
Accuracy94.7
101
Scene Text RecognitionCUTE 288 samples (test)
Word Accuracy92.7
98
Scene Text RecognitionCUTE
Accuracy96.2
92
Scene Text RecognitionCUTE80 (test)
Accuracy0.958
87
Showing 10 of 24 rows

Other info

Follow for update