Masked Next-Scale Prediction for Self-supervised Scene Text Recognition

Zhuohao Chen, Zeng Li, Yifei Zhang, Chang Liu, Yu Zhou
5/14/2026
1 citation
cs.CV
contrastive-ssl

Official code: CzhczhcHczh/MNSP (3 stars, Python, last commit 2026-10-26).

Abstract

Scene Text Recognition requires modeling visual structures that evolve from coarse layouts to fine-grained character strokes. Training such models relies on large amounts of annotated data.

Show full abstract

Recent self-supervised approaches, such as Masked Image Modeling (MIM), alleviate this dependency by leveraging large-scale unlabeled data. Yet most existing MIM methods operate at a single spatial scale and fail to capture the hierarchical nature of scene text. In this work, we introduce Masked Next-Scale Prediction (MNSP), a unified self-supervised framework designed to explicitly model cross-scale structural evolution. The framework incorporates Next-Scale Prediction (NSP), which learns hierarchical representations by predicting higher-resolution features from lower-resolution contexts. Naive scale prediction, however, tends to produce spatially diffuse attention, directing the model toward background regions rather than textual structures. MNSP resolves this limitation by jointly learning cross-scale prediction and masked image reconstruction. NSP captures global layout priors across resolutions, while masked reconstruction imposes strong local constraints that guide attention toward informative text regions. A Multi-scale Linguistic Alignment module further maintains semantic consistency across different resolutions. Extensive experiments demonstrate that MNSP achieves state-of-the-art performance, reaching 86.2\% average accuracy on the challenging Union14M benchmark and 96.7\% across six standard datasets. Additional analyses show that our method improves robustness under extreme scale and layout variations. Code is available at https://github.com/CzhczhcHczh/MNSP

View on arXivView PDF

Code Implementations(1)

CzhczhcHczh/MNSPOfficial100%

The codebase for the paper "Masked Next-Scale Prediction for Self-supervised Scene Text Recognition".

30Python, ShellMay 14, 20261 months ago

Similar Papers

Cite this paper

@article{chen2026masked,
  title  = {Masked Next-Scale Prediction for Self-supervised Scene Text Recognition},
  author = {Zhuohao Chen and Zeng Li and Yifei Zhang and Chang Liu and Yu Zhou},
  year   = {2026},
  eprint = {2605.14885},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.14885v1}
}

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/2605.14885.svg)](https://codeofpaper.com/paper/2605.14885)

Discussion