Papers
arxiv:2611.27494

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

Published on Nov 23
· Submitted by
Surapon Nonesung
on Nov 24
Authors:
,
,
,

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.

Community

Paper author Paper submitter

Open 2B/0.8B Thai–English-Chinese document parser and extractor. Open model on Thai MDPBench (80.7) and ThaiOCRBench (59.9), near its base on English benchmarks; GRPO cuts repetition loops from 3.2% to 0.7%. Weights, pip package and eval code released.

The penalty on unfinished responses is a nice touch. Repetition loops are one of the most common failures we see from small VLM parsers, especially on long, dense tables where the model re-emits the same row until it hits the token limit.

Did the 0.7% of pages that still loop after GRPO share a layout type (dense tables, forms, multi-column), or were they spread evenly? And does the penalty change how often the model stops early on genuinely long pages?

·

Not evenly spread. Across 4 MDPBench runs, the 2B model's remaining loops came from just 5 pages: 4 dense multi-column newspapers and 1 creased magazine photo. All 5 already looped before GRPO. None were inside HTML tables. The model repeated a text line, often stock or commodity listings that look like tables but get written as plain text.

On early stopping: on the 80 longest pages, the median output was ~1.0× the reference length (in characters), and outputs under 25% of the reference went from 4.0 to 3.5 per run (SFT → GRPO). On a few of the densest newspapers, GRPO sometimes turns a loop into a finished but incomplete answer.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.27494
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 12

Browse 12 models citing this paper

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.27494 in a dataset README.md to link it from this page.

Spaces citing this paper 2

Collections including this paper 1