Ari Vesalainen defends his PhD thesis on Model Behavior, Evaluation, and Scholarly Risk in Historical Text Recognition Systems

On Thursday the 22nd of October 2026, M.Sc. Ari Vesalainen defends his PhD thesis on Model Behavior, Evaluation, and Scholarly Risk in Historical Text Recognition Systems. The thesis is related to research done in the Spatiotemporal Data Analysis group and the Computational History group at the University of Helsinki.

M.Sc. Ari Vesalainen defends his PhD thesis “Model Behavior, Evaluation, and Scholarly Risk in Historical Text Recognition Systems” on Thursday the 22nd of October 2026 at 13 in the University of Helsinki Metsätalo Building, Room B317 (Hall 6, Unioninkatu 40, 3rd floor). His opponent is Professor Antoine Doucet (University of La Rochelle, France) and custos Professor Laura Ruotsalainen (University of Helsinki). The defence will be held in English.

The thesis of Ari Vesalainen is a part of research done in the Spatiotemporal Data Analysis group in the Department of Computer Science and in the Computational History group in the Department of Digital Humanities at the University of Helsinki. His supervisors have been Professor Laura Ruotsalainen and Professor Mikko Tolonen (University of Helsinki).

Model Behavior, Evaluation, and Scholarly Risk in Historical Text Recognition Systems

The large-scale digitization of historical documents has made extensive collections increasingly available for computational research. Optical Character Recognition (OCR) and Handwritten Text Recognition (HTR) are central to this process because they transform document images into machine-readable text and structured data. However, researchers often evaluate these systems using isolated measures such as geometric overlap, Character Error Rate (CER), or Word Error Rate (WER). Although useful, these metrics do not fully show how errors are introduced, how they move through different processing stages, or how they affect later scholarly use.

This dissertation develops a system-level perspective on historical text recognition. OCR and HTR are treated as systems in which document representations are transformed across processing stages or integrated components, including document layout analysis, text line detection, reading-order reconstruction, recognition, and post-processing. Errors are therefore not seen only as individual recognition mistakes, but as structured effects arising from processing stages, model architectures, input data, and their interactions. These questions are studied through three empirical studies using printed and handwritten historical documents.

The first contribution is the Document Layout Error Rate (DLER), a structure-aware metric for evaluating document layout analysis. DLER measures errors such as over- and under-segmentation, missing regions, and misclassification in terms of their structural impact and the effort required to correct them. The second contribution is a scalable end-to-end pipeline for extracting structured information from historical handwritten records. Applied to approximately 200,000 images of Finnish migration records, the pipeline combines document layout analysis, table reconstruction, cell classification, and HTR and produces more than six million extracted records. The third contribution is a hypothesis-driven framework for analyzing architecture-dependent recognition errors. A comparison between an OCR-oriented transformer and a multimodal large language model shows that models with broadly similar aggregate accuracy can still produce systematically different error patterns. Visually grounded models tend to preserve source variation but produce more visible local errors, while context-driven models can produce fluent output that includes unsupported substitutions or normalization.

Based on these findings, the dissertation proposes a system-level evaluation framework that combines stage-specific accuracy, structural correctness, error behavior, correction effort, and downstream task requirements. It also introduces the concept of scholarly risk to describe the possibility that OCR/HTR errors distort the representation or interpretation of historical sources. This risk depends on the research task: errors that may be acceptable in exploratory analysis can be serious in applications such as critical editing, where textual fidelity and completeness are essential.

The dissertation concludes that OCR and HTR systems should be designed and evaluated not only by their overall accuracy, but also by how information is preserved, changed, or lost across the full processing system. A system-level, structure-aware, and task-aware perspective can support more reliable historical text recognition and more transparent computational research with digitized cultural heritage.

Avail­ab­il­ity of the dis­ser­ta­tion

An electronic version of the doctoral dissertation will be available in the University of Helsinki open repository Helda at .

Printed copies will be available on request from Ari Vesalainen: .