Synth-JDoc: Synthesizing a Japanese Document Image Dataset for OCR with Diverse Layouts and Embedded Images

Keito Sasagawa, Shuhei Kurita, Daisuke Kawahara
8/28/2026
1 citation
cs.CVcs.CL
benchmark-dataset

Official code: llm-jp/synth-jdoc (4 stars, Python, Apache-2.0, last commit 2026-08-28).

Abstract

The ability of Large Vision Language Models (LVLMs) to read text within document images is crucial, as it enables various applications such as Document Visual Question Answering. To enhance the text-reading capabilities of LVLMs, high-quality OCR datasets are essential.

Show full abstract

This need is particularly critical for Japanese documents, which often feature vertically written text alongside horizontally written text. Current LVLMs demonstrate considerably lower performance on vertically written Japanese text than on horizontally written text, necessitating specialized OCR datasets to bridge this gap. However, manually constructing OCR datasets is expensive and difficult to scale. Alternatively, constructing datasets by extracting text from existing document images using OCR models introduces challenges, such as text recognition errors and the prerequisite of sourcing document images. To address these issues, we construct an OCR dataset by synthesizing document images directly from text. Leveraging HTML and CSS, we generate multi-column documents that incorporate both vertical and horizontal writing styles. Furthermore, to ensure the visual realism of the documents, we embed images generated by text-to-image models within the layout. Additionally, to foster model robustness, we apply noise and degradation filters to the synthesized document images. In our experiments, we compared the performance of models fine-tuned on our synthetic dataset against baselines fine-tuned on synthetic datasets from prior work and those generated by a high-performance text-to-image model. Evaluation results demonstrate that our synthetic dataset is the most effective approach for improving LVLM performance on reading vertically written Japanese text. Our dataset and code are publicly available (https://github.com/llm-jp/synth-jdoc).

View on arXivView PDF

Code Implementations(1)

llm-jp/synth-jdocOfficial100%
Apache-2.0

Code to synthesize Japanese document images from text, featuring embedded images, multi-columns and vertical/horizontal writing.

40Python, ShellDec 3, 20253 months agoApache-2.0

Similar Papers

Cite this paper

@article{sasagawa2026synthjdoc,
  title  = {Synth-JDoc: Synthesizing a Japanese Document Image Dataset for OCR with Diverse Layouts and Embedded Images},
  author = {Keito Sasagawa and Shuhei Kurita and Daisuke Kawahara},
  year   = {2026},
  eprint = {2608.28248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.28248v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.28248.svg)](https://codeofpaper.com/paper/2608.28248)

Discussion