[Paper Review] General OCR Theory: Towards OCR-2.0 via a Unified End-to-end Model
This paper proposes OCR-2.0 and a unified end-to-end model GOT that handles diverse optical characters (texts, formulas, tables, sheet music, charts, shapes) with a high-compression encoder and long-context decoder, trained via multi-stage data engines and multi-task data synthesis.
Traditional OCR systems (OCR-1.0) are increasingly unable to meet people's usage due to the growing demand for intelligent processing of man-made optical characters. In this paper, we collectively refer to all artificial optical signals (e.g., plain texts, math/molecular formulas, tables, charts, sheet music, and even geometric shapes) as "characters" and propose the General OCR Theory along with an excellent model, namely GOT, to promote the arrival of OCR-2.0. The GOT, with 580M parameters, is a unified, elegant, and end-to-end model, consisting of a high-compression encoder and a long-contexts decoder. As an OCR-2.0 model, GOT can handle all the above "characters" under various OCR tasks. On the input side, the model supports commonly used scene- and document-style images in slice and whole-page styles. On the output side, GOT can generate plain or formatted results (markdown/tikz/smiles/kern) via an easy prompt. Besides, the model enjoys interactive OCR features, i.e., region-level recognition guided by coordinates or colors. Furthermore, we also adapt dynamic resolution and multi-page OCR technologies to GOT for better practicality. In experiments, we provide sufficient results to prove the superiority of our model.
Motivation & Objective
- Define General OCR Theory (OCR-2.0) to address limitations of traditional OCR (OCR-1.0) and LVLM-based approaches.
- Develop GOT, a unified end-to-end OCR model with high compression encoder and long-context decoder.
- Create extensive data engines to synthesize diverse OCR data (plain, formatted, and general signals) for multi-task training.
- Enable interactive and adaptable OCR features (region prompts, dynamic resolution, multi-page processing).
- Demonstrate GOT's performance across document, scene, and general OCR tasks with formatting outputs.
Proposed method
- Use an encoder-decoder architecture with an 80M-parameter vision encoder (ViTDet) and a 0.5B decoder (Qwen) totaling ~580M parameters.
- Pre-train the vision encoder on scene+document text data to learn robust OCR representations.
- Joint-train encoder with a larger decoder and curate multi-task OCR data to expand OCR-2.0 knowledge.
- Post-train the decoder to enable fine-grained, multi-page, and dynamic-resolution OCR.
- Employ synthetic data engines for plain OCR, Mathpix-formatted data, sheet music, chemistry/molecular formulas, tables, charts, and geometry.
- Incorporate data modalities for fine-grained region/color prompts and multi-page PDF OCR.
- Utilize multi-crop and dynamic resolution strategies for ultra-high-resolution images.

Experimental results
Research questions
- RQ1Can a single end-to-end model achieve high accuracy across diverse OCR tasks (plain text, formulas, tables, sheet music, charts) and languages?
- RQ2What training regimes and data syntheses are necessary to enable OCR-2.0 knowledge in GOT?
- RQ3How does GOT perform on formatting-output tasks (Markdown/LaTeX-like outputs) compared to task-specific models?
- RQ4What interactive features (region prompts, color prompts) can GOT support effectively?
- RQ5How does dynamic resolution and multi-page OCR affect practicality for high-resolution and multi-page documents?
Key findings
- GOT achieves competitive to state-of-the-art performance across multiple OCR tasks with a unified 580M-parameter model.
- On plain document OCR, GOT demonstrates strong English/Chinese document text perception and recognition.
- GOT supports formatted outputs (Markdown/LaTeX-like for formulas and tables) with single-scale and multi-crop inference.
- Fine-grained OCR and interactive region/color prompts improve recognition within regions of interest.
- Dynamic resolution and multi-page OCR extend GOT to ultra-high-resolution and multi-page PDF scenarios.
- Experimental results across benchmarks show GOT versus prior models with favorable metrics across en/zh.

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.