Identifying emotional states using keystroke dynamics

Clayton Epp, Michael Lippold and Regan L. Mandryk

Abstract

The ability to recognize emotions is an important part of building intelligent computers. Emotionally-aware systems would have a rich context from which to make appropriate decisions about how to interact with the user or adapt their system response. There are two main problems with current system approaches for identifying emotions that limit their applicability: they can be invasive and can require costly equipment. Our solution is to determine user emotion by analyzing the rhythm of their typing patterns on a standard keyboard. We conducted a field study where we collected participants' keystrokes and their emotional states via self-reports. From this data, we extracted keystroke features, and created classifiers for 15 emotional states. Our top results include 2-level classifiers for confidence, hesitance, nervousness, relaxation, sadness, and tiredness with accuracies ranging from 77 to 88%. In addition, we show promise for anger and excitement, with accuracies of 84%.

Venue
CHI 2011
Volume
Proceedings of the SIGCHI Conference on Human Factors in Computing Systems
DOI
10.1145/1978942.1979046
PDF
https://dl.acm.org/doi/pdf/10.1145/1978942.1979046
Anthology ID
2011.chi.82

Cite

@inproceedings{epp-etal-2011-identifying,
    title = {{Identifying emotional states using keystroke dynamics}},
    author = {Clayton Epp and Michael Lippold and Regan L. Mandryk},
    booktitle = {Proceedings of the SIGCHI Conference on Human Factors in Computing Systems},
    isbn = {9781450302289},
    year = {2011},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1978942.1979046},
    url = {https://doi.org/10.1145/1978942.1979046},
    abstract = {The ability to recognize emotions is an important part of building intelligent computers. Emotionally-aware systems would have a rich context from which to make appropriate decisions about how to interact with the user or adapt their system response. There are two main problems with current system approaches for identifying emotions that limit their applicability: they can be invasive and can require costly equipment. Our solution is to determine user emotion by analyzing the rhythm of their typing patterns on a standard keyboard. We conducted a field study where we collected participants' keystrokes and their emotional states via self-reports. From this data, we extracted keystroke features, and created classifiers for 15 emotional states. Our top results include 2-level classifiers for confidence, hesitance, nervousness, relaxation, sadness, and tiredness with accuracies ranging from 77 to 88\%. In addition, we show promise for anger and excitement, with accuracies of 84\%.}
}