Título:
Post-OCR correction using large language models with constrained decoding
Otros títulos:
Coordinador:
Director:
Compilador:
Autor:
Sastre, Ignacio
Etcheverry, Lorena
Rey, Guillermo
Moncecchi, Guillermo
Rosá, Aiala
Etcheverry, Lorena
Rey, Guillermo
Moncecchi, Guillermo
Rosá, Aiala
Tutor:
Tipo de documento:
Preprint
Editor:
Palabras clave:
Natural Language Processing
Optical Character Recognition (OCR)
Post-OCR Correction
LLMs with Constrained Decoding
Optical Character Recognition (OCR)
Post-OCR Correction
LLMs with Constrained Decoding
Descriptores:
Año de publicación:
2025
Contenido:
Resumen:
This article addresses the problem of correcting noisy Optical Character Recognition (OCR) outputs from digitized historical documents, specifically those from the Berrutti Archive related to Uruguay’s civic-military dictatorship. These documents—produced with typewriters, diverse layouts, and overlaid annotations—pose significant hallenges for standard OCR tools, resulting in highly errorprone text. We present a novel post-OCR correction method that leverages fine-tuned open-source Large Language Models (LLMs)
combined with a constrained decoding strategy. This strategy incorporates character-level similarity between the OCR input and the generated output at decoding time, steering the model toward corrections that closely preserve the original text structure. We evaluate our method on a gold-standard dataset of over 2000 annotated lines and show that it outperforms prompting and standard fine-tuning
approaches, reducing both character error rate (CER) and word error rate (WER). The corrected outputs provide more accurate input for downstream tasks, such as named entity recognition, relation and event extraction, and knowledge graph construction, thereby supporting the broader goal of extracting knowledge from historically significant and sensitive archives.
Descripción:
metadata.articulos.dc.description.uri:
Editorial:
EN:
Financiadores:
Proyecto ANII IA_1_2022_1_173863
Citación:
Sastre, I., Etcheverry, L., Rey, G. y otros. Post-OCR correction using large language models with constrained decoding [Preprint] Publicado en: Researche Square, julio 2025. 16 p. DOI: doi.org/10.21203/rs.3.rs-6823036/v1.
Citación:
metadata.articulos.cc.license.name:
ISBN:
e-ISBN:
ISSN:
ISMN:
Otros identificadores:
Cobertura geográfica:
Cobertura temporal:
Departamento académico:
Grupo de investigación:
Licencia:
Licencia Creative Commons Atribución - No Comercial - Sin Derivadas (CC - By-NC-ND 4.0)
Colecciones:
| Ficheros | Descripción | Tamaño | Formato | ||
|---|---|---|---|---|---|
| Principal SERMR25.pdf | Preprint | 1.84 MB | Adobe PDF |
