MonkeyOCRv2: A Visual-Text Foundation Model for Document AI

Yuliang Liu, Zhang Li, Ziyang Zhang, Shuo Zhang, Qiang Liu, Jiajun Song, Zidun Guo, Xinhan Wang, Handong Zheng, Yang Liu, Dongliang Luo, Zhiyin Ma, Jiarui Zhang, Xiang Bai

arXiv:2607.11562 · 2026-07-16 공개 · arXiv · PDF

vision-encoder document-parsing document-ai document-reconstruction text-recognition formula-recognition mdpbench layout-details

Abstract

Mainstream visual encoders are pretrained on natural images and cannot be effectively applied to document images without document-oriented adaptation, as dense text and fine-grained character strokes demand character-level visual perception. We present MonkeyOCRv2, a visual-text pretrained model for document AI. First, we construct MonkeyDoc v2, to our knowledge the largest document-image pretraining corpus, comprising 113 million images spanning 17 languages. Second, we propose a pretraining strategy that jointly learns image-to-text generation and pixel-level document reconstruction: the former aligns visual representations with textual content, while the latter preserves character strokes and layout details. Extensive experiments are conducted on five representative document analysis tasks, including text recognition, formula recognition, text detection, document tampering detection, and overlapping text segmentation. Replacing the original encoders with MonkeyOCRv2 consistently improves performance across all five tasks. Finally, we validate its effectiveness as the vision encoder of multimodal large language models on the more challenging tasks of document parsing and document understanding. Kept frozen and paired with a lightweight language model, it yields a 0.7B document parsing model that sets a new open-source state-of-the-art on MDPBench, a recent benchmark spanning digital-born and photographed documents across 17 languages, surpassing the previous best 3B dots.mocr by 2.8% absolute with a vision encoder roughly 11times smaller. The frozen encoder also powers a document understanding model that outperforms counterparts built on CLIP, DINO, and SAM across eight benchmarks under identical training settings. These results suggest that document-oriented visual pretraining can serve as a foundation for document intelligence in its own right.

한국어 요약

한 줄 요약

MonkeyOCRv2는 문서 이미지 분석을 위한 시각-텍스트 기반 학습 모델로, 113백만 장의 다국어 문서 데이터로 학습해 기존 모델 대비 2.8% 절대 정확도 상승을 달성했다.

핵심 기여도

핵심 아이디어

기존 시각 인코더는 자연 이미지 기반으로 학습되어 문서 이미지의 밀집된 텍스트와 세밀한 글자 구조를 정확히 인식하지 못한다. 이를 해결하기 위해, MonkeyOCRv2는 문서 특화된 **MonkeyDoc v2** 데이터셋을 기반으로 **이미지-텍스트 생성**(Image-to-Text Generation)과 **픽셀 수준 재구성**(Pixel-Level Reconstruction)을 결합한 학습 전략을 제안한다.

이러한 이중 학습은 특히 **문맥 정보가 부족한 경우**(예: 랜덤으로 섞인 텍스트)에도 모델이 시각 정보에 의존하도록 유도한다. 실험 결과, **448 해상도에서 27.6%의 정확도 하락을 기존 모델 대비 줄이는 효과**를 보였다.

기술적 접근법

주요 결과

의의 및 한계

MonkeyOCRv2는 문서 특화 학습을 통해 기존 자연 이미지 기반 모델의 한계를 극복하고, **문서 지능**(Document Intelligence) 분야의 기초 모델로 활용 가능하다. 특히, **Frozen 인코더 + 가벼운 언어 모델** 조합은 높은 성능과 낮은 계산 비용을 동시에 달성하는 실용적 접근법이다.

하지만, **MonkeyDoc v2는 공개되지 않음**으로 인해 다른 연구자들이 재현하거나 확장하는 데 제약이 있다. 또한, **모든 언어를 다루는 다국어 지원은 아직 한계가 있음**으로, 추가 데이터 확보가 필요하다.

실용적 활용

MonkeyOCRv2는 **문서 디지털화**, **지능형 사무 시스템**, **대규모 언어 모델 학습용 문서 코퍼스 구축**, **AI for Science** 등 다양한 산업과 연구 분야에 적용 가능하다. 특히, **가벼운 파라미터 크기와 높은 정확도**를 통해 클라우드 및 모바일 환경에서도 활용할 수 있다.