TL;DR
This paper demonstrates that Convolutional Neural Networks (CNNs) can revolutionize offline writer identification by replacing traditional hand-crafted features like SIFT with learned "activation features." By combining these deep features with GMM supervector encoding and a specialized KL-Kernel normalization, the authors achieved a massive 21% absolute improvement in mean Average Precision (mAP) on the challenging ICDAR 2013 dataset.
What Problem Does This Paper Address?
Writer identification—the task of determining the author of a handwritten document—is a complex behavioral biometric challenge. Unlike fingerprints, handwriting changes with age and schooling. The field is split into "online" (using temporal stroke data) and "offline" (using only static images).
The authors tackle offline writer identification, which typically relies on extracting local descriptors (like SIFT or SURF) from small parts of letters (allographs) and aggregating them into a global document fingerprint. While CNNs have dominated image classification, they were previously underutilized in writer identification. A major hurdle is the "disjoint set" problem: in real-world scenarios, the writers you want to identify in a test set are usually not the same ones you used to train your model, making standard end-to-end classification impossible.
Methods
The authors propose a hybrid pipeline that bridges deep learning and classical statistical aggregation:
- Feature Learning: They train a relatively simple CNN (two convolutional layers, one hidden layer) on 32x32 image patches to classify a set of known writers.
- Activation Features: Once trained, they discard the final classification layer. The activations of the last hidden layer are used as local descriptors. This allows the network to act as a data-driven feature extractor that captures the nuances of individual handwriting styles.
- Encoding: To turn thousands of local patch features into one global document descriptor, they use GMM Supervector encoding. Specifically, they adapt the means of a pretrained Gaussian Mixture Model (GMM) to the features of a specific document.
- Normalization & Whitening: The pipeline includes ZCA whitening to decorrelate the activation features and a novel normalization step using a kernel derived from the Kullback-Leibler (KL) divergence. This step implicitly incorporates information from the GMM's weights and variances, even though only the means were adapted.
Datasets
The study evaluates the method on two major benchmarks:
- ICDAR 2013: A challenging bilingual dataset (Greek and English) featuring 100 writers for training and 250 independent writers for testing.
- CVL Dataset: Contains 310 writers contributing English and German texts. Notably, the authors used the CNN trained on ICDAR to evaluate CVL, testing the generalizability of the learned features.
Key Insights and Ideas
- Learned Features Win: CNN activation features significantly outperformed traditional descriptors like SIFT and SURF. The data-driven nature of CNNs allows them to capture higher-level abstractions of script that hand-crafted filters miss.
- The Aggregation Paradox: Interestingly, the authors found that a CNN configuration with a smaller hidden layer (64 nodes) was better for aggregation tasks, even if a larger layer (256 nodes) yielded higher classification accuracy on the training set. This suggests that highly specialized classification features might be less "descriptive" for general writer identification.
- Generalizability: Features learned on the ICDAR dataset performed exceptionally well on the CVL dataset without retraining. This proves that a CNN can learn a general "language" of handwriting style that transfers across different datasets and even different languages.
Key Results
The proposed method set a new bar for the state-of-the-art:
- ICDAR 2013: The mAP reached 0.886, a staggering jump from the previous state-of-the-art of 0.671. The Top-1 identification accuracy hit 98.9%.
- CVL: The method achieved a Top-1 accuracy of 99.4% and an mAP of 0.978, performing comparably to or better than existing specialized methods.
- Bilingual Performance: On the ICDAR language subsets, the method maintained high performance across both Greek and English, showing robustness to different scripts.
Limitations and Future Work
While the results are impressive, the authors note several areas for growth:
- Architecture Complexity: The CNN used was quite shallow (only 2 conv layers). Exploring deeper architectures or modern techniques like $L_p$-pooling could yield further gains.
- Encoding Refinements: There is room to improve the aggregation step, perhaps by using "democratic aggregation" or higher-order VLAD encoding.
- Domain Adaptation: While the features generalized well, the authors believe performance on datasets like CVL would improve even further if those specific datasets were included in the initial CNN training phase.
Summary updated