Seedlabs
Source research

TextMonkey: An OCR-Free Large Multimodal Model for Understanding Document

Yuliang Liu, Biao Yang, Qiang Liu, Zhang Li, Zhiyin Ma, Shuo Zhang et al. · 2026 · 279 citationsRead the paper

All 7 authors

Xiang Bai

We present TextMonkey, a large multimodal model (LMM) tailored for text-centric tasks. Our approach introduces enhancement across several dimensions: By adopting Shifted Window Attention layer, we achieve cross-window connectivity at higher input resolutions and stabilize early training; We hypothesize that images may contain redundant tokens, and by using similarity to filter out significant tokens, we can not only streamline the token length but also enhance the model's performance. Moreover, by expanding our model's capabilities to encompass text spotting and grounding, and incorporating positional information into responses, we enhance interpretability. Evaluation on 12 benchmarks shows notable improvements: 5.2% in Scene Text-Centric tasks (including STVQA, TextVQA, and OCRVQA), 6.9% in Document-Oriented tasks (such as DocVQA, InfoVQA, ChartVQA, DeepForm, Kleister Charity, and WikiTableQuestions), and 2.8% in Key Information Extraction tasks (comprising FUNSD, SROIE, and POIE). It outperforms in scene text spotting with a 10.9% increase and sets a new standard on OCRBench, a comprehensive benchmark consisting of 29 OCR-related assessments, with a score of 561, surpassing previous open-sourced large multimodal models for document understanding.

What the full text shows

Working prototype
  • Achieved a new state-of-the-art score on the OCRBench comprehensive benchmark. — 561 (Across 29 OCR-related assessments)
  • Improved average performance over baseline methods in Document-Oriented VQA. — 6.9% increase (Datasets including DocVQA, InfoVQA, ChartVQA, DeepForm, Kleister Charity, and WikiTableQuestions)
  • Improved average performance over baseline methods in Scene Text-Centric VQA. — 5.2% increase (Datasets including STVQA, TextVQA, and OCRVQA)
  • Improved average performance over baseline methods in Key Information Extraction (KIE). — 2.8% increase (Datasets including FUNSD, SROIE, and POIE)
  • Outperformed SPTS v2 in scene text spotting using the 'Trans' metric. — 10.9% increase (Evaluated without fine-tuning on downstream text spotting data)
  • Directly increasing input resolution without token compression degrades performance in document understanding. — 9.2% decrease in DocVQA (Comparing resolution increase without Token Resampler)
Setup
Total model parameters: 9.7B; trained on 12 A800 GPU days for one epoch; image input resolution of 896 or 1344; batch size of 128.
How
The model uses a sliding window approach with Shifted Window Attention and zero-initialization to handle high-resolution images while maintaining cross-window connectivity. A Token Resampler filters redundant image tokens based on similarity to streamline input for a 7.7B parameter LLM.
Limitations
Tendency to provide numerical answers without units, reducing performance on POIE. · Requirement for positional answers can detrimentally affect reasoning tasks (e.g., ChartQA, InfoVQA). · Increasing resolution does not yield gains for datasets with small images (e.g., TextVQA, SROIE).

Summarized by Gemma 4 from the open-access full text · 27 Nov 2026. Read it