Department of Cognitive Science & Artificial Intelligence, Tilburg University, Tilburg, Netherlands.
Department of Communication and Cognition, Tilburg University, Tilburg, Netherlands.
JMIR Mhealth Uhealth. 2023 Mar 23;11:e37469. doi: 10.2196/37469.
Stress is an important predictor of mental health problems such as burnout and depression. Acute stress is considered adaptive, whereas chronic stress is viewed as detrimental to well-being. To aid in the early detection of chronic stress, machine learning models are increasingly trained to learn the quantitative relation from digital footprints to self-reported stress. Prior studies have investigated general principles in population-wide studies, but the extent to which the findings apply to individuals is understudied.
We aimed to explore to what extent machine learning models can leverage features of smartphone app use log data to recognize momentary subjective stress in individuals, which of these features are most important for predicting stress and represent potential digital markers of stress, the nature of the relations between these digital markers and stress, and the degree to which these relations differ across people.
Student participants (N=224) self-reported momentary subjective stress 5 times per day up to 60 days in total (44,381 observations); in parallel, dedicated smartphone software continuously logged their smartphone app use. We extracted features from the log data (eg, time spent on app categories such as messenger apps and proxies for sleep duration and onset) and trained machine learning models to predict momentary subjective stress from these features using 2 approaches: modeling general relations at the group level (nomothetic approach) and modeling relations for each person separately (idiographic approach). To identify potential digital markers of momentary subjective stress, we applied explainable artificial intelligence methodology (ie, Shapley additive explanations). We evaluated model accuracy on a person-to-person basis in out-of-sample observations.
We identified prolonged use of messenger and social network site apps and proxies for sleep duration and onset as the most important features across modeling approaches (nomothetic vs idiographic). The relations of these digital markers with momentary subjective stress differed from person to person, as did model accuracy. Sleep proxies, messenger, and social network use were heterogeneously related to stress (ie, negative in some and positive or zero in others). Model predictions correlated positively and statistically significantly with self-reported stress in most individuals (median person-specific correlation=0.15-0.19 for nomothetic models and median person-specific correlation=0.00-0.09 for idiographic models).
Our findings indicate that smartphone log data can be used for identifying digital markers of stress and also show that the relation between specific digital markers and stress differs from person to person. These findings warrant follow-up studies in other populations (eg, professionals and clinical populations) and pave the way for similar research using physiological measures of stress.
压力是 burnout 和抑郁等心理健康问题的重要预测因素。急性压力被认为是适应性的,而慢性压力则被认为对幸福感有害。为了帮助早期发现慢性压力,机器学习模型越来越多地被训练用于从数字足迹中学习到自我报告压力的定量关系。先前的研究已经在全人群研究中探讨了一般原则,但这些发现适用于个体的程度仍有待研究。
本研究旨在探讨机器学习模型在多大程度上可以利用智能手机应用程序使用日志数据的特征来识别个体的即时主观压力,这些特征中哪些对于预测压力最重要,哪些代表潜在的压力数字标志物,这些数字标志物与压力之间的关系性质,以及这些关系在个体之间的差异程度。
学生参与者(N=224)每天自我报告 5 次即时主观压力,总共持续 60 天(44381 次观察);与此同时,专用智能手机软件连续记录他们的智能手机应用程序使用情况。我们从日志数据中提取特征(例如,在消息应用程序等应用程序类别上花费的时间以及睡眠持续时间和开始的代理),并使用 2 种方法从这些特征中训练机器学习模型来预测即时主观压力:在群体水平上建模一般关系(nomothetic 方法)和为每个人分别建模关系(idiographic 方法)。为了识别即时主观压力的潜在数字标志物,我们应用了可解释的人工智能方法(即 Shapley 加法解释)。我们在样本外观察中对个体间的模型准确性进行了评估。
我们发现,在所有建模方法中,使用消息传递和社交网络应用程序以及睡眠持续时间和开始的代理作为最重要的特征(nomothetic 与 idiographic)。这些数字标志物与即时主观压力的关系因人而异,模型准确性也因人而异。睡眠代理、消息传递和社交网络的使用与压力呈异质相关(即,在某些人中为负相关,在另一些人中为正相关或零相关)。在大多数个体中,模型预测与自我报告的压力呈正相关且具有统计学意义上的显著相关性(nomothetic 模型的个体特异性中位数相关系数为 0.15-0.19,idiographic 模型的个体特异性中位数相关系数为 0.00-0.09)。
我们的研究结果表明,智能手机日志数据可用于识别压力的数字标志物,并且还表明特定数字标志物与压力之间的关系因人而异。这些发现需要在其他人群(例如专业人员和临床人群)中进行后续研究,并为使用压力的生理测量方法铺平道路。