Early evidence of how LLMs outperform traditional systems on OCR/HTR tasks for historical records

Seorin Kim, Julien Baudru, Wouter Ryckbosch, Hugues Bersini, Vincent Ginis
1/20/2025
cs.CVcs.AIcs.LG

No official code found. Best implementation: jbaudru/llm-ocr-htr-historical-text-recognition (4 stars, last commit 2025-05-28).

Abstract

We explore the ability of two LLMs -- GPT-4o and Claude Sonnet 3.5 -- to transcribe historical handwritten documents in a tabular format and compare their performance to traditional OCR/HTR systems: EasyOCR, Keras, Pytesseract, and TrOCR. Considering the tabular form of the data, two types of experiments are executed: one where the images are split line by line and the other where the entire scan is used as input. Based on CER and BLEU, we demonstrate that LLMs outperform the conventional OCR/HTR methods. Moreover, we also compare the evaluated CER and BLEU scores to human evaluations to better judge the outputs of whole-scan experiments and understand influential factors for CER and BLEU. Combining judgments from all the evaluation metrics, we conclude that two-shot GPT-4o for line-by-line images and two-shot Claude Sonnet 3.5 for whole-scan images yield the transcriptions of the historical records most similar to the ground truth.

View on arXivView PDF

Code Implementations(1)

We explore the ability of two LLMs -- GPT-4o and Claude Sonnet 3.5 -- to transcribe historical handwritten documents in a tabular format and compare their performance to traditional OCR/HTR systems: EasyOCR, Keras, Pytesseract, and TrOCR.

40Shell, PythonMay 30, 20241 years ago
claude-3-5-sonnetgtp4ohandwritten-text-recognitionhtrllms+2 more

Similar Papers

Cite this paper

@article{kim2025early,
  title  = {Early evidence of how LLMs outperform traditional systems on OCR/HTR tasks for historical records},
  author = {Seorin Kim and Julien Baudru and Wouter Ryckbosch and Hugues Bersini and Vincent Ginis},
  year   = {2025},
  eprint = {2501.11623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.11623v1}
}

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/2501.11623.svg)](https://codeofpaper.com/paper/2501.11623)

Discussion