A Multi-Stage Framework for Kuzushiji Character Recognition in Japanese Historical Documents
Organizations: Graduate School of Informatics, Kyoto University, Kyoto, Japan · Academic Center for Computing and Media Studies, Kyoto University, Kyoto, Japan
Abstract
Kuzushiji was a widely used cursive writing system in pre-modern Japan. Due to simplification and glyph variation, most modern Japanese readers cannot read Kuzushiji characters. Consequently, recent studies have developed optical character recognition (OCR) systems for Kuzushiji. Despite recent progress, Kuzushiji character recognition (KCR) in Japanese historical documents remains challenging because of seal-character overlap and complex layouts, which interfere with character recognition and hinder accurate reconstruction of the reading order. To address these challenges, we propose a multi-stage KCR framework comprising character detection, cropping, classification, ordering, and large language model (LLM)-based post-OCR correction. Specifically, we employ a synthetic data augmentation strategy to improve character detection robustness against seal interference and introduce an adaptive column clustering algorithm to reconstruct the reading order. Finally, we leverage the contextual capabilities of the LLM to correct OCR errors. In addition, we correct annotation omissions, reconstruct the benchmark dataset, and introduce a synthetic test set with simulated seal interference and an out-of-domain (OOD) test set for evaluation. Compared with the conventional character-level OCR baseline, our framework achieves relative CER reductions of 43.48%, 46.02%, and 39.11% on the real, synthetic, and OOD test sets, respectively.
Figures & tables
| Set | Real Pages | Synth. Pages | Total Pages | ||
|---|---|---|---|---|---|
| #Pages | S/P | #Pages | S/P | ||
| Train | 800 | 800 | 10 | 1,600 | |
| Validation | 100 | 100 | 10 | 200 | |
| Real Test | 100 | – | – | 100 | |
| Synth. Test | – | – | 100 | 10 | 100 |
| OOD Test | 1,090 | – | – | 1,090 | |
| Method | Model Complexity | Real Test Set | Synthetic Test Set | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Params | FLOPs | P | R | P | R | |||||
| RT-DETR-R50 | 41.94M | 125.6G | 93.6 | 90.3 | 94.3 | 70.1 | 91.1 | 85.0 | 90.8 | 65.2 |
| + Data Duplication | 41.94M | 125.6G | 95.8 | 92.2 | 95.1 | 69.5 | 93.7 | 87.0 | 92.1 | 64.8 |
| + SDA (Ours) | 41.94M | 125.6G | 96.3 | 93.1 | 95.6 | 70.5 | 95.6 | 92.2 | 95.0 | 68.4 |
| YOLOv9-C | 25.32M | 102.3G | 97.8 | 93.3 | 96.5 | 82.6 | 95.8 | 88.0 | 93.8 | 77.8 |
| + Data Duplication | 25.32M | 102.3G | 97.6 | 93.5 | 96.5 | 82.8 | 95.6 | 88.4 | 94.0 | 78.1 |
| Test Set | Top-1 Acc. | Top-5 Acc. |
|---|---|---|
| Real | 97.40% | 99.38% |
| Synth. | 93.93% | 97.48% |
| Model | Real Test Set | Synth. Test Set |
|---|---|---|
| GPT-5.4 | ||
| GPT-5.5 | ||
| GPT-5.6-Sol | ||
| GPT-6-Astra |
| Method | Component | Performance (CER) | ||||
|---|---|---|---|---|---|---|
| SDA | AdaCC | Post-OCR | Real | Synth. | OOD | |
| Our Framework | 19.85 | 27.42 | 20.66 | |||
| ✓ | 19.30 | 22.78 | 19.74 | |||
| ✓ | 12.01 | 20.26 | 14.28 | |||
| ✓ | ✓ | 11.59 | 15.29 | 13.42 | ||
| ✓ | ✓ | ✓ | 11.22 | 14.80 | 12.58 | |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Validation Set | Test Set | ||||
|---|---|---|---|---|---|
| PSNR | SSIM | PSNR | SSIM | ||
| – | – | 29.15 | 0.9655 | 28.71 | 0.9639 |
| 80 | (1.2, 1.2) | 29.76 | 0.9470 | 29.61 | 0.9465 |
| 80 | (1.3, 1.3) | 33.64 | 0.9736 | 33.73 | 0.9731 |
| 80 | (1.4, 1.4) | 33.87 | 0.9756 | 33.77 | 0.9745 |
| 80 | (1.5, 1.5) | 31.97 | 0.9717 | 31.68 | 0.9706 |
| Method | Real Test Set | Synth. Test Set |
|---|---|---|
| w/o Restoration | 11.59 | 15.29 |
| w/ Restoration | 11.98 | 13.67 |
| Index | NIJL ID | Book Title | Pages | Chars. | Chars/Page |
|---|---|---|---|---|---|
| 1 | 100241706 | Usonarubeshi (虚南留別志) | 67 | 8,565 | 127.8 |
| 2 | 100249376 | Gozenkashi Hidenshō (御前菓子秘伝抄) | 104 | 11,841 | 113.9 |
| 3 | 100249416 | Mochigashi Sokuseki Teseishū (餅菓子即席/手製集) | 58 | 7,967 | 137.4 |
| 4 | 100249476 | Meshi Hyakuchinden (飯百珍伝) | 46 | 7,842 | 170.5 |
| 5 | 200006663 | Jiguchi (ぢぐち) | 8 | 121 | 15.1 |
| 6 | 200015843 | Nippon Eitaigura (日本永代蔵) | 180 | 50,251 | 279.2 |
| Index | NIJL ID | Book Title | Pages | Chars. | Chars/Page |
|---|---|---|---|---|---|
| 1 | 100249371 | Teisa Hiroku (鼎左秘録) | 83 | 9,580 | 115.4 |
| 2 | 100249537 | Ryōri Chinmishū (料理珍味集) | 159 | 12,358 | 77.7 |
| 3 | 200003076 | Kōshoku Ichidai Otoko (好色一代男) | 282 | 63,959 | 226.8 |
| 4 | 200010454 | Genji Monogatari (源氏物語) | 71 | 11,566 | 162.9 |
| 5 | 200014740 | Ugetsu Monogatari (雨月物語) | 154 | 44,832 | 291.1 |
| 6 | 200015779 | Ukiyoburo (浮世風呂) | 268 | 60,381 | 225.3 |