Linguistics-aware Masked Image Modeling for Self-supervised Scene Text Recognition

Yifei Zhang, Chang Liu, Jin Wei, Xiaomeng Yang, Yu ZHOU +2 more
2/10/2026

No official code found. Best implementation: zhangyifei01/LMIM (15 stars, last commit 2025-10-26).

Abstract

Text images are unique in their dual nature, encompassing both visual and linguistic information. The visual component encompasses structural and appearance-based features, while the linguistic dimension incorporates contextual and semantic elements. In scenarios with degraded visual quality, linguistic patterns serve as crucial supplements for comprehension, highlighting the necessity of integrating both aspects for robust scene text recognition (STR). Contemporary STR approaches often use language models or semantic reasoning modules to capture linguistic features, typically requiring large-scale annotated datasets. Self-supervised learning, which lacks annotations, presents challenges in disentangling linguistic features related to the global context. Typically, sequence contrastive learning emphasizes the alignment of local features, while masked image modeling (MIM) tends to exploit local structures to reconstruct visual patterns, resulting in limited linguistic knowledge. In this paper, we propose a Linguistics-aware Masked Image Modeling (LMIM) approach, which channels the linguistic information into the decoding process of MIM through a separate branch. Specifically, we design a linguistics alignment module to extract vision-independent features as linguistic guidance using inputs with different visual appearances. As features extend beyond mere visual structures, LMIM must consider the global context to achieve reconstruction. Extensive experiments on various benchmarks quantitatively demonstrate our state-of-the-art performance, and attention visualizations qualitatively show the simultaneous capture of both visual and linguistic information. The code is available at https: //github.com/zhangyifei01/LMIM.

View on arXivView PDF

Code Implementations(1)

zhangyifei01/LMIMCommunity100%

Linguistics-aware Masked Image Modeling for Self-supervised Scene Text Recognition

152Shell, PythonMar 4, 202512 months ago

Similar Papers

Cite this paper

@article{zhang2026linguisticsaware,
  title  = {Linguistics-aware Masked Image Modeling for Self-supervised Scene Text Recognition},
  author = {Yifei Zhang and Chang Liu and Jin Wei and Xiaomeng Yang and Yu ZHOU and Can Ma and Xiangyang Ji},
  year   = {2026},
  eprint = {2503.18746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.18746},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.18746.svg)](https://codeofpaper.com/paper/2503.18746)

Discussion