Abstract
While Large Multimodal Models (LMMs) like GPT-4V and Gemini have revolutionized general-purpose AI, their ability to accurately "read" text in images remains a critical area of investigation. This paper introduces OCRBench, a comprehensive benchmark spanning 29 datasets and 1,000 manually verified question-answer pairs. Our systematic evaluation of 14 LMMs reveals that while these models are powerful, they rely heavily on semantic "guessing" and struggle with fine-grained details such as handwriting, mathematical formulas, and low-resolution inputs.
The Challenge of Generalist OCR
Optical Character Recognition (OCR) has traditionally been a "specialist" field, requiring custom pipelines to detect and recognize text. As researchers move toward using LMMs for document understanding and scene text analysis, a critical question arises: How good are these generalist models at OCR compared to specialized State-of-the-Art (SOTA) models? Previous evaluations were often limited to simple "True/False" questions or small datasets. OCRBench addresses this gap by providing a rigorous, multi-faceted evaluation framework to uncover the "hidden mysteries" of how LMMs handle visual text.
The OCRBench Framework
To evaluate LMMs fairly, the authors moved away from "Exact Match" metrics, which penalize the conversational nature of generative models. Instead, they utilized a unified evaluation criterion: checking if the ground truth string is present anywhere in the model's output. The benchmark draws from 29 datasets categorized into five core tasks:
- Text Recognition: Regular, irregular, artistic, and handwritten text.
- Scene Text-Centric VQA: Questions about text found in natural environments.
- Document-Oriented VQA: Complex layouts like forms and charts.
- Key Information Extraction (KIE): Extracting specific data points from structured documents.
- Handwritten Mathematical Expression Recognition (HMER): Converting math images to LaTeX.
Key Insights: The "Semantic Crutch" and Resolution Bottlenecks
Our analysis revealed several critical weaknesses in current LMM architectures:
- The Semantic Crutch: LMMs are surprisingly reliant on language context. When tested on "Non-Semantic Text" (shuffled letters), LMM performance plummeted by 57%, whereas specialized OCR models only saw a 4.6% drop. This suggests LMMs often "predict" words based on a few recognized characters rather than truly reading the letters.
- Resolution as the Bottleneck: Most LMMs are trained with low input resolutions (e.g., 224x224). This is insufficient for tiny text on full-page documents. Models like Monkey, which support higher resolutions (up to 1344×896), significantly outperformed others on document-heavy tasks.
- The Math Gap: Recognizing handwritten math (HMER) remains the "final boss" for current LMMs. Even leading models like Gemini and GPT-4V struggled here, likely due to complex spatial relationships and a lack of specialized LaTeX training data.
- Instruction Following: Models often fail to follow formatting constraints. For instance, Gemini frequently "normalized" dates (e.g., changing "02/02/2018" to "2 February 2018") even when explicitly asked to extract text exactly as it appears.
Comparative Performance
The benchmark results show a clear hierarchy among current models. Proprietary models currently lead the field, with Gemini taking the top spot (score: 659), followed closely by GPT-4V (score: 645). Among open-source contenders, Monkey (score: 514) emerged as the strongest, validating the importance of high-resolution processing.
Despite these impressive scores, LMMs still trail behind specialized, supervised SOTA models in almost every category, particularly in handwriting and multilingual (Chinese) text recognition. For instance, on the ReCTS dataset, most English-centric LMMs scored near zero.
Conclusion
OCRBench provides a vital roadmap for improving the visual literacy of LMMs. Future research must focus on increasing input resolution beyond patch-based limitations, incorporating specialized OCR data (like LaTeX and multilingual sets) during instruction tuning, and developing visual encoders that are more sensitive to character-level features rather than general object shapes.
Summary updated