# TypeNet: Deep Learning Keystroke Biometrics

arXiv: https://arxiv.org/abs/2101.05570 · HTML: https://mlsanity.com/paper/2101.05570/

## Key facts

- Cited by 19 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 59 references that are in the map.
- First posted on arXiv 14 Jan 2021.

## Builds on (most cited first, 13 of 13)

- [Sampling Matters in Deep Embedding Learning](https://mlsanity.com/paper/1706.07567/) (2017)
- [The MegaFace Benchmark: 1 Million Faces for Recognition at Scale](https://mlsanity.com/paper/1512.00596/) (2015)
- [DeepWriteSYN: On-Line Handwriting Synthesis via Deep Short-Term Representations](https://mlsanity.com/paper/2009.06308/) (2020)
- [DeepSign: Deep On-Line Signature Verification](https://mlsanity.com/paper/2002.10119/) (2020)
- [BioTouchPass2: Touchscreen Password Biometrics Using Time-Aligned Recurrent Neural Networks](https://mlsanity.com/paper/2001.10223/) (2020)
- [edBB: Biometrics and Behavior for Assessing Remote Education](https://mlsanity.com/paper/1912.04786/) (2019)
- [Smartphone Sensors for Modeling Human-Computer Interaction: General Outlook and Research Datasets for User Authentication](https://mlsanity.com/paper/2006.00790/) (2020)
- [Computer keyboard interaction as an indicator of early Parkinson's disease](https://mlsanity.com/paper/1604.08620/) (2016)
- [MultiLock: Mobile Active Authentication based on Multiple Biometric and Behavioral Patterns](https://mlsanity.com/paper/1901.10312/) (2019)
- [Fast Free-text Authentication via Instance-based Keystroke Dynamics](https://mlsanity.com/paper/2006.09337/) (2020)
- [Actions Speak Louder Than (Pass)words: Passive Authentication of Smartphone Users via Deep Temporal Features](https://mlsanity.com/paper/1901.05107/) (2019)
- [Robust Keystroke Biometric Anomaly Detection](https://mlsanity.com/paper/1606.09075/) (2016)
- [TypeNet: Scaling up Keystroke Biometrics](https://mlsanity.com/paper/2004.03627/) (2020)

## Built on by (most cited first, 19 of 19)

- [edBB-Demo: Biometrics and Behavior Analysis for Online Educational Platforms](https://mlsanity.com/paper/2211.09210/) (2022)
- [BehavePassDB: Public Database for Mobile Behavioral Biometrics and Benchmark Evaluation](https://mlsanity.com/paper/2206.02502/) (2022)
- [TypeFormer: Transformers for Mobile Keystroke Biometrics](https://mlsanity.com/paper/2212.13075/) (2022)
- [Mobile Keystroke Biometrics Using Transformers](https://mlsanity.com/paper/2207.07596/) (2022)
- [Keystroke Dynamics Against Academic Dishonesty in the Age of LLMs](https://mlsanity.com/paper/2406.15335/) (2024)
- [AI-based Multimodal Biometrics for Detecting Smartphone Distractions: Application to Online Learning](https://mlsanity.com/paper/2506.17364/) (2025)
- [IJCB 2022 Mobile Behavioral Biometrics Competition (MobileB2C)](https://mlsanity.com/paper/2210.03072/) (2022)
- [Keystroke Verification Challenge (KVC): Biometric and Fairness Benchmark Evaluation](https://mlsanity.com/paper/2311.06000/) (2023)
- [Type2Branch: Keystroke Biometrics based on a Dual-branch Architecture with Attention Mechanisms and Set2set Loss](https://mlsanity.com/paper/2405.01088/) (2024)
- [Mobile Behavioral Biometrics for Passive Authentication](https://mlsanity.com/paper/2203.07300/) (2022)
- [BeCAPTCHA-Type: Biometric Keystroke Data Generation for Improved Bot Detection](https://mlsanity.com/paper/2207.13394/) (2022)
- [IEEE BigData 2023 Keystroke Verification Challenge (KVC)](https://mlsanity.com/paper/2401.16559/) (2024)
- [KVC-onGoing: Keystroke Verification Challenge](https://mlsanity.com/paper/2412.20530/) (2024)
- [LLM-Assisted Cheating Detection in Korean Language via Keystrokes](https://mlsanity.com/paper/2507.22956/) (2025)
- [On the Insecurity of Keystroke-Based AI Authorship Detection: Timing-Forgery Attacks Against Motor-Signal Verification](https://mlsanity.com/paper/2601.17280/) (2026)
- [DEFT: A new distance-based feature set for keystroke dynamics](https://mlsanity.com/paper/2310.04059/) (2023)
- [Free-text Keystroke Authentication using Transformers: A Comparative Study of Architectures and Loss Functions](https://mlsanity.com/paper/2310.11640/) (2023)
- [Hylog: A Hybrid Approach to Logging Text Production in Non-alphabetic Scripts](https://mlsanity.com/paper/2601.17753/) (2026)
- [Template Ageing and Longitudinal Verification in Fixed-Text Keystroke Dynamics: A Subject-Disjoint Study Across Eight Weeks](https://mlsanity.com/paper/2609.29851/) (2026)

## Abstract (arXiv)

We study the performance of Long Short-Term Memory networks for keystroke biometric authentication at large scale in free-text scenarios. For this we explore the performance of Long Short-Term Memory (LSTMs) networks trained with a moderate number of keystrokes per identity and evaluated under different scenarios including: i) three learning approaches depending on the loss function (softmax, contrastive, and triplet loss); ii) different number of training samples and lengths of keystroke sequences; iii) four databases based on two device types (physical vs touchscreen keyboard); and iv) comparison with existing approaches based on both traditional statistical methods and deep learning architectures. Our approach called TypeNet achieves state-of-the-art keystroke biometric authentication performance with an Equal Error Rate of 2.2% and 9.2% for physical and touchscreen keyboards, respectively, significantly outperforming previous approaches. Our experiments demonstrate a moderate increase in error with up to 100,000 subjects, demonstrating the potential of TypeNet to operate at an Internet scale. To the best of our knowledge, the databases used in this work are the largest existing free-text keystroke databases available for research with more than 136 million keystrokes from 168,000 subjects in physical keyboards, and 60,000 subjects with more than 63 million keystrokes acquired on mobile touchscreens.
