StrucTexTv2: Masked Visual-Textual Prediction for Document Image Pre-training

Yu Yu, Yulin Li, Chengquan Zhang, Xiaoqiang Zhang, Zengyuan Guo +5 more
2/12/2026

No official code found. Best implementation: PaddlePaddle/VIMER (500 stars, last commit 2023-04-12).

Abstract

In this paper, we present StrucTexTv2, an effective document image pre-training framework, by performing masked visual-textual prediction. It consists of two self-supervised pre-training tasks: masked image modeling and masked language modeling, based on text region-level image masking. The proposed method randomly masks some image regions according to the bounding box coordinates of text words. The objectives of our pre-training tasks are reconstructing the pixels of masked image regions and the corresponding masked tokens simultaneously. Hence the pre-trained encoder can capture more textual semantics in comparison to the masked image modeling that usually predicts the masked image patches. Compared to the masked multi-modal modeling methods for document image understanding that rely on both the image and text modalities, StrucTexTv2 models image-only input and potentially deals with more application scenarios free from OCR pre-processing. Extensive experiments on mainstream benchmarks of document image understanding demonstrate the effectiveness of StrucTexTv2. It achieves competitive or even new state-of-the-art performance in various downstream tasks such as image classification, layout analysis, table structure recognition, document OCR, and information extraction under the end-to-end scenario.

View on arXivView PDF

Code Implementations(1)

PaddlePaddle/VIMERCommunity100%

视觉预训练基础模型仓库

50092Shell, CythonNov 2, 20213 years ago

Similar Papers

Cite this paper

@article{yu2026structextv,
  title  = {StrucTexTv2: Masked Visual-Textual Prediction for Document Image Pre-training},
  author = {Yu Yu and Yulin Li and Chengquan Zhang and Xiaoqiang Zhang and Zengyuan Guo and Xiameng Qin and Kun Yao and Junyu Han and Errui Ding and Jingdong Wang},
  year   = {2026},
  eprint = {2303.00289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.00289},
  journal = {ICLR 2023 2023}
}

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

Discussion