Towards Deep Learning Models for Psychological State Prediction using Smartphone Data: Challenges and Opportunities

Gatis Mikelsons, Matthew Smith, Abhinav Mehrotra, Mirco Musolesi

Abstract

Passive sensing via smartphones provides a unique opportunity to monitor mental health without the intrusiveness of traditional surveys. This study explores the use of deep learning to predict individual stress levels by analyzing GPS traces and temporal context. Utilizing the StudentLife dataset, we implemented a four-layer neural network that incorporates per-user label normalization to handle the subjectivity of self-reported data. Our results indicate that combining mobility patterns with academic calendar context significantly improves predictive accuracy, achieving an F1 score of approximately 0.45 and outperforming standard baseline models.

Introduction

While smartphones are equipped with sensors that track physical parameters like location and movement, they cannot directly observe internal cognitive states such as mood or stress. Traditional methods for tracking mental health, such as Experience Sampling (EMA), are often intrusive and susceptible to recall bias. This research addresses the challenge of bridging the gap between raw sensor data and psychological reality. Given that human behavior is non-linear and highly individual, we investigate whether deep learning models can navigate this complexity to provide a passive, unobtrusive method for monitoring mental well-being.

Methodology

Dataset and Feature Engineering

The study utilizes the StudentLife dataset, which includes GPS traces and approximately 2,300 stress EMAs from 49 students over a 10-week term. We transformed raw GPS data into 12 specific features:

  • 8 GPS Metrics: Including total distance covered, maximum displacement, and distance entropy.
  • 4 Temporal Features: One-hot encoded variables indicating weekends or specific academic periods (e.g., midterm or finals week).

Model Architecture

To account for subjective differences in stress reporting, labels were rescaled into three classes (below-median, median, and above-median) based on each individual's history. We employed a four-layer fully connected neural network with hidden layers of sizes 57, 35, and 35, utilizing tanh activation functions. To prevent overfitting on the small dataset, we applied heavy Dropout (up to 35%), Batch Normalization, and Early Stopping. The final softmax layer categorizes the daily stress level.

Neural network architecture for stress prediction using GPS and temporal features.

Key Results

The model was evaluated using stratified 5-fold cross-validation. The deep learning approach significantly outperformed the "mode classifier" baseline (0.30), achieving an F1 score of approximately 0.45. Using the full set of 12 features, the model reached a precision of 0.43 and a recall of 0.45.

A critical finding was the synergy between feature types. As illustrated in the Venn diagram analysis, while GPS metrics and temporal variables individually possess predictive power, their combination provides a substantial boost to model performance, highlighting the importance of environmental and academic context in understanding stress.

Performance comparison across feature sets showing the synergy between GPS metrics and temporal variables.

Discussion and Limitations

Despite the promising results, several challenges remain. The small sample size (n=49) limits generalizability, and the reliance on self-reported "noisy labels" introduces inherent flaws. Future work should explore the integration of biophysical sensors (e.g., heart rate) for more objective ground truths. Additionally, moving toward personalized modeling and domain adaptation will be essential to address population heterogeneity, as individuals react to stress in diverse ways. We also aim to utilize deep autoencoders for automated feature discovery to move beyond hand-crafted metrics.

Summary updated

BibTeX
@misc{mikelsons2017towards,
  author = {Gatis Mikelsons and Matthew Smith and Abhinav Mehrotra and Mirco Musolesi},
  title = {{Towards Deep Learning Models for Psychological State Prediction using Smartphone Data: Challenges and Opportunities}},
  year = {2017},
  eprint = {1711.06350},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.06350},
}
Figure