Author Contributions
Conceptualization, L.H.; methodology, L.H. and Y.R.; software, L.H. and Y.R.; validation, L.H., Y.R. and W.L.; formal analysis, L.H.; investigation, L.H.; resources, Y.R.; data curation, Y.R.; writing—original draft preparation, L.H. and Y.R.; writing—review and editing, L.H. and W.L.; visualization, L.H. and Y.R.; supervision, L.H.; project administration, L.H. and W.L.; funding acquisition, L.H. and W.L. All authors have read and agreed to the published version of the manuscript.
Figure 1.
The detailed network topology of the FT-Transformer. Local dynamic sequences and global statistical priors are jointly encoded. The sequence branch utilizes a CNN-Transformer hybrid architecture featuring padding-aware attention and residual feedback to capture transient kinematics. Ultimately, a bi-directional-guided fusion module is employed to bridge the semantic gap between the heterogeneous features. Variable indices denote the batch size (), padded sequence length (), and hidden feature dimension (). The notation “* N” indicates that the Transformer block is stacked N times (N = 2). The data flow tracks the local sequence through a 128-channel Conv1D layer and a multi-layer Transformer block (generating intermediate shapes , , and ), while the global vector is projected into a embedding prior to cross-modal interaction.
Figure 1.
The detailed network topology of the FT-Transformer. Local dynamic sequences and global statistical priors are jointly encoded. The sequence branch utilizes a CNN-Transformer hybrid architecture featuring padding-aware attention and residual feedback to capture transient kinematics. Ultimately, a bi-directional-guided fusion module is employed to bridge the semantic gap between the heterogeneous features. Variable indices denote the batch size (), padded sequence length (), and hidden feature dimension (). The notation “* N” indicates that the Transformer block is stacked N times (N = 2). The data flow tracks the local sequence through a 128-channel Conv1D layer and a multi-layer Transformer block (generating intermediate shapes , , and ), while the global vector is projected into a embedding prior to cross-modal interaction.
Figure 2.
Visual examples from the SVC2004 dataset: (a) genuine signature, and (b) skilled forgery.
Figure 2.
Visual examples from the SVC2004 dataset: (a) genuine signature, and (b) skilled forgery.
Figure 3.
Illustrative examples of signature trajectories from the custom MPIS-Sig dataset. (a–d) Genuine signatures collected under four distinct writing conditions: NW, SW, HPG, and VSW; (e,f) Forged signatures representing two levels of imitation complexity: RF and SF.
Figure 3.
Illustrative examples of signature trajectories from the custom MPIS-Sig dataset. (a–d) Genuine signatures collected under four distinct writing conditions: NW, SW, HPG, and VSW; (e,f) Forged signatures representing two levels of imitation complexity: RF and SF.
Figure 4.
Receiver Operating Characteristic (ROC) curves and Area Under the Curve (AUC) values of various methods across the three datasets under the WD-10/10 protocol: (a) SVC2004 Task 1; (b) SVC2004 Task 2; (c) MPIS-Sig Dataset. The grey dashed line represents the random chance baseline.
Figure 4.
Receiver Operating Characteristic (ROC) curves and Area Under the Curve (AUC) values of various methods across the three datasets under the WD-10/10 protocol: (a) SVC2004 Task 1; (b) SVC2004 Task 2; (c) MPIS-Sig Dataset. The grey dashed line represents the random chance baseline.
Figure 5.
ROC curves and AUC values of various methods across the three datasets under the WD-5/5 protocol: (a) SVC2004 Task 1; (b) SVC2004 Task 2; (c) MPIS-Sig Dataset. The grey dashed line represents the random chance baseline.
Figure 5.
ROC curves and AUC values of various methods across the three datasets under the WD-5/5 protocol: (a) SVC2004 Task 1; (b) SVC2004 Task 2; (c) MPIS-Sig Dataset. The grey dashed line represents the random chance baseline.
Figure 6.
Comprehensive ablation evaluation of the model variants. The upper panel details the Equal Error Rate (EER) across the three benchmark datasets under both WD-10/10 and WD-5/5 protocols. The lower panel contrasts the corresponding computational complexity (FLOPs) and model size (Parameters).
Figure 6.
Comprehensive ablation evaluation of the model variants. The upper panel details the Equal Error Rate (EER) across the three benchmark datasets under both WD-10/10 and WD-5/5 protocols. The lower panel contrasts the corresponding computational complexity (FLOPs) and model size (Parameters).
Figure 7.
Confusion matrices across three datasets under the WD-10/10 and WD-5/5 evaluation protocols. The upper row (a–c) visualizes the results under the WD-5/5 protocol, while the lower row (d–f) presents the WD-10/10 protocol.
Figure 7.
Confusion matrices across three datasets under the WD-10/10 and WD-5/5 evaluation protocols. The upper row (a–c) visualizes the results under the WD-5/5 protocol, while the lower row (d–f) presents the WD-10/10 protocol.
Table 1.
Composition of the 18-dimensional local temporal dynamic features.
Table 1.
Composition of the 18-dimensional local temporal dynamic features.
| Feature Category | Dimension Index | Detailed Feature Description |
|---|
| Basic physical states | 1–7 | x-coordinate, y-coordinate, timestamp(), button/pressure status (Button), horizontal angle (Azimuth), vertical angle (Altitude), pen tip pressure (Pressure). |
| First-order differential features | 8–11 | x-axis displacement difference(), y-axis displacement difference(), instantaneous tangent direction (Direction), instantaneous movement velocity (Velocity). |
| High-order kinematic indicators | 12–14 | Instantaneous acceleration (Acceleration), jerk (Jerk), timestamp-based normalized speed (Speed). |
| Relative spatiotemporal displacement | 15–16 | x-axis displacement difference relative to absolute start (), y-axis displacement difference relative to absolute start () |
| Micro-deformation features | 17–18 | Angular velocity (Angular Velocity), instantaneous curvature (Curvature, ) |
Table 2.
Composition of the 51-dimensional global statistical features.
Table 2.
Composition of the 51-dimensional global statistical features.
| Feature Category | Dimensions | Statistical Component Description |
|---|
| Basic sequence statistical moments | 42 | For the 7-dimensional signals , , , Button, Azimuth, Altitude, Pressure), calculate their mean (), standard deviation , skewness, kurtosis, 25% quartile (Q25), and 75% quartile (Q75) respectively. |
| Kinematic extremes and fluctuations | 4 | Expectation and standard deviation of movement velocity (Velocity) and acceleration (Acceleration). |
| Global behavioral descriptors | 4 | Total signature duration, total stroke count (Stroke Count), trajectory aspect ratio (Aspect Ratio), horizontal-to-vertical ratio. |
| Sampling point scale | 1 | Total number of sampling points of the corresponding signature. |
Table 3.
Network hyperparameters and training configuration of the proposed FT-Transformer.
Table 3.
Network hyperparameters and training configuration of the proposed FT-Transformer.
| Parameter Category | Parameter Name | Symbol | Value |
|---|
| Feature Space | Local dynamic feature dimension | | 18 |
| | Global statistical feature dimension | | 51 |
| Network Architecture | 1D-CNN output channels | | 128 |
| | Transformer encoder layers | | 2 |
| | Number of attention heads | | 4 |
| | Transformer hidden dimension | | 128 |
| | Feature fusion hidden dimension | | 64 |
| Physical Constraint | Spatiotemporal local mask window radius | | 10 |
| Training & Optimization | Initial learning rate | | 0.001 |
| | Batch size | | 8 |
| | Training epochs | | 50 |
| | Dropout rate | | 0.2 |
Table 4.
Performance comparison of baseline methods and the proposed method across various datasets (WD-10/10).
Table 4.
Performance comparison of baseline methods and the proposed method across various datasets (WD-10/10).
| Dataset | Method | ACC (%) | FAR (%) | FRR (%) | EER (%) |
|---|
| SVC2004 Task 1 | DTW | 94.06 | 10.00 | 1.87 | 11.56 |
| | 1D-CNN | 86.09 | 23.75 | 4.06 | 8.13 |
| | BiLSTM | 79.22 | 26.25 | 15.31 | 18.12 |
| | MobileViT | 85.00 | 14.69 | 15.31 | 11.25 |
| | InceptionTime | 89.53 | 11.87 | 9.06 | 9.06 |
| | Ours | 94.69 | 7.81 | 2.81 | 2.81 |
| SVC2004 Task 2 | DTW | 59.06 | 8.44 | 55.00 | 17.50 |
| | 1D-CNN | 60.00 | 34.06 | 45.94 | 28.59 |
| | BiLSTM | 89.53 | 11.87 | 9.06 | 10.31 |
| | MobileViT | 87.97 | 13.75 | 10.31 | 6.25 |
| | InceptionTime | 91.87 | 11.87 | 4.37 | 7.81 |
| | Ours | 99.53 | 0.63 | 0.31 | 0.16 |
| MPIS-Sig | DTW | 35.94 | 46.43 | 50.00 | 48.21 |
| | 1D-CNN | 62.50 | 39.28 | 37.50 | 38.39 |
| | BiLSTM | 76.56 | 35.71 | 37.50 | 36.61 |
| | MobileViT | 81.92 | 4.58 | 20.00 | 10.08 |
| | InceptionTime | 95.41 | 2.08 | 4.94 | 2.73 |
| | Ours | 98.02 | 1.98 | 1.52 | 1.75 |
Table 5.
Performance comparison of baseline methods and the proposed method across various datasets (WD-5/5).
Table 5.
Performance comparison of baseline methods and the proposed method across various datasets (WD-5/5).
| Dataset | Method | ACC (%) | FAR (%) | FRR (%) | EER (%) |
|---|
| SVC2004 Task 1 | DTW | 91.46 | 9.79 | 7.29 | 15.73 |
| | 1D-CNN | 79.06 | 34.17 | 7.71 | 15.31 |
| | BiLSTM | 74.48 | 36.04 | 15.00 | 24.48 |
| | MobileViT | 81.04 | 27.71 | 10.21 | 16.15 |
| | InceptionTime | 81.98 | 22.71 | 13.33 | 15.00 |
| | Ours | 88.02 | 18.75 | 5.21 | 9.06 |
| SVC2004 Task 2 | DTW | 58.23 | 10.83 | 47.08 | 18.33 |
| | 1D-CNN | 55.00 | 34.58 | 55.42 | 38.96 |
| | BiLSTM | 86.04 | 12.92 | 15.00 | 11.56 |
| | MobileViT | 84.58 | 20.21 | 10.62 | 12.29 |
| | InceptionTime | 85.21 | 17.29 | 12.29 | 14.37 |
| | Ours | 95.52 | 7.92 | 1.04 | 2.40 |
| MPIS-Sig | DTW | 44.19 | 55.80 | 55.80 | 55.80 |
| | 1D-CNN | 52.31 | 48.28 | 48.73 | 48.51 |
| | BiLSTM | 82.19 | 16.86 | 18.93 | 17.90 |
| | MobileViT | 73.05 | 7.22 | 28.88 | 20.94 |
| | InceptionTime | 88.98 | 14.44 | 10.33 | 11.00 |
| | Ours | 94.76 | 4.94 | 5.30 | 5.12 |
Table 6.
Computational complexity comparison of different models.
Table 6.
Computational complexity comparison of different models.
| Model | Params | FLOPs |
|---|
| DTW | 0 | 1.05 MFLOPs |
| 1D-CNN | 32.32 K | 19.10 MFLOPs |
| BiLSTM | 530.17 K | 1.08 GFLOPs |
| MobileViT | 1.13 M | 145.22 MFLOPs |
| InceptionTime | 423.09 K | 309.84 MFLOPs |
| Ours | 218.24 K | 23.67 MFLOPs |
Table 7.
Comparison of EER (%) with state-of-the-art methods on the SVC2004 Task 1 dataset.
Table 7.
Comparison of EER (%) with state-of-the-art methods on the SVC2004 Task 1 dataset.
| Method | EER (5-Shot) (%) | EER (10-Shot) (%) |
|---|
| Wavelet packet-based [40] | 6.65 | — |
| Turning angle & LCS [41] | 5.33 | — |
| Hilbert scanning + GMM [42] | — | 6.08 |
| Single-template + weighting [43] | 4.98 | 4.26 |
| Ours | 9.06 | 2.81 |
Table 8.
Comparison of EER (%) with state-of-the-art methods on the SVC2004 Task 2 dataset.
Table 8.
Comparison of EER (%) with state-of-the-art methods on the SVC2004 Task 2 dataset.
| Method | EER (5-Shot) (%) | EER (10-Shot) (%) |
|---|
| Feature weighting relief [44] | 5.31 | — |
| Few-shot learning [7] | 5.83 | — |
| 1D-CNNs trained cosine similarities [17] | — | 2.63 |
| Feature Fusion [18] | 5.95 | 3.93 |
| Multiple DTW distances with gradient boosting [43] | — | 2.98 |
| Curvature feature + torsion feature [45] | — | 4.38 |
| Feature selection + GhostNet [46] | 4.57 | 2.93 |
| 1D-MRSNet + ABSoftmax [47] | 11.74 | 2.33 |
| 1D-ACGRNet [14] | 4.17 | 2.12 |
| Ours | 2.40 | 0.16 |
Table 9.
Ablation study results of core modules across three datasets under WD-10/10 Protocol (EER, ACC, FAR, FRR in %, AUC is dimensionless). ‘✓’ indicates that the corresponding module is included, ‘✗’ indicates excluded, and ‘—’ indicates not applicable.
Table 9.
Ablation study results of core modules across three datasets under WD-10/10 Protocol (EER, ACC, FAR, FRR in %, AUC is dimensionless). ‘✓’ indicates that the corresponding module is included, ‘✗’ indicates excluded, and ‘—’ indicates not applicable.
| Variants | Sequence Branch | Global Branch | Fusion Method | Closed-Loop Feedback | Padding Masking | Task 1 EER/ACC/FAR/FRR/AUC | Task 2 EER/ACC/FAR/FRR/AUC | MPIS-Sig EER/ACC/FAR/FRR/AUC |
|---|
| V1: Vanilla Transformer | ✓ | ✗ | — | ✗ | ✗ | 8.91/90.47/10.84/7.49/0.934 | 4.22/95.62/5.47/3.28/0.968 | 2.85/96.87/3.73/2.56/0.976 |
| V2: Global-only | ✗ | ✓ | — | ✗ | ✗ | 8.44/91.43/9.78/7.34/0.938 | 3.75/96.09/4.62/3.19/0.971 | 2.91/97.17/3.37/2.29/0.978 |
| V3: Simple Concat | ✓ | ✓ | Concat | ✗ | ✗ | 7.50/92.47/8.83/6.01/0.948 | 2.19/97.66/2.91/1.78/0.983 | 2.70/97.66/2.91/1.78/0.983 |
| V4: + Bi-Fusion | ✓ | ✓ | Bi-Guided | ✗ | ✗ | 5.94/94.23/7.13/4.67/0.961 | 1.56/98.13/2.07/1.19/0.988 | 1.97/97.72/2.74/1.82/0.986 |
| V5: + Feedback | ✓ | ✓ | Bi-Guided | ✓ | ✗ | 3.81/94.37/4.82/3.44/0.968 | 0.94/98.91/1.08/0.66/0.993 | 1.91/97.97/2.38/1.68/0.987 |
| Ours: + Padding Masking | ✓ | ✓ | Bi-Guided | ✓ | ✓ | 2.81/94.69/7.81/2.81/0.979 | 0.16/99.53/0.63/0.31/0.999 | 1.75/98.02/1.98/1.52/0.993 |
Table 10.
Ablation study results of core modules across three datasets under WD-5/5 Protocol (EER, ACC, FAR, FRR in %, AUC is dimensionless). ‘✓’ indicates that the corresponding module is included, ‘✗’ indicates excluded, and ‘—’ indicates not applicable.
Table 10.
Ablation study results of core modules across three datasets under WD-5/5 Protocol (EER, ACC, FAR, FRR in %, AUC is dimensionless). ‘✓’ indicates that the corresponding module is included, ‘✗’ indicates excluded, and ‘—’ indicates not applicable.
| Variants | Sequence Branch | Global Branch | Fusion Method | Closed-Loop Feedback | Padding Masking | Task 1 EER/ACC/FAR/FRR/AUC | Task 2 EER/ACC/FAR/FRR/AUC | MPIS-Sig EER/ACC/FAR/FRR/AUC |
|---|
| V1: Vanilla Transformer | ✓ | ✗ | — | ✗ | ✗ | 18.54/74.10/35.84/19.23/0.907 | 6.15/92.53/12.82/2.21/0.969 | 14.96/85.04/14.28/15.72/0.925 |
| V2: Global-only | ✗ | ✓ | — | ✗ | ✗ | 10.94/84.41/22.89/11.56/0.945 | 4.98/94.20/9.90/1.71/0.975 | 10.46/89.54/10.13/10.82/0.948 |
| V3: Simple Concat | ✓ | ✓ | Concat | ✗ | ✗ | 10.53/85.33/21.58/11.90/0.947 | 3.96/95.02/8.66/1.45/0.980 | 9.33/90.67/9.42/9.66/0.953 |
| V4: + Bi-Fusion | ✓ | ✓ | Bi-Guided | ✗ | ✗ | 10.42/85.97/20.59/10.84/0.948 | 3.96/95.02/8.66/1.45/0.980 | 9.33/90.67/9.42/9.66/0.953 |
| V5: + Feedback | ✓ | ✓ | Bi-Guided | ✓ | ✗ | 9.23/87.23/19.25/9.51/0.954 | 2.67/95.31/8.26/1.21/0.987 | 7.56/92.44/7.35/7.82/0.962 |
| Ours: + Padding Masking | ✓ | ✓ | Bi-Guided | ✓ | ✓ | 9.06/88.02/18.75/9.06/0.955 | 2.45/95.52/7.92/1.04/0.988 | 5.12/94.76/4.94/5.39/0.974 |
Table 11.
False Rejection Rate (FRR, %) across distinct writing postures on the MPIS-Sig dataset.
Table 11.
False Rejection Rate (FRR, %) across distinct writing postures on the MPIS-Sig dataset.
| Test Set Sub-Category | Posture Description | FRR (10-Shot) (%) | FRR (5-Shot) (%) |
|---|
| HPG | High Position Grip | 1.10 | 1.38 |
| VSW | Variable Speed Writing | 1.75 | 2.69 |
| NW | Normal Writing | 2.94 | 3.35 |
| SW | Standing Writing | 1.74 | 1.87 |
Table 12.
False Acceptance Rate (FAR, %) across specific forgery types on the MPIS-Sig dataset.
Table 12.
False Acceptance Rate (FAR, %) across specific forgery types on the MPIS-Sig dataset.
| Test Set Sub-Category | Forgery Type | FAR (10-Shot) (%) | FAR (5-Shot) (%) |
|---|
| RF | Random Forgery | 3.05 | 14.75 |
| SF | Skilled Forgery | 0.00 | 1.99 |
Table 13.
Sensitivity impact of training sample scale on model performance.
Table 13.
Sensitivity impact of training sample scale on model performance.
| Dataset | Training Scale | ACC (%) | FAR (%) | FRR (%) | EER (%) |
|---|
| SVC2004 Task 1 | 10-shot | 94.69 | 7.81 | 2.81 | 2.81 |
| | 5-shot | 88.02 | 18.75 | 5.21 | 9.06 |
| SVC2004 Task 2 | 10-shot | 99.53 | 0.63 | 0.31 | 0.16 |
| | 5-shot | 95.52 | 7.92 | 1.04 | 2.40 |
| MPIS-Sig | 10-shot | 98.02 | 1.98 | 1.52 | 1.75 |
| | 5-shot | 94.76 | 4.94 | 5.30 | 5.12 |