Table of Contents
Fetching ...

A Comparative Study of Traditional Machine Learning, Deep Learning, and Large Language Models for Mental Health Forecasting using Smartphone Sensing Data

Kaidong Feng, Zhu Sun, Roy Ka-Wei Lee, Xun Jiang, Yin-Leng Theng, Yi Ding

TL;DR

This study tackles forecasting mental health changes from passive smartphone sensing, benchmarking traditional ML, DL, and LLM methods on the College Experience Sensing (CES) dataset. It introduces a unified evaluation framework that varies temporal windows, feature granularity, personalization, and class-imbalance handling to understand each approach's strengths and limitations. The results show Transformer-based DL models achieve the best overall performance (Macro-F1 around 0.58), while LLMs provide contextual reasoning but lag in numeric temporal modeling; personalization substantially boosts forecasts for severe states. The findings inform the design of next-generation, adaptive mental health technologies that are data-efficient, person-centered, and capable of early, proactive intervention in real-world settings.

Abstract

Smartphone sensing offers an unobtrusive and scalable way to track daily behaviors linked to mental health, capturing changes in sleep, mobility, and phone use that often precede symptoms of stress, anxiety, or depression. While most prior studies focus on detection that responds to existing conditions, forecasting mental health enables proactive support through Just-in-Time Adaptive Interventions. In this paper, we present the first comprehensive benchmarking study comparing traditional machine learning (ML), deep learning (DL), and large language model (LLM) approaches for mental health forecasting using the College Experience Sensing (CES) dataset, the most extensive longitudinal dataset of college student mental health to date. We systematically evaluate models across temporal windows, feature granularities, personalization strategies, and class imbalance handling. Our results show that DL models, particularly Transformer (Macro-F1 = 0.58), achieve the best overall performance, while LLMs show strength in contextual reasoning but weaker temporal modeling. Personalization substantially improves forecasts of severe mental health states. By revealing how different modeling approaches interpret phone sensing behavioral data over time, this work lays the groundwork for next-generation, adaptive, and human-centered mental health technologies that can advance both research and real-world well-being.

A Comparative Study of Traditional Machine Learning, Deep Learning, and Large Language Models for Mental Health Forecasting using Smartphone Sensing Data

TL;DR

This study tackles forecasting mental health changes from passive smartphone sensing, benchmarking traditional ML, DL, and LLM methods on the College Experience Sensing (CES) dataset. It introduces a unified evaluation framework that varies temporal windows, feature granularity, personalization, and class-imbalance handling to understand each approach's strengths and limitations. The results show Transformer-based DL models achieve the best overall performance (Macro-F1 around 0.58), while LLMs provide contextual reasoning but lag in numeric temporal modeling; personalization substantially boosts forecasts for severe states. The findings inform the design of next-generation, adaptive mental health technologies that are data-efficient, person-centered, and capable of early, proactive intervention in real-world settings.

Abstract

Smartphone sensing offers an unobtrusive and scalable way to track daily behaviors linked to mental health, capturing changes in sleep, mobility, and phone use that often precede symptoms of stress, anxiety, or depression. While most prior studies focus on detection that responds to existing conditions, forecasting mental health enables proactive support through Just-in-Time Adaptive Interventions. In this paper, we present the first comprehensive benchmarking study comparing traditional machine learning (ML), deep learning (DL), and large language model (LLM) approaches for mental health forecasting using the College Experience Sensing (CES) dataset, the most extensive longitudinal dataset of college student mental health to date. We systematically evaluate models across temporal windows, feature granularities, personalization strategies, and class imbalance handling. Our results show that DL models, particularly Transformer (Macro-F1 = 0.58), achieve the best overall performance, while LLMs show strength in contextual reasoning but weaker temporal modeling. Personalization substantially improves forecasts of severe mental health states. By revealing how different modeling approaches interpret phone sensing behavioral data over time, this work lays the groundwork for next-generation, adaptive, and human-centered mental health technologies that can advance both research and real-world well-being.
Paper Structure (34 sections, 2 equations, 5 figures, 5 tables)

This paper contains 34 sections, 2 equations, 5 figures, 5 tables.

Figures (5)

  • Figure 1: (a) Intra and inter-class similarity of behavior patterns; (b) The importance of top-20 features across individual users ('f1: sleep_duration', 'f2: act_running', 'f3: 'unlock_num/unlock_duration', 'f4: act_walking', 'f5: loc_home_dur', 'f6: act_on_bike', 'f7: act_still', 'f8: loc_home_unlock_num/loc_home_unlock_duration', 'f9: loc_home_audio_voice', 'f10: loc_workout_dur', 'f11: sleep_start', 'f12: loc_other_dorm_dur', 'f13: sleep_end', 'f14: loc_study_unlock_num/loc_study_unlock_duration', 'f15: act_on_foot', 'f16: loc_leisure_dur', 'f17: loc_study_dur', 'f18: loc_social_unlock_num/loc_social_unlock_duration', 'f19: loc_other_dorm_unlock_num/loc_other_dorm_unlock_duration', 'f20: loc_self_dorm_dur').
  • Figure 2: Four distinct feature representation configurations.
  • Figure 3: Comparison of different models on early prediction capability (RQ3, \ref{['subsec:early']}).
  • Figure 4: Impact of Feature Granularity on Model Performance in Macro-F1 (RQ4, \ref{['subsec:feature_rep_results']}).
  • Figure 5: Impact of Feature Granularity on Model Performance in Accuracy (RQ4, \ref{['subsec:feature_rep_results']}).