| Literature DB >> 26065902 |
Po-Ming Lee1, Wei-Hsuan Tsui2, Tzu-Chien Hsiao3.
Abstract
In recent years, a novel approach for emotion recognition has been reported, which is by keystroke dynamics. The advantages of using this approach are that the data used is rather non-intrusive and easy to obtain. However, there were only limited investigations about the phenomenon itself in previous studies. Hence, this study aimed to examine the source of variance in keyboard typing patterns caused by emotions. A controlled experiment to collect subjects' keystroke data in different emotional states induced by International Affective Digitized Sounds (IADS) was conducted. Two-way Valence (3) x Arousal (3) ANOVAs was used to examine the collected dataset. The results of the experiment indicate that the effect of arousal is significant in keystroke duration (p < .05), keystroke latency (p < .01), but not in the accuracy rate of keyboard typing. The size of the emotional effect is small, compared to the individual variability. Our findings support the conclusion that the keystroke duration and latency are influenced by arousal. The finding about the size of the effect suggests that the accuracy rate of emotion recognition technology could be further improved if personalized models are utilized. Notably, the experiment was conducted using standard instruments and hence is expected to be highly reproducible.Entities:
Mesh:
Year: 2015 PMID: 26065902 PMCID: PMC4465979 DOI: 10.1371/journal.pone.0129056
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1The number pad in the keyboard used in our experiment, with an illustration of the design concept of our designed target number typing sequence.
The arrow shows the order of changes of the typing target. For those (x, y) pairs in the heptagons, x represents the order of a typing target and y represents the desirable finger (i.e. thumb (f1), index finger (f2), middle finger (f3), ring finger (f4), and little finger (f5) or pinky) that was used for typing the corresponding typing target.
Fig 2The distribution of the mean valence and arousal ratings elicited by IADS-2 sounds during the experiment.
The numbers showed in the figure are the sound ids of the used sounds (these sounds can be found in the IADS-2 database [42] using the sound ids).
Descriptive statistics of keystroke duration under independent variables Valence x Arousal.
| Valence | Arousal | Mean | Std. Error | 95% Confidence Interval | |
|---|---|---|---|---|---|
| Lower Bound | Upper Bound | ||||
| negative | low | 0.1141 | 0.0006 | 0.1130 | 0.1153 |
| medium | 0.1138 | 0.0008 | 0.1121 | 0.1155 | |
| high | 0.1076 | 0.0005 | 0.1066 | 0.1086 | |
| neutral | low | 0.1101 | 0.0005 | 0.1092 | 0.1111 |
| Medium | 0.1134 | 0.0014 | 0.1106 | 0.1161 | |
| High | 0.1078 | 0.0012 | 0.1053 | 0.1102 | |
| positive | Low | 0.1095 | 0.0006 | 0.1083 | 0.1106 |
| Medium | 0.1071 | 0.0010 | 0.1052 | 0.1091 | |
| High | 0.1077 | 0.0007 | 0.1063 | 0.1091 | |
Repeated measures 3 (Valence: negative, neutral, positive) x 3 (Arousal: low, medium, high) ANOVA table for keystroke duration.
| Source of Variance | SS | df | MS | F | P |
|---|---|---|---|---|---|
| Part A. (The ANOVA result of the dataset that excludes 11 subjects which contains over 3 empty cells) | |||||
| Subjects | 0.208 | 40 | 0.005 | ||
| Valence | (SS < 0.001) | 2 | (MS < 0.001) | 0.389 | 0.6792 |
| Error(Valence) | 0.003 | 80 | (MS < 0.001) | ||
| Arousal | (SS < 0.001) | 2 | (MS < 0.001) | 4.025 | 0.0216 |
| Error(Arousal) | 0.003 | 80 | (MS < 0.001) | ||
| Valence x Arousal | (SS < 0.001) | 4 | (MS < 0.001) | 0.492 | 0.7413 |
| Error(Valence x Arousal) | 0.006 | 160 | (MS < 0.001) | ||
| Total | 0.220 | 368 | |||
| Part B. (The ANOVA result of the dataset that contains all subjects) | |||||
| Subjects | 0.264 | 51 | 0.005 | ||
| Valence | (SS < 0.001) | 2 | (MS < 0.001) | 1.527 | 0.222 |
| Error(Valence) | 0.004 | 102 | (MS < 0.001) | ||
| Arousal | (SS < 0.001) | 2 | (MS < 0.001) | 4.845 | 0.0098 |
| Error(Arousal) | 0.003 | 102 | (MS < 0.001) | ||
| Valence x Arousal | (SS < 0.001) | 4 | (MS < 0.001) | 1.267 | 0.2843 |
| Error(Valence x Arousal) | 0.006 | 203 | (MS < 0.001) | ||
| Total | 0.279 | 466 | |||
* p < .05
** p < .01
Descriptive statistics of keystroke latency under independent variables Valence x Arousal.
| Valence | Arousal | Mean | Std. Error | 95% Confidence Interval | |
|---|---|---|---|---|---|
| Lower Bound | Upper Bound | ||||
| negative | Low | 0.1025 | 0.0013 | 0.1000 | 0.1050 |
| Medium | 0.0968 | 0.0020 | 0.0927 | 0.1008 | |
| High | 0.1084 | 0.0012 | 0.1060 | 0.1108 | |
| neutral | Low | 0.1055 | 0.0010 | 0.1034 | 0.1076 |
| Medium | 0.0990 | 0.0028 | 0.0933 | 0.1046 | |
| High | 0.0995 | 0.0025 | 0.0944 | 0.1046 | |
| positive | Low | 0.1071 | 0.0014 | 0.1044 | 0.1099 |
| Medium | 0.1077 | 0.0021 | 0.1035 | 0.1118 | |
| High | 0.1032 | 0.0014 | 0.1003 | 0.1060 | |
Repeated measures 3 (Valence: negative, neutral, positive) x 3 (Arousal: low, medium, high) ANOVA table for keystroke latency.
| Source of Variance | SS | df | MS | F | P |
|---|---|---|---|---|---|
| Part A. (The ANOVA result of the dataset that excludes 11 subjects which contains over 3 empty cells) | |||||
| Subjects | 0.507 | 40 | 0.013 | ||
| Valence | (SS < 0.001) | 2 | (MS < 0.001) | 0.212 | 0.809 |
| Error(Valence) | 0.011 | 80 | (MS < 0.001) | ||
| Arousal | 0.001 | 2 | 0.001 | 5.187 | 0.0076 |
| Error(Arousal) | 0.011 | 80 | (MS < 0.001) | ||
| Valence x Arousal | (SS < 0.001) | 4 | (MS < 0.001) | 0.592 | 0.6691 |
| Error(Valence x Arousal) | 0.032 | 160 | (MS < 0.001) | ||
| Total | 0.564 | 368 | |||
| Part B. (The ANOVA result of the dataset that contains all subjects) | |||||
| Subjects | 0.620 | 51 | 0.012 | ||
| Valence | (SS < 0.001) | 2 | (MS < 0.001) | 0.431 | 0.6512 |
| Error(Valence) | 0.021 | 102 | (MS < 0.001) | ||
| Arousal | (SS < 0.001) | 2 | (MS < 0.001) | 0.969 | 0.3828 |
| Error(Arousal) | 0.016 | 102 | (MS < 0.001) | ||
| Valence x Arousal | (SS < 0.001) | 4 | (MS < 0.001) | 0.765 | 0.5490 |
| Error(Valence x Arousal) | 0.035 | 203 | (MS < 0.001) | ||
| Total | 0.693 | 466 | |||
** p < .01
Descriptive statistics of accuracy rate under independent variables Valence x Arousal
| Valence | Arousal | Mean | Std. Error | 95% Confidence Interval | |
|---|---|---|---|---|---|
| Lower Bound | Upper Bound | ||||
| negative | low | 0.9308 | 0.0111 | 0.9085 | 0.9531 |
| medium | 0.9106 | 0.0182 | 0.8741 | 0.9470 | |
| high | 0.9029 | 0.0123 | 0.8783 | 0.9276 | |
| neutral | low | 0.9440 | 0.0088 | 0.9263 | 0.9616 |
| medium | 0.9495 | 0.0221 | 0.9053 | 0.9937 | |
| high | 0.9423 | 0.0230 | 0.8964 | 0.9883 | |
| positive | low | 0.9482 | 0.0105 | 0.9271 | 0.9693 |
| medium | 0.9235 | 0.0204 | 0.8826 | 0.9644 | |
| high | 0.9003 | 0.0167 | 0.8668 | 0.9338 | |
Repeated measures 3 (Valence: negative, neutral, positive) x 3 (Arousal: low, medium, high) ANOVA table for accuracy rate of keyboard typing
| Source of Variance | SS | df | MS | F | P |
|---|---|---|---|---|---|
| Part A. (The ANOVA result of the dataset that excludes 11 subjects which contains over 3 empty cells) | |||||
| Subjects | 2.982 | 40 | 0.075 | ||
| Valence | 0.048 | 2 | 0.024 | 2.343 | 0.1026 |
| Error(Valence) | 0.820 | 80 | 0.010 | ||
| Arousal | 0.028 | 2 | 0.014 | 1.642 | 0.2001 |
| Error(Arousal) | 0.685 | 80 | 0.009 | ||
| Valence x Arousal | 0.027 | 4 | 0.007 | 0.715 | 0.583 |
| Error(Valence x Arousal) | 1.535 | 160 | 0.010 | ||
| Total | 6.125 | 368 | |||
| Part B. (The ANOVA result of the dataset that contains all subjects) | |||||
| Subjects | 3.486 | 51 | 0.068 | ||
| Valence | 0.061 | 2 | 0.031 | 1.877 | 0.1583 |
| Error(Valence) | 1.662 | 102 | 0.016 | ||
| Arousal | 0.029 | 2 | 0.015 | 1.517 | 0.2243 |
| Error(Arousal) | 0.981 | 102 | 0.010 | ||
| Valence x Arousal | 0.041 | 4 | 0.010 | 1.064 | 0.3753 |
| Error(Valence x Arousal) | 1.970 | 203 | 0.010 | ||
| Total | 8.230 | 466 | |||
Fig 3Keystroke duration with respect to arousal.
Fig 4Keystroke latency with respect to arousal.