Data Intelligence for Health Lab, Cumming School of Medicine, University of Calgary, Calgary, AB, Canada.
Department of Community Health Sciences, Cumming School of Medicine, University of Calgary, Calgary, AB, Canada.
JMIR Mhealth Uhealth. 2020 Sep 29;8(9):e17818. doi: 10.2196/17818.
Emotional state in everyday life is an essential indicator of health and well-being. However, daily assessment of emotional states largely depends on active self-reports, which are often inconvenient and prone to incomplete information. Automated detection of emotional states and transitions on a daily basis could be an effective solution to this problem. However, the relationship between emotional transitions and everyday context remains to be unexplored.
This study aims to explore the relationship between contextual information and emotional transitions and states to evaluate the feasibility of detecting emotional transitions and states from daily contextual information using machine learning (ML) techniques.
This study was conducted on the data of 18 individuals from a publicly available data set called ExtraSensory. Contextual and sensor data were collected using smartphone and smartwatch sensors in a free-living condition, where the number of days for each person varied from 3 to 9. Sensors included an accelerometer, a gyroscope, a compass, location services, a microphone, a phone state indicator, light, temperature, and a barometer. The users self-reported approximately 49 discrete emotions at different intervals via a smartphone app throughout the data collection period. We mapped the 49 reported discrete emotions to the 3 dimensions of the pleasure, arousal, and dominance model and considered 6 emotional states: discordant, pleased, dissuaded, aroused, submissive, and dominant. We built general and personalized models for detecting emotional transitions and states every 5 min. The transition detection problem is a binary classification problem that detects whether a person's emotional state has changed over time, whereas state detection is a multiclass classification problem. In both cases, a wide range of supervised ML algorithms were leveraged, in addition to data preprocessing, feature selection, and data imbalance handling techniques. Finally, an assessment was conducted to shed light on the association between everyday context and emotional states.
This study obtained promising results for emotional state and transition detection. The best area under the receiver operating characteristic (AUROC) curve for emotional state detection reached 60.55% in the general models and an average of 96.33% across personalized models. Despite the highly imbalanced data, the best AUROC curve for emotional transition detection reached 90.5% in the general models and an average of 88.73% across personalized models. In general, feature analyses show that spatiotemporal context, phone state, and motion-related information are the most informative factors for emotional state and transition detection. Our assessment showed that lifestyle has an impact on the predictability of emotion.
Our results demonstrate a strong association of daily context with emotional states and transitions as well as the feasibility of detecting emotional states and transitions using data from smartphone and smartwatch sensors.
日常生活中的情绪状态是健康和幸福的重要指标。然而,情绪状态的日常评估在很大程度上依赖于主动的自我报告,而自我报告往往不方便且容易出现信息不完整的情况。自动检测日常生活中的情绪状态和转变可能是解决这一问题的有效方法。然而,情绪转变与日常情境之间的关系仍有待探索。
本研究旨在探讨情境信息与情绪转变和状态之间的关系,以评估使用机器学习(ML)技术从日常情境信息中检测情绪转变和状态的可行性。
本研究基于 ExtraSensory 公开数据集中的 18 名个体的数据进行。在自由生活条件下,使用智能手机和智能手表传感器收集情境和传感器数据,每个人的数据天数从 3 天到 9 天不等。传感器包括加速度计、陀螺仪、指南针、位置服务、麦克风、手机状态指示器、灯光、温度和气压计。用户通过智能手机应用程序在整个数据收集期间以不同的间隔报告大约 49 种离散情绪。我们将 49 种报告的离散情绪映射到愉悦、唤醒和支配模型的 3 个维度,并考虑了 6 种情绪状态:不和谐、愉快、劝阻、唤醒、顺从和支配。我们为每 5 分钟检测情绪转变和状态构建了通用和个性化模型。转变检测问题是一个二元分类问题,用于检测一个人的情绪状态是否随时间发生变化,而状态检测是一个多类分类问题。在这两种情况下,除了数据预处理、特征选择和数据不平衡处理技术外,还利用了各种监督 ML 算法。最后,进行了评估以揭示日常情境与情绪状态之间的关联。
本研究在情绪状态和转变检测方面取得了有前景的结果。通用模型中情绪状态检测的最佳接收者操作特征(AUROC)曲线达到 60.55%,个性化模型的平均 AUROC 曲线达到 96.33%。尽管数据严重不平衡,通用模型中的最佳 AUROC 曲线达到 90.5%,个性化模型的平均 AUROC 曲线达到 88.73%。总的来说,特征分析表明,时空情境、手机状态和运动相关信息是情绪状态和转变检测的最有信息的因素。我们的评估表明,生活方式会影响情绪的可预测性。
我们的结果表明,日常生活情境与情绪状态和转变之间存在很强的关联,并且使用智能手机和智能手表传感器的数据检测情绪状态和转变是可行的。