Type2Branch: Keystroke Biometrics based on a Dual-branch Architecture with Attention Mechanisms and Set2set Loss

Nahuel González, Giuseppe Stragapede, Rubén Vera-Rodriguez, Rubén Tolosana
5/2/2024
cs.CV

No official code found. Best implementation: lsia/tifs-type2branch (3 stars, GPL-3.0, last commit 2025-03-22).

Abstract

In 2021, the pioneering work TypeNet showed that keystroke dynamics verification could scale to hundreds of thousands of users with minimal performance degradation. Recently, the KVC-onGoing competition has provided an open and robust experimental protocol for evaluating keystroke dynamics verification systems of such scale. %, including considerations of algorithmic fairness. This article describes Type2Branch, the model and techniques that achieved the lowest error rates at the KVC-onGoing, in both desktop and mobile typing scenarios. The novelty aspects of the proposed Type2Branch include: i) synthesized timing features emphasizing user behavior deviation from the general population, ii) a dual-branch architecture combining recurrent and convolutional paths with various attention mechanisms, iii) a new loss function named Set2set that captures the global structure of the embedding space, and iv) a training curriculum of increasing difficulty. Considering five enrollment samples per subject of approximately 50 characters typed, the proposed Type2Branch achieves state-of-the-art performance with mean per-subject Equal Error Rates (EERs) of 0.77% and 1.03% on evaluation sets of respectively 15,000 and 5,000 subjects for desktop and mobile scenarios. With a fixed global threshold for all subjects, the EERs are respectively 3.25% and 3.61% for desktop and mobile scenarios, outperforming previous approaches by a significant margin. The source code for dataset generation, model, and training process is publicly available.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Companion source code for Type2Branch: Keystroke Biometrics based on a Dual-branch Architecture with Attention Mechanisms and Set2set Loss

32PythonNov 10, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{gonzlez2024typebranch,
  title  = {Type2Branch: Keystroke Biometrics based on a Dual-branch Architecture with Attention Mechanisms and Set2set Loss},
  author = {Nahuel González and Giuseppe Stragapede and Rubén Vera-Rodriguez and Rubén Tolosana},
  year   = {2024},
  eprint = {2405.01088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.01088v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.01088.svg)](https://codeofpaper.com/paper/2405.01088)

Discussion