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

被引:6
作者
Kordon, Florian [1 ]
Weichselbaumer, Nikolaus [2 ]
Herz, Randall [2 ]
Mossman, Stephen [3 ]
Potten, Edward [4 ]
Seuret, Mathias [1 ]
Mayr, Martin [1 ]
Christlein, Vincent [1 ]
机构
[1] Friedrich Alexander Univ Erlangen Nurnberg, Pattern Recognit Lab, Martensstr 3, D-91058 Erlangen, Germany
[2] Johannes Gutenberg Univ Mainz, Gutenberg Inst Weltliteratur & schriftorientierte, Jakob Welder Weg 18, D-55128 Mainz, Germany
[3] Univ Manchester, Sch Arts Languages & Cultures, Oxford Rd, Manchester M13 9PL, England
[4] Univ York, Ctr Medieval Studies, York YO1 7EP, England
基金
英国艺术与人文研究理事会;
关键词
Letterpress printing; Glyph extraction; Optical character recognition; Joint energy-based models; OOD detection; NETWORKS; PRODUCTS;
D O I
10.1007/s10032-023-00442-x
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:223 / 240
页数:18
相关论文
共 73 条
[21]  
Du YL, 2019, ADV NEUR IN, V32
[22]  
Du YL, 2022, 39 INT C MACHINE LEA
[23]  
Ehrmann M., 2022, ARXIV
[24]  
Elflein S., 2021, UNC ROB DEEP LEARN W
[25]   Sigmoid-weighted linear units for neural network function approximation in reinforcement learning [J].
Elfwing, Stefan ;
Uchibe, Eiji ;
Doya, Kenji .
NEURAL NETWORKS, 2018, 107 :3-11
[26]  
gesamtkatalogderwiegendrucke, GESAMTKATALOG WIEGEN
[27]  
GlyphCollector, US
[28]  
Goyal K, 2020, 58TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2020), P2954
[29]  
Grathwohl W., 2019, INT C LEARNING REPRE
[30]  
Grathwohl W.S., 2021, INT C LEARNING REPRE