BackgroundSuffering from schizophrenia spectrum disorder (SSD) has been well-established as a risk factor for offending. However, the majority of patients with an SSD do not show aggressive or criminal behavior. Yet, there is little research on clinical key features distinguishing offender from non-offender patients. Previous results point to poorer impulse control, higher levels of excitement, tension, and hostility, and worse overall cognitive functioning in offender populations. This study aimed to detect the most indicative distinguishing clinical features between forensic and general psychiatric patients with SSD based on the course of illness and the referenced hospitalization in order to facilitate a better understanding of the relationship between violent and non-violent offenses and SSD.MethodsOur study population consisted of forensic psychiatric patients (FPPs) with a diagnosis of F2x (ICD-10) or 295.x (ICD-9) and a control group of general psychiatric patients (GPPs) with the same diagnosis, totaling 740 patients. Patients were evaluated regarding their medical (and, if applicable, criminal) history and the referenced psychiatric hospitalization. Supervised machine learning (ML) was used to exploratively evaluate predictor variables and their interplay and rank them in accordance with their discriminative power.ResultsOut of 194 possible predictor variables, the following 6 turned out to have the highest influence on the model: olanzapine equivalent at discharge from the referenced hospitalization, a history of antipsychotic prescription, a history of antidepressant, benzodiazepine or mood stabilizer prescription, medication compliance, outpatient treatment(s) in the past, and the necessity of compulsory measures. Out of the seven algorithms applied, gradient boosting emerged as the most suitable, with an AUC of 0.86 and a balanced accuracy of 77.5%.DiscussionOur study aimed to identify the most influential illness-related predictors, distinguishing between FPP and GPP with SSD, thus shedding light on key differences between the two groups. To our knowledge, this is the first study to compare a homogenous sample of FPP and GPP with SSD regarding their symptom severity and course of illness using highly sophisticated statistical approaches with the possibility of evaluating the interplay of all factors at play.