Related Experiment Video
Updated: Jun 7, 2025

Author Spotlight: Therapeutic Benefit of Closed-Loop Deep Brain Stimulation in Depression Treatment
Published on: July 7, 2023
Robust remote detection of depressive tendency based on keystroke dynamics and behavioural characteristics
Ruba Fadul1, Aamna AlShehhi2,3, Leontios Hadjileontiadis2,3,4
1Department of Biomedical Engineering and Biotechnology, Khalifa University of Science and Technology, Abu Dhabi, UAE. ruba.fadul@ku.ac.ae.
Abstract:
Depressive Disorder (DD) is a leading cause of disability worldwide. Screening tools for detecting DD symptoms are essential for monitoring and efficient managing. Remarkably, individuals' kinetic activities, including their interaction with touchscreen smartphones, can be a proxy for their mental status. Therefore, studying these typing patterns can assist in developing passive screening tools for detecting even the early stage of DD, i.e., the depressive tendency (DT). Here we extend a previous study by exploring different machine learning models with various feature engineering approaches to detect the subjects' DT, as indicated by the self-administered Patient Health Questionnaire-9 (PHQ-9) score, via keystroke digital biomarkers. The keystroke timing sequences were unobtrusively collected from 24 subjects during routine interaction with touchscreen smartphones, resulting in 23,264 typing sessions. The proposed framework was investigated under two keystroke feature combinations-hold-time and flight-time variables-and validated using nested cross-validation scheme. Different feature selection (FS) techniques were employed to select informative features from the keystroke sequences. The best-performing gradient boosting classifier with features selected by the mutual information FS method achieved an improved Area Under Curve (AUC) of 0.98 [95% confidence interval: 0.91-1.00]. The proposed DT pipeline, which surpasses the state-of-the-art models, could effectively capture DT, considering users' behavioural characteristics. This would potentially provide users with information regarding the evolution of their mental health, simultaneously contributing to improving digital tools for objectively screening mental disorders in-the-wild.

