Subject-aware deep learning for forecasting a Mental Health Index from passive smartphone sensing in university students: prediction model development and temporal validation
Year: 2026
Type: preprint
Abstract: Background Deep learning models conditioned on subject identity are increasingly proposed for personalized forecasting of mental health from passive smartphone sensing. Their reported gains are rarely tested under strictly causal evaluation, and data leakage can inflate them. We asked whether identity conditioning improves next-day forecasting of a daily well-being index, and how much common leakage sources inflate apparent performance. Methods We analysed 19 students from the public StudentLife dataset (846 participant-days; 682 for development and 164 in a calendar hold-out). A causal, bounded Mental Health Index (MHI, \(\:-1\) to \(\:1\)) was derived from ecological momentary assessments relative to each person’s own past. Four sequence encoders (gated recurrent unit, temporal convolutional network, Transformer and a TimesFM-inspired patch model) were combined with five identity strategies, trained with 10 random seeds and compared with nine baselines. Additional analyses comprised equivalence testing, validity against the Patient Health Questionnaire-9 (PHQ-9) and a leakage audit that reintroduced four leakage sources, singly and combined. Results No model forecast next-day MHI better than the hold-out mean (all hold-out \(\:{R}^{2}<0\)). The lowest error came from an exponentially weighted mean of past MHI (mean absolute error [MAE] 0.481, 95% CI 0.407–0.547); the best sensor-only deep model reached 0.498, versus 0.499 for a zero forecast. Identity conditioning did not improve accuracy (all eight primary comparisons Holm-adjusted \(\:p=1.00\)), and seven of eight comparisons were equivalent within \(\:\pm\:0.027\) MAE. The MHI was negatively correlated with PHQ-9 scores (Spearman \(\:\rho\:\) \(\:-0.29\) to \(\:-0.36\) across windows; 95% CI excluding zero in one of four). In the leakage audit, augmenting data before splitting raised the cross-validated \(\:{R}^{2}\) of a tree ensemble from \(\:-0.20\) to 0.57, and combining all sources raised that of deep models to 0.08–0.45 while their hold-out \(\:{R}^{2}\) deteriorated to between \(\:-0.81\) and \(\:-0.43\). Conclusions Under causal evaluation, no sensing model forecast next-day MHI better than the hold-out mean, and subject identity added no accuracy. A single leakage source can make models without predictive value appear strong in cross-validation. We recommend leakage audits and equivalence-based reporting for personalized digital phenotyping models.
Source: Research Square
Institution: Institut Teknologi Sepuluh Nopember
Language: English
Subfield: Experimental and Cognitive Psychology
Field: Psychology
Domain: Social Sciences
Open Access status: green
OpenAlex ID: W7238737277
