Watanabe Kazuhiro, Tsutsumi Akizumi
Department of Public Health, Kitasato University School of Medicine, Sagamihara, Japan.
JMIR Form Res. 2022 Nov 30;6(11):e40339. doi: 10.2196/40339.
Digital data on physical activity are useful for self-monitoring and preventing depression and anxiety. Although previous studies have reported machine or deep learning models that use physical activity for passive monitoring of depression and anxiety, there are no models for workers. The working population has different physical activity patterns from other populations, which is based on commuting, holiday patterns, physical demands, occupations, and industries. These working conditions are useful in optimizing the model used in predicting depression and anxiety. Further, recurrent neural networks increase predictive accuracy by using previous inputs on physical activity, depression, and anxiety.
This study evaluated the performance of a deep learning model optimized for predicting depression and anxiety in workers. Psychological distress was considered a depression and anxiety indicator.
A 2-week longitudinal study was conducted with workers in urban areas in Japan. Absent workers were excluded. In a daily survey, psychological distress was measured using a self-reported questionnaire. As features, activity time by intensity was determined using the Google Fit application. Additionally, we measured age, gender, occupations, employment status, work shift types, working hours, and whether the response date was a working or nonworking day. A deep learning model, using long short-term memory, was developed and validated to predict psychological distress the next day, using features of the previous day. Further, a 5-fold cross-validation method was used to evaluate the performance of the aforementioned model. As the primary indicator of performance, classification accuracy for the severity of the psychological distress (light, subthreshold, and severe) was considered.
A total of 1661 days of supervised data were obtained from 236 workers, who were aged between 20 and 69 years. The overall classification accuracy for psychological distress was 76.3% (SD 0.04%). The classification accuracy for severe-, subthreshold-, and light-level psychological distress was 51.1% (SD 0.05%), 60.6% (SD 0.05%), and 81.6% (SD 0.04%), respectively. The model predicted a light-level psychological distress the next day after the participants had been involved in 3 peaks of activity (in the morning, noon, and evening) on the previous day. Lower activity levels were predicted as subthreshold- and severe-level psychological distress. Different predictive results were observed on the basis of occupations and whether the previous day was a working or nonworking day.
The developed deep learning model showed a similar performance as in previous studies and, in particular, high accuracy for light-level psychological distress. Working conditions and long short-term memory were useful in maintaining the model performance for monitoring depression and anxiety, using digitally recorded physical activity in workers. The developed model can be implemented in mobile apps and may further be practically used by workers to self-monitor and maintain their mental health state.
身体活动的数字数据有助于自我监测以及预防抑郁和焦虑。尽管先前的研究报告了使用身体活动进行抑郁和焦虑被动监测的机器或深度学习模型,但尚无针对工作人群的模型。工作人群的身体活动模式与其他人群不同,这基于通勤、节假日模式、身体需求、职业和行业。这些工作条件有助于优化用于预测抑郁和焦虑的模型。此外,循环神经网络通过使用先前关于身体活动、抑郁和焦虑的输入来提高预测准确性。
本研究评估了针对预测工作人群抑郁和焦虑进行优化的深度学习模型的性能。心理困扰被视为抑郁和焦虑指标。
对日本城市地区的工人进行了为期2周的纵向研究。缺勤工人被排除在外。在每日调查中,使用自我报告问卷测量心理困扰。作为特征,通过Google Fit应用程序确定按强度划分的活动时间。此外,我们测量了年龄、性别、职业、就业状况、工作班次类型、工作时间以及回答日期是工作日还是非工作日。开发并验证了一种使用长短期记忆的深度学习模型,以前一天的特征预测第二天的心理困扰。此外,使用5折交叉验证方法评估上述模型的性能。作为性能的主要指标,考虑心理困扰严重程度(轻度、亚阈值和重度)的分类准确率。
从236名年龄在20至69岁之间的工人那里获得了总共1661天的监督数据。心理困扰的总体分类准确率为76.3%(标准差0.04%)。重度、亚阈值和轻度心理困扰的分类准确率分别为51.1%(标准差0.05%)、60.6%(标准差0.05%)和81.6%(标准差0.04%)。该模型预测,在前一天参与者经历了3个活动高峰(早上、中午和晚上)后的第二天会出现轻度心理困扰。较低的活动水平被预测为亚阈值和重度心理困扰。根据职业以及前一天是工作日还是非工作日观察到了不同的预测结果。
所开发的深度学习模型表现出与先前研究相似的性能,特别是对于轻度心理困扰具有较高的准确率。工作条件和长短期记忆有助于维持使用工人数字记录的身体活动监测抑郁和焦虑的模型性能。所开发的模型可以在移动应用程序中实现,并且工人可能进一步实际使用它来自我监测和维持其心理健康状态。