DSTER: A Dual-Stream Transformer-based Emotion Recognition Model through Keystrokes Dynamics

Frank Chen, Shruti Rao, Brijesh Tiwari, Vir V. Phoha

Research output: Chapter in Book/Entry/PoemConference contribution

Abstract

Emotion Recognition is a critical research area for enhancing human-computer interaction. Keystroke dynamics, a behavioral biometric capturing typing patterns, offers a non-intrusive, user-friendly method for recognizing emotions. We propose a Dual-Stream Transformer-based Emotion Recognition (DSTER) model, which leverages keystroke dynamics to determine emotional states. The DSTER model features a dual-stream architecture that separately extracts temporal-over-channel and channel-over-temporal information. Each stream employs multi-head self-attention mechanisms, Long-Short Term Memory (LSTM), and Convolutional Neural Network (CNN) layers, along with dense vector embeddings of keycode data, to improve the extraction of temporal and contextual information from typing sequences. To the best of our knowledge, the DSTER model is the first to integrate transformer architecture with keystroke dynamics for emotion recognition. Our experiments on a widely-used fixed-text dataset demonstrate that the DSTER model significantly outperforms the three most recent baseline models, achieving average F1 scores up to 0.989 and an average accuracy increase of up to 66.04%. Unlike the significant performance variations reported in baseline models, the DSTER model maintains consistent and robust performance across all five tested emotional states. Further analysis shows that the model performs better with longer window lengths and greater overlaps.

Original languageEnglish (US)
Title of host publicationProceedings - 2024 IEEE International Joint Conference on Biometrics, IJCB 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350364132
DOIs
StatePublished - 2024
Event18th IEEE International Joint Conference on Biometrics, IJCB 2024 - Buffalo, United States
Duration: Sep 15 2024Sep 18 2024

Publication series

NameProceedings - 2024 IEEE International Joint Conference on Biometrics, IJCB 2024

Conference

Conference18th IEEE International Joint Conference on Biometrics, IJCB 2024
Country/TerritoryUnited States
CityBuffalo
Period9/15/249/18/24

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Vision and Pattern Recognition
  • Biomedical Engineering
  • Instrumentation

Fingerprint

Dive into the research topics of 'DSTER: A Dual-Stream Transformer-based Emotion Recognition Model through Keystrokes Dynamics'. Together they form a unique fingerprint.

Cite this