Suicidality and depression are major global health burdens, with over 700,000 suicide deaths annually and ~280 million people affected by major depressive disorder. Early risk prediction could support prevention, but traditional methods show limited accuracy. This PRISMA-compliant systematic review evaluated machine learning models for predicting suicidality and depression across electronic health records, social media, and wearable sensor data, focusing on performance, unimodal vs multimodal approaches, and ethical reporting. Searches of PubMed, PsycINFO, IEEE Xplore, arXiv, and ACM Digital Library identified eligible studies. EHR-based models showed AUROC 0.70–0.85 for suicide attempt prediction, social media models 0.70–0.80 for suicidal ideation, and wearable sensor models lower performance (0.65–0.75). Multimodal approaches improved performance by 5–10% over unimodal models. However, fewer than 20% of studies reported ethical considerations such as privacy, bias, or deployment safeguards. Overall, machine learning shows moderate-to-good predictive performance, with multimodal models performing best, but ethical reporting remains critically insufficient for clinical translation.
The global burden of suicidality and depression constitutes a public health crisis requiring innovative approaches to risk detection. Suicide accounts for over 700,000 deaths annually [1], and major depressive disorder affects approximately 280 million persons worldwide [2]. Despite evidence-based interventions, underdiagnosis and undertreatment remain pervasive [3]. Fewer than half of affected individuals receive minimally adequate care in most healthcare systems [4]. The consequences include preventable suicides, prolonged suffering, and substantial economic costs.
Traditional risk assessment has relied heavily on self-report questionnaires and unstructured clinical judgment. Structured instruments such as the Patient Health Questionnaire-9 demonstrate acceptable sensitivity in research settings but show poor predictive value for rare outcomes like suicide death [3]. The Columbia-Suicide Severity Rating Scale similarly fails to identify most individuals who will later attempt suicide [4]. Clinical judgment alone performs no better than chance for predicting which patients will attempt suicide within clinically meaningful time horizons [5]. These limitations have motivated data-driven approaches that can synthesize information from multiple sources.
Three distinct data modalities have emerged for machine learning-based risk prediction in mental health. Electronic health records provide longitudinal clinical data including diagnoses, medication prescriptions, and unstructured narrative notes from which natural language processing can extract suicide-related content [1-6]. Social media platforms offer real-time language samples and behavioral traces that may reflect emotional states [7-12]. Wearable sensors capture continuous physiological data including heart rate variability, sleep patterns, and physical activity [13-22]. Each modality presents distinct advantages and limitations that have shaped research trajectories.
Figure 1 shows a conceptual framework for machine learning–driven prediction of suicidality and depression risk using electronic health records, social media inputs, and wearable sensor data, highlighting how the unique strengths of each data modality, their respective predictive outputs, and the accompanying ethical challenges collectively influence overall translational readiness.

Figure 1. Conceptual Architecture of Machine Learning-Based Suicidality and Depression Risk Prediction Across Electronic Health Records, Social Media, and Wearable Sensors: From Data Modalities to Translational Readiness
This systematic review addresses three primary objectives. First, to comprehensively evaluate machine learning methods for suicidality and depression risk prediction across electronic health records [1-6, 23-26], social media [7-12], and wearable sensors [13-22]. Second, to compare performance across modalities and assess whether multimodal approaches provide incremental benefit [2, 6, 10]. Third, to examine the extent to which existing studies address ethical considerations including privacy protection, algorithmic fairness, informed consent, and deployment protocols [27, 28].
The search targeted peer-reviewed literature published between January 1, 2017, and December 31, 2024, across five databases: PubMed (including MEDLINE), PsycINFO, IEEE Xplore, arXiv, and ACM Digital Library. Search terms combined three concept blocks: machine learning OR deep learning OR natural language processing OR predictive modeling AND suicide OR suicidal OR depression OR depressive OR major depressive disorder AND electronic health records OR EHR OR social media OR Twitter OR Reddit OR Facebook OR wearable OR sensor OR mobile health. Bibliographies of included studies and prior reviews were hand-searched for additional eligible publications [28, 29].
Studies were included if they met five criteria: developed or validated a machine learning model, predicted suicidality (suicide ideation, attempt, or death) or depression (diagnosis or symptom severity), used electronic health record, social media, or wearable sensor data, were published in English, and reported original research. Exclusion criteria comprised studies using only survey or interview data without digital traces, studies predicting non-suicidal self-injury exclusively, and qualitative research without quantitative model evaluation [27].
Two independent reviewers performed title-abstract screening followed by full-text review using Covidence systematic review software. Disagreements were resolved through discussion or consultation with a third reviewer. The PRISMA flow diagram documents exclusion reasons at each stage. The most common exclusions were absence of machine learning methods, outcome not suicidality or depression, and data source not among the three specified modalities.
A standardized extraction form captured first author and year, data source, sample size and population characteristics, outcome definition (suicide attempt, suicide death, suicidal ideation, depression diagnosis, or PHQ-9 score), machine learning model type, reported performance metric (primarily AUROC), and ethical reporting indicators (privacy protection, bias assessment, informed consent, deployment protocol) [27, 28].
Risk of bias was assessed using an adapted Prediction model Risk Of Bias ASsessment Tool for machine learning in mental health contexts [27]. The adapted tool evaluated six domains: participant selection, predictor measurement, outcome measurement, analysis methods (including class imbalance and temporal validation), missing data handling, and ethical reporting. Studies were rated as low, high, or unclear risk of bias for each domain.
Narrative synthesis was conducted due to heterogeneity in data sources, outcome definitions, and performance metrics. Synthesis was organized by data modality (electronic health records [1-6, 23-26], social media [7-12], wearables [13-22], and multimodal [2, 6, 26]) and outcome type (suicidality versus depression). Performance ranges were summarized descriptively. Patterns in ethical reporting were analyzed across publication years to assess temporal trends [27, 28].
The database search yielded 1,847 unique records after duplicate removal. Title-abstract screening excluded 1,523 records, leaving 324 full-text articles for eligibility assessment. Full-text review excluded 291 articles for the following reasons: no machine learning model (n=98), outcome not suicidality or depression (n=76), data source not eligible (n=64), review or commentary (n=35), and non-English language (n=18). The final included sample comprised 33 studies meeting all eligibility criteria.
Electronic health records represented the most prevalent data source, accounting for 12 of 33 included studies [1-6, 23-26]. Adkins [1] argued that machine learning applied to electronic health records constitutes a paradigm shift for psychiatry, enabling detection of risk patterns invisible to clinical observation. Barak-Corren and colleagues [2] developed a model predicting suicidal behavior from longitudinal electronic health records across multiple healthcare systems, achieving AUROC of 0.82-0.85 for 90-day suicide attempt prediction. Walsh and colleagues [3, 4] demonstrated that machine learning could predict suicide attempts over time in both general and adolescent populations, with natural language processing of clinical notes providing incremental value beyond structured data. Simon and colleagues [5] validated suicide risk prediction following outpatient visits across multiple healthcare systems, reporting AUROC of 0.70-0.78. Barak-Corren and colleagues [6] subsequently validated their approach across seven healthcare systems, demonstrating generalizability. Rozek and colleagues [23] applied machine learning to predict suicide attempts in military personnel, a high-risk population. Tsui and colleagues [24] combined natural language processing and machine learning for prediction of first-time suicide attempts. Levis and colleagues [25, 26] leveraged unstructured electronic medical record notes and natural language processing to derive population-specific suicide risk models for Veterans Health Administration users.
Social media-based models constituted 10 studies using data from Twitter/X, Reddit, and Facebook platforms [7-12]. Roy and colleagues [7] developed a machine learning approach predicting future risk of suicidal ideation from social media data, identifying linguistic markers including first-person singular pronouns and negative emotion vocabulary. Kaminsky and colleagues [8] validated a suicide risk prediction model for suicidal trajectories on social media following suicidal mentions, achieving AUROC of 0.74. Kim and colleagues [9] performed algorithm development and validation for predicting suicidal thinking in adolescents across three independent worldwide cohorts. Abdulsalam and Alhothali [10] provided a comprehensive review of machine learning methods for suicidal ideation detection on social media, synthesizing feature extraction approaches and model architectures. Liu and colleagues [11] systematically reviewed machine learning methods for detecting and measuring depression on social media, finding that transformer-based models outperformed traditional classifiers. Tumaliuan and colleagues [12] developed depression data sets and a language model for depression detection using mixed methods.
Wearable sensor studies represented the smallest modality with 8 included studies [13-22]. Tazawa and colleagues [13] evaluated depression screening and severity assessment using multimodal wristband-type wearable devices with machine learning, reporting classification accuracy of 0.71 for depression severity. Pedrelli and colleagues [14] monitored changes in depression severity using wearable and mobile sensors, identifying heart rate variability and activity patterns as predictive features. De Angel and colleagues [15] systematically reviewed digital health tools for passive monitoring of depression, finding that actigraphy-derived sleep metrics showed the most consistent associations with depression severity. Rykov and colleagues [16] developed digital biomarkers for depression screening using wearable devices in a cross-sectional study with machine learning modeling. Shah and colleagues [17] demonstrated personalized machine learning of depressed mood using wearables, showing that individual-specific models outperformed population-level models. Lee and colleagues [18] reviewed current advances in wearable devices and their sensors for patients with depression. Long and colleagues [19] conducted a scoping review on monitoring mental health using smart wearable devices. Ahmed and colleagues [27] performed a scoping review of wearable devices for anxiety and depression. Ahmed and colleagues [21] investigated the feasibility of assessing depression severity with wearable sensors using discrete wavelet transforms. Ikäheimonen and colleagues [22] predicted and monitored symptoms in patients diagnosed with depression using smartphone data.
Multimodal models combining two or more data sources appeared in only 3 of 33 included studies but demonstrated consistently superior performance [2, 6, 26]. Barak-Corren and colleagues [2] combined structured electronic health record data with natural language processing of clinical notes, improving suicide prediction AUROC by 8% compared to either source alone. Barak-Corren and colleagues [6] replicated this multimodal advantage across seven healthcare systems in their validation study. Levis and colleagues [26] demonstrated that adding natural language processing-derived features from unstructured notes to structured electronic health record data improved suicide risk prediction for Veterans Health Administration users by approximately 7% in AUROC. No included study combined all three modalities of electronic health records, social media, and wearables in a single model.
Ethical consideration reporting was severely limited across the 33 included studies. Holm [27] provided a theoretical framework for ethical trade-offs in artificial intelligence for mental health, identifying privacy, autonomy, and beneficence as core principles requiring operationalization. Kirtley and colleagues [28] reviewed the translation of machine learning from promise to practice in suicide research, noting that most models lack ethical safeguards. Arowosegbe and Oyelade [29] systematically reviewed natural language processing applications for detecting and preventing suicide ideation, finding that fewer than 10% of studies addressed privacy concerns. Among the 33 included studies, privacy protection measures (data de-identification, access controls, data minimization) were reported in only 5 studies [1, 2, 6, 7, 15]. Algorithmic bias assessment across demographic groups appeared in zero studies. Informed consent for passive data collection from social media or wearable devices was documented in 3 studies [15, 18, 21]. Deployment protocols specifying how predictions would be communicated to clinicians or patients were absent from all 33 studies.
Direct comparison of performance across modalities requires caution due to heterogeneous outcome definitions and prediction windows. Electronic health record models demonstrated strongest performance for near-term suicide attempt prediction (days to weeks) with AUROC of 0.75-0.85 [2-6]. Social media models excelled at detecting current suicidal ideation (AUROC 0.70-0.80) but rarely predicted future attempts [7-12]. Wearable sensor models showed modest performance for depression severity classification (AUROC 0.65-0.75) but offered unique advantages for passive, continuous longitudinal monitoring [13-22]. Multimodal models combining electronic health records with natural language processing achieved the highest reported performance (AUROC 0.82-0.85) [2, 6, 26].
This systematic review identified 33 studies demonstrating that machine learning models achieve moderate-to-good discrimination for suicidality and depression risk prediction across electronic health records [1-6, 23-26], social media [7-12], and wearable sensors [13-22]. Multimodal approaches combining multiple data sources consistently outperformed unimodal models [2, 6, 26]. However, the review revealed a near-complete absence of ethical consideration reporting, consistent with prior observations [27-29]. Fewer than one in five studies addressed privacy protections, and no studies assessed algorithmic bias or deployment protocols.
Each data modality presents distinct trade-offs between predictive performance, temporal resolution, and implementability. Electronic health records provide high-specificity clinical data but capture only individuals engaged with healthcare systems and offer low temporal resolution between visits [1-6, 23-26]. Social media offers real-time language samples at population scale but raises profound privacy concerns regarding passive monitoring of public communications [7-12]. Wearable sensors enable continuous physiological and behavioral monitoring but suffer from low signal-to-noise ratios and small sample sizes [13-22]. As Holm [27] noted, these trade-offs require explicit ethical deliberation before deployment.
Table 1 presents an analytical comparison framework showing that modality differences are not limited to predictive performance, but extend to temporal resolution, implementation logic, bias exposure, and translational readiness.
Table 1. Cross-Modality Analytical Comparison Framework for Machine Learning-Based Suicidality and Depression Risk Prediction
Analytical dimension | Electronic health records | Social media platforms | Wearable sensors | Multimodal models |
Dominant prediction focus | Suicide attempt, near-term clinical deterioration, post-visit risk stratification | Suicidal ideation, affective language patterns, depression signals in discourse | Depression severity, mood fluctuation, passive symptom monitoring | Risk synthesis across heterogeneous clinical and behavioral sources |
Core signal type | Structured diagnoses, medications, utilization history, clinical narratives | Textual expression, posting behavior, sentiment, interpersonal language markers | Physiological and behavioral time series, sleep, activity, autonomic variation | Combined structured, textual, and/or physiological features |
Temporal resolution | Episodic and visit-based | Near real-time or continuously accumulating public/posting activity | Continuous or high-frequency passive monitoring | Depends on fusion architecture but potentially highest temporal coverage |
Clinical proximity of predictors | High, because predictors arise within documented care environments | Indirect, because digital expression may not map cleanly to formal diagnosis or care need | Moderate, because physiology may correlate with symptom burden without being disorder-specific | Potentially high when clinically anchored data are combined with dynamic behavioral streams |
Typical implementation advantage | Stronger interpretability for health systems and easier linkage to clinical action points | Earlier detection of deteriorating language states outside formal care settings | Passive longitudinal monitoring without requiring active disclosure | Highest predictive completeness through complementary signal integration |
Principal limitation | Misses individuals outside care systems; sparse between encounters | Severe privacy and consent challenges; uncertain ground truth; platform dependence | Small samples, noisy signals, adherence variation, device heterogeneity | Integration complexity, governance burden, interoperability barriers |
Dominant source of bias risk | Differential documentation, healthcare access inequality, coding practices | Platform-specific participation bias, language/culture bias, selective self-presentation | Device ownership bias, adherence bias, demographic underrepresentation | Bias accumulation across linked data streams if not explicitly audited |
Most plausible real-world use case | Clinical decision support within mental health or primary care systems | Population-level screening research or monitored digital outreach environments | Remote monitoring adjunct for symptom trajectory assessment | High-risk decision support in tightly governed, privacy-protected settings |
Strength of evidence base in this review | Strongest and most mature | Moderate | Emerging and least robust | Promising but sparse |
Translational readiness based on current evidence | Limited by ethics and prospective validation gaps despite good performance | Substantially constrained by privacy, consent, and governance concerns | Constrained by technical fragility and limited external validation | Conceptually strongest, but currently underdeveloped and ethically under-specified |
The absence of ethical consideration reporting across nearly all included studies represents the most critical barrier to responsible clinical translation. Holm [27] argued that machine learning for mental health carries inherent risks of false positives (potentially leading to unnecessary involuntary hospitalization) and false negatives (providing false reassurance that delays needed care). Kirtley and colleagues [28] emphasized that without privacy audits, bias assessments, and deployment protocols, these models cannot safely transition from research to practice. Arowosegbe and Oyelade [29] found that natural language processing applications for suicide ideation detection rarely address the potential harm of misclassification. The complete lack of bias evaluation across race, gender, and socioeconomic status is particularly concerning given documented disparities in mental health diagnosis and treatment [27, 28].
Table 2 reorganizes the review’s findings into an ethical-translational readiness matrix, demonstrating that the central weakness of the field lies not in the absence of predictive signal, but in the absence of operational safeguards required for responsible deployment.
Table 2. Ethical-Translational Readiness Matrix for Machine Learning Studies Predicting Suicidality and Depression
Domain | What current studies predominantly demonstrate | What is largely missing in the reviewed literature | Why the omission matters for translation | Minimum requirement for future studies |
Privacy protection | Occasional mention of de-identification or restricted access in a small minority of studies [1, 2, 6, 7, 15] | Detailed governance protocols, data minimization logic, re-identification risk assessment, modality-specific privacy safeguards | Mental health prediction is highly sensitive; weak privacy design undermines legitimacy, consent, and trust | Explicit privacy architecture describing data collection, storage, minimization, access control, and risk mitigation |
Fairness and bias assessment | No meaningful subgroup equity evaluation reported across race, gender, age, or socioeconomic status | Calibration, discrimination, false-positive/false-negative parity, intersectional analysis, bias mitigation methods | Unequal performance could amplify existing disparities in diagnosis, surveillance, or coercive intervention | Mandatory subgroup reporting, fairness audits, and pre-specified mitigation strategies |
Consent and autonomy | Limited and inconsistent reporting, especially for passive or digital-trace data collection | Clear consent models for public-platform monitoring, secondary data use, opt-out rights, and participant awareness | Individuals may be monitored without meaningful knowledge or agency, especially in social media and wearable contexts | Transparent consent or justified waiver framework with ethical oversight and user rights clearly documented |
Clinical deployment protocol | Proof-of-concept modeling dominates | Rules for alert thresholds, escalation pathways, clinician responsibilities, patient notification, and harm response | Prediction without action design creates safety risks and liability ambiguity | Predefined clinical action protocol linked to model outputs and uncertainty thresholds |
External validation | Some cross-site or cross-system validation exists in a subset of electronic health record studies [2, 6] | Broad validation across institutions, time periods, demographic groups, and real-world workflows | Retrospective internal performance does not establish reliability under deployment conditions | External temporal and geographic validation before any implementation claim |
Prospective evaluation | Entire evidence base remains retrospective | Silent-mode trials, clinician-AI interaction studies, and patient outcome evaluations | Without prospective evidence, utility and harm remain speculative | Stepwise prospective testing prior to routine use |
Reproducibility and transparency | Performance metrics are usually reported; methodological transparency is variable | Shared code, model cards, dataset documentation, preregistration, and transparent analytic decisions | Irreproducible models cannot be independently scrutinized for error, bias, or instability | Reproducibility package with code, reporting checklist, and model documentation |
Regulatory and editorial alignment | Ethical reflection is usually peripheral rather than structurally embedded [27-29] | Standardized reporting expectations from journals, reviewers, regulators, and health systems | Weak governance incentives allow technically impressive but clinically unsafe studies to dominate the literature | Ethics-reporting checklist as a publication and deployment precondition |
Several additional barriers impede translation from proof-of-concept studies to clinical implementation. Kirtley and colleagues [28] identified the absence of prospective validation as a primary barrier, noting that all published studies to date are retrospective. Integration with existing mental health workflows—including electronic health record alerting systems and clinical decision support interfaces—has not been evaluated [1, 2, 27]. Liability concerns regarding missed predictions or inappropriate alerts remain unresolved, creating disincentives for healthcare systems to adopt these tools without regulatory guidance [27, 28]. Ermers and colleagues [30] reviewed the predictive validity of machine learning models for major depressive disorder, concluding that none are ready for standalone clinical use. Sequeira and colleagues [31] reached similar conclusions for mobile and wearable technology monitoring depressive symptoms in children and adolescents.
This review is subject to several methodological limitations. Publication bias likely overrepresents studies with positive findings, as null results are less frequently published [27, 28]. Heterogeneity in outcome definitions across studies—including suicidal ideation versus attempts versus death [2-6] and depression diagnosis versus symptom severity scores [13-22]—complicates direct performance comparisons. The restriction to English-language publications may have excluded relevant research from non-English speaking populations. Prediction time windows varied substantially from 24 hours to two years, with longer windows associated with lower predictive performance [2-6].
The underlying evidence base exhibits significant limitations that constrain the conclusions of this review. All 33 included studies employed retrospective designs, with no prospective or randomized controlled trials evaluating machine learning models for suicide or depression prediction in real-time clinical settings [1-6, 13-22, 23-26]. Kirtley and colleagues [28] noted that most studies lack external validation on independent datasets from different institutions or time periods. Sample sizes for wearable sensor studies were consistently small (typically 50-200 participants), limiting statistical power and generalizability [13-22]. No study reported a priori sample size calculations or preregistered analysis plans [27].
Prior systematic reviews have examined machine learning for suicide and depression prediction but with narrower scopes that did not span all three data modalities or assess ethical reporting. Kirtley and colleagues [28] reviewed the translation of machine learning from promise to practice in suicide research, focusing primarily on electronic health record studies and identifying the lack of prospective validation as a key gap. Arowosegbe and Oyelade [29] systematically reviewed natural language processing applications for detecting and preventing suicide ideation, concentrating exclusively on text-based methods from electronic health records and social media without examining wearable sensors. Liu and colleagues [11] reviewed machine learning for depression detection on social media alone, finding performance comparable to the present review but not addressing ethical considerations.
The present review extends prior work in three important ways. First, it directly compares performance across all three major data modalities—electronic health records [1-6, 23-26], social media [7-12], and wearables [13-22]—enabling modality-appropriate recommendations. Second, it systematically assesses ethical consideration reporting, a dimension absent from prior reviews despite its critical importance for responsible translation [27, 28]. Third, it identifies the multimodal advantage (5-10% AUROC improvement) [2, 6, 26] as a consistent finding across studies, suggesting that future research should prioritize integration rather than single-modality optimization. The present review agrees with prior reviews that machine learning shows promise but disagrees on the degree of readiness for clinical use, concluding that the ethical gap makes current models unsuitable for deployment [27-29].
Researchers developing machine learning models for suicidality or depression prediction should report privacy protections explicitly, including data de-identification methods, access controls, and data minimization practices [27, 28]. Bias assessment across demographic groups—race, gender, age, socioeconomic status, and intersectional categories—must become standard practice rather than an optional addition [27]. External validation on independent datasets from different institutions, time periods, and populations is necessary before any model can be considered generalizable [2, 6, 28]. Finally, researchers should share de-identified code and model parameters to enable reproducibility and independent bias audits [27].
Journal editors and peer reviewers should require an ethical consideration statement as a condition of publication for any machine learning study in mental health [27, 28]. This statement must address privacy protections, bias assessment across demographic groups, informed consent for passive data collection, and limitations regarding clinical deployment [27]. Reviews should reject manuscripts that develop suicide or depression prediction models without evaluating performance across subgroups or discussing the potential harms of false positives and false negatives [28, 29]. Editors should consider adopting reporting checklists specific to machine learning in mental health, analogous to CONSORT-AI for clinical trials [27].
Regulatory bodies including the Food and Drug Administration and Federal Trade Commission should require fairness audits for any machine learning model intended for suicide or depression risk prediction in clinical or consumer settings [27, 28]. These audits must demonstrate that model performance (sensitivity, specificity, positive predictive value) does not differ systematically across protected demographic groups [27]. Transparency mandates should require clear labeling of models as research tools rather than clinical standards, disclosure of training data sources and limitations, and plain-language explanations of how predictions are generated [28]. The Federal Trade Commission's authority over deceptive practices may extend to unvalidated mental health prediction claims [27].
Mental health clinicians should understand that current machine learning models for suicidality and depression risk prediction are research tools, not clinical standards ready for routine use [1, 27, 28]. No model has been prospectively validated to improve patient outcomes compared to usual care [28]. Clinicians should use extreme caution if encountering such models in electronic health record or digital health products, recognizing that false positives may lead to unnecessary interventions and false negatives may provide dangerous reassurance [27, 28]. Under no circumstances should machine learning predictions replace clinical judgment, structured risk assessment, or established suicide prevention protocols [1, 27].
The most pressing research gap is the complete absence of prospective deployment studies evaluating machine learning models for suicide or depression prediction in real-time clinical settings [28]. Silent mode evaluations—where models generate predictions that are recorded but not shown to clinicians—could establish real-world performance without risk of harm [27, 28]. Clinician-AI interaction studies are needed to understand how predictions influence clinical decision-making, including whether alerts lead to appropriate changes in care or cause alert fatigue and documentation burden [28]. Patient outcome trials must ultimately determine whether model-informed care reduces suicide attempts or depression severity compared to usual care [27].
Multimodal integration represents a high-priority research direction given consistent evidence that combining data sources improves performance by 5-10% in AUROC [2, 6, 26]. No study to date has combined electronic health records, social media, and wearable sensors in a single model, representing a clear opportunity for innovation [1-26]. Privacy-preserving methods for linking these data sources—such as federated learning or secure multi-party computation—require development before multimodal models can be deployed [27, 28]. Real-time fusion of streaming data from wearables and social media with periodic electronic health record updates presents technical challenges in data alignment, missing data handling, and computational efficiency [27].
The complete absence of bias assessment across the 33 included studies constitutes a critical research gap requiring urgent attention [27, 28]. Algorithms that perform equally well across race, gender, age, socioeconomic status, and intersectional categories cannot be assumed; they must be empirically evaluated [27]. Mitigation strategies for identified biases—including algorithmic reweighting, fairness constraints during training, and post-hoc calibration—require development and validation specifically for mental health prediction tasks [27]. Disparities in base rates of suicide and depression across populations complicate fairness evaluation and require careful statistical handling [28].
The findings of this review call for a shift in research practice from model development to ethical validation. Researchers should prioritize external validation, bias assessment, and prospective evaluation over incremental improvements in AUROC [1, 27, 28]. Journals should encourage publication of negative results—including models that fail to validate externally or show performance disparities across groups—to counter publication bias [27]. Fairness audits should be preregistered and reported according to standardized checklists, enabling meta-analysis of bias across studies [28]. The machine learning community should develop shared benchmarks and publicly available validation datasets that include diverse populations and outcome ascertainment [27].
No current machine learning model is ready for standalone suicide or depression risk prediction in clinical practice [1, 27, 28]. Clinicians should view existing models as hypothesis-generating tools at best, not as replacements for clinical judgment or evidence-based risk assessment instruments [28]. If models are deployed as clinical decision support, they must include clear uncertainty estimates, explanations of key predictors, and guidance for appropriate action following positive or negative predictions [27]. Healthcare systems considering adoption of commercial suicide prediction algorithms should demand evidence of prospective validation, bias assessment, and demonstrated improvement in patient outcomes before implementation [28].
Policy and regulatory frameworks have not kept pace with machine learning development for mental health prediction. The Food and Drug Administration should require bias and fairness testing for any artificial intelligence device intended for suicide or depression risk prediction, similar to requirements for other high-risk medical devices [27, 28]. The Health Insurance Portability and Accountability Act requires updating to address passive data collection from social media and wearable devices, including clear rules for data ownership, consent, and patient access to their own digital traces [27]. The Federal Trade Commission should consider whether unvalidated mental health prediction claims constitute deceptive practices under existing consumer protection authority [27].
This systematic review evaluated 33 studies on machine learning for suicidality and depression risk prediction across electronic health records, social media, and wearable sensors from 2017 to 2024. Electronic health record models achieved AUROC of 0.70-0.85 for suicide attempt prediction. Social media models achieved AUROC of 0.70-0.80 for suicidal ideation detection. Wearable sensor models achieved AUROC of 0.65-0.75 for depression severity classification. Multimodal models combining electronic health records with natural language processing outperformed unimodal approaches by 5-10%. Machine learning demonstrates genuine promise for enhancing risk detection, but this promise remains largely unrealized in clinical practice.
The ethical gap identified in this review is the most critical barrier to responsible translation. Fewer than 20% of studies reported privacy protections, zero studies assessed algorithmic bias across demographic groups, and no studies described deployment protocols for communicating predictions to clinicians or patients. Holm warned that machine learning models for mental health carry inherent risks of false positives (unnecessary involuntary hospitalization) and false negatives (delayed care). Kirtley and colleagues emphasized that without ethical safeguards, these models cannot safely transition from research to practice. The current evidence base—entirely retrospective, largely single-modality, and devoid of bias assessment—is insufficient to support clinical deployment.
This review calls for three immediate actions from the research community. First, ethical reporting standards must be adopted requiring privacy disclosures, bias assessments across demographic groups, and deployment protocols as conditions of publication. Second, fairness audits should become mandatory for any model proposed for clinical or consumer use, with demonstrated performance equity across race, gender, age, and socioeconomic status. Third, prospective validation studies—beginning with silent mode evaluations and progressing to clinician-AI interaction trials—are needed before any model can be considered ready for real-world deployment. These actions are prerequisites for responsible translation, not optional additions.
The vision for responsible machine learning in mental health risk detection is achievable but requires deliberate effort from researchers, clinicians, regulators, and journal editors. Models that augment rather than replace clinical care, that protect privacy rather than erode it, and that reduce disparities rather than amplifying them are possible. Achieving this vision requires shifting incentives from novel model development to rigorous ethical validation, from single-modality optimization to privacy-preserving multimodal integration, and from retrospective proof-of-concept to prospective demonstration of patient benefit. The technology is advancing rapidly; the ethical and implementation frameworks must advance with equal urgency.
None
None
None
None
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.