NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Explainable artificial intelligence models for predicting risk of suicide using health administrative data in Quebec

Fatemeh Gholi Zadeh Kharrat, Christian Gagné, Alain Lesage, Geneviève Gariépy, Jean‐François Pelletier, Camille Brousseau‐Paradis, Louis Rochette, Éric Pelletier, Pascale Lévesque, Mada Mohammed, JianLi WangPLoS 2024

Abstract

Suicide is a complex, multidimensional event and a significant challenge for prevention globally. Artificial intelligence (AI) and machine learning (ML) have emerged to harness large-scale datasets to enhance risk detection. This research aimed to develop sex-specific ML models for predicting the population risk of suicide and to interpret the models using data from the Quebec Integrated Chronic Disease Surveillance System (QICDSS), covering up to 98% of the population. Individuals were considered cases if they were aged 15+ and had died from suicide between 2002 and 2019 (n = 18,339). Controls were a random sample of 1% of the Quebec population. We included 103 features, including individual, programmatic, systemic, and community factors. We validated sex-specific predictive risk models using algorithms including Logistic Regression (LR), Random Forest (RF), XGBoost, and Multilayer Perceptron (MLP). The best sensitivity was 0.38 for males (LR) and 0.47 for females (MLP); XGBoost achieved the best precision (0.25 for males, 0.19 for females). This study demonstrates the potential of explainable AI as a tool for population-level suicide prevention actions.

Introduction

Suicide is a global public health crisis, yet accurately predicting it remains notoriously difficult because it is a "rare event" driven by a complex web of individual, social, and systemic factors. While Machine Learning (ML) offers the power to parse these complexities, most models act as "black boxes"—they might provide a prediction, but they don't explain why. For policy makers and clinicians, a prediction without an explanation is difficult to trust or act upon. This paper addresses the dual challenge of achieving high predictive accuracy on a population scale while ensuring the models are interpretable enough to inform mental health service planning.

Methods and Data

The researchers employed a case-control study design, comparing individuals who died by suicide (cases) against a random 1% sample of the general population (controls). The study utilized the Quebec Integrated Chronic Disease Surveillance System (QICDSS), a robust longitudinal database linking demographics, physician billing, hospitalization records, prescription claims, and vital statistics. The final dataset incorporated 103 distinct features measured up to five years prior to the event.

Flowchart of the study methodology, from data partitioning to model evaluation.

To handle the extreme class imbalance, the researchers used SMOTE (Synthetic Minority Over-sampling Technique) to balance the training data. They evaluated four supervised learning algorithms: Logistic Regression, Random Forest, XGBoost, and Multilayer Perceptron. A standout feature of the methodology is the focus on Interpretability via SHAP (Shapley Additive Explanations). SHAP values were used to quantify exactly how much each feature—from age to regional budget allocations—contributed to the final risk score.

Results

The models demonstrated strong discriminative power, particularly for a rare-event task. The study confirmed a "Gender Paradox," where risk profiles and model performance differed significantly by sex. Models performed better for females (AUC up to 0.87) than for males (AUC up to 0.79), highlighting the need for sex-specific approaches.

Demographic characteristics and deprivation scores for the control and suicide groups.

Key performance metrics included:

  • Sensitivity: The best sensitivity was 0.38 for males (Logistic Regression) and 0.47 for females (MLP).
  • Precision (PPV): XGBoost achieved the best precision, with 0.25 for males and 0.19 for females.

The SHAP analysis revealed that systemic factors matter as much as individual ones. For example, while certain factors like "psychotherapy visits" were high-risk indicators, the absence of primary care follow-ups in certain regions also drove risk scores up. This provides a direct lever for policy makers: improving primary care quality can lower population-level risk.

Discussion and Limitations

The authors acknowledge several hurdles, including data gaps regarding ethnicity, income, and education. Furthermore, medication history was unavailable for the 44% of the population with private insurance. It is also critical to emphasize that these models identify associations, not causes. A high SHAP value for a specific variable indicates a population in distress rather than a direct causal link to suicide.

Conclusion

This study demonstrates the useful potential of explainable AI models as tools for decision-making and population-level suicide prevention. The next step is to produce an intuitive user interface for decision makers and planners to simulate how variations in local primary care programs or regional mental health budgets would impact suicide rates.

Summary updated

BibTeX
@inproceedings{kharrat2024explainable,
  author = {Fatemeh Gholi Zadeh Kharrat and Christian Gagné and Alain Lesage and Geneviève Gariépy and Jean‐François Pelletier and Camille Brousseau‐Paradis and Louis Rochette and Éric Pelletier and Pascale Lévesque and Mada Mohammed and JianLi Wang},
  title = {{Explainable artificial intelligence models for predicting risk of suicide using health administrative data in Quebec}},
  booktitle = {PLoS},
  year = {2024},
  doi = {10.1371/journal.pone.0301117},
}
Figure