arXiv:2505.06855cs.CV2025-05

提出多掩码策略,让模型同时学好文字的细节和上下文

Joint Low-level and High-level Textual Representation Learning with Multiple Masking Strategies

  • 用三种掩码方式联合训练,分别捕捉纹理和字符关系
  • 在真实文本数据上微调后,识别、分割等任务均超越现有方法
  • 适合做文本识别与图像超分辨率的研究者参考

现有文本识别方法多依赖大规模合成数据集,但合成图像无法真实还原光照不均、布局不规则、遮挡和退化等现实场景,导致在复杂真实图像上性能下降。近年来自监督学习技术(如对比学习和掩码图像建模,MIM)通过利用未标注的真实文本图像缩小了这一领域差距。本研究分析了原始掩码自动编码器(MAE),发现随机块掩码主要捕获低层次纹理特征,而忽略高层上下文表示。为此,本文引入随机块掩码和跨度掩码策略,能够连续遮盖图像块并完全移除某些字符,迫使模型推断单词内字符间的语义关系。提出的多掩码策略(MMS)将随机块、块掩码和跨度掩码融合进MIM框架,实现低层与高层文本表征的联合学习。在真实数据上微调后,MMS在文本识别、分割和文本-图像超分辨率等多个任务中均优于当前最优自监督方法。

原文摘要 · Abstract (English)

Most existing text recognition methods are trained on large-scale synthetic datasets due to the scarcity of labeled real-world datasets. Synthetic images, however, cannot faithfully reproduce real-world scenarios, such as uneven illumination, irregular layout, occlusion, and degradation, resulting in performance disparities when handling complex real-world images. Recent self-supervised learning techniques, notably contrastive learning and masked image modeling (MIM), narrow this domain gap by exploiting unlabeled real text images. This study first analyzes the original Masked AutoEncoder (MAE) and observes that random patch masking predominantly captures low-level textural features but misses high-level contextual representations. To fully exploit the high-level contextual representations, we introduce random blockwise and span masking in the text recognition task. These strategies can mask the continuous image patches and completely remove some characters, forcing the model to infer relationships among characters within a word. Our Multi-Masking Strategy (MMS) integrates random patch, blockwise, and span masking into the MIM frame, which jointly learns low and high-level textual representations. After fine-tuning with real data, MMS outperforms the state-of-the-art self-supervised methods in various text-related tasks, including text recognition, segmentation, and text-image super-resolution.

文本识别自监督学习掩码建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。