[Paper Review] StrucTexTv2: Masked Visual-Textual Prediction for Document Image Pre-training
StrucTexTv2 pre-trains an image-only encoder with text-region masking to jointly reconstruct masked image regions and tokens, achieving strong results on five document understanding tasks without OCR preprocessing.
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.
Motivation & Objective
- Motivate end-to-end document image understanding with image-only input to avoid OCR bottlenecks.
- Propose a text-region-level masking scheme for pre-training.
- Jointly learn pixel reconstruction and token prediction to capture visual and textual semantics.
Proposed method
- Two-branch encoder: CNN visual extractor + Transformer semantic module with FPN for multi-scale fusion.
- Two self-supervised pre-training tasks on text regions: Masked Language Modeling (MLM) and Masked Image Modeling (MIM).
- MLM: mask text regions and predict masked word tokens via a lightweight 2-layer MLP using ROI-Align features.
- MIM: regress raw pixel values of masked text regions using a FCN that combines style (Emb_style) and content (Emb_content) embeddings.
- Pre-training on IIT-CDIP Test Collection 1.0; downstream tasks use image-only inputs and ROI-based region processing.
Experimental results
Research questions
- RQ1Can image-only pre-training with text-region masking achieve competitive or superior performance to OCR-based multi-modal approaches?
- RQ2How do MLM and MIM contribute to learning visual-textual representations for document images?
- RQ3What are the impacts of masking ratio and encoding backbone choices on downstream document understanding tasks?
Key findings
- StrucTexTv2-Small achieves 93.40% accuracy on RVL-CDIP (image-only input).
- StrucTexTv2-Large achieves 94.62% accuracy on RVL-CDIP (image-only input).
- On PubLayNet, StrucTexTv2-Small and StrucTexTv2-Large reach 95.4% and 95.5% mAP, respectively.
- On WTW, StrucTexTv2-Small attains 78.9% F1-score for table cell structure recognition.
- On FUNSD, StrucTexTv2-Small achieves 84.1% 1-NED for document OCR and 55.0% 1-NED for end-to-end information extraction.
- Ablation shows combining MLM and MIM yields better RVL-CDIP and PubLayNet results than either task alone; best masking ratio around 0.30.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.