Passive detection of behavioral shifts for suicide attempt prevention

Pablo Moreno-Muñoz, Lorena Romero-Medrano, Ángela Moreno, Jesús Herrera-López, Enrique Baca-García, Antonio Artés-RodríguezarXiv 2020

Abstract

More than one million people commit suicide every year worldwide. The costs of daily cares, social stigma and treatment issues are still hard barriers to overcome in mental health. Most symptoms of mental disorders are related to the behavioral state of a patient, such as the mobility or social activity. Mobile-based technologies allow the passive collection of patients data, which supplements conventional assessments that rely on biased questionnaires and occasional medical appointments. In this work, we present a non-invasive machine learning (ML) model to detect behavioral shifts in psychiatric patients from unobtrusive data collected by a smartphone app. Our clinically validated results shed light on the idea of an early detection mobile tool for the task of suicide attempt prevention.

Introduction

Traditional mental health assessments are primarily reactive, relying on periodic clinical appointments and patient self-reporting. These methods are limited by recall bias and the infrequency of visits, often failing to capture crises that occur between appointments. While smartphones offer a rich source of "digital biomarkers," translating raw sensor data into clinically actionable insights remains challenging due to high dimensionality, heterogeneous data types (e.g., continuous GPS vs. binary app usage), and significant missing data. This research addresses these gaps by developing a system to automatically detect "behavioral shifts"—abrupt changes in a patient's daily routine that may precede a mental health crisis.

Methods

The researchers developed a three-stage machine learning pipeline designed to process passive smartphone data into behavioral insights.

  1. Feature Engineering: Raw data (steps, location, app usage) is binned into 30-minute intervals to create a high-dimensional daily vector $x_t$ representing the patient's "circadian profile."
  2. Behavioral Modeling: A Gaussian-Bernoulli Mixture Model handles heterogeneous data, simultaneously modeling continuous and binary variables. This compresses the daily vector into a discrete "latent profile" $z_t$ (e.g., "high-activity" vs. "low-activity").
  3. Change-Point Detection (CPD): A hierarchical version of Bayesian Online Change-Point Detection (BOCPD) monitors the distribution of these latent profiles. The model estimates the "run-length" $r_t$, which represents the time since the last detected behavioral shift.
Overview of the machine learning pipeline for passive behavioral shift detection.

The study utilized a real-world clinical dataset of 301 patients with severe affective disorders and a history of suicide attempts. The monitoring period averaged 346 days per patient, totaling approximately 104,000 days of data. Ground truth for events was obtained from Electronic Health Records (EHR) marking suicide attempts or emergency interventions.

Results and Insights

The system achieved an AUROC of 0.71 in detecting clinical events using a one-week warning window. A key insight is the use of routine as a baseline; the model identifies shifts in patterns rather than isolated "bad" days, acknowledging individual differences in behavior.

Latent profiles ($z_t$) and run-length ($r_t$) estimations for two patients, showing detected change-points (CP) relative to clinical events.

The "saw-tooth" pattern in the run-length estimation (Figure 4) serves as a mathematical indicator of stability. A sudden drop in run-length ($r_t \approx 0$) signifies a detected change-point, which can act as a "red flag" for clinicians. The model proved robust to the 29% missing data rate common in real-world mobile health applications.

Discussion

While the AUROC of 0.71 is promising for passive sensing, the high psychological cost of false alarms in clinical settings necessitates further refinement. Future work could explore more complex latent representations, such as deep learning models, to capture finer nuances of behavior. Additionally, while the system reduces the burden of care by being passive, it remains dependent on consistent smartphone usage. Nonetheless, this approach demonstrates the potential for non-invasive, early detection tools to support suicide attempt prevention.

Summary updated

BibTeX
@misc{morenomunoz2020passive,
  author = {Pablo Moreno-Muñoz and Lorena Romero-Medrano and Ángela Moreno and Jesús Herrera-López and Enrique Baca-García and Antonio Artés-Rodríguez},
  title = {{Passive detection of behavioral shifts for suicide attempt prevention}},
  year = {2020},
  eprint = {2011.09848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.09848},
}
Figure