Abstract
Handwritten signature verification is a critical task in security and forensics, yet it faces challenges due to information sparsity and skilled forgeries. This paper presents the Inverse Discriminative Network (IDN), a four-stream architecture that leverages gray-inverted images and multi-path attention to focus on pen stroke mechanics. Evaluated on the newly introduced Chinese Signature Dataset (CSD) and standard benchmarks, IDN demonstrates superior performance by effectively mining stroke-level features and ignoring background noise.
Introduction
Handwritten signatures serve as a primary biometric for legal and financial authentication. Unlike face or object recognition, signature verification is a "sparse" problem where thin lines are distributed across a large background. Traditional deep learning models often struggle to distinguish between genuine signatures and high-quality forgeries because they fail to capture the intricate structural details of the strokes, often overfitting to the background.
The Challenge of Signature Verification
Signature verification is typically approached as a writer-independent task, requiring a model to generalize across different individuals. Three main hurdles exist:
- Information Sparsity: Most of the image is empty space; strokes occupy only a small fraction of pixels.
- Intra-class Variation: Natural variations in an individual's signature over time make consistency difficult to model.
- Skilled Forgeries: Professional forgers can replicate the visual appearance of a signature, making it hard for global image classifiers to detect fraud based on fluid motion.
Methodology: Inverse Discriminative Networks (IDN)
The IDN architecture moves beyond standard Siamese networks by incorporating an inverse stream to regularize the learning process and force the model to "see" the strokes.
Four-Stream Architecture and Inverse Supervision
The model utilizes four weight-shared streams. Two streams process the original reference and test images, while the other two process their gray-inverted counterparts (where black strokes become white on a black background). The system is trained using "inverse supervision," requiring the model to reach consistent decisions across three pairs: (Reference, Test), (Inverted-Reference, Test), and (Reference, Inverted-Test). This forces the network to ignore background color and focus on the geometric structure of the strokes.
Multi-path Attention Modules
To address sparsity, the IDN employs eight attention paths that connect the discriminative and inverse streams. These modules use a forward-backward message-passing mechanism to highlight stroke-related pixels across different scales, effectively acting as a denoiser.
Datasets
A significant contribution of this work is the Chinese Signature Dataset (CSD), which addresses the lack of large-scale Chinese signature data.
- CSD: 29,000 images from 749 individuals, including genuine signatures, simple forgeries, and skilled forgeries created by calligraphers.
- CEDAR, BHSig-B, BHSig-H: Standard English, Bengali, and Hindi datasets used for benchmarking and cross-language testing.
Key Insights and Results
The IDN's performance stems from its ability to "mine" stroke information specifically.
Attention as a Denoiser
The multi-path attention mechanism effectively filters out the blank background, making the sparse data "denser" for the final decision layers. Visualization of the feature maps confirms that the network's attention is tightly coupled with the actual pen strokes rather than the global image.
Performance Metrics
- CSD Accuracy: IDN achieved 90.17%, a significant improvement over the previous state-of-the-art baseline of 82.75%.
- CEDAR EER: The model reached an Equal Error Rate (EER) of 3.62%, outperforming several complex graph-matching and texture-based methods.
- Ablation Success: Comparisons showed that the full four-stream IDN consistently outperforms standard two-stream Siamese networks, validating the importance of inverse supervision and attention.
Conclusion and Future Work
The Inverse Discriminative Network provides a robust framework for signature verification by forcing the model to learn stroke mechanics. However, cross-language tests reveal a "generalization gap," where models trained on one script (e.g., Chinese) perform poorly on others (e.g., Hindi). This suggests that writing habits are deeply embedded in the learned features. Future research will explore joint verification and recognition systems to bridge these linguistic and cultural gaps.
Summary updated