The Notary in the Haystack – Countering Class Imbalance in Document Processing with CNNs

Leipert M, Vogeler G, Seuret M, Maier A, Christlein V (2020)


Publication Type: Book chapter / Article in edited volumes

Publication year: 2020

Journal

Edited Volumes: Document Analysis Systems

Pages Range: 246-261

ISBN: 9783030570576

URI: https://arxiv.org/abs/2007.07943

DOI: 10.1007/978-3-030-57058-3_18

Abstract

Notarial instruments are a category of documents. A notarial instrument can be distinguished from other documents by its notary sign, a prominent symbol in the certificate, which also allows to identify the document’s issuer. Naturally, notarial instruments are underrepresented in regard to other documents. This makes a classification difficult because class imbalance in training data worsens the performance of Convolutional Neural Networks. In this work, we evaluate different countermeasures for this problem. They are applied to a binary classification and a segmentation task on a collection of medieval documents. In classification, notarial instruments are distinguished from other documents, while the notary sign is separated from the certificate in the segmentation task. We evaluate different techniques, such as data augmentation, under- and oversampling, as well as regularizing with focal loss. The combination of random minority oversampling and data augmentation leads to the best performance. In segmentation, we evaluate three loss-functions and their combinations, where only class-weighted dice loss was able to segment the notary sign sufficiently.


Authors with CRIS profile

Involved external institutions

How to cite

APA:

Leipert, M., Vogeler, G., Seuret, M., Maier, A., & Christlein, V. (2020). The Notary in the Haystack – Countering Class Imbalance in Document Processing with CNNs. In Xiang Bai, Dimosthenis Karatzas, Daniel Lopresti (Eds.), Document Analysis Systems. (pp. 246-261).

MLA:

Leipert, Martin, et al. "The Notary in the Haystack – Countering Class Imbalance in Document Processing with CNNs." Document Analysis Systems. Ed. Xiang Bai, Dimosthenis Karatzas, Daniel Lopresti, 2020. 246-261.

BibTeX: Download