The primary objective of the paper was to determine the user based on its keystroke dynamics using the methods of machine learning. Such kind of a problem can be formulated as a classification task. To solve this task, four methods of supervised machine learning were employed, namely, logistic regression, support vector machines, random forest, and neural network. Each of three users typed the same word that had 7 symbols 600 times. The row of the dataset consists of 7 values that are the time period during which the particular key was pressed. The ground truth values are the user id. Before the application of machine learning classification methods, the features were transformed to z-score. The classification metrics were obtained for each applied method. The following parameters were determined: precision, recall, f1-score, support, prediction, and area under the receiver operating characteristic curve (AUC). The obtained AUC score was quite high. The lowest AUC score equal to 0.928 was achieved in the case of linear regression classifier. The highest AUC score was in the case of neural network classifier. The method of support vector machines and random forest showed slightly lower results as compared with neural network method. The same pattern is true for precision, recall and F1-score. Nevertheless, the obtained classification metrics are quite high in every case. Therefore, the methods of machine learning can be efficiently used to classify the user based on keystroke patterns. The most recommended method to solve such kind of a problem is neural network.



Shabliy, N., Lupenko, S., Lutsyk, N., Yasniy, O., & Malyshevska, O. (2021). Keystroke dynamics analysis using machine learning methods. Applied Computer Science, 17(4), 75-83.
Shabliy, Nataliya, Serhii Lupenko, Nadiia Lutsyk, Oleh Yasniy, and Olha Malyshevska. "Keystroke Dynamics Analysis Using Machine Learning Methods." Applied Computer Science 17, no. 4 (2021): 75-83.
N. Shabliy, S. Lupenko, N. Lutsyk, O. Yasniy, and O. Malyshevska, "Keystroke dynamics analysis using machine learning methods," Applied Computer Science, vol. 17, no. 4, pp. 75-83, 2021, doi: 10.23743/acs-2021-30.
Shabliy N, Lupenko S, Lutsyk N, Yasniy O, Malyshevska O. Keystroke dynamics analysis using machine learning methods. Applied Computer Science. 2021;17(4):75-83.