Department of Bioengineering, University of Illinois at Chicago, Chicago, Illinois, USA.
Department of Psychiatry, University of Illinois at Chicago, Chicago, Illinois, USA.
J Am Med Inform Assoc. 2020 Jul 1;27(7):1007-1018. doi: 10.1093/jamia/ocaa057.
Ubiquitous technologies can be leveraged to construct ecologically relevant metrics that complement traditional psychological assessments. This study aims to determine the feasibility of smartphone-derived real-world keyboard metadata to serve as digital biomarkers of mood.
BiAffect, a real-world observation study based on a freely available iPhone app, allowed the unobtrusive collection of typing metadata through a custom virtual keyboard that replaces the default keyboard. User demographics and self-reports for depression severity (Patient Health Questionnaire-8) were also collected. Using >14 million keypresses from 250 users who reported demographic information and a subset of 147 users who additionally completed at least 1 Patient Health Questionnaire, we employed hierarchical growth curve mixed-effects models to capture the effects of mood, demographics, and time of day on keyboard metadata.
We analyzed 86 541 typing sessions associated with a total of 543 Patient Health Questionnaires. Results showed that more severe depression relates to more variable typing speed (P < .001), shorter session duration (P < .001), and lower accuracy (P < .05). Additionally, typing speed and variability exhibit a diurnal pattern, being fastest and least variable at midday. Older users exhibit slower and more variable typing, as well as more pronounced slowing in the evening. The effects of aging and time of day did not impact the relationship of mood to typing variables and were recapitulated in the 250-user group.
Keystroke dynamics, unobtrusively collected in the real world, are significantly associated with mood despite diurnal patterns and effects of age, and thus could serve as a foundation for constructing digital biomarkers.
无处不在的技术可以被利用来构建与生态相关的指标,以补充传统的心理评估。本研究旨在确定智能手机衍生的真实世界键盘元数据作为情绪数字生物标志物的可行性。
BiAffect 是一项基于免费 iPhone 应用程序的真实世界观察研究,通过替换默认键盘的自定义虚拟键盘,可以实现对打字元数据的非侵入式收集。还收集了用户人口统计学信息和抑郁严重程度(患者健康问卷-8)的自我报告。使用来自 250 名报告人口统计学信息的用户和另外 147 名至少完成 1 份患者健康问卷的用户的超过 1400 万次按键,我们采用分层增长曲线混合效应模型来捕捉情绪、人口统计学和一天中的时间对键盘元数据的影响。
我们分析了与总共 543 份患者健康问卷相关的 86541 次打字会话。结果表明,更严重的抑郁与更可变的打字速度(P<0.001)、更短的会话持续时间(P<0.001)和更低的准确性(P<0.05)相关。此外,打字速度和可变性呈昼夜模式,中午最快且变化最小。年龄较大的用户打字速度较慢且变化较大,晚上打字速度下降更为明显。年龄和时间的影响不会影响情绪与打字变量的关系,并且在 250 名用户组中得到了重现。
尽管存在昼夜模式和年龄的影响,但真实世界中毫不引人注目的击键动力学与情绪显著相关,因此可以作为构建数字生物标志物的基础。