A Smartphone-Based Acoustic Machine Learning Pipeline for Detecting Suicidal Ideation: Case-Control Model Development and Validation Study
Open Access
- 15 September 2026
- journal article
- Published by JMIR Publications Inc. in JMIR Formative Research
- Vol. 10, e92646
Abstract
Background: Suicidal ideation (SI) among university students is a growing public health concern. Self-report screening can be limited by concealment and delayed disclosure. We evaluated a leakage-resistant, proof-of-concept pipeline to detect SI from standardized smartphone-recorded speech. Objective: This study aimed to extract acoustic markers from brief smartphone-based reading tasks and develop machine learning models for suicide risk prediction in university students, enabling low-cost, scalable early screening to support campus mental health services. Methods: Questionnaire data and speech recordings were collected via a WeChat mini program. After screening and clinical confirmation, 96 participants (n=48, 50% with SI; n=48, 50% controls) were included. Age and sex were evaluated as potential confounders. Each participant read 16 standardized sentences. Acoustic features were extracted using openSMILE (version 3.0.2), yielding a 570D feature vector per utterance. To prevent leakage from multiple recordings per speaker, we used participant-level 5-fold cross-validation, assigning all recordings from each participant to a single fold. Seven machine learning algorithms were evaluated using area under the curve (AUC), accuracy, and F 1 -score. Results: Acoustic-based models discriminated participants with SI from control participants. The SI group was significantly older than the control group ( P =.001). Random forest achieved an AUC of 0.813 (accuracy=0.748), and naive Bayes achieved an AUC of 0.806 (accuracy=0.757). Feature families related to pitch, mel-frequency cepstral coefficients, and harmonicity contributed to model performance. Conclusions: Standardized read speech captured via smartphones shows preliminary feasibility for SI discrimination under a leakage-aware evaluation design. External validation and testing with more naturalistic speech are warranted.Keywords
This publication has 38 references indexed in Scilit:
- Suicide Risks Among U.S. College Students: a Time-Series Cross-Sectional Study Examining Institutional Characteristics and Behavioral FactorsPrevention Science, 2025
- Acoustic and machine learning methods for speech-based suicide risk assessment: A systematic reviewJournal of Affective Disorders, 2025
- Risk factors for suicidality among college students: A systematic review and meta-analysisJournal of Affective Disorders, 2025
- Speech based suicide risk recognition for crisis intervention hotlines using explainable multi-task learningJournal of Affective Disorders, 2024
- Loneliness, Internalizing and Externalizing Problems, and Suicidal Ideation Among Chinese Adolescents: A Longitudinal Mediation AnalysisJournal of Adolescent Health, 2024
- The relationships between anxiety and suicidal ideation and between depression and suicidal ideation among Chinese college students: A network analysisHeliyon, 2023
- How Common is Recent Denial of Suicidal Ideation among Ideators, Attempters, and Suicide Decedents? A Literature ReviewGeneral Hospital Psychiatry, 2021
- Prevalence and psychiatric correlates of suicidal ideation in UK university studentsJournal of Affective Disorders, 2020
- Automated assessment of psychiatric disorders using speech: A systematic reviewLaryngoscope Investigative Otolaryngology, 2020
- Towards a consensus around standards for smartphone apps and digital mental healthWorld Psychiatry, 2019