Reading Order Independent Metrics for Information Extraction in Handwritten Documents
David Villanova-Aparisi, Solène Tarride, Carlos-D. Martínez-Hinarejos, Verónica Romero, Christopher Kermorvant, Moisés Pastor-Gadea
TL;DR
This work tackles the problem that traditional information-extraction evaluation on handwritten documents is biased by reading order. It introduces reading-order independent metrics, including OIECER, OIEWER, OINerval, and bag-of-words/entity variants, solved via assignment-based matching and the Hungarian algorithm to remove sequence constraints. The authors validate these metrics with a DAN-based HTR+NER model across IAM, Simara, Esposalles, POPP, and a real-world French Military Records corpus, showing that OI metrics correlate with standard ones on regular data yet better reflect real-world unordered annotations. They recommend ECER and EWER for general benchmarking, reserve Nerval for CER-tolerance scenarios, and provide an open-source Python package to compute the metrics, enabling fair, cross-dataset evaluation for handwritten IE systems.
Abstract
Information Extraction processes in handwritten documents tend to rely on obtaining an automatic transcription and performing Named Entity Recognition (NER) over such transcription. For this reason, in publicly available datasets, the performance of the systems is usually evaluated with metrics particular to each dataset. Moreover, most of the metrics employed are sensitive to reading order errors. Therefore, they do not reflect the expected final application of the system and introduce biases in more complex documents. In this paper, we propose and publicly release a set of reading order independent metrics tailored to Information Extraction evaluation in handwritten documents. In our experimentation, we perform an in-depth analysis of the behavior of the metrics to recommend what we consider to be the minimal set of metrics to evaluate a task correctly.
