Emotion classification from keystroke dynamics: a dual-input deep learning approach
Accurate emotion recognition from human-computer interactions is essential for adaptive and user-centered applications. Traditional affect recognition methods often overlook individual behavioral patterns, thereby limiting their effectiveness across diverse user populations. We propose a personalized deep learning framework for emotion recognition from keystroke dynamics that addresses this limitation. Our dual-input neural network architecture combines temporal features extracted from keystroke synchronization patterns and user-specific metadata via Feature-wise Linear Modulation (FiLM) and Low-Rank Adaptation (LoRA). This design enables the model to capture both universal typing patterns and individual-specific behavioral characteristics. Trained and evaluated on the EmoSurv dataset, the proposed model achieves around 98% accuracy across five emotion classes: neutral, happy, sad, calm, and angry. Experimental results demonstrate that the personalized dual-input architecture with FiLM and LoRA conditioning improves performance compared to user-agnostic baselines. Per-class analysis further indicates more consistent recognition across emotions. By employing parameter-efficient FiLM and LoRA modules for user-specific conditioning, the framework introduces personalization while maintaining a compact model design, supporting its applicability to real-time keystroke-based emotion recognition scenarios.
Authors
- Soonja Yeom (ORCID: https://orcid.org/0000-0002-5843-101X)
- Hyung-Jeong Yang (ORCID: https://orcid.org/0000-0003-3024-5060)
- Myung‐Sun Kim (ORCID: https://orcid.org/0000-0002-2404-090X)
- Seungwon Kim
- Karina Kolmogortseva
Institutions
- Chonnam National University (KR)
- University of Tasmania (AU)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-09-09
- DOI
- https://doi.org/10.1038/s41598-026-70720-1
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00