Typhoon OCR 2: From Thai Document Transcription to Multilingual, Multi-Task OCR

Surapon Nonesung, Natapong Nitarach, Sittipong Sripaisarnmongkol, Kunat Pipatanakul, Warit Sirichotedumrong

If you’ve ever tried to build a document processing pipeline, you know the "OCR tax." Usually, you have to run a model to get the text, another to find the tables, and maybe a third to actually answer a question like, "What was the total revenue in Q3?" It’s clunky, expensive, and prone to "telephone game" errors.

The folks at Typhoon (SCB DataX and AI Singapore) just released Typhoon OCR 2, a family of compact, open-weight models (2B and 0.8B parameters) that aims to be your one-stop shop for document intelligence. It doesn't just read text; it understands the geography of a page.

TL;DR

Typhoon OCR 2 moves beyond simple transcription to provide a multi-task engine that can parse entire pages into structured JSON or answer specific questions about a document in Thai, English, and Chinese. By using a clever reinforcement learning technique called GRPO, the authors significantly reduced the "repetition loops" that often plague small OCR models, making them reliable enough for real-world production workflows.

What Problem Does This Paper Address?

Most OCR tools give you a "bag of words"—a flat stream of text that loses the context of headers, columns, and tables. While specialized "document parsers" exist, they often struggle with the nuances of the Thai language or fail on long, complex pages by getting stuck in infinite loops (repeating the same line forever) or just giving up halfway through.

Typhoon OCR 2 tackles three main gaps:

  1. Structural Awareness: Turning a messy scan into a clean, structured JSON or Markdown format.
  2. Multilingual Parity: Supporting Thai at a world-class level without breaking the model's existing ability to read English and Chinese.
  3. Reliability: Ensuring the model actually finishes the page without "hallucinating" or looping.

Methods

The researchers started with strong open-source foundations—Infinity-Parser2-Flash for the 2B model and OvisOCR2 for the 0.8B version. They then applied a two-stage training process:

  1. Supervised Fine-Tuning (SFT): They fed the models a massive diet of curated Thai and multilingual document data.
  2. Group Relative Policy Optimization (GRPO): This is the interesting part. Instead of just teaching the model to predict the "next word," they used reinforcement learning to reward the model for the entire output. If the model produced valid JSON, it got a "treat." If it got stuck in a loop or missed a table, it was penalized. This "peer-pressure" learning style helps the model understand the global structure of the task.
Figure 1: The model can handle both targeted extraction (top) and full-page layout parsing (bottom).

Datasets

The team didn't just scrape the web; they built a high-quality pipeline to "clean" their data.

  • Training: They used a mix of filtered data from Typhoon 1.5 and a new in-house Thai dataset spanning PDFs, web images, and photos. They used larger "teacher" models to label the data, then used LLMs to verify the labels, and finally had humans audit the bounding boxes.
  • Evaluation: They tested against a gauntlet of benchmarks: MDPBench (Thai/English photos), olmOCR-bench (English PDFs), ThaiOCRBench (multi-task QA), and OmniDocBench (complex English/Chinese layouts).

Key Insights and Ideas

  • The "Loop" Cure: Small models are notorious for getting stuck. By using GRPO with a specific "rule reward" that penalizes repetition, they dropped the failure rate on the 2B model from 3.2% of pages down to just 0.7%.
  • Prompt-Driven Versatility: You don't need different models for different tasks. A single model can switch from "transcribe this whole page" to "just give me the values from this chart" based on the input prompt.
  • Thai Doesn't Have to Cost English: Often, fine-tuning a model for a specific language causes "catastrophic forgetting" of others. Typhoon OCR 2 managed to skyrocket Thai performance while staying within 1% of the base model's performance on English and Chinese benchmarks.

Key Results

The 2B model is the star of the show:

  • Thai Mastery: It scored 80.7 on Thai MDPBench, a massive jump from the 68.9 scored by its predecessor, Typhoon 1.5.
  • Document Understanding: On ThaiOCRBench (which tests recognition and extraction), it hit 59.91, outperforming other open baselines like DeepSeek-OCR-2 and OvisOCR2.
  • Efficiency: Despite its small size, it remains competitive with much larger proprietary models, though a gap still exists compared to giants like Gemini 1.5 Pro.
Figure 6: A comparison showing how the new models significantly outperform the previous version on photographed documents and reduce repetition loops.

Limitations and Future Work

While Typhoon OCR 2 is a big step forward, the authors are honest about its hurdles:

  • Complex Math & Tables: It still trails behind specialized state-of-the-art models when faced with incredibly dense scientific formulas or complex nested tables.
  • Resolution Sensitivity: The model's "eyesight" is tied to image resolution. Dropping from 16.7 megapixels to 4 megapixels causes a noticeable dip in accuracy.
  • Key Information Extraction (KIE): While it can find fields in a form, the authors note that structured extraction is still "uneven" across different types of documents.

In short, if you're building something that needs to "read" the Thai world—from menus to bank statements—this is a model you'll want to keep in your toolkit.

Summary updated

Abstract

Typhoon OCR 1.5 focused on reading Thai documents. However, in real-world workflows, users often need to extract specific information or preserve the structure of an entire page for further processing. Typhoon OCR 2 handles both tasks in a single model, with prompt-driven extraction and structured full-page parsing. Full-page parsing covers Thai, English, and Chinese. We release compact 2B and 0.8B models adapted from open document parsers through supervised fine-tuning on curated Thai and public multilingual data, followed by Group Relative Policy Optimization (GRPO) with task rewards and a rule penalizing unfinished responses. Among evaluated open models, Typhoon OCR 2 2B scores highest on Thai MDPBench (80.7 versus 68.9 for Typhoon OCR 1.5) and on ThaiOCRBench (59.91 versus 40.45), which covers recognition, extraction, and document understanding. The 2B model remains close to its base on English olmOCR-bench (84.7 versus 84.4) and on OmniDocBench, which evaluates English and Chinese together (90.97 versus 91.03). On MDPBench, GRPO reduces the mean share of pages with repetition loops for the 2B model from 3.2% to 0.7%, with a smaller and statistically uncertain score gain for the 0.8B model. We release the model weights, Python package, and evaluation suite.
BibTeX
@misc{nonesung2026typhoon,
  author = {Surapon Nonesung and Natapong Nitarach and Sittipong Sripaisarnmongkol and Kunat Pipatanakul and Warit Sirichotedumrong},
  title = {{Typhoon OCR 2: From Thai Document Transcription to Multilingual, Multi-Task OCR}},
  year = {2026},
  eprint = {2611.27494},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27494},
}
Figure