[Paper Review] Unsupervised Feature Learning for Writer Identification and Writer Retrieval
This paper proposes an unsupervised deep feature learning method for writer identification and retrieval using cluster memberships of SIFT descriptors as surrogate labels to train a ResNet. The method achieves state-of-the-art performance on the ICDAR17 Historical-WI dataset, outperforming both traditional handcrafted features and supervised surrogate class methods, with a 74.8% mAP on the test set using m-VLAD encoding and binarized patches.
Deep Convolutional Neural Networks (CNN) have shown great success in supervised classification tasks such as character classification or dating. Deep learning methods typically need a lot of annotated training data, which is not available in many scenarios. In these cases, traditional methods are often better than or equivalent to deep learning methods. In this paper, we propose a simple, yet effective, way to learn CNN activation features in an unsupervised manner. Therefore, we train a deep residual network using surrogate classes. The surrogate classes are created by clustering the training dataset, where each cluster index represents one surrogate class. The activations from the penultimate CNN layer serve as features for subsequent classification tasks. We evaluate the feature representations on two publicly available datasets. The focus lies on the ICDAR17 competition dataset on historical document writer identification (Historical-WI). We show that the activation features trained without supervision are superior to descriptors of state-of-the-art writer identification methods. Additionally, we achieve comparable results in the case of handwriting classification using the ICFHR16 competition dataset on historical Latin script types (CLaMM16).
Motivation & Objective
- To develop a deep learning method for writer identification and retrieval that does not require labeled writer data.
- To investigate whether unsupervised clustering of SIFT descriptors can serve as effective surrogate classes for training CNNs.
- To evaluate the performance of unsupervised features against state-of-the-art handcrafted and supervised deep features on historical document datasets.
- To assess the robustness and sensitivity of the method to hyperparameters such as number of clusters, network depth, and preprocessing choices like binarization.
Proposed method
- Extract SIFT descriptors from training images and cluster them using k-means to generate surrogate classes.
- Train a deep residual network (ResNet) using image patches centered at SIFT keypoint locations, with cluster indices as target labels.
- Use the penultimate layer activations of the trained CNN as local feature descriptors.
- Encode the local descriptors using VLAD (Vector of Locally Aggregated Descriptors) for global image representation.
- Apply power normalization to the VLAD vectors and use them for classification or retrieval tasks.
- Evaluate the method on writer identification and script type classification using public benchmarks (ICDAR17 and CLaMM16).
Experimental results
Research questions
- RQ1Can unsupervised clustering of SIFT descriptors serve as effective surrogate labels for training deep CNNs in the absence of writer labels?
- RQ2How does the performance of unsupervised feature learning compare to state-of-the-art handcrafted features (e.g., SIFT + FV, C-Zernike + m-VLAD) in writer identification?
- RQ3Does the number of surrogate classes (i.e., cluster count) significantly affect the performance of the learned features?
- RQ4Is binarization of input patches beneficial for training the CNN and improving feature quality?
- RQ5Can the proposed method generalize to other document analysis tasks, such as medieval script type classification?
Key findings
- The proposed unsupervised method achieves a mean average precision (mAP) of 74.8% on the ICDAR17 Historical-WI test set, outperforming SIFT + FV (62.2%) and C-Zernike + m-VLAD (69.2%) methods.
- Using 2 surrogate clusters already produces better performance than using actual writers as surrogate classes, indicating that cluster-based supervision is more effective than class-level supervision in low-shot settings.
- The method is robust to the number of clusters: performance stabilizes beyond 1,000 clusters, with a peak at 5,000 clusters.
- Binarization of input patches improves precision and leads to better feature learning, despite the loss of intensity information, likely due to easier optimization.
- The use of restricted SIFT (R-SIFT) for keypoint detection yields slightly better results than standard SIFT, suggesting that filtering out ambiguous patches improves training quality.
- Deeper networks (44-layer ResNet) provide only marginal improvement over the 20-layer version, indicating that depth is not a critical factor for this task.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.