Can passive smartphone sensors predict alcohol or cannabis use in body dysmorphic disorder? A machine learning study with multiple validation frameworks.
BACKGROUND: Digital phenotyping using smartphone sensors has been widely proposed for real-time monitoring of psychiatric risk and just-in-time interventions. However, accuracy estimates vary widely by validation strategy, and few studies have tested whether passive sensor features add predictive value beyond readily available participant characteristics. We applied a rigorous validation and feature decomposition framework to predict daily alcohol and cannabis use, clinically important outcomes in body dysmorphic disorder (BDD), where substance use triples suicide risk. METHODS: In this longitudinal observational study, 83 adults with moderate-to-severe BDD completed up to 28 days of ecological momentary assessment and passive smartphone sensing (GPS, accelerometer). Random forest models used 15 features (7 sensor-derived and 8 demographic) to predict daily alcohol or cannabis use. We evaluated performance under three validation frameworks (random-split, within-person time-split, and user-split), decomposed performance by feature set, tested horizons from same-day to 7 days ahead, and compared performance against a person-specific base-rate baseline. RESULTS: Within-person time-split validation yielded AUCs of 0.83 (alcohol) and 0.89 (cannabis), similar across horizons. User-split validation dropped to near-chance (AUCs = 0.54-0.57). Demographics-only models matched full-model performance, and a person-specific base-rate baseline achieved AUCs of 0.86 and 0.93. CONCLUSIONS: At this event rate, passive smartphone mobility data did little to predict when adults with BDD would use alcohol or cannabis. Apparent accuracy reflected who tended to use substances rather than when use occurred and did not generalize to new individuals. Mobility-based sensing is not yet ready to guide just-in-time interventions; physiologically proximal signals (e.g. heart rate variability and sleep) warrant testing.
Authors
- Anne Eden Evins (ORCID: https://orcid.org/0000-0003-2071-9867)
- Michael F. Armey (ORCID: https://orcid.org/0000-0003-0219-3486)
- Hilary M. Weingarden (ORCID: https://orcid.org/0000-0002-3448-3755)
- Jukka-Pekka “JP” Onnela (ORCID: https://orcid.org/0000-0001-6613-8668)
- Geneva Jonathan (ORCID: https://orcid.org/0000-0002-4762-561X)
- Sabine Wilhelm (ORCID: https://orcid.org/0000-0002-5316-2711)
- Kiran Kaur (ORCID: https://orcid.org/0000-0002-6257-5825)
- Heyli Arcese (ORCID: https://orcid.org/0009-0002-9658-9747)
Institutions
- Harvard University (US)
- Brown University (US)
- Massachusetts General Hospital (US)
Publication Details
- Journal
- PubMed
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1017/s0033291726106667
- Primary Topic
- Mental Health Research Topics
- Type
- article
- Field-Weighted Citation Impact
- 0.00