Manuscript Offprint

arXiv:2609.03595

How Far Can Synthetic Data Take Thai OCR?

Kunat Pipatanakul

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We investigate what makes synthetic OCR supervision transfer to real Thai documents and use the resulting insights to build Wayu-Paxa-OCR-Zero, a Thai OCR model adapted without OCR labels from real Thai document pages. Synthetic data provide exact labels at scale, but “realism” conflates source domain, page context, typography, spatial structure, and glyph variation. We disentangle these factors with a controlled document-reconstruction pipeline and evaluate each variant under page- and crop-level training on printed and handwritten Thai documents. Non-text context has little consistent effect, whereas typeface diversity, two-dimensional structure, and real handwriting glyphs improve transfer; moreover, source-domain matching depends on training granularity, with in-domain reconstruction approaching real printed supervision under page-level training (1.82% versus 1.31% median character error rate) but underperforming out-of-domain reconstruction under crop-level training (15.59% versus 5.52%). Guided by these findings, we adapt the 0.9B-parameter PaddleOCR-VL-1.6 into Wayu-Paxa-OCR-Zero using 45,723 synthetic pages: relative to its base checkpoint, it reduces median character error rate from 6.64% to 1.24% on printed pages and from 74.87% to 20.55% on handwriting and outperforms Typhoon OCR v1 7B on all five evaluation sets, showing that synthetic-only training can be competitive.

Model wayu-ai/wayu-paxa-ocr-zero

Reconstruction wayu-research/docaug

1 Introduction

Optical character recognition (OCR) converts document images into machine-readable text for digitization, search, and retrieval-augmented generation. Classical systems such as Tesseract rely on specialized recognition pipelines (Smith, 2007), whereas modern vision-language models (VLMs) perform end-to-end recognition while preserving reading order and document context. Proprietary systems such as Gemini and GPT provide strong multilingual OCR capabilities (Team, 2025; OpenAI, 2024); open models such as Unlimited OCR and PaddleOCR-VL enable lower-cost local processing of sensitive documents (Yin et al., 2026; Zhang et al., 2026).

Coverage, however, remains uneven. Open models, datasets, and benchmarks center on English and Chinese, while less-resourced languages often have abundant documents but few reliable labels. Thai is our case study: its unique glyph system doesn’t allow transfer from English or Chinese. While PDF text extraction and OCR pseudo-labels can omit characters, reorder combining marks, and corrupt reading order. Manual correction is costly, and open Thai datasets remain limited.

Typhoon OCR defines the open Thai frontier. Its 2B V1.5 model achieves state-of-the-art Thai performance and competes with larger proprietary systems (Nonesung et al., 2026). Its training pipeline combines traditional OCR, VLM restructuring, and curated synthetic data. Typhoon OCR therefore establishes the value of Thai-specific adaptation, but does not isolate the contribution of synthetic supervision or the document properties that support transfer.

Recent work demonstrates synthetic OCR transfer with layout-aware Indic pages (Kolavi et al., 2025), Manchu word images (Chung & Choi, 2025), cross-lingual Arabic document reconstruction (Al-Homoud et al., 2025), and degradation-aware historical pages (Guan et al., 2025). These approaches vary several generation factors together, leaving it unclear whether transfer comes from layout, non-text context, fonts, or training granularity. The last distinction matters because whole-page models and modern detector–recognizer systems such as GLM-OCR and PaddleOCR-VL expose different amounts of document context (Duan et al., 2026; Zhang et al., 2026).

To this end, we ask a central question: How far can synthetic data take Thai OCR? We answer it through controlled reconstruction of naturally occurring documents. Our pipeline renders OCR labels into their source regions while varying the source domain, non-text context, typeface distribution, two-dimensional layout, and handwriting glyph source. Using Qwen3-VL-2B-Instruct (Bai et al., 2025), we compare page-level and crop-level training on out-of-domain reconstructions of public English documents and in-domain reconstructions of real Thai documents. We then compare reconstruction with real Thai supervision. Based on these findings, we derive a synthetic training recipe and use it to train Wayu-Paxa-OCR-Zero, a Thai adaptation of PaddleOCR-VL-1.6 trained only on synthetic supervision.

We summarize our contributions as follows:

  • Controllable document reconstruction. We introduce a pipeline that replaces source text in place while independently controlling source domain, non-text context, typeface diversity, two-dimensional layout, and handwriting glyph source.

• Evidence about synthetic-to-real transfer. Controlled page- and crop-level experiments identify typography, spatial structure, glyph variation, and the interaction between source domain and training granularity as key determinants of transfer.

  • A synthetic-supervision Thai OCR model. We introduce Wayu-Paxa-OCR-Zero, trained using synthetic data generated from 45,723 pages. The model substantially improves its base checkpoint and outperforms the Typhoon OCR 7B model on all five evaluation sets.

References (39)