Multiscale Feature Learning Using Co-Tuplet Loss for Offline Handwritten Signature Verification
Abstract
Handwritten signature verification, crucial for legal and financial institutions, faces challenges including inter-writer similarity, intra-writer variations, and limited signature samples. To address these, we introduce a MultiScale Signature feature learning Network (MS-SigNet) with a novel metric learning loss called the co-tuplet loss, designed for offline handwritten signature verification. MS-SigNet learns both global and regional signature features from multiple spatial scales, enhancing feature discrimination. This approach effectively distinguishes genuine signatures from skilled forgeries by capturing overall strokes and detailed local differences. The co-tuplet loss, focusing on multiple positive and negative examples, overcomes the limitations of typical metric learning losses by addressing inter-writer similarity and intra-writer variations and emphasizing informative examples. We also present HanSig, a large-scale Chinese signature dataset (available at https://github.com/hsinmin/HanSig) to support robust system development. Experimental results on four benchmark datasets in different languages demonstrate the promising performance of our method in comparison to state-of-the-art approaches.
I Introduction
Handwritten signature verification aims to recognize individuals’ signatures for identity verification. This biometric verification approach is commonly accepted by government agencies and financial institutions [1]. The handwritten signature verification systems can be classified into two categories based on the signature acquisition device used: online and offline signature verification. Online verification involves capturing dynamic characteristics of the signing process, such as velocity and pressure. In contrast, offline verification refers to the static verification of scanned digital signatures. Since offline verification lacks dynamic characteristics, distinguishing between genuine and forged signatures is inherently more challenging. Moreover, discriminating between genuine signatures and skilled forgeries is difficult due to the high level of imitation similarity (inter-writer similarity). Additionally, practical factors such as significant variations within an individual’s signatures (intra-writer variations or intra-personal variability) and the limited number of available signature samples further complicate the implementation of automatic verification systems [2].
Early offline signature verification systems primarily relied on manual feature extraction methods [3, 4]. To address the challenge of intra-writer variations, capturing regional information from local signature regions has been proposed to provide details for static verification [5, 6, 7]. However, the traditional process involves sequentially applying independent steps of manual regional feature extraction, region similarity estimation, and similarity verification. These methods overlook the interdependencies between feature extraction and similarity measurement, resulting in suboptimal performance. In recent years, some studies [2, 8, 9, 10, 11, 12] have proposed the adoption of convolutional neural network (CNN)-based metric learning methods to integrate similarity measurement into automatic feature learning, overcoming the limitations of manual feature extraction. However, existing methods either learn from entire signature images or local regions, failing to exploit the complementary nature of global and regional information. Additionally, most of these methods trained with typical metric learning losses, such as contrastive loss [13] and triplet loss [14, 15], tend to suffer from slow convergence and bad local minima due to the pair or triplet sampling problem [16, 17].
To overcome the limitations of previous studies, we propose a MultiScale Signature feature learning Network (MS-SigNet) with a new metric learning loss called co-tuplet loss for offline signature verification. MS-SigNet simultaneously considers global and regional information in handwritten signatures, dividing deep feature maps into dual-orientation regions to learn local differences. Learning global representations aims to capture the overall information on signature strokes and configuration. However, given the high similarity between genuine signatures and skilled forgeries, it is also necessary to learn regional representations to explore local details. The proposed MS-SigNet can capture information from various spatial scales and integrate it to generate discriminative features. Additionally, we address the thin and sparse nature of signature strokes in images by aggregating information learned at different levels. We also introduce an attention module that guides the network to focus on important information by considering interactions between multiscale features. The design of our proposed signature verification system is based on the writer-independent (WI) approach. In contrast to the writer-dependent (WD) approach, WI has the advantages of leveraging information across signatures from different writers and requiring no system updates for new writers.
![Refer to caption](extracted/5739793/Comparison.png)
For effective similarity measurement, we propose the co-tuplet loss, a novel metric learning loss, to learn the distance metric for handwritten signature verification. The proposed co-tuplet loss aims to transform input features into a feature space where genuine signatures from the same writer are close to each other while corresponding forgeries are far away from genuine ones. Unlike the typical triplet loss [14, 15], the proposed co-tuplet loss simultaneously considers multiple genuine signatures and multiple forgeries to learn similarity metrics. This effectively addresses issues related to intra-writer variability and inter-writer similarity. Additionally, we emphasize the importance of batch construction and example selection to focus the training process on informative examples. It is worth noting that our approach combines the feature learning and similarity measurement steps and can be optimized end-to-end. Fig. 1 depicts the comparison between previous frameworks and our proposed framework for offline handwritten signature verification.
For training and evaluation, we utilize four offline handwritten signature datasets in different languages. Three of these datasets are publicly available: CEDAR [18], BHSig-Bengali [19], and BHSig-Hindi [19]. To address the lack of large-scale public offline Chinese signature datasets, we create the HanSig dataset, consisting of 35,400 signature samples from 238 writers. Experimental results demonstrate the promising performance of our proposed MS-SigNet with co-tuplet loss compared to state-of-the-art methods.
In summary, our contributions can be listed as follows:
-
•
We propose a multiscale feature learning method to generate discriminative features for offline handwritten signature verification. To our best knowledge, this is the first study that adopts deep end-to-end learning to automatically learn multiple spatial information and integrate it for signature verification.
-
•
We propose a new metric learning loss that enhances discriminative capability and facilitates better convergence of our network. This loss enables the training process to pay attention to informative examples and effectively tackles challenges associated with intra-writer signing variation and inter-writer similarity, resulting in improved performance.
-
•
Considering that few large-scale Chinese signature datasets are publicly available, we present the HanSig dataset, a large-scale offline Chinese signature dataset. Such datasets, which consider writers’ signing variations, are crucial for developing robust verification systems for this script.
II Related Research
II-A Offline handwritten signature verification
Given the wide use of the offline handwritten signatures, many new approaches for offline signature verification have been developed in the last ten years [20]. Most early work [3, 4] relied on manual feature extraction methods to capture signature stroke variations. However, the feature extraction process is easily disturbed by noise, leading to a limited capacity to extract complex features [21]. In recent times, there has been a growing interest in utilizing automatic feature extraction methods, particularly CNNs, to learn representations from signature images. These methods have effectively overcome the limitations of manual feature extraction. Several studies [22, 23, 24] employed CNNs as feature extractors, followed by training separate classifiers for forgery detection. Wei et al. [25] introduced a four-stream CNN to focus on the sparse stroke information.
For the improvement of offline signature verification, several studies have concentrated on regional information and local details to capture static properties. To address intra-writer variations, Pirlo and Impedovo [5] and Malik et al. [6] discovered that stable signature regions exhibit similar patterns among signatures from the same signer. Sharif et al. [7] combined global features with local features from 16 image parts. While these methods provided additional information for static signature verification, the separation of manual feature extraction and similarity measurement did not guarantee optimal performance. Liu et al. [2] proposed a region-based deep learning network that solely used local regions as inputs to obtain signature features.
In contrast to previous works, we propose an offline signature verification system that automatically learns feature representations from both the entire image and local regions. Unlike Liu et al. [2], our method combines global and regional information and divides deep feature maps into dual-orientation regions. This enables us to aggregate features from multiple scales and improve robustness against misalignment issues. Moreover, our system integrates similarity measurement with feature learning, thereby enhancing the entire training process compared to previous methods [5, 6, 7, 22, 23, 24].
II-B Metric learning-based methods
Recently, there has been an increased focus on employing metric learning-based methods to learn similarity and dissimilarity for feature representations. The objective of these methods is to learn a good distance metric that transforms input features into a new feature space, where instances belonging to the same class are close together and those from different classes are far apart [26, 27]. Commonly-used metric learning functions for learning pairwise similarities include contrastive loss [13] and triplet loss [14, 15] among others. Deep learning methods that integrate metric learning into feature learning have found wide applications in various domains, including face recognition [28] and person re-identification [27].
In the field of offline handwritten signature systems, metric learning-based methods have also shown promising results. Soleimani et al. [26] and Rantzsch et al. [8] were among the early researchers who introduced metric learning into signature verification. Dey et al. [9], Xing et al. [10], and Liu et al. [2] employed the Siamese network [29] for metric learning. Some studies have proposed improvements to existing metric learning structures to enhance the robustness of offline signature verification. For instance, Maergner et al. [11] combined a triplet loss-based CNN with the graph edit distance approach. Wan and Zou [12] and Zhu et al. [30] respectively developed a dual triplet loss and a point-to-set (P2S) metric to improve discrimination between genuine signatures and skilled forgeries.
The previous research on handwritten signature verification mainly employed typical metric learning losses or developed improved losses based on similar concepts. However, these losses often suffer from unstable and slow convergence due to inherent sampling problem [16, 17]. To address these limitations of typical metric learning losses, we propose a new metric learning loss. This loss shares similarities with previous tuplet-based losses such as the multi-class N-pair loss [16] and the tuplet margin loss [31]. However, we introduce a unique example selection and mining strategy specifically tailored for the signature verification task to facilitate better convergence.
![Refer to caption](extracted/5739793/Model3.png)
II-C Main public offline signature datasets
According to Hameed et al. [21], the CEDAR [18], GPDS [32], and MCYT-75 [33] datasets are among the most commonly adopted Western signature datasets. UTSig [34] is a frequently used Persian signature dataset. Additionally, the BHSig260 dataset [19] offers two subsets comprising signatures in Bengali and Hindi languages. However, when it comes to offline Chinese handwritten signatures, there is a scarcity of publicly available datasets. Currently, the SigComp2011 [35] and ChiSig [36] datasets are the only existing public datasets for offline Chinese signatures. SigComp2011 has only 1,177 signature samples. In comparison, ChiSig is a new dataset that contains a more substantial number of samples, with a total of 10,242 signatures.
Considering that the characteristics of handwritten signatures differ across languages and scripts due to their unique writing styles [25], it is impractical to train a Chinese signature verification system using Western datasets. Moreover, the development of a realistic signature verification system requires the consideration of signature variability to avoid overfitting [20]. Therefore, we are motivated to create a new offline Chinese signature dataset that contains more samples and incorporates signature variability for each writer.
III Proposed Method
In this section, we introduce the MultiScale Signature feature learning Network (MS-SigNet), the handwritten signature verification method proposed in this study. Additionally, we introduce a novel metric learning loss called co-tuplet loss, which aims to improve the discriminative capability of the learned features for signature verification. Finally, we elaborate on the decision-making process in our signature verification system.
III-A Overall architecture
Fig. 2 illustrates the overall architecture of MS-SigNet. To integrate the discriminative signature information of different spatial scales, we propose to automatically learn robust feature representations from both the global and dual-orientation regional branches, which sets it apart from existing methods that rely on manual region feature extraction [5, 6, 7] and focus solely on local regions [2]. We modify the structure of SigNet-F [22] as the CNN backbone to build our branches and modules. We add rectified linear unit (ReLU) activation function and batch normalization (BN) after each convolutional layer to address issues such as vanishing gradients and overfitting. Consider a set of genuine signature images from a specific writer and their corresponding forged counterparts. We refer to this set as a “signature tuplet” in the subsequent discussion. Each input image, denoted as , belonging to this signature tuplet passes through the base part to sequentially generate the output feature maps, , , , and . After the Conv4 layer, the network splits into the global and regional branches and learns to generate feature maps and in the respective branches. By jointly optimizing the global and regional branches, we can enhance the feature learning capability of the base part during the training process. Finally, by training each set of global and regional features with our proposed co-tuplet loss, we obtain the discriminative global and regional embeddings.
III-B Multilevel feature fusion
We observed that the signature strokes in the images are thin and sparse compared with general object images. In a typical CNN structure, the low-level features generated from the early layers contain more detailed information. However, information loss of stroke details is inevitable after several convolution and downsampling operators. In order to retain the detailed information of signature strokes, we propose a multilevel feature fusion mechanism that combines low-level features with high-level features and then passes the aggregated information to subsequent layers. Here, the feature maps and in the base part and in the global branch are fused to obtain the feature maps . Likewise, and in the base part and in the regional branch are fused to generate . We can express the fusion operations as follows:
(1) | ||||
(2) |
where is the convolution operation with a kernel size of and a stride of 2 to transfer and to the same shape as and . The operator denotes the element-wise multiplication.
In contrast to the fusion of only the base part features, we propose a different fusion mechanism that utilizes both the global and regional features for their respective branches. Thus, the detailed information of signature strokes can complement to the high-level features in each branch. In addition, instead of the commonly-used concatenation, we employ a multiplicative operation as the fusion strategy. Multiplication has advantages over concatenation as it allows the gradients of each layer to be correlated with the gradients of the other layers during gradient computation [37]. By using multiplication, features at different levels can depend on and interact with each other during the training process.
III-C Global-regional channel attention
In order to extract essential global and regional feature representations, we propose a global-regional channel attention (GRCA) module to guide our model in focusing on specific signature information. GRCA simultaneously learns the attention weights for global and regional features by considering their interactions and relative importance. Drawing inspiration from previous attention mechanisms [37, 38], we design GRCA tailored for our two-branch structure to facilitate the signature verification task.
As shown in Fig. 3, we perform global average pooling (GAP) on the feature maps in the global branch and in the regional branch to compress the spatial information of each channel into one channel descriptor. We obtain two channel descriptors and :
(3) | ||||
(4) |
where is the GAP operation, is the -th channel of , and is the -th channel of , for . For attention map learning, we first use a convolutional layer with a kernel size of followed by a ReLU activation function to convert the channel descriptors into and into . We set , such that the dimension reduction operation can reduce computational and parameter overhead. Subsequently, we combine and to obtain the fused descriptors using the multiplicative operation. The fusion of and enables the simultaneous generation of channel-wise attention for global and regional features based on their relative importance.
![Refer to caption](extracted/5739793/GRCA.png)
Next, we perform a dimension recovery operation for regional and global branches using convolution with a kernel size of , and we obtain the normalized global and regional attention maps and using the sigmoid function. The entire process of attention map learning can be expressed as follows:
(5) | ||||
(6) |
where is the convolution operation with a kernel size of , represents the ReLU function, and represents the sigmoid function. We finally multiply each channel of by each weight value of to obtain and perform the same operation on and to obtain .
III-D Multiscale feature learning
We propose automatic multiscale feature learning to address the limitations of learning from a single branch. Here, “multiscale” refers to multiple scales (i.e., sizes) of global and dual-orientation regional feature maps. By learning complementary feature representations from various spatial scales, our method can effectively handle the challenges posed by high inter-writer similarity and intra-writer variations. To capture signature stroke information from the entire image, we first conduct the GAP operation over the feature maps in the global branch, as shown in Fig. 2. Subsequently, we use a fully connected (FC) layer with the output dimension of 1,024 to generate the global embedding for a signature image. Instead of using multiple FC layers, we adopt GAP followed by a single FC layer to reduce the model parameters and to address overfitting issues. Additionally, we apply L2-Normalization before the output layer to mitigate the impact of scale variability in the data, which enhances training stability and boosts performance. The process of global feature learning can be formulated as follows:
(7) | ||||
(8) |
where is the GAP operation, is the FC layer, and is the -th channel of , for .
Inspired by Pirlo and Impedovo [5], we propose dual-orientation regional feature learning to complement global feature learning. Rather than using a fixed-sized sliding window along one direction of an input image for region segmentation, we propose to divide the deep feature maps into regions with different scales along horizontal and vertical orientations. This dual-orientation regional feature learning can effectively capture more localized differences and dissimilarities between genuine and skilled-forged signatures. Our method does not require input segmentation and does not increase the number of model inputs, resulting in improved efficiency, particularly for larger datasets.
We first divide the feature maps into three overlapping vertical regions , , and from left to right, as shown in the regional branch of Fig. 2. We also divide the feature maps into three overlapping horizontal regions , , and from top to bottom. To address the potential misalignment, we make adjacent regions overlap each other. The process of region division can be expressed as follows:
(9) | ||||
(10) |
where denotes the feature map division operation in the horizontal orientation, and is the same operation in the vertical orientation. Specifically, we empirically set and the overlap between to be 7 pixels in width, and we empirically set and set the overlap between to be 4 pixels in height.
Finally, we obtain six regions with varying scales and conduct GAP operations over each of them, followed by an FC layer to generate 1024-dimensional regional embeddings, , , and , , for each signature image. The process of generating regional embeddings can be formulated as follows:
(11) | ||||
(12) | ||||
(13) | ||||
(14) |
where is the GAP operation, is the FC layer, is the -th channel of , and is the -th channel of , for . Similar to the global embedding, we apply L2-Normalization before the output layer for generating regional embeddings. We demonstrate the performance improvement achieved through multiscale feature learning and visualize the differences in their effects in Section IV.
III-E Co-tuplet loss
III-E1 Limitations of typical loss functions
Previous automatic signature verification methods [9, 11, 12, 22, 23, 24, 39, 40] have employed the classification loss and the typical metric learning loss to learn similarity measurement. However, the methods trained with the classification loss, such as the categorical cross-entropy loss, can only differentiate between genuine signatures of different writers, limiting their application to random forgery detection or preliminary feature extraction for a WD classifier. In contrast, typical metric learning loss functions, such as contrastive loss [13] and triplet loss [14, 15], use a single randomly selected negative example in each update, often resulting in unstable and slow convergence [16, 17]. To address this problem, the tuplet-based loss functions [16, 31] consider multiple negative examples from different classes and aim to increase the inter-class distance by pushing them apart in each update.
In contrast to general object recognition tasks focusing on distinguishing between different classes, handwritten signature verification requires discriminating between positive examples (i.e., genuine signatures) and their corresponding negative examples (i.e., skilled forgeries) within each writer. The challenge lies in the presence of potentially high intra-writer variability in genuine signatures and high inter-writer similarity between genuine and forged signatures. This implies that the distances between most genuine-genuine pairs may be large, while the distances between genuine-forged pairs tend to be small. Using only one positive example in each update is insufficient for considering the distances of multiple positive examples, thus failing to address the intra-writer distance variation effectively. Similarly, relying on a single negative example in each update does not adequately account for the inter-writer similarity between a positive example and the remaining negative examples.
To address the challenges in handwritten signature verification, we propose a new tuplet-based metric learning loss called the co-tuplet loss. It combines the property of tuplet-based loss functions, allowing for the inclusion of multiple negative examples to learn an appropriate distance metric between genuine and forged signatures. Additionally, it employs multiple positive examples, enabling the model to learn the relationship between genuine signatures within each writer, which was previously missing in tuplet-based loss functions [16, 31].
III-E2 Proposed loss function
We define a tuplet as , where , , and refer to the anchor, positive, and negative examples, respectively. The integer is the number of positive and negative examples in a mini-batch. In this study, the anchor and positive examples are genuine signatures signed by a writer, while the negative examples are corresponding skilled forgeries. We aim to shorten the intra-writer distance and enlarge the inter-writer distance in the embedding space. To achieve this, we jointly consider the distances of multiple positive and negative examples from the same anchor. The formulation of the co-tuplet loss is as follows:
(15) |
where and are the sets of positive and negative example indices for which the positive and negative examples satisfy our mining strategy described in the next subsection, indicates the squared Euclidean distance used as the distance metric; and , , , and are defined as follows:
(16) | ||||
(17) | ||||
(18) | ||||
(19) |
where represents the feature embedding of an input example. Among the positive examples in a mini-batch, is the distance between the anchor and the hardest positive example. Similarly, among the negative examples in a mini-batch, is the distance between the anchor and the hardest negative example.
![Refer to caption](extracted/5739793/Three_loss.png)
The proposed loss comprises two parts, pulling and pushing parts. We design the pulling part to decrease the intra-writer distance by pulling the selected positive examples closer to the anchor using as the reference distance. In addition, we use the pushing part to increase the inter-writer distance by pushing the selected negative examples farther from the anchor using as the reference distance. This reduces the computational complexity from quadratic to linear compared to pairwise comparisons between positive and negative examples. Given that the proposed tuplet-based loss relies on the co-existence of multiple positive and negative examples to learn distance metrics, we refer to it as the “co-tuplet loss.”
Fig. 4 provides a visual representation of the differences in the distance learning process between the triplet loss, the hardest triplet loss, and the co-tuplet loss. The triplet loss only partially utilizes the distance information of batch examples, as many easy triplets that already satisfy the triplet constraint do not contribute to the training process. Similarly, the hardest triplet loss, which focuses on the hardest positive and negative examples, neglects optimizing the distances from the anchor to the remaining positive and negative examples. In contrast, the proposed co-tuplet loss simultaneously considers multiple positive and negative examples in a mini-batch for distance optimization. This allows the signature verification system to learn to pull genuine signatures belonging to the same writer close together, while pushing forgeries far away from them.
III-E3 Batch construction and constraint mining strategy
To construct a training mini-batch, we first randomly select w genuine signatures without replacement as anchor examples. For each anchor, genuine signatures are randomly sampled (excluding the anchor itself) as positive examples from the same writer. Similarly, negative examples are randomly sampled from the corresponding forgeries. Together, the anchor, positive examples, and negative examples form a signature tuplet. We repeat this process to generate w tuplets for the training mini-batch.
To select training examples, we propose a constraint mining strategy that focuses the learning process on informative signature examples rather than trivial ones. To the best of our knowledge, this mining strategy is not considered in existing tuplet-based losses [16, 31]. We identify that very easy positive and negative examples still contribute to the loss values in Eq. (15), even though they provide uninformative and redundant information for embedding learning. Hence, we employ the constraint mining strategy to select informative examples. The selected positive and negative examples must satisfy the following constraints:
(20) | |||
(21) |
where is a constraint margin. Here an appropriate selection of ensures that the optimization process does not concentrate on useless information and facilitates our model in learning the accurate mapping of intra-writer and inter-writer distances.
III-E4 Gradient computation
We can obtain the gradient of the proposed co-tuplet loss with respect to the model parameters :
(22) |
where
(23) |
and and denote the weights of the pulling and pushing parts, respectively. As observed from the above gradient, both and are exponentially up-weighted with hard examples and exponentially down-weighted with easy ones.
In comparison to typical metric learning losses, our co-tuplet loss offers the advantage of emphasizing informative examples over uninformative ones by assigning unequal weights to examples based on the distance difference. Since skilled-forged signatures often closely resemble genuine signatures for each writer, this weighting scheme promotes the learning of more discriminative features for handwritten signature verification. Furthermore, the co-tuplet loss takes into account moderate examples (i.e., the examples of normal cases) for distance learning. It avoids overweighting extremely hard examples, leading to a more stable optimization process.
III-F Signature verification decision
In our approach, we use individual co-tuplet losses to train each set of the corresponding features instead of a single loss for the concatenation of generated multiscale features. This training strategy enables the model to learn specific information from each part of the signature strokes. For joint multiscale feature learning, we define the overall objective function as follows:
(24) |
where is a hyperparameter used to control the weight of the regional losses.
In the verification stage, namely the test stage, we integrate various spatial information by concatenating the global and regional embeddings into the final embedding for each input image. To make the verification decision, we use a distance threshold to decide whether a given signature pair is positive or negative. A positive verification decision indicates that the questioned signature is accepted as genuine with respect to the reference signature . Conversely, with a negative decision is regarded as forged with respect to . We define the final signature verification decision as follows:
(25) |
where is the squared Euclidean distance between the final embeddings of and .
IV Experiments
In this section, we first describe the benchmark datasets. Following that, we elaborate on the data preprocessing, implementation particulars, and the evaluation metrics used for signature verification. Lastly, we present the experimental results and compare them with various state-of-the-art methods.
IV-A Datasets
The CEDAR dataset [18] consists of English signatures from 55 different writers. Each writer contributed 24 genuine signatures for a specific name and had 24 skilled forgeries generated by forgers. To compare the proposed method with state-of-the-art methods, we follow most previous studies [2, 10, 25, 41, 42] to randomly divide the writers into a training set that includes signatures from 50 writers, and a test set that contains signatures from five writers. We further randomly reserve five writers from the training set for validation. For each writer in the test set, we use one genuine signature as the reference signature and another genuine signature as the questioned signature to form 276 positive pairs. We form negative pairs by using one genuine signature as the reference and one forged signature as the questioned signature. We also follow previous studies to balance the positive and negative pairs and randomly select 276 negative pairs. The final test data consists of 2,760 signature pairs.
The BHSig-Bengali dataset [19] comprises Bengali signatures from 100 different writers. Each writer contributed 24 genuine signatures for a specific name, along with 30 skilled forgeries. Following the data splitting scheme in [9, 25], we randomly select signatures from 50 writers to form the training set, while the remaining writers’ signatures are used for the test set. We further reserve five writers’ signatures from the training set for validation. Similarly, for each writer in the test set, we form 276 positive pairs and 276 negative pairs. The final test data comprises 27,600 signature pairs.
The BHSig-Hindi dataset [19] contains Hindi signatures from 160 writers. Each writer contributed 24 genuine signatures for a specific name, accompanied by 30 skilled forgeries. Consistent with most previous studies [9, 25, 43], we randomly select signatures from 100 writers to form the training set, while the remaining writers’ signatures are used for the test set. Within the training set, we randomly select signatures from five writers to create the validation set. We follow a similar procedure to generate 276 positive and 276 negative test pairs for each writer. The final test data comprises 33,120 signature pairs.
We construct HanSig, a new Chinese signature dataset, to facilitate the development of signature verification systems. We first collected 554,723 names from the Joint College Entrance Exam admissions lists between 1996 and 2002. Next, we generated 885 candidate names based on the frequency distributions of the name distribution in the real world. By generating candidate names, we took precautions to avoid potential legal concerns related to personal information. We collected signatures of these candidate names from 238 writers. To introduce more signing variations in the genuine signatures, each name was signed 20 times in three different styles: neat, normal, and stylish. We then requested the forgers to practice and skillfully imitate the genuine signatures to create skilled forgeries. Overall, HanSig consists of a total of 17,700 genuine signatures and an equal number of skilled forgeries. Fig. 5 provides examples of the collected signatures in different styles and the genuine and forged signatures.
![Refer to caption](x1.png)
(a) Examples of collected signatures in three styles
![Refer to caption](extracted/5739793/HanSig_samples.png)
(b) Examples of collected genuine and forged signatures
The HanSig dataset has several valuable characteristics: (1) The generation of names for signatures addresses concerns regarding personal information and privacy while still preserving the distributional characteristics of real names. (2) HanSig incorporates the real-world property of intra-writer variability by including multiple signature styles. (3) HanSig surpasses existing public Chinese signature datasets in terms of the number of signature samples, providing robust training for signature verification systems. (4) HanSig is advantageous for both random and skilled forgery verification tasks.
We randomly split HanSig into a training set and a test set. The training set comprises 795 names signed by 213 writers, while the test set includes 90 names signed by 25 writers. From the training set, 20 writers’ signatures (78 names) are randomly selected for validation. For each name in the test set, we follow a similar procedure used in the CEDAR and BHSig to form 190 positive pairs and 190 negative pairs. The final test data of HanSig consists of 34,200 signature pairs.
IV-B Data preprocessing
To mitigate the influence of background and position variations in the signature images, we perform several data preprocessing steps without deforming the structure of the signatures. Firstly, we convert the signature images to grayscale. Next, we apply Otsu’s algorithm [44] to transform all background pixel values into 255 while keeping the signature pixels unchanged. This step removes noise in image backgrounds and is critical to datasets (e.g., CEDAR) that have distinct backgrounds in genuine and forged signature images. We also center-crop the signature images and remove the excess blanks around the signatures to eliminate potential misalignment issues caused by signature position variations. Finally, the images are resized to the input size of the network using bilinear interpolation, and the pixel values of the signature images are normalized to a range between 0 and 1.
IV-C Implementation details and evaluation metrics
In our model, we experimentally set , , , and . We construct a training mini-batch using w for CEDAR, HanSig, and BHSig-Bengali and w for BHSig-Hindi. Furthermore, we set for all datasets. The constraint margin for the constraint mining strategy is empirically set as 0.2 for CEDAR and 0.3 for HanSig, BHSig-Bengali, and BHSig-Hindi. In our experiments, we empirically set in the objective function as the weight of the regional losses. We apply Adam optimizer with an initial learning rate of 0.001, and the learning rate decays by a factor of 0.5 every 15 epochs. We train our models for a maximum of 80 epochs and use the validation set for early stopping. All our experiments are implemented using the PyTorch framework.
We report the performance using the common evaluation metrics of signature verification: False Reject Rate (FRR), False Accept Rate (FAR), Equal Error Rate (EER), and Area Under the Curve (AUC). FRR refers to the proportion of genuine signatures mistakenly rejected as forgeries. FAR is the proportion of forgeries mistakenly accepted as genuine signatures. EER is the error rate when FRR is equal to FAR, with the adjustment of the decision threshold .
IV-D Method evaluation and analysis
To assess the performance of the proposed MS-SigNet combined with the co-tuplet loss, we conduct experiments comparing it to a simple baseline model and alternative combinations of losses and models. The evaluation aims to determine the effectiveness of the co-tuplet loss compared to the triplet loss [14, 15] and to understand the relative performance of the MS-SigNet. As a simple baseline, we adopt a VGG-16 [45] pretrained on the ImageNet dataset as the feature extractor. Additionally, we train the MS-SigNet with the triplet loss and evaluate its performance for the comparison with the co-tuplet loss. Furthermore, alternative combinations include training the VGG-16 with either the co-tuplet loss or the triplet loss under the same experimental settings.
Dataset | Method | FRR | FAR | EER | AUC |
---|---|---|---|---|---|
CEDAR | Simple Baseline (Pretrained VGG-16) | 16.67 | 27.75 | 23.08 | 84.82 |
VGG-16 with triplet loss | 17.32 | 18.48 | 17.93 | 87.62 | |
VGG-16 with co-tuplet loss | 17.90 | 15.00 | 16.45 | 90.15 | |
MS-SigNet with triplet loss | 7.75 | 5.94 | 6.92 | 98.10 | |
MS-SigNet with co-tuplet loss | 3.55 | 3.33 | 3.51 | 99.47 | |
BHSig-Bengali | Simple Baseline (Pretrained VGG-16) | 11.71 | 22.23 | 17.04 | 91.07 |
VGG-16 with triplet loss | 12.70 | 12.63 | 12.69 | 94.80 | |
VGG-16 with co-tuplet loss | 14.44 | 9.08 | 11.96 | 95.75 | |
MS-SigNet with triplet loss | 9.41 | 5.21 | 7.54 | 98.03 | |
MS-SigNet with co-tuplet loss | 6.20 | 5.93 | 6.12 | 98.64 | |
BHSig-Hindi | Simple Baseline (Pretrained VGG-16) | 17.28 | 17.71 | 17.52 | 90.64 |
VGG-16 with triplet loss | 14.05 | 15.63 | 14.94 | 92.74 | |
VGG-16 with co-tuplet loss | 11.91 | 15.94 | 14.04 | 93.86 | |
MS-SigNet with triplet loss | 9.16 | 8.58 | 8.9 | 96.94 | |
MS-SigNet with co-tuplet loss | 6.56 | 6.76 | 6.68 | 98.28 | |
HanSig | Simple Baseline (Pretrained VGG-16) | 32.43 | 19.66 | 26.31 | 80.94 |
VGG-16 with triplet loss | 15.60 | 22.40 | 19.07 | 89.47 | |
VGG-16 with co-tuplet loss | 14.20 | 16.21 | 15.26 | 92.60 | |
MS-SigNet with triplet loss | 9.99 | 10.82 | 10.44 | 95.92 | |
MS-SigNet with co-tuplet loss | 7.69 | 11.85 | 9.93 | 96.38 |
Table I reports the experimental results. The MS-SigNet trained with the co-tuplet loss achieves the best performance across all datasets. Compared to the simple baseline, it improves the EER by up to 19.57 percentage points and improves the AUC by up to 15.44 percentage points. Replacing the co-tuplet loss with the triplet loss for training the MS-SigNet results in worsened EER and AUC. Similarly, training the VGG-16 with the co-tuplet loss yields better performance in terms of EER and AUC compared to training it with the triplet loss. Furthermore, comparing the MS-SigNet to the VGG-16 trained with the same loss function, the MS-SigNet consistently outperforms the VGG-16 counterparts. When trained with the co-tuplet loss and the triplet loss, the MS-SigNet exhibits EER improvements ranging from 5.33 to 12.94 and from 5.15 to 11.01 percentage points over the VGG-16, respectively. Overall, the results validate the effectiveness of the MS-SigNet coupled with the co-tuplet loss across different datasets.
IV-E Ablation studies
In this subsection, we conduct ablation studies to evaluate the importance of each module/branch in our network and the validity of selected operations. To assess the contribution of each module/branch in our proposed MS-SigNet, we remove specific components from the original framework. The results of the ablation studies are reported in Table II.
The findings indicate that removing multilevel feature fusion results in performance degradation across all datasets, especially with a reduction of 3.23 percentage points for CEDAR. This suggests that our proposed fusion mechanism effectively mitigates information loss caused by layer transmission and retains detailed signature stroke information for both global and regional branches. Additionally, the GRCA module demonstrates a performance improvement ranging from 0.28 to 1.27 percentage points. This highlights the effectiveness of our attention mechanism in focusing on important channel information. The results in Table II also indicate that both the global and regional branches contribute to enhancing signature verification performance. The global branch provides more performance gains for CEDAR, while the regional branch makes a greater contribution to the other datasets. These results suggest that multiscale feature learning are crucial for exploiting their respective advantages.
To evaluate the validity of the selected operations in our approach, we compare the performances on CEDAR using different operations while maintaining the same experimental settings. Regarding multilevel feature fusion, the original “multiplication” is compared with the conventional “concatenation” as the fusion strategy. The results in Table III demonstrate that using “multiplication” leads to a significant improvement in EER by 4.32 percentage points compared to using “concatenation.” This indicates the superiority of the multiplicative operation, which promotes interaction between low-level and high-level features during training and contributes to enhanced performance. For model training, the original approach involves training each set of corresponding features with individual co-tuplet losses. In contrast, an alternative approach is employed where the features are concatenated and trained with only one loss. The results in Table III reveal that training “with individual losses” outperforms training “with only one loss” by 5.04 percentage points. This suggests that the original operation allows to learn more discriminative representations and leads to improved performance.
without Module/Branch | CEDAR | BHSig- | BHSig- | HanSig |
---|---|---|---|---|
Bengali | Hindi | |||
Multilevel feature fusion | 6.74 (3.23) | 7.29 (1.17) | 9.84 (3.16) | 11.02 (1.09) |
GRCA | 4.78 (1.27) | 6.59 (0.47) | 6.96 (0.28) | 10.48 (0.55) |
Global branch | 6.70 (3.19) | 7.34 (1.22) | 7.19 (0.51) | 10.70 (0.77) |
Regional branch | 5.14 (1.63) | 8.26 (2.14) | 10.85 (4.17) | 10.76 (0.83) |
Operation | EER | |
---|---|---|
Multilevel feature fusion | Concatenation | 7.83 |
Multiplication (Ours) | 3.51 | |
Model training | With only one loss | 8.55 |
With individual losses (Ours) | 3.51 |
IV-F Visualization analysis
IV-F1 Comparison between extracted features
We compare the 2D projections of extracted features from the simple baseline (pretrained VGG-16), MS-SigNet with triplet loss, and MS-SigNet with co-tuplet loss using the t-distributed stochastic neighbor embedding (t-SNE) algorithm [46]. To ensure clarity, we use signatures from a randomly selected subset of 50 names out of the 90 names in the HanSig test set. Fig. 6 (a) displays the feature space projection of the simple baseline. It shows that genuine and corresponding forged signatures of each name are clustered together. For instance, the red solid circle highlights a cluster from a single name where genuine signatures are visually inseparable from forged signatures represented by “o” and “x” marks, respectively. A similar pattern is observed for another name within the red dashed circle. This suggests that the simple baseline can differentiate between signatures of different names, distinguishing genuine signatures from random forgeries, but it struggles to separate genuine signatures from skilled forgeries in most cases.
(a) Simple baseline (pretrained VGG-16)
(b) MS-SigNet+triplet loss
(c) MS-SigNet+co-tuplet loss
Fig. 6 (b) presents the feature space of MS-SigNet trained with the triplet loss. It demonstrates a better separation between genuine signatures and skilled forgeries compared to the simple baseline. However, some genuine signatures and their corresponding forgeries remain clustered together. For example, the two red dashed circles indicate separate genuine and forged signatures of a name, while the red solid circle shows that genuine and forged signatures are visually indistinguishable. Additionally, the triplet loss fails to pull genuine signatures of each name closer together. Fig. 6 (c) illustrates the feature space of MS-SigNet trained with the co-tuplet loss. It shows visually separable clusters of genuine signatures and skilled forgeries for each name. The two red solid circles highlight separate clusters of genuine and forged signatures for one name, while the two red dashed circles indicate a similar pattern for another name. These experimental results demonstrate the promising generalization ability of our proposed MS-SigNet with the co-tuplet loss to unseen data.
IV-F2 Comparison between global and regional branches
To highlight the benefits of multiscale feature learning, we provide visual explanations of the convolutional layers in both the global and regional branches. We generate heat maps using Grad-CAM [47, 48] for two genuine signature images and their corresponding forgeries from the test sets of BHSig-Bengali and HanSig. Fig. 7 displays the results obtained from Conv51G and Conv51R (the first convolutional layers of the global and regional branches).
(a) BHSig-Bengali
(b) HanSig
Conv51G exhibits attention to various areas of the entire image, capturing overall signature information such as outlines and stroke configuration. In comparison, Conv51R focuses more on signature strokes and highlights local details in specific signature regions. For instance, it emphasizes sharp curves in the upper region of the BHSig-Bengali images and slanting lines in the lower region of the HanSig images. Moreover, Conv51R emphasizes both small details (e.g., the end of a vertical line in genuine signatures of BHSig-Bengali) and larger detailed parts (e.g., the entire vertical line in forged signatures of BHSig-Bengali), enabling the model to learn fine-grained differences between signatures. These visualization results indicate that the global and regional branches have distinct focuses and capture different yet complementary signature information. Integrating information obtained from multiple spatial scales allows for the generation of more discriminative features in signature verification.
IV-G Performance comparison with state-of-the-art methods
We present a comparison between our proposed method and several state-of-the-art methods on the three public datasets. For our newly created HanSig, we provide results of several baseline methods for comparison under the same experimental settings. The results are summarized in Tables IV and V, respectively. Note that previous works might report different metrics for their methods. To ensure comparability across different studies, we focus on EER and AUC. In cases where previous works only report Average Error Rate (AER), the average of FRR and FAR, which is considered to be comparable to EER [2]. We also provide additional information about each compared method. Since WD and WI methods employ different training and evaluation schemes, we include WD methods only as references. It is important to mention that certain previous works did not perform noise removal of the image background during data preprocessing, as noted by [2]. However, the image backgrounds of genuine and forged signatures in CEDAR exhibit significant differences. Therefore, we exclude works that reported a 0% error rate without background removal.
Method | Typ | #Ref | Metric | CEDAR | BHSig-Bengali | BHSig-Hindi | |||
---|---|---|---|---|---|---|---|---|---|
EER | AUC | EER | AUC | EER | AUC | ||||
Genetic algorithm [7] | WD | 12 | N | 4.67* | - | - | - | - | - |
SigNet-F [22] | WD | 12 | N | 4.63 | - | - | - | - | - |
Texture features [19] | WD | 12 | N | - | - | 33.82 | - | 24.47 | - |
OC-SVM [49] | WD | 12 | Y | 5.60** | - | - | - | - | - |
Micro deformations [39] | WD | 8 | N | - | - | 8.21 | - | 9.01 | - |
Duplication model [51] | WD | 2 | N | - | - | 10.67 | 95.30 | 11.88 | 94.15 |
Graph-based CNN [11] | WI | 10 | Y | 12.27 | - | - | - | - | - |
P2S metric [30] | WI | 5 | Y | 9.29 | - | - | - | - | - |
Morphology [41] | WI | 1 | N | 11.59 | - | - | - | - | - |
Surroundedness [42] | WI | 1 | N | 8.33* | - | - | - | - | - |
IDN [25] | WI | 1 | N | 3.62 | - | 4.68** | - | 6.96** | - |
SigNet [9] | WI | 1 | Y | - | - | 13.89* | - | 15.36* | - |
SURDS [40] | WI | 1 | Y | - | - | 12.66** | - | 10.50** | - |
DeepHSV [43] | WI | 1 | Y | - | - | 11.92 | 95.50 | 13.34 | 94.00 |
Siamese network [10] | WI | 1 | Y | 8.50 | - | - | - | - | - |
MSDN [2] | WI | 1 | Y | 6.74 | - | - | - | - | - |
MS-SigNet+co-tuplet loss | WI | 1 | Y | 3.51 | 99.47 | 6.12 | 98.64 | 6.68 | 98.28 |
Method | FRR | FAR | EER | AUC |
---|---|---|---|---|
SigNet [9] | 32.43 | 19.66 | 26.31 | 80.94 |
Pretrained VGG-16 [45] | 19.18 | 36.92 | 28.86 | 78.34 |
Pretrained ResNet-18 [50] | 27.57 | 37.05 | 32.42 | 73.77 |
MS-SigNet+co-tuplet loss | 7.69 | 11.85 | 9.93 | 96.38 |
Table IV demonstrates that our MS-SigNet with the co-tuplet loss achieves superior performance compared to other methods on CEDAR. Our method outperforms OC-SVM [49], graph-based CNN [11], P2S metric [30], Siamese network [10], and MSDN [2], which also employ metric learning for signature verification. Notably, our approach surpasses MSDN [2], which solely utilizes local regions from input segmentation for feature learning. This result highlights the efficacy of our proposed multiscale feature learning.
Table IV highlights the competitive result of our proposed MS-SigNet with the co-tuplet loss on BHSig-Bengali. Our method surpasses SigNet [9], SURDS [40], and DeepHSV [43] by 7.77, 6.54, and 5.8 percentage points in terms of EER, respectively. These three methods employ typical metric learning losses mentioned in Section III-E1 for signature verification. IDN [25] achieves an AER of 4.68%, which is better than our method on BHSig-Bengali. However, our proposed method outperforms IDN on the CEDAR and BHSig-Hindi datasets.
The proposed MS-SigNet and co-tuplet loss achieve substantial performance improvement on BHSig-Hindi. Among the WI methods, our method achieves an EER of 6.68%, which is significantly lower than the EERs of SigNet [9] (15.36%), SURDS [40] (10.50%), and DeepHSV [43] (13.34%), and the AER of IDN [25] (6.96%). This comparison with other state-of-the-art methods showcases the competitiveness and effectiveness of our proposed approach.
Since HanSig is a newly-created dataset, we compare the proposed method against three baselines on this dataset. The first baseline is SigNet [9], which utilizes a Siamese network architecture for offline signature verification. We use the provided source code from the author and ensure that the data subsets used for SigNet are consistent with our method. The second and third baselines are VGG-16 [45] and ResNet-18 [50] pretrained on the ImageNet dataset, respectively. As depicted in Table V, our proposed method demonstrates superior performance on HanSig when compared to the three baseline methods.
V Conclusion
In this study, we propose a multiscale feature learning network and a new metric learning loss to build an automatic handwritten signature verification system. The proposed MultiScale Signature feature learning Network (MS-SigNet) captures complementary signature information from multiple spatial scales. It can integrate the information to generate discriminative features for static signature verification. The multilevel feature fusion and global-regional channel attention (GRCA) modules designed for the two-branch structure provide further performance gains. To enhance the discriminative capability of our verification system, we propose the co-tuplet loss, a novel metric learning loss function. Experimental results demonstrate that our MS-SigNet with the co-tuplet loss surpasses the state-of-the-art methods on various benchmark datasets, showcasing its effectiveness in signature verification across different languages. While our results are promising, further improvements could be made by developing alternative methods to integrate multiple signature information.
References
- [1] A. K. Jain, A. Ross, and S. Prabhakar, “An introduction to biometric recognition,” IEEE Trans. Circuits Syst. Video Technol., vol. 14, no. 1, pp. 4–20, 2004.
- [2] L. Liu, L. Huang, F. Yin, and Y. Chen, “Offline signature verification using a region based deep metric learning network,” Pattern Recognit., vol. 118, p. 108009, 2021.
- [3] J. Vargas, M. Ferrer, C. Travieso, and J. B. Alonso, “Off-line signature verification based on grey level information using texture features,” Pattern Recognit., vol. 44, no. 2, pp. 375–385, 2011.
- [4] G. Pirlo and D. Impedovo, “Verification of static signatures by optical flow analysis,” IEEE Trans. Hum.-Mach. Syst., vol. 43, no. 5, pp. 499–505, 2013.
- [5] ——, “Cosine similarity for analysis and verification of static signatures,” IET Biom., vol. 2, no. 4, pp. 151–158, 2013.
- [6] M. I. Malik, M. Liwicki, A. Dengel, S. Uchida, and V. Frinken, “Automatic signature stability analysis and verification using local features,” in Proc. 14th Int. Conf. Front. Handwrit. Recognit., Hersonissos, Greece, 2014, pp. 621–626.
- [7] M. Sharif, M. A. Khan, M. Faisal, M. Yasmin, and S. L. Fernandes, “A framework for offline signature verification system: Best features selection approach,” Pattern Recognit. Lett., vol. 139, pp. 50–59, 2020.
- [8] H. Rantzsch, H. Yang, and C. Meinel, “Signature embedding: Writer independent offline signature verification with deep metric learning,” in Proc. 12th Int. Symp. Vis. Comput., vol. 10073, Las Vegas, NV, USA, 2016, pp. 616–625.
- [9] S. Dey, A. Dutta, J. I. Toledo, S. K. Ghosh, J. Lladós, and U. Pal, “Signet: Convolutional siamese network for writer independent offline signature verification,” 2017, arXiv:1707.02131.
- [10] Z.-J. Xing, F. Yin, Y.-C. Wu, and C.-L. Liu, “Offline signature verification using convolution Siamese network,” in Proc. Int. Conf. Graph. Image Process., vol. 10615, Qingdao, China, 2018, p. 106151I.
- [11] P. Maergner, V. Pondenkandath, M. Alberti, M. Liwicki, K. Riesen, R. Ingold, and A. Fischer, “Combining graph edit distance and triplet networks for offline signature verification,” Pattern Recognit. Lett., vol. 125, pp. 527–533, 2019.
- [12] Q. Wan and Q. Zou, “Learning metric features for writer-independent signature verification using dual triplet loss,” in Proc. 25th Int. Conf. Pattern Recognit., Milan, Italy, 2021, pp. 3853–3859.
- [13] R. Hadsell, S. Chopra, and Y. LeCun, “Dimensionality reduction by learning an invariant mapping,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), vol. 2, New York, NY, USA, 2006, pp. 1735–1742.
- [14] M. Schultz and T. Joachims, “Learning a distance metric from relative comparisons,” in Proc. Adv. Neural Inf. Process. Syst. (NIPS), vol. 16, Whistler, BC, Canada, 2003, pp. 41–48.
- [15] K. Q. Weinberger and L. K. Saul, “Distance metric learning for large margin nearest neighbor classification,” J. Mach. Learn. Res., vol. 10, no. 2, pp. 207–244, 2009.
- [16] K. Sohn, “Improved deep metric learning with multi-class n-pair loss objective,” in Proc. Adv. Neural Inf. Process. Syst. (NIPS), vol. 29, Barcelona, Spain, 2016, pp. 1857–1865.
- [17] X. Wang, X. Han, W. Huang, D. Dong, and M. R. Scott, “Multi-similarity loss with general pair weighting for deep metric learning,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Long Beach, CA, USA, 2019, pp. 5017–5025.
- [18] M. K. Kalera, S. Srihari, and A. Xu, “Offline signature verification and identification using distance statistics,” Int. J. Pattern Recognit. Artif. Intell., vol. 18, no. 07, pp. 1339–1360, 2004.
- [19] S. Pal, A. Alaei, U. Pal, and M. Blumenstein, “Performance of an off-line signature verification method based on texture features on a large Indic-script signature dataset,” in Proc.12th IAPR Int. Work. Doc. Anal. Syst., Santorini, Greece, 2016, pp. 72–77.
- [20] M. Diaz, M. A. Ferrer, D. Impedovo, M. I. Malik, G. Pirlo, and R. Plamondon, “A perspective analysis of handwritten signature technology,” ACM Comput. Surv., vol. 51, no. 6, pp. 1–39, 2019.
- [21] M. M. Hameed, R. Ahmad, M. L. M. Kiah, and G. Murtaza, “Machine learning-based offline signature verification systems: A systematic review,” Signal Process. Image Commun., vol. 93, p. 116139, 2021.
- [22] L. G. Hafemann, R. Sabourin, and L. S. Oliveira, “Learning features for offline handwritten signature verification using deep convolutional neural networks,” Pattern Recognit., vol. 70, pp. 163–176, 2017.
- [23] L. G. Hafemann, L. S. Oliveira, and R. Sabourin, “Fixed-sized representation learning from offline handwritten signatures of different sizes,” Int. J. Doc. Anal. Recognit., vol. 21, no. 3, pp. 219–232, 2018.
- [24] S. Bonde, P. Narwade, and R. Sawant, “Offline signature verification using convolutional neural network,” in Proc. IEEE Int. Conf. Signal Process. Comput., Noida, India, 2020, pp. 119–127.
- [25] P. Wei, H. Li, and P. Hu, “Inverse discriminative networks for handwritten signature verification,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Long Beach, CA, USA, 2019, pp. 5764–5772.
- [26] A. Soleimani, B. N. Araabi, and K. Fouladi, “Deep multitask metric learning for offline signature verification,” Pattern Recognit. Lett., vol. 80, pp. 84–90, 2016.
- [27] Y. Zhao, C. Shen, X. Yu, H. Chen, Y. Gao, and S. Xiong, “Learning deep part-aware embedding for person retrieval,” Pattern Recognit., vol. 116, p. 107938, 2021.
- [28] F. Schroff, D. Kalenichenko, and J. Philbin, “FaceNet: A unified embedding for face recognition and clustering,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), vol. 1, Boston, MA, USA, 2015, pp. 815–823.
- [29] J. Bromley, I. Guyon, Y. LeCun, E. Säckinger, and R. Shah, “Signature verification using a ”Siamese” time delay neural network,” in Proc. Adv. Neural Inf. Process. Syst. (NIPS), vol. 6, Denver, CO, USA, 1993, p. 737–744.
- [30] Y. Zhu, S. Lai, Z. Li, and L. Jin, “Point-to-set similarity based deep metric learning for offline signature verification,” in Proc. 17th Int. Conf. Front. Handwrit. Recognit., Dortmund, Germany, 2020, pp. 282–287.
- [31] B. Yu and D. Tao, “Deep metric learning with tuplet margin loss,” in Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Seoul, Korea, 2019, pp. 6490–6499.
- [32] M. A. Ferrer, M. Diaz-Cabrera, and A. Morales, “Static signature synthesis: A neuromotor inspired approach for biometrics,” IEEE Trans. Pattern Anal. Mach. Intell., vol. 37, no. 3, pp. 667–680, 2015.
- [33] J. Ortega-Garcia, J. Fierrez-Aguilar, D. Simon, J. Gonzalez, M. Faundez-Zanuy, V. Espinosa, A. Satue, I. Hernaez, J.-J. Igarza, and C. Vivaracho, “MCYT baseline corpus: A bimodal biometric database,” IEE Proc.-Vis. Image Signal Process., vol. 150, no. 6, pp. 395–401, 2003.
- [34] A. Soleimani, K. Fouladi, and B. N. Araabi, “UTSig: A Persian offline signature dataset,” IET Biom., vol. 6, no. 1, pp. 1–8, 2016.
- [35] M. Liwicki, M. I. Malik, C. E. Van Den Heuvel, X. Chen, C. Berger, R. Stoel, M. Blumenstein, and B. Found, “Signature verification competition for online and offline skilled forgeries (SigComp2011),” in Proc. Int. Conf. Doc. Anal. Recognit. (ICDAR), Beijing, China, 2011, pp. 1480–1484.
- [36] K. Yan, Y. Zhang, H. Tang, C. Ren, J. Zhang, G. Wang, and H. Wang, “Signature detection, restoration, and verification: A novel Chinese document signature forgery detection benchmark,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), New Orleans, LA, USA, 2022, pp. 5163–5172.
- [37] J. Wei, Q. Wang, Z. Li, S. Wang, S. K. Zhou, and S. Cui, “Shallow feature matters for weakly supervised object localization,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Nashville, TN, USA, 2021, pp. 5989–5997.
- [38] X. Qin, Z. Wang, Y. Bai, X. Xie, and H. Jia, “FFA-Net: Feature fusion attention network for single image dehazing,” in Proc. 34th AAAI Conf. Artif. Intell., vol. 34, New York, NY, USA, 2020, pp. 11 908–11 915.
- [39] Y. Zheng, B. K. Iwana, M. I. Malik, S. Ahmed, W. Ohyama, and S. Uchida, “Learning the micro deformations by max-pooling for offline signature verification,” Pattern Recognit., vol. 118, p. 108008, 2021.
- [40] S. Chattopadhyay, S. Manna, S. Bhattacharya, and U. Pal, “SURDS: Self-supervised attention-guided reconstruction and dual triplet loss for writer independent offline signature verification,” in Proc. 26th Int. Conf. Pattern Recognit., Montreal, QC, Canada, 2022, pp. 1600–1606.
- [41] R. Kumar, L. Kundu, B. Chanda, and J. Sharma, “A writer-independent off-line signature verification system based on signature morphology,” in Proc. Int. Conf. Intell. Interact. Technol. Multimed. (IITM), New York, NY, USA, 2010, pp. 261–265.
- [42] R. Kumar, J. Sharma, and B. Chanda, “Writer-independent off-line signature verification using surroundedness feature,” Pattern Recognit. Lett., vol. 33, no. 3, pp. 301–308, 2012.
- [43] C. Li, F. Lin, Z. Wang, G. Yu, L. Yuan, and H. Wang, “DeepHSV: User-independent offline signature verification using two-channel CNN,” in Proc. Int. Conf. Doc. Anal. Recognit. (ICDAR), Sydney, NSW, Australia, 2019, pp. 166–171.
- [44] N. Otsu, “A threshold selection method from gray-level histograms,” IEEE Trans. Syst. Man Cybern. Syst., vol. 9, no. 1, pp. 62–66, 1979.
- [45] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” in Proc. Int. Conf. Learn. Represent. (ICLR), San Diego, CA, USA, 2015. [Online]. Available: https://doi.org/10.48550/arXiv.1409.1556
- [46] L. Van der Maaten and G. Hinton, “Visualizing data using t-SNE,” J. Mach. Learn. Res., vol. 9, pp. 2579–2605, 2008. [Online]. Available: http://jmlr.org/papers/v9/vandermaaten08a.html
- [47] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” Int. J. Comput. Vis., vol. 128, no. 2, pp. 336–359, 2020.
- [48] J. Gildenblat. (2021) Pytorch library for CAM methods. [Online]. Available: https://github.com/jacobgil/pytorch-grad-cam
- [49] Y. Guerbai, Y. Chibani, and B. Hadjadji, “The effective use of the one-class SVM classifier for handwritten signature verification based on writer-independent parameters,” Pattern Recognit., vol. 48, no. 1, pp. 103–113, 2015.
- [50] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, 2016, pp. 770–778.
- [51] M. Diaz, M. A. Ferrer, and R. Sabourin, “Approaching the intra-class variability in multi-script static signature evaluation,” in Proc. 23rd Int. Conf. Pattern Recognit., Cancun, Mexico, 2016, pp. 1147–1152.