Manuscript Offprint

arXiv:2609.08276

Online Signature Verification Using Augmented Path Signature and T-Mamba

Ruiling Li, Danyu Yang

Ruiling Li and Danyu Yang(✉)

College of Mathematics and Statistics, Chongqing University, China 202406021058T@stu.cqu.edu.cn, danyuyang@cqu.edu.cn

Abstract. Handwritten signature verification is vital for personal authentication across commercial and financial applications. Although deep learning methods are widely adopted for online signature verification (OSV), they often struggle with capturing highly discriminative features and modelling long-range dependencies. To address these issues, we propose a novel framework that integrates the augmented path signature (APS) descriptor with the T-Mamba model. The APS descriptor first applies time and basepoint augmentations, then computes sliding-window path signatures. The path signature is a non-parametric feature map from rough path theory that effectively captures geometric structures and nonlinear inter-channel interactions. Inspired by the efficacy of state space models (SSMs) in sequence modelling, our T-Mamba model employs a hybrid design combining two temporal convolutional network (TCN) blocks with a time-scanning Mamba. This design enables the model to learn both local temporal patterns and global long-range dependencies, substantially improving verification accuracy. Our framework achieves state-of-the-art EERs on three public benchmark datasets (MCYT-100, SVC-2004 Task 2, DeepSignDB), validating its effectiveness and robustness, especially when the training data is limited. Our code is publicly available at https://github.com/DLRL04/OSV-using-APS-and-T-Mamba.

Keywords: Online signature verification · Mamba · Temporal convolutional network · Path signature · Dynamic time warping.

1 Introduction

In the past decades, handwritten signatures have served as one of the most widely accepted forms of personal authentication, playing a vital role in administrative, commercial, and financial contexts such as contract signing and payment authorization. Signature verification is typically categorized as offline and online approaches based on the data acquisition process. While offline signature verification systems analyse static images, online signature verification (OSV) systems capture dynamic trajectories using specialised digital devices such as smartphones and pressure-sensitive tablets, making them more reliable than offline approaches [29,14]. However, effectively modelling the complex and multidimensional time series for OSV remains challenging. This difficulty arises

R. Li and D. Yang

from the substantial intra-writer variability inherent in human handwriting, as well as the presence of skilled and random forgery attacks, making OSV considerably more challenging than many other biometric modalities [33].

Traditional parameter- or function-based feature extraction for OSV lacks explicit mechanisms to address intra-writer variability. To overcome this, we introduce the augmented path signature (APS) descriptor as a robust, discriminative representation. Specifically, raw signature trajectories are augmented with timestamps and basepoints prior to sliding-window path signature computation [6]. Grounded in rough path theory [22], this principled non-parametric descriptor effectively captures local geometric structures and nonlinear inter-channel interactions, thereby significantly boosting verification performance.

With the advent of deep learning, models such as RNNs [21,20], CNNs [4,37], and Transformers [36,24] have achieved promising results in OSV. Nevertheless, RNNs are capable of capturing temporal dependencies but struggle with long sequences and typically require a substantial amount of training data. CNNs efficiently extract local and spatial patterns but are limited by their receptive fields. While Transformers excel at modelling long-range dependencies, they incur high computational costs and may overfit when training data is limited. Although great advances have been made, signature verification remains an open challenge. In light of this, we introduce T-Mamba, a hybrid model that integrates temporal convolutional networks (TCN) with time-scanning Mamba, a selective state-space model based on Mamba [10]. By employing TCNs with dilated convolutions, we first expand the receptive field to capture fine-grained local patterns. Then the time-scanning Mamba processes the sequence in both forward and backward temporal directions with shared parameters, enabling globally selective integration of relevant information with linear complexity. This combination keeps T-Mamba computationally efficient and robust to the variable lengths typical of handwritten signature sequences.

Alongside representation learning, deep metric learning has emerged as a cornerstone of signature verification by optimizing feature spaces to maximize inter-writer separability and minimize intra-writer variation. While traditional Dynamic Time Warping (DTW) [17] excels at temporal alignment, its non-differentiable nature precludes direct end-to-end integration. To circumvent this, we employ soft-DTW [7] during training to compute differentiable pairwise alignment costs within a triplet loss. During inference, standard DTW is utilized to calculate the optimal alignment and similarity scores between query and reference signatures for authentication.

The overall framework of our proposed method is illustrated in Fig. 1. Specifically, we first extract the APS features to obtain representations of the local geometric structure. These features are then fed into T-Mamba, optimised during training with a soft-DTW triplet loss, and evaluated during testing using standard DTW. The primary contributions of this paper are as follows:

  • We introduce the APS descriptor, a robust representation designed to capture the local geometric structure of signatures. By integrating path aug-

Figure

Fig. 1. Overall framework of the proposed method.

mentations with sliding-window path signatures from rough path theory, it enables the extraction of high-order discriminative features.

– To the best of our knowledge, this work is the first to apply a state space model, specifically Mamba, to online signature verification and to demonstrate its effectiveness.

– We propose T-Mamba, a novel backbone that integrates TCN blocks with a time-scanning Mamba through max pooling. This design strikes an effective balance between local patterns and global contextual information.

– We achieve state-of-the-art performance on three public benchmarks (MCYT-100, SVC-2004 Task 2, DeepSignDB), demonstrating the effectiveness and robustness of our framework across diverse datasets and acquisition devices.

References (40)