Development and Internal Evaluation of a Machine Learning Model for Violence Risk Classification Among the CETM Population Using SOQUIJ Judgments
Sabrina Grenier, Alexandre Hudon
Key points
From the paper's conclusion- Conclusions: This study demonstrates the feasibility of using machine learning to retrospectively classify documented violence severity from forensic psychiatric judicial records.
Abstract
Background: The characterization of documented violence among individuals under forensic psychiatric supervision is challenging because violent behaviour is heterogeneous and influenced by multiple clinical, behavioural, and contextual factors. Machine learning may provide a useful approach for examining associations between these characteristics and documented violence severity. Objective: To develop and internally evaluate an Extreme Gradient Boosting (XGBoost) model for retrospectively classifying documented violence severity using clinico-administrative information extracted from judicial decisions of Quebec’s Commission d’examen des troubles mentaux (CETM). Methods: This retrospective observational study included 1386 anonymized judicial records. Documented offence severity was categorized using a five-level scoring system based on the MacArthur framework and subsequently dichotomized into lower (scores 0–1) and elevated (scores 2–4) severity categories. A two-stage feature-selection procedure incorporating LASSO regression and permutation feature importance was used to identify informative variables. Classification performance was evaluated using stratified five-fold cross-validation. Shapley Additive exPlanations (SHAP) were used to examine the relative contribution of individual predictors. Results: Of the 1386 observations, 825 (59.5%) were classified in the elevated-severity category and 561 (40.5%) in the lower-severity category. The model achieved an overall classification accuracy of 0.702, with precision of 0.752, recall of 0.744, and an F1 score of 0.748 for the elevated-severity class. The originally reported area under the receiver operating characteristic curve was 0.820. Recent aggression, police involvement, and rule violations were identified as influential variables in the reported SHAP analysis. Conclusions: This study demonstrates the feasibility of using machine learning to retrospectively classify documented violence severity from forensic psychiatric judicial records. The findings provide insight into associations between clinical and forensic characteristics and historical offence severity. However, the model was not designed or validated to predict future violent behaviour. External validation, assessment of calibration, and prospective evaluation would be necessary before considering any clinical or forensic application.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Understanding psychiatric-legal disagreements in not criminally responsible on account of mental disorder cases: a gradient boosting model perspectiveFrontiers in Psychology · 2026
- Investigating Whether Summarizing Raw Clinical Text Affects the Prediction of In-Hospital Violence: A Retrospective Case Study: Évaluation de l'effet du résumé des textes cliniques bruts sur la prédiction de la violence en milieu hospitalier : étude de cas rétrospective.Canadian journal of psychiatry. Revue canadienne de psychiatrie · 2026
- Multidimensional Suicide Risk Assessment with Machine Learning using Electronic Health RecordsarXiv · 2026
- Leveraging multimodal machine learning for accurate risk identification of intimate partner violencenpj Women s Health · 2026
- Development and evaluation of machine learning models to predict mechanical restraint and related coercive measures in hospital psychiatry.Nordic journal of psychiatry · 2026
- Artificial intelligence in forensic psychiatric risk assessment: opportunities, ethical challenges, and future directionsFrontiers in Psychology · 2026