- Open Access
Prediction of violence in male schizophrenia using sMRI, based on machine learning algorithms
BMC Psychiatry volume 22, Article number: 676 (2022)
Violent behavior in patients with schizophrenia (SCZ) is a major social problem. The early identification of SCZ patients with violence can facilitate implementation of targeted intervention.
A total of 57 male SCZ patients were recruited into this study. The general linear model was utilized to compare differences in structural magnetic resonance imaging (sMRI) including gray matter volume, cortical surface area, and cortical thickness between 30 SCZ patients who had exhibited violence and 27 SCZ patients without a history of violence. Based on machine learning algorithms, the different sMRI features between groups were integrated into the models for prediction of violence in SCZ patients.
After controlling for the whole brain volume and age, the general linear model showed significant reductions in right bankssts thickness, inferior parietal thickness as well as left frontal pole volume in the patients with SCZ and violence relative to those without violence. Among seven machine learning algorithms, Support Vector Machine (SVM) have better performance in differentiating patients with violence from those without violence, with its balanced accuracy and area under curve (AUC) reaching 0.8231 and 0.841, respectively.
Patients with SCZ who had a history of violence displayed reduced cortical thickness and volume in several brain regions. Based on machine learning algorithms, structural MRI features are useful to improve predictive ability of SCZ patients at particular risk of violence.
Schizophrenia (SCZ) is a debilitating psychiatric disorder, with the prevalence being 1% . Patients with SCZ have been reported to have a heightened risk of exhibiting violent behavior [2, 3]. In comparison with the general population, individuals with SCZ are four to six times more likely to commit violent behavior , which can lead to serious harm to others, higher health care costs, and increased stigmatization associated with this disease . Available actuarial assessment tools for violence risk suffer from limited predictive power and the exact mechanisms of violence in SCZ remain unknown, reflecting the difficulty of early detection and intervention of violence in SCZ . Several risk factors associated with violence in SCZ have been well studied, including male sex, substance abuse, as well as childhood trauma, which have been used for development of predictive models based on machine learning method, to identify SCZ patients with the highest risk for violence at the individual level [7,8,9], but the predictive power of these models is relatively insufficient due to information acquired from phenotypic assessment being limited and violent behavior being heterogeneous in origin . For instance, a previous study by wang et al. established seven predictive models for violence in SCZ patients and found the accuracy and AUC of the optimal model were 62% and 0.63, respectively . Another similar study found the best predictive model achieved an accuracy of 67.8% and an AUC of 0.764 in differentiating patients with violence from those without violence . An article previously published by us showed the predictive model developed by neural net achieved an AUC of 0.667 in predicting violent behavior among male patients diagnosed with SCZ . Hence, there is an urgent need for reliable markers to improve predictive power of models for violent behavior in SCZ.
Structural magnetic resonance imaging (sMRI) as an easy access, high resolution, and non-invasive imaging technique has been widely used to understand the neurobiology of violence in SCZ. Recent sMRI studies have confirmed significant alterations in multiple cerebral regions, in particular frontal and temporal lobes, in SCZ patients with violence [14,15,16,17]. For example, a study of cortical morphology showed reduced cortical thickness within the precentral, parietal, temporal, and fusiform cortex in SCZ patients with a history of violence . Kuroki et al. reported significantly smaller temporal lobe volume and insular area in SCZ patients who had a history of serious violent acts than those without a history of violence . A study by Kumari et al. showed lower anterior cingulate volume in SCZ individuals with a history of serious violence when compared to health controls . Another study found that smaller thalamus and amygdala volumes were related with violence . Despite these violence-related brain regions identified at the group level are associated with vulnerability to violent behavior, it is difficult to compute the probability of committing violence at individual level. So far, there are fewer studies using ML with sMRI features to predict violence in SCZ individuals. A study by Gou ningzhi and colleagues used a hybrid machine learning and multimodal neuroimaging data to develop the predictive models for violence in SCZ individuals . Despite the final model based on the combination of gray matter volume, region homogeneity (ReHo) and fractional anisotropy (FA) achieved an accuracy of 90.67%, it is difficult to be implemented in clinical practice due to longer time of operation and higher cost. Besides, only one form of machine learning algorithm was applied in their study. In order to acquire better predictive power, this study combined several machine learning algorithms and structural MRI features to establish prediction models for violence in SCZ.
A total of 57 male patients diagnosed with SCZ who fulfilled the International Classification of Disease-10 (ICD-10) diagnostic criteria were recruited from the general psychiatry ward of Hefei Fourth People’ Hospital from July 2021 to December 2021. All participants were divided into violent and non-violent groups based on whether they committed violent behavior or not prior to admission. Violent and non-violent groups included 30 patients with and 27 patients without a history of violence, respectively. All participants were right-handed, no alcohol or substance use disorders, and no neurological diseases. Individuals with head injuries, diagnosed with other psychiatric disorders or contraindicated with MRI were excluded.
Definition of violent behavior
Aggressive manifestations in patients with SCZ were evaluated using Modified Overt Aggression Scales (MOAS) which has four subscales (verbal aggression, aggression against objects, physical aggression against oneself, and physical aggression against others) and a five-point rating system (0—4). The weighted total score of MOAS = verbal aggression × 1 + aggression against property × 2 + physical towards self × 3 + physical towards others × 4. Violent behavior was defined by a MOAS weighted total score ≥ 5 [23, 24].
sMRI acquisition and post-processing
The structural images of the brain were acquired on the same 3.0 T GE Signa equipped with an eight channel phased array head coil at Hefei Fourth People’ Hospital. The T1-weighted MRI was scanned with the following parameters: repetition time = 8.5 ms; echo time = 3.2 ms; inversion time (TI) = 450 ms; flip angle (FA) = 12°; field of view (FOV) = 256 mm × 256 mm; matrix size = 256 × 256; slice thickness = 1 mm; no gaps; voxel size = 1 mm × 1 mm × 1 mm; 188 sagittal slices; and acquisition time = 296 s. During scanning, all participants were instructed to relax, remain awake with their eyes closed, and move as litter as possible. The earplugs were provided to lessen scanner noise and the sponge pads placed in the coil to minimize head movement. The MRI images of all subjects were checked by an experienced neuro-radiologist and no obvious gross abnormalities were detected. The MRIcron software was used to convert 3DT1WI into NIFIT. The same FreeSurfer software (version 5.3.0) installed in the same Ubuntu Linux version (3.2.0–29-generic) was employed to construct cerebral cortex in this study. The processing procedures produced accurate representations of the cortical surfaces through both intensity and continuity information from the entire three-dimensional MR volume in segmentation and deformation procedures. Recon-all, as one of the core commands of FreeSurfer software, was used to perform the FreeSurfer cortical reconstruction process and to calculate gray matter volume, cortical surface area and cortical thickness of right and left cerebral hemispheres in this study. According to Desikan-Kiliany-Atlas, each cerebral hemisphere was divided into 34 brain regions.
Development of predictive models
In the present study, the predictive models were developed using seven machine learning algorithms, including support vector machine (svm), k-nearest neighbor (knn), random forest (rf), generalized linear model net (glmnet), rpart, penalized discriminant analysis (pda), neural network (nnet). A total of 57 male participants were randomly divided into the training and the test sets according to a 1:1 ratio. In order to counteract overfitting, the tenfold cross-validation was conducted in the training set where all subjects were randomly divided into ten equal folds, with nine folds for training the model and the remaining fold serving as validation set. This process was repeated 10 times. Training set is used to automatically adjust the parameters of the model through learning, the validation set for selection of the optimal model and the test set only for evaluation of its performance and generalizability of the final algorithm. To avoid leakage of train/validation/test data set as possible as possible, we have adopted several measures, including deletion of missing variables or values from the entire data, random separation of training and test set, selection of morphology features, no duplicates in the entire data, use of the tenfold cross-validation and so on. In the test set, the performance of each predictive model was assessed using the following metrics: AUC: the value of AUC ranges from 0 to 1; accuracy, sensitivity and specificity. Seven ML algorithms were compared, and the algorithm with highest AUC value was ultimately selected as the optimal model for violence in SCZ. The establishment and performance of predictive models were conducted in R 4.0.5 with package of caret.
The statistical analysis was performed in SPSS 16.0. For demographic information, the continuous variables were expressed as mean (standard deviation) and compared with t-test. Moreover, the categorical variables were described using count (percent) and the Chi-Squared Test was used for analysis. The differences in gray matter volume, cortical surface area and cortical thickness between groups were compared by the general linear model after controlling for the whole-brain volume and age. For multiple comparisons correction, false discovery rate (FDR) was utilized. Adjusted P < 0.05 was considered to be significantly statistical significance.
The demographic characteristics of violent and non-violent groups are summarized in Table 1. A significant reduction in the whole-brain volume was observed in patients with a history of violence compared to patients without a history of violence. Patients with violence had a significantly higher age relative to patients without violence. No significant differences were detected in education level and marital status between two groups.
After controlling for the whole-brain gray matter volume and age, the general linear model showed significant reductions in the thickness of right bankssts and inferior parietal cortex as well as the cortical volume of left frontal pole in the patients with SCZ and violence relative to those without violence (Table 2).
These different brain structures between groups including left frontal pole volume as well as right bankssts and inferior parietal cortical thickness were regarded as features for machine learning classification. Among seven predictive models, SVM was identified as the optimal algorithm for violence in SCZ with a balanced accuracy of 0.8231 and an AUC of 0.8410 (Table 3 and Fig. 1).
The main findings in the present study were that after controlling for the whole-brain volume and age, the SCZ individuals with a history of violence showed reductions in several brain regions involved in emotion and cognition processing, including left frontal pole volume as well as right bankssts and inferior parietal cortical thickness, compared to those without a history of violence. Subsequently, these different brain structures between groups were used to develop the prediction models for violence among SCZ patients using machine learning method. Ultimately, seven predictive models were established. Through comparing with each other, the SVM had the best performance with a balanced accuracy of 0.8231 and an AUC of 0.841.
In the present study, the finding of reduced whole brain volume in patients with SCZ who had a history of violence, compared to those without a history of violence, is in consistence with results of previous studies [25, 26], suggesting the possibility that certain general cognitive impairments associated with whole brain volume reduction are involved into violence. Besides, we also found abnormalities in several regions implicated in the neuropathology of violence, including left frontal pole, right bankssts and inferior parietal regions. Patients with SCZ who had a history of violent behavior displayed decreased gray matter volume in frontal pole in relation to those without violence, which is consistent with another study . This indicates that changes in the prefrontal cortex including the frontal lobe might be involved in the pathophysiology of violent behavior. The prefrontal cortex is thought to play an important role in executive functioning capacity, including regulation of inhibition, emotions and movement. Damage or dysfunction of this area may interrupt the sending of inhibitory inputs to the limbic system, which is composed of hippocampus and parahippocampal gyrus and increases the risk of unregulated behavior , speculating that the region can be regarded as structural markers for violence . Temporal lobe is implicated in emotional processing and its abnormalities are linked to the onset of psychosis, hallucinations and delusions in SCZ [30, 31]. Delusions as one of the important features of SCZ have been most consistently related to violent behavior . In addition, the relation of abnormal temporal lobe with violence is also supported by other evidence that alternations in this region can lead to impaired aggression control and increased impulsivity which belong to aspects of characteristic antisocial personality disorder [30, 33]. We also found SCZ subjects with a history of violence displayed decreased cortex thickness in right parietal lobe as a part of the default-mode network (DMN) which is responsible for self-referential and reflective activity as well as attending to internal and external stimuli in relation to those without violence, in consistent with findings from the previous studies [34, 35]. Taken together, the structure volume of the brain is closely associated with the size, density and arrangement of neurons, and its change may lead to the destruction of circuits in relevant brain regions , suggesting abnormal neurodevelopment is vital to the neurobiology of violence in schizophrenia.
In our study, we found SVM was appropriate to structural MRI data and had better predictive performance in differentiating violent from non-violent patients with SCZ than other six machine learning algorithms, with its balanced accuracy and AUC reaching 0.8231 and 0.841, respectively, similar to previous findings that SVM has promising results in neuroimaging . The possible reason is that SVM belongs to one of the machine learning algorithms which can process high-dimensional data and capture nonlinear variable relations. Considering that neuroimaging data are likely to be nonlinear, SVM is able to achieve better performance than other algorithms . To date, studies predicting risk of violence in SCZ patients using neuro-imaging data are sparse. The only research employed multimodal MRI and SVM to identify SCZ patients at high risk of violence. The model based on the single modality of gray matter volume showed an accuracy of 77.33% and an AUC of 0.80 . The possible reason for different predictive power is that our model included more characteristics of cortical morphology, namely cortical surface area, gray matter volume and cortical thickness, to improve the power of recognizing the patients with greater risks of violence. Besides, there have been a few studies which combined machine learning algorithms and demographic and clinical data to differentiate patients with violence from those without violence, but the performance of prediction models was unsatisfactory [11,12,13]. In this study, the prediction model integrating structural MRI characteristics demonstrated good performance. Above evidence suggests that due to high anatomical resolution of cortical volume, area and thickness, structural MRI features can be suggested to be biologically-based predictive markers.
Several limitations need to be considered. First, our sample size was relatively small, Future studies should recruit more participants to improve the power of predicting violence in SCZ. Second, the inpatients with SCZ enrolled by us were receiving treatment with a medication. Despite effect of medication on cortical morphology is still unknown, the brain structure of SCZ patients might be influenced by antipsychotic treatment. In order to validate our results, future studies should be conducted in first-episode, medication-naive patients with SCZ. Third, the present study lacked external validation, which could limit the generalization of our findings. Future research should perform the external validation in another sample. Fourth, the model developed by male SCZ patients was not applicable to female individuals. Considering difference in brain structure and risk factors between male and female patients, the models based on gender need to be built in future studies.
In summary, the current study showed difference in cortical morphology between patients with violence and those without violence. Based on these different brain structural regions, seven prediction models were established using machine learning method. SVM had better performance in identifying SCZ individuals who had a history of violence, suggesting based on machine learning algorithms, sMRI features can improve predictive power of models.
Availability of data and materials
The data that support the findings of this study are available from Hefei Fourth People’ Hospital but restrictions apply to the availability of those data, which were used under license for the current study, and so are not publicly available. Data are however available from the authors upon reasonable request and with permission of Hefei Fourth People’ Hospital.
Structural magnetic resonance imaging
Modified overt aggression scales
Area under curve of ROC
The International Classification of Disease-10
Support vector machine
False discovery rate
McCutcheon RA, Reis Marques T, Howes OD. Schizophrenia-an overview. JAMA Psychiat. 2020;77(2):201–10.
Fleischman A, Werbeloffff N, Yoffffe R, Davidson M, Weiser M. Schizophrenia and violent crime: a population-based study. Psychol Med. 2014;44:3051–7.
Maneeton N, Maneeton B, Jaiyen N, Woottiluk P, Khemawichanurat W. Prevalence of Aggressive or Violent Behaviour in Thai Patients with Schizophrenia: a Cross-Sectional Study. East Asian Arch Psychiatry. 2019;29(3):87–90.
Karabekiroğlu A, Pazvantoğlu O, Karabekiroğlu K, Böke Ö, Korkmaz IZ. Associations with violent and homicidal behaviour among men with schizophrenia. Nord J Psychiatry. 2016;70(4):303–8.
Wehring HJ, Carpenter WT. Violence and schizophrenia. Schizophr Bull. 2011;37(5):877–8.
Douglas T, Pugh J, Singh I, Savulescu J, Fazel S. Risk assessment tools in criminal justice and forensic psychiatry: The need for better data. Eur Psychiatry. 2017;42:134–7.
Witt K, van Dorn R, Fazel S. Risk factors for violence in psychosis: systematic review and meta-regression analysis of 110 studies [published correction appears in PLoS One. 2013;8(9). https://doi.org/10.1371/annotation/f4abfc20-5a38-4dec-aa46-7d28018bbe38]. PLoS One. 2013;8(2):e55942.
van Dongen J, Buck N, Van Marle H. Unravelling offending in schizophrenia: factors characterising subgroups of offenders. Crim Behav Ment Health. 2015;25(2):88–98.
Faay MDM, van Os J. Genetic Risk and Outcome of Psychosis (GROUP) Investigators. Aggressive behavior, hostility, and associated care needs in patients with psychotic disorders: a 6-year follow-up study. Front Psychiatry. 2020;10:934.
Volavka J, Citrome L. Heterogeneity of violence in schizophrenia and implications for long-term treatment. Int J Clin Pract. 2008;62(8):1237–45.
Wang KZ, Bani-Fatemi A, Adanty C, Harripaul R, Griffiths J, Kolla N, Gerretsen P, Graff A, De Luca V. Prediction of physical violence in schizophrenia with machine learning algorithms. Psychiatry Res. 2020;289:112960.
Sonnweber M, Lau S, Kirchebner J. Violent and non-violent offending in patients with schizophrenia: Exploring influences and differences via machine learning. Compr Psychiatry. 2021;107:152238.
Yu T, Zhang X, Liu X, Xu C, Deng C. The prediction and influential factors of violence in male schizophrenia patients with machine learning algorithms. Front Psychiatry. 2022;13:799899.
Gou N, Lu J, Zhang S, Liang X, Guo H, Sun Q, Zhou J, Wang X. Structural deficits in the frontotemporal network associated with psychopathic traits in violent offenders with schizophrenia. Front Psych. 2022;13:846838.
Liu F, Shao Y, Li X, Liu L, Zhao R, Xie B, Qiao Y. Volumetric abnormalities in violent schizophrenia patients on the general psychiatric ward. Front Psych. 2020;11:788.
Schoretsanitis G, Stegmayer K, Razavi N, Federspiel A, Müller TJ, Horn H, Wiest R, Strik W, Walther S. Inferior frontal gyrus gray matter volume is associated with aggressive behavior in schizophrenia spectrum disorders. Psychiatry research Neuroimaging. 2019;290:14–21.
Fjellvang M, Grøning L, Haukvik UK. Imaging violence in schizophrenia: a systematic review and critical discussion of the MRI literature. Front Psychiatry. 2018;9:333.
Storvestre GB, Valnes LM, Jensen A, Nerland S, Tesli N, Hymer KE, Rosaeg C, Server A, Ringen PA, Jacobsen M, Andreassen OA, Agartz I, Melle I, Haukvik UK. A preliminary study of cortical morphology in schizophrenia patients with a history of violence. Psychiatry Res Neuroimaging. 2019;288:29–36.
Kuroki N, Kashiwagi H, Ota M, Ishikawa M, Kunugi H, Sato N, Hirabayashi N, Ota T. Brain structure differences among male schizophrenic patients with history of serious violent acts: an MRI voxel-based morphometric study. BMC Psychiatry. 2017;17(1):105.
Kumari V, Uddin S, Premkumar P, Young S, Gudjonsson GH, Raghuvanshi S, Barkataki I, Sumich A, Taylor P, Das M. Lower anterior cingulate volume in seriously violent men with antisocial personality disorder or schizophrenia and a history of childhood abuse. Aust N Z J Psychiatry. 2014;48(2):153–61.
Del Bene VA, Foxe JJ, Ross LA, Krakowski MI, Czobor P, De Sanctis P. Neuroanatomical Abnormalities in Violent Individuals with and without a Diagnosis of Schizophrenia. PLoS ONE. 2016;11(12):e0168100.
Gou N, Xiang Y, Zhou J, Zhang S, Zhong S, Lu J, Liang X, Liu J, Wang X. Identification of violent patients with schizophrenia using a hybrid machine learning approach at the individual level. Psychiatry Res. 2021;306:114294.
Kay SR, Wolkenfeld F, Murrill LM. Profiles of aggression among psychiatric patients .I. Nature and prevalence. J Nerv Ment Dis. 1988;176(9):539–46.
De Benedictis L, Dumais A, Stafford MC, Côté G, Lesage A. Factor analysis of the French version of the shorter 12-item Perception of Aggression Scale (POAS) and of a new modified version of the Overt Aggression Scale (MOAS). J Psychiatr Ment Health Nurs. 2012;19(10):875–80.
Puri BK, Counsell SJ, Saeed N, Bustos MG, Treasaden IH, Bydder GM. Regional grey matter volumetric changes in forensic schizophrenia patients: an MRI study comparing the brain structure of patients who have seriously and violently offended with that of patients who have not. BMC Psychiatry. 2008;8 Suppl 1(Suppl 1):S6.
Antonova E, Sharma T, Morris R, Kumari V. The relationship between brain structure and neurocognition in schizophrenia: a selective review. Schizophr Res. 2004;70(2–3):117–45.
Tikàsz A, Potvin S, Richard-Devantoy S, Lipp O, Hodgins S, Lalonde P, Lungu O, Dumais A. Reduced dorsolateral prefrontal cortex activation during affective Go/NoGo in violent schizophrenia patients: An fMRI study. Schizophr Res. 2018;197:249–52.
Yang Y, Raine A, Han CB, Schug RA, Toga AW, Narr KL. Reduced hippocampal and parahippocampal volumes in murderers with schizophrenia. Psychiatry Res. 2010;182(1):9–13.
Narayan VM, Narr KL, Kumari V, Woods RP, Thompson PM, Toga AW, Sharma T. Regional cortical thinning in subjects with violent antisocial personality disorder or schizophrenia. Am J Psychiatry. 2007;164(9):1418–27.
Kiehl KA, Smith AM, Hare RD, Mendrek A, Forster BB, Brink J, Liddle PF. Limbic abnormalities in affective processing by criminal psychopaths as revealed by functional magnetic resonance imaging. Biol Psychiatry. 2001;50(9):677–84.
Sumich A, Chitnis XA, Fannon DG, O’Ceallaigh S, Doku VC, Falrowicz A, Marshall N, Matthew VM, Potter M, Sharma T. Temporal lobe abnormalities in first-episode psychosis. Am J Psychiatry. 2002;159(7):1232–5.
Barkataki I, Kumari V, Das M, Taylor P, Sharma T. Volumetric structural brain abnormalities in men with schizophrenia or antisocial personality disorder. Behav Brain Res. 2006;169(2):239–47.
Soderstrom H, Hultin L, Tullberg M, Wikkelso C, Ekholm S, Forsman A. Reduced frontotemporal perfusion in psychopathic personality. Psychiatry Res. 2002;114(2):81–94.
Guo W, Liu F, Chen J, Wu R, Li L, Zhang Z, Chen H, Zhao J. Hyperactivity of the default-mode network in first-episode, drug-naive schizophrenia at rest revealed by family-based case-control and traditional case-control designs. Medicine (Baltimore). 2017;96(13):e6223.
Leclerc MP, Regenbogen C, Hamilton RH, Habel U. Some neuroanatomical insights to impulsive aggression in schizophrenia. Schizophr Res. 2018;201:27–34.
Gao S, Calhoun VD, Sui J. Machine learning in major depression: From classification to treatment outcome prediction. CNS Neurosci Ther. 2018;24(11):1037–52.
Shimizu Y, Yoshimoto J, Toki S, Takamura M, Yoshimura S, Okamoto Y, Yamawaki S, Doya K. Toward Probabilistic Diagnosis and Understanding of Depression Based on Functional MRI Data Analysis with Logistic Group LASSO. PLoS ONE. 2015;10(5):e0123524.
We would like to thank the support of Hefei Fourth People’s Hospital.
The study was funded by Hefei Fourth People’s Hospital (HFSY202102) and Department of Science and Technology of Anhui Province (201904a0702009).
Ethics approval and consent to participate
This study was approved by the Ethics Committee of Hefei Fourth People’ Hospital (HSY-IRB-YJ-LWTG-YT003). All participants provided written informed consent. All procedures were in accordance with the ethical standards of the responsible committee on human experimentation and with the Helsinki Declaration.
Consent for publication
All authors declare that they have no conflicts of interest.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
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/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.
About this article
Cite this article
Yu, T., Pei, W., Xu, C. et al. Prediction of violence in male schizophrenia using sMRI, based on machine learning algorithms. BMC Psychiatry 22, 676 (2022). https://doi.org/10.1186/s12888-022-04331-1
- Machine learning
- Structural MRI