Classification of incunable glyphs and out-of-distribution detection with joint energy-based models

Kordon FJ, Weichselbaumer N, Herz R, Mossman S, Potten E, Seuret M, Mayr M, Christlein V (2023)


Publication Type: Journal article, Original article

Publication year: 2023

Journal

DOI: 10.1007/s10032-023-00442-x

Open Access Link: https://link.springer.com/article/10.1007/s10032-023-00442-x

Abstract

Optical character recognition (OCR) has proved a powerful tool for the digital analysis of printed historical documents. However, its ability to localize and identify individual glyphs is challenged by the tremendous variety in historical type design, the physicality of the printing process, and the state of conservation. We propose to mitigate these problems by a downstream fine-tuning step that corrects for pathological and undesirable extraction results. We implement this idea by using a joint energy-based model which classifies individual glyphs and simultaneously prunes potential out-of-distribution (OOD) samples like rubrications, initials, or ligatures. During model training, we introduce specific margins in the energy spectrum that aid this separation and explore the glyph distribution’s typical set to stabilize the optimization procedure. We observe strong classification at 0.972 AUPRC across 42 lower- and uppercase glyph types on a challenging digital reproduction of Johannes Balbus’ Catholicon, matching the performance of purely discriminative methods. At the same time, we achieve OOD detection rates of 0.989 AUPRC and 0.946 AUPRC for OOD ‘clutter’ and ‘ligatures’ which substantially improves upon recently proposed OOD detection techniques. The proposed approach can be easily integrated into the postprocessing phase of current OCR to aid reproduction and shape analysis research.

Authors with CRIS profile

Additional Organisation(s)

Involved external institutions

How to cite

APA:

Kordon, F.J., Weichselbaumer, N., Herz, R., Mossman, S., Potten, E., Seuret, M.,... Christlein, V. (2023). Classification of incunable glyphs and out-of-distribution detection with joint energy-based models. International Journal on Document Analysis and Recognition. https://doi.org/10.1007/s10032-023-00442-x

MLA:

Kordon, Florian Johannes, et al. "Classification of incunable glyphs and out-of-distribution detection with joint energy-based models." International Journal on Document Analysis and Recognition (2023).

BibTeX: Download