Next Article in Journal
Anatomic Variations Important for Dental Implantation in the Mandible—A Systematic Review
Next Article in Special Issue
The Practical Implications of Re-Referencing in ERP Studies: The Case of N400 in the Picture–Word Verification Task
Previous Article in Journal
Predictive Utility of the HALP and Modified HALP Score for the Assessment of Operative Complications in Patients Undergoing Laparoscopic Cholecystectomy for Acute Cholecystitis
Previous Article in Special Issue
ChMinMaxPat: Investigations on Violence and Stress Detection Using EEG Signals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Zipper Pattern: An Investigation into Psychotic Criminal Detection Using EEG Signals

1
Department of Psychiatry, Elazig Fethi Sekin City Hospital, Elazig 23280, Turkey
2
School of Business (Information System), University of Southern Queensland, Toowoomba, QLD 4350, Australia
3
Department of Digital Forensics Engineering, Technology Faculty, Firat University, Elazig 23119, Turkey
4
Vocational School of Technical Sciences, Firat University, Elazig 23119, Turkey
5
Department of Psychiatry, School of Medicine, Tokat Gaziosmanpasa University, Tokat 60100, Turkey
6
Department of Neurology, School of Medicine, Firat University, Elazig 23119, Turkey
*
Author to whom correspondence should be addressed.
Diagnostics 2025, 15(2), 154; https://doi.org/10.3390/diagnostics15020154
Submission received: 10 December 2024 / Revised: 4 January 2025 / Accepted: 7 January 2025 / Published: 11 January 2025
(This article belongs to the Special Issue EEG Analysis in Diagnostics)

Abstract

:
Background: Electroencephalography (EEG) signal-based machine learning models are among the most cost-effective methods for information retrieval. In this context, we aimed to investigate the cortical activities of psychotic criminal subjects by deploying an explainable feature engineering (XFE) model using an EEG psychotic criminal dataset. Methods: In this study, a new EEG psychotic criminal dataset was curated, containing EEG signals from psychotic criminal and control groups. To extract meaningful findings from this dataset, we presented a new channel-based feature extraction function named Zipper Pattern (ZPat). The proposed ZPat extracts features by analyzing the relationships between channels. In the feature selection phase of the proposed XFE model, an iterative neighborhood component analysis (INCA) feature selector was used to choose the most distinctive features. In the classification phase, we employed an ensemble and iterative distance-based classifier to achieve high classification performance. Therefore, a t-algorithm-based k-nearest neighbors (tkNN) classifier was used to obtain classification results. The Directed Lobish (DLob) symbolic language was used to derive interpretable results from the identities of the selected feature vectors in the final phase of the proposed ZPat-based XFE model. Results: To obtain the classification results from the ZPat-based XFE model, leave-one-record-out (LORO) and 10-fold cross-validation (CV) methods were used. The proposed ZPat-based model achieved over 95% classification accuracy on the curated EEG psychotic criminal dataset. Moreover, a cortical connectome diagram related to psychotic criminal detection was created using a DLob-based explainable artificial intelligence (XAI) method. Conclusions: In this regard, the proposed ZPat-based XFE model achieved both high classification performance and interpretability. Thus, the model contributes to feature engineering, psychiatry, neuroscience, and forensic sciences. Moreover, the presented ZPat-based XFE model is one of the pioneering XAI models for investigating psychotic criminal/criminal individuals.

1. Introduction

Violence is defined as any destructive behavior with the explicit purpose of causing harm [1,2]. The World Health Organization, on the other hand, defines “violence” as any behavior that results in injury, death, or mental problems [3]. The relationship between violence and psychiatric disorders has been investigated for many years. In some studies, it has been reported that the tendency towards violence both towards oneself and towards the outside (other people, objects, or animals) increases in psychiatric disorders [4,5]. In some of these studies, it has been reported that destructive acts of violence and self-mutilation attempts against oneself increase [1,4]. Again, in some studies, higher rates of violent tendency and involvement in crime were found in individuals with psychiatric disorders compared with the general population [6,7]. In these studies, it was not reported that the tendency to violence increased in all psychiatric disorders [8], but the rates of violent tendency and involvement in crime increased in some psychiatric disorders such as bipolar disorder, schizophrenia (SZH), schizoaffective disorder, and alcohol/substance use disorders [9]. Studies on the etiology of psychiatric disorders and violent tendency are limited in the literature [10,11,12,13]. In one of these studies, it was shown that factors such as the age, gender, marital status, and socioeconomic status of the patient may increase the tendency to violence [13]. In another study, it was reported that patients’ treatment non-compliance or alcohol/substance use may increase the tendency to violence [10]. In recent years, non-invasive methods that also show functional and structural changes in the central nervous system have been utilized to investigate the etiology of psychiatric disorders [14,15,16]. Electroencephalography (EEG) is one of these methods. EEG is a non-invasive method that is widely used in the evaluation of electrical activities in the brain. By interpreting EEG signals, brain activity can be automatically detected [15,16]. The interpretation of EEG signals is used to identify psychiatric disorders such as depressive disorder, bipolar disorder, and SZH, in addition to neurological diseases [16,17,18,19,20]. However, the relationship between EEG signals and the tendency to commit crime or violence in psychiatric diseases has not been examined in the literature [21]. In the light of all this information, in our study, we aim to automatically detect and classify the psychiatric diseases we have previously identified using EEG signals, and then to obtain brain-based findings of psychiatric patients involved in crime with a new artificial intelligence-based symbolic language.

1.1. Related Works

In this section, some related works are presented. Park et al. [22] aimed to classify major psychiatric disorders with EEG data. The retrospective data of 945 participants were analyzed with resting-state EEG measurements, intelligence scores, and clinical diagnoses. Support vector machines, random forest, and elastic network methods were compared; the elastic network model showed the highest performance in accuracy. Accuracy was reported as 93.83% for SZH, 91.21% for trauma and stress disorders, and 74.52% for obsessive–compulsive disorder. A limitation of this study is that the results were not validated in large groups of participants. The findings suggest that machine learning (ML) with EEG can provide objective diagnostic tools. Machetanz et al. [23] proposed a ML-based model to predict adverse treatment processes in forensic patients with SZH. The retrospective dataset of 356 patients included 209 parameters, from which the 10 most influential variables were identified. Variable reduction was performed in data balancing and model selection. The gradient boosting algorithm showed the best performance with 67% balanced accuracy and 72% AUC. The model was able to predict negative treatment processes with factors such as antisocial behavior, physical violence, and the need for isolation. The limitations of this study include the retrospective nature of the data and the limited sample size. Bhattacharya et al. [24] examined the opportunities and challenges of artificial intelligence (AI) applications for neuro-prediction and violence risk assessment in forensic psychiatry. Using secondary data analysis, this study addressed methods to predict potential violent and recidivist criminal behavior by combining neuroimaging with AI algorithms. ML models can be used to categorize individuals into low and high risk groups. Among the limitations of this study, ethical and legal concerns were highlighted; for example, risks such as algorithmic biases and privacy violations were noted. Srinivasan et al. [25] presented a novel method for improving SZH diagnosis using EEG data. Data were collected from a dataset of 81 participants (36 SZH and 22 healthy controls). The proposed method optimized EEG signal preprocessing and classification by integrating a deep learning architecture based on a Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) with a mutation-assisted Archimedean Optimization (MAO) algorithm. Performance metrics such as 98.2% accuracy, 97.2% F1 score, 98.9% sensitivity, and 98.5% precision were achieved. Chen et al. [26] investigated the discriminability of SZH, psychotic major depression (PMD), and non-psychotic major depression (NPMD) using resting-state EEG dynamic functional connectivity analysis. Their study included 579 participants (197 healthy controls, 152 NPMD, 45 PMD, and 185 SCZ patients), and static and dynamic functional connectivity features and classification algorithms were applied on EEG data. The dynamic functional connectivity model successfully distinguished the four groups with an accuracy of 73.1%, outperforming the static connectivity model, which achieved an accuracy of 49.3%. However, this study is limited by the small sample size for the PMD group and the heterogeneity resulting from single-center data. Zhou et al. [27] present a method to investigate methamphetamine abusers using EEG signals. Their study analyzed EEG signals from 18 female methamphetamine abusers and 22 healthy controls, focusing on P300 components for feature extraction. Their model achieved a classification accuracy of 83.85%. Pettorruso et al. [28] aimed to develop a machine learning-based system using EEG and clinical data for the treatment of refractory depression. This system, called SelecTool, aimed to determine personalized treatment options using clinical criteria together with data from EEG and biomarkers. In the first phase, 100 treatments of refractory depression patients were randomly assigned to esketamine nasal spray or accelerated repetitive transcranial magnetic stimulation treatments, and in the second phase, the model was validated with 20 participants. Preliminary results showed the potential of the model to improve treatment response rates. The limitations of this study are the small sample size and single-center data. Masuda et al. [29] aimed to classify human fear levels into four categories with a deep learning model based on EEG and environmental physiological signals. Multi-channel EEG and environmental physiological signals from the DEAP dataset were used and a Multi-Input CNN LSTM model was proposed. This model showed the highest performance with 98.79% accuracy and 99.01% F1 score. The limitation of the study is the imbalanced dataset and the effect of individual differences on classification performance. Baumgartl et al. [30] developed an ML model based on resting-state EEG data to detect antisocial personality disorder. EEG signals collected from 84 participants (42 healthy controls and 42 antisocial personality disorder patients) were divided into 99 frequency sub-bands and analyzed using the Random Forest algorithm. The model performed with 77.5% balanced accuracy, 80% sensitivity, and 75% specificity. The limitations of this study include the small sample size and the lack of validation with other mental disorders with similar symptoms. Dongen et al. [31] discussed the potential contributions and limitations of neuroscientific approaches in forensic psychiatry and psychology. The neurobiological bases of antisocial and criminal behavior, brain regions, neurotransmitters, hormones, and various factors such as genetic predisposition were examined. In particular, it was emphasized that functional disorders in brain regions such as the orbitofrontal cortex and amygdala and serotonin–testosterone imbalances are associated with antisocial behavior. The study also states that neuroscience can be used in risk assessment and interventions, but there are ethical and methodological problems in transferring group-level findings to individual judgments.

1.2. Literature Gaps

The identified gaps in the literature based on the surveyed literature are as follows:
  • Most research has focused on achieving high classification performance on EEG signal datasets [32]. To this end, deep learning (DL) architectures have been widely employed [33,34]. However, while DL models often achieve high accuracy, they come with drawbacks such as exponential time complexity and reliance on expensive hardware or cloud services, making them less suitable for lightweight intelligent applications [35]. This underscores the need for efficient and accurate feature engineering models [36].
  • In addition to classification performance, interpretability/explainability is a critical aspect that has received limited attention in the literature [36]. Despite advances in artificial intelligence, explainable artificial intelligence (XAI) methods remain underexplored, particularly in applications related to EEG signal processing.
  • There is a lack of AI-based psychotic criminal detection models in the literature.

1.3. Motivation and Study Outline

Individuals who commit crimes during psychotic episodes are defined as those diagnosed with a severe mental illness characterized by psychotic symptoms such as delusions or hallucinations, those who have been incarcerated for criminal behavior, are undergoing treatment in a high-security forensic psychiatric facility, or possess a documented history of criminal offenses [37,38]. The primary objective of this research is to investigate the brain structures of these individuals and address gaps in the existing literature. To fill the given gaps in the literature, a new EEG psychotic criminal dataset was curated because a publicly available EEG psychotic criminal dataset could not be found, and a ZPat-related explainable feature engineering (XFE) model was presented.
To address the first gap in the literature, a highly accurate feature engineering model was needed. Therefore, we were motivated to present a new generation channel-based feature extraction function, termed Zipper Pattern (ZPat). The presented ZPat extracts relationships between qualified channels, and its primary purpose is to extract the most meaningful features and capture hidden patterns. By deploying the proposed ZPat, a new XFE model was developed with a cognitive structure.
In the feature selection phase, an iterative feature selector was needed to capture the most informative features. Thus, iterative neighborhood component analysis (INCA) [39,40] was utilized. The INCA feature selector is a self-organized, distance-based feature selector. Based on the INCA, a highly accurate classifier was required. Therefore, an ensemble distance-based classifier, specifically a t-algorithm-based k-nearest neighbors (tkNN) [41], has been used to yield high classification performance. Since the tkNN classifier is a distance-based, self-organized classifier, the presented ZPat-based XFE model attained high and reliable classification performance using this cognitive approach.
To address the second gap, the DLob-based XAI method was integrated into the presented ZPat-based model. This integration converted the feature engineering model into an XFE model. Moreover, a DLob string and a DLob-related cortical connectome diagram were generated for psychotic criminal/criminal detection, and brain-based findings were extracted.
In the literature, there are limited psychiatry-related XAI works. To fill this gap, we curated a new EEG psychotic criminal detection dataset, and a ZPat-based XFE model was presented.

1.4. Innovations and Contributions

The innovations and contributions of the recommended work are listed below.
Innovations:
  • A new EEG psychotic criminal dataset was curated. In this regard, we have created a new testbed for psychotic criminal detection.
  • A new generation channel-based feature extraction function has been presented. The introduced feature extractor is termed ZPat.
  • A new ZPat-based XFE model has been developed.
  • To the best of our knowledge, the recommended ZPat-based XFE model is the first XFE model for psychotic criminal/criminal detection.
Contributions:
  • The presented ZPat-based XFE model has a cognitive structure designed to yield high classification accuracy. In this work, the model achieved over 95% classification accuracy with LORO and 10-fold CVs. Thus, the ZPat-based XFE model is a highly accurate feature engineering model with linear time complexity. In this respect, this research contributes to machine learning.
  • By integrating the DLob symbolic language, explainable results have been obtained from the identities of the selected features. A cortical connectome diagram has been generated using DLob. In this context, the introduced ZPat-based XFE model contributes to medical sciences, providing insights into the psychotic criminal/criminal brain by extracting a cortical map. Moreover, this model also contributes to forensic science.

2. Materials and Methods

2.1. Materials

To create a new testbed for psychotic criminal/criminal detection, an EEG dataset was curated. These EEG signals were collected from participants in two categories: (i) psychotic criminal and (ii) control. The psychotic criminal EEG signals were collected from individuals hospitalized in a high-security forensic psychiatric hospital. The control group was composed of non-criminal volunteers. To collect the signals, some mafia-related video content was shown to the participants. This dataset was collected from 130 participants. The EEG signals were collected over a longer duration for the control group. The dataset includes 37 (29 male + 8 female) healthy non-criminal controls and 27 psychotic criminals (25 male + 2 female). The age range of the control participants is 19 to 47, while the age range of the psychotic criminal participants is 22 to 59.
For the dataset collection process, an Emotiv Flex EEG cap was used. This brain cap has 32 channels, which are as follows: (i) Cz, (ii) Fz, (iii) Fp1, (iv) F7, (v) F3, (vi) FC1, (vii) C3, (viii) FC5, (ix) FT9, (x) T7, (xi) CP5, (xii) CP1, (xiii) P3, (xiv) P7, (xv) PO9, (xvi) O1, (xvii) Pz, (xviii) Oz, (xix) O2, (xx) PO10, (xxi) P8, (xxii) P4, (xxiii) CP2, (xxiv) CP6, (xxv) T8, (xxvi) FT10, (xxvii) FC6, (xxviii) C4, (xxix) FC2, (xxx) F4, (xxxi) F8, and (xxxii) Fp2. The sampling frequency of this brain cap is 256 Hz.
In this dataset, the duration of each EEG segment is 15 s. Consequently, the length of each EEG segment is 3840 × 32, where 32 refers to the number of channels. The distribution of the collected EEG psychotic criminal dataset is depicted in Table 1.
Table 1 demonstrates that the curated EEG psychotic criminal detection dataset is an unbalanced dataset.

2.2. Zipper Pattern

The essential objective of the recommended ZPat is to generate meaningful features from EEG signals and to obtain explainable results using the features generated by ZPat. Therefore, we have presented a new channel-based feature extractor, and the graphical overview of the recommended ZPat feature extractor is showcased in Figure 1.
To better clarify the recommended ZPat, the steps of this feature extractor have been given below.
Step 1: Generate overlapped channel matrices.
c m i = E E G i : i + 1 , j , i 1 ,   2 , , L 1 ,   j 1 ,   2 , , 32
where c m is the channel matrix with a size of 2 × 32, E E G is the curated psychotic criminal EEG signal, and L is the length of the EEG signal.
Step 2: Sort the channel matrix and obtain the qualified identities.
i d t i = a r g s o r t c m i : , t ,   t 1,2
where i d is the qualified indices in descending
Step 3: Compute three transition tables using the Zipper Pattern. Here, the main objective is to capture the differences of the channel ordering.
t t r = 0 0 0 0 , r 1,2 , 3
t t 1 i d 1 i a , i d 2 i a + 1 = t t 1 i d 1 i a , i d 2 i a + 1 + 1 ,   a 1,2 , , 31
t t 2 i d 2 i a , i d 1 i a + 1 = t t 2 i d 2 i a , i d 1 i a + 1 + 1
t t 3 i d 1 i b , i d 2 i b = t t 3 i d 1 i b , i d 2 i b + 1 , b 1,2 , , 32
Herein, t t is the transition table and three transition tables have been created in this step. Moreover, the size of each transition table is 32 × 32.
Step 4: Repeat steps 1–3 until the required number of matrices is reached, and complete the creation of these three transition tables for the EEG signal used.
Step 5: Concatenate the three generated transition tables in vector form.
f e a t g + 32 2 r 1 = t t r q , w , q , w 1,2 , , 32 , g 1,2 , , 32 2
where f e a t is the generated feature vector with a length of 3072 (=32 × 32 × 3).
The given five steps above have defined the introduced ZPat feature extractor.
The 2 × 32 matrix size represents the dimensions of the channel matrices created during the feature extraction process. Specifically, the ZPat feature extractor considers overlapping EEG channel pairs, generating matrices where the rows correspond to two consecutive channels and the columns represent the 32 EEG channels recorded from the cap, with 32 being the total number of channels. To minimize complexity, the feature extraction process is performed using the smallest possible matrix size. The method employs three transition matrices to capture different types of channel transitions. The first matrix extracts features by monitoring changes in the order of adjacent channels over time. The second matrix identifies features related to reverse-order transitions between channels. The third matrix encodes static relationships between paired channels. These transition matrices enable the creation of a richer and more comprehensive feature set. Specifically, temporal features capture changes in channel orderings, reflecting the dynamic structure of neural activity. Statistical features are naturally encoded within the transition matrices, including the frequency and probability of specific channel transitions. Additionally, ordering and transition-based coding captures nonlinear interactions between channels, which are often characteristic of complex brain activity.
In this context, the presented ZPat feature extractor transforms raw EEG signals into a compact and interpretable feature set. Each feature vector in this set includes channel information, and channel differences are easily computed. In this regard, the extracted feature set is well-suited for both machine learning and XAI applications.

2.3. The Recommended XFE Model

In this research, we have presented a new generation XFE model, with the major goal of obtaining both high classification accuracy and explainable results. To achieve this, we introduced a new cognitive approach for achieving high classification performance. Additionally, DLob [42] has been integrated into this model to provide explainable results related to psychotic criminal detection. The introduced ZPat-based XFE model generates valuable insights into the detection of the psychotic criminal brain. To better explain the presented ZPat-based XFE model, a graphical depiction of this model is shown in Figure 2.
Figure 2 clearly showcases that the presented ZPat-based XFE model has four phases. In the first phase, 3072 features are extracted from each EEG signal using the introduced ZPat feature extractor. In the feature selection phase, the most informative features are selected using the INCA feature selector, and these selected features are utilized to obtain both explainable and classification results. To obtain the classification results, the tkNN classifier is used, with the selected features serving as input. The last phase is the XAI generation phase, where the identities of the selected features are used to create a DLob string to generate explainable results. To better define the recommended ZPat-based XFE model, the definitions of this model are provided phase by phase below.
Phase 1 (Feature extraction with ZPat): Extract 3072 features from each EEG sample using the recommended ZPat feature extractor.
X n , 1 : 3072 = Z P a t E E G w , n { 1,2 , , D m }
Herein, X is the created feature matrix, Z P a t ( . ) is the introduced ZPat feature extractor, and D m is the number of EEG samples.
Phase 2 (INCA-based feature selection): Select the most meaningful features by deploying INCA feature selectors.
[ i n d , C X ] = I N C A X , y
Here, i n d are the indices of the selected features ( C X ), I N C A ( . ) is the INCA feature selection function, and y is the actual label.
The INCA feature selector was proposed by Tuncer et al. [39] in 2020. The primary objective of this model is to select the most informative features from the available features. Herein, the process involves NCA [43], a feature selection loop, evaluation of the selected features’ classification ability, and greedy algorithm-based selection of the best feature vector. The definitions of these steps are as follows.
In the first step, the qualified indices ( i x ) of the features have been computed by the NCA feature selector ( N C A ( . ) ).
i x = N C A ( X , y )
In the second step, a loop has been defined to apply the iterative feature selection process.
s f s s t a r t + 1 n , h = X n , i x h ,   s s t a r t , s t a r t + 1 , s t o p ,   h 1,2 , , s
where s f is the iteratively selected feature vector, s t a r t is the start value of the loop, and s t o p is the stop value of the loop.
In the third step, the classification accuracies of all selected feature vectors have been computed by deploying a classifier. For this research, a kNN classifier [44] has been utilized to compute the classification accuracies of the selected feature vectors.
c a u = k N N s f u , y ,   s 1 , , s t a r t + 1 , s t o p s t a r t + 1
Herein, c a is the classification accuracy and k N N ( . ) is the kNN classifier.
In the fourth (last) step, the best selected feature vector has been chosen as the final selected feature vector deploying the greedy algorithm [45].
s x = a r g m a x ( c a )
C X = s f s x
Above, the greedy algorithm has been defined and the maximum accurate selected feature vector has been chosen as the final selected feature vector. In this aspect, the recommended INCA feature selector is a self-organized feature selector.
The feature selection phase is a crucial step for both classification and the generation of explainable results. By using the selected features as input to the tkNN classifier, the classification results are generated. By linking the selected features to symbolic representations of the DLob, the model provides interpretable results. For example, it may indicate which brain regions are most active or how the hemispheric transitions contribute to psychotic criminal symptoms.
Phase 3 (Classification): Obtain the classification results by deploying the tkNN [41,46] classifier.
c o t = t k N N ( C X , y )
Herein, c o t is the classification output and t k N N ( . ) is the tkNN classifier. Two validation techniques have been used for obtaining classification results and these are (i) LORO CV and (ii) 10-fold CV. The used tkNN classifier has three steps as follows:
-
Parameter-based outcome generation: In this step, an iterative parameter changing has been applied to the kNN classifier and more than one parameter-based outcome has been generated. For this study, the changed parameters are (i) distances, (ii) weights, and (iii) k values. By changing these parameters, 60 parameter-based outcomes have been created.
-
Majority voting: in order to created voted results, iterative majority voting (IMV) [47] has been used and 58 voted outcomes has been created from the generated 60 outcomes.
-
Greedy algorithm: In this work, the generated 118 (=60 + 58) outcomes have been selected using the maximum classification accuracy. In this step, the maximum accurate outcome has been selected as the final outcome.
In these regards, kNN is straightforward and suitable for small-scale or less complex problems, while tkNN introduces iterative parameter tuning, voting, and optimization to obtain more powerful and reliable classifiers for complex datasets requiring higher accuracy and robustness. tkNN is the improved, ensemble, and iterative version of kNN.
Phase 4 (DLob-based XAI): Extract interpretable results by using the identities of the selected features and DLob [42] symbolic language.
s y g = i n d p 32 2 g   m o d   32 + 1 ,   g { 1,2 }
D l S c + g 1 = L U T s y g ( j ) , c { 1,3 , , s c 1 }  
where s y is the index value of the look-up-table (LUT) generated from the selected features, D l S is the generated DLob sequence, and s c is the symbol count. The used LUT has been defined below.
LUT: {Cz, Fz, FL, FL, FL, FLCL, CL, FLCL, FLTL, TL, CLPL, CLPL, PL, PL, PLOL, OL, Pz, Oz, OR, PROR, PR, PR, CRPR, CRPR, TR, FRTR, FRCR, CR, FRCR, FR, FR, FR}. This LUT has been defined using the channels of the 32-channel brain cap utilized in the study. As seen from the LUT, some channels are associated with two symbols. Therefore, each selected feature contains information corresponding to 2, 3, or 4 DLob symbols.
The phases described above define the presented ZPat-based XFE model for EEG signal classification.

3. Experimental Results

The results of the recommended ZPat-based XFE model are presented in this section. Firstly, to implement the recommended model, a simply configured laptop was utilized. The ZPat-based model was developed using the MATLAB (version 2024a) programming environment. Parallel programming and graphical/tensor processing units were not used to implement the model, as it was a lightweight model. For implementation, only the central processing unit (CPU) mode was used.
The recommended ZPat-based XFE model is a parametric model, and the parameters used are tabulated in Table 2.
By using these parameters, the presented ZPat-based XFE model has been implemented.
The first evaluation parameter is the time complexity. To evaluate the time complexity analysis, big O notation has been used and the time complexity analysis of the presented model is given below.
The ZPat feature extractor has been used to extract features and the time complexity of this extractor is O(L), where L defines the length of the EEG signal.
The INCA feature selector has used NCA, an iteration, and a kNN classifier. In this aspect, the time complexity of the INCA is equal to O(N + RK). Herein, N is the time complexity coefficient of the NCA feature selector, R is the range of the iteration, and K is the time complexity coefficient of the kNN classifier.
tkNN has been utilized as the main classifier. In this classifier, parameter-based and voted outcomes have been generated. At this point, the time complexity of the tkNN classifier is equal to O(PK + V), where P is the number of the parameters and V is the number of the voted outcomes.
In the last phase, DLob-based interpretable results are generated. To obtain the explainable results, a DLob string was created and it was generated using the selected features. Therefore, the time burden of this phase is computed as O(S). Herein, S is the number of the selected features.
In this aspect, the total time complexity of the presented ZPat-based XFE model is equal to O(L + N + RK + PK + V + S). This time burden demonstrates that the introduced ZPat-based model has linear time complexity.
In the first evaluation metric, the presented ZPat-based XFE model has linear time complexity. The second evaluation metric is the classification performance since we have presented an EEG signal classification model. In order to evaluate the classification performance of the recommended model, the commonly used classification performance evaluation metrics have been used and these are as follows: (i) classification accuracy, (ii) sensitivity, (iii) specificity, (iv) precision, (v) F1 score, and (vi) geometric mean. Moreover, 10-fold CV and LORO CV techniques have been utilized. To compute these classification metrics, two confusion matrices were computed and the computed confusion matrices are demonstrated in Figure 3.
Per Figure 3, the computed classification metrics have been listed in Table 3.
These results clearly demonstrate that the recommended model achieved over 90% accuracy for both validation techniques, with 10-fold CV attaining higher classification performance than LORO CV. In 10-fold CV, the same record’s EEG segment can be included in both training and testing, which may lead to higher classification results compared with LORO CV. However, due to the structure of the dataset, where the ’Psychotic Criminal’ class contains 93 records from 27 participants, there is potential confusion regarding the independence of EEG signals. To address this, we prioritized the LORO CV method, ensuring that EEG signals from the same participant were left out during validation to minimize overlap and evaluate the model’s robustness.
The third performance evaluation metric is the explainable results. To obtain interpretable results, a DLob sentence was created, and the information entropy and transition table of the generated DLob sentence were computed. The obtained DLob sentence is provided below.
The DLob sentence generated for psychotic criminal detection:
  • “FRFRFLFRCLCRPRFLCLFLFLCROzTRTROzOzOzCRFzPLFLFLPRPROzPRFLCLFLCLPzPRPLFzFLCLCLPLCLCLPLFLORCLOLFzFzCRPRCLPRPLCLPLPzPzOzPzPRFRFRFLPRORPLPLOzCLFLTLPLPLPROzCRCLPLFLCLPLFLCLCRPRCLPLCLCLFLPLOLTRCzFRCRFLFLFLFRCRPRORPLFLCzCzFLCLFLCLFRCRPRPzOzCLPLPzOzCLPRPLTLTLPLPRCRPRCLTLTLFLTLFLTLFRTRPLFLTLFRTRPRFRFRCLPLCLPLPRPzCRCRFLTLPLTLFLORCLTRTRFRTRPRFLFLPRPRFRFRFRCRFRCRPzPRFLCLTRFLTLPLPLOLPLOLPRPRCzCzFRCRFRCROzCRFRCRTLTRFLCLFLTLFLTLFLFRPzPzOzOzFLTLFRTRFLCLPLCRPRCLPLFzFLFRCRPRORTRTRCLPLFLCLFLCLCLPLOzPRTLFRFzPLCLPLCLFLCLFLCLFLPRORTLFLPRPLFLPLFLPLOLFRPRFLFLFzPLFLPLCLFLCRPRFLFLPLCzCzPRFzFRPRFLFLTLPLPRCLFRTRPzPzPRFLCLPLCLPLFRCRFLCLORFRFRPLPLFRTRFRTRFLPLFRCRFRFLPLPLFzFRTLPLPLFRTRFLTLCLFRTRFLCLFRFzFLCRPRFRFLTLFLFRFRPRFLFRCRTLFLTLFLPRPRFLCzFLCRPRTLTLFLPRFLTLFLFLFLFzFzCzFzFLCLFLCLFRFzPRFRFLCRPRPLFzFRFRORFLFzTRFRFzFLCLFRCRPRCLFRTRFLTLCLCRPRPLPLCLPLFLOLORFLCzCRPRCLCLPLCLPLCLPLCLPLCRPRCRPRFRCRPRFLCLFLCLCzTLTRFz”
By using the given DLob sentence above, we generated the histogram of the symbols, and from this histogram, the information entropy of the sentence was computed. The information entropy of this sentence was calculated as 3.4575 (close to the maximum entropy of 3.8074 = log214). This information entropy reflects the complex cortical activation involved in psychotic criminal detection. The interpretable results derived from the obtained DLob sentence are depicted in Figure 4.
According to Figure 4, the obtained findings are as follows. Figure 4a shows that the most frequently used symbol is the FL symbol. Moreover, the frontal, parietal, and central lobes are more active than other lobes.
Figure 4b,c highlight that the most frequent transition is between FL and CL (23 times).
Figure 4d demonstrates that the most frequently used hemisphere is the left hemisphere for psychotic criminal detection.

4. Discussion

The presented ZPat-based model was evaluated using three performance evaluation metrics. The first performance evaluation metric is time burden analysis, and the given time complexity computation demonstrated that the recommended model has linear time complexity. Moreover, this model was implemented using a simply configured laptop in CPU mode. In this regard, the recommended ZPat-based model can be integrated into lightweight embedded devices.
The second performance evaluation metric is classification performance, and two validation techniques, namely 10-fold CV and LORO CV, were utilized. By deploying these validation techniques, the robustness and reliability of the presented model were demonstrated. This model yielded classification accuracies of 99.95% and 96.12% with 10-fold CV and LORO CV, respectively. The introduced ZPat-based model achieved high classification accuracy due to its self-organized nature, as both the INCA feature selector and tkNN classifier are self-organized ML methods. INCA selects the best option (selected feature vector) from 401 selected feature vectors, and tkNN chooses the best outcome from the 118 generated outcomes.
To demonstrate the superiority of the presented classification model (ZPat + INCA + tkNN), we compared the tkNN classifier with the LSTM classifier, and the results for this dataset are shown in Figure 5.
Figure 5 showcases that the tkNN classifier outperforms the LSTM classifier (a deep classifier), as the tkNN classifier achieved classification accuracies of 99.95% and 96.12% for 10-fold CV and LORO CV, respectively, while the LSTM deep classifier achieved accuracies of 99.44% and 95.45% for 10-fold CV and LORO CV, respectively. In this regard, the shallow tkNN classifier attained higher classification performance than the deep classifier for this model.
Here (see Figure 5), the LSTM classifier is a deep classifier and achieved high classification performance, while the tkNN classifier is an iterative, ensemble, and self-organized classifier. The tkNN classifier generates multiple outcomes and can automatically select the best outcome. In this regard, the tkNN classifier attained higher classification performance than LSTM, clearly demonstrating that a shallow classifier can outperform a deep classifier by utilizing the t-algorithm.
The third performance evaluation metric is the DLob-based interpretable results generation. A DLob string has been generated for psychotic criminal detection. The explanation of the generated DLob string has been analyzed below.
The sequence begins with repeated activations of the Fz and Cz symbols, indicating sustained attention and hemisphere transitions. Subsequent activations of the CL and PL symbols indicate readiness for responses to sensory information and lobe transitions. The frequency of FL activations suggests the prevalence of logical reasoning processes. The pattern of alternating activations between these regions reflects the dynamic interaction between attention, sensory processing, interhemispheric transitions, and logical reasoning.
In the context of psychology, the resulting DLob sequence can be interpreted in terms of abnormalities observed in these regions. For example, dysfunction in the frontal lobe (FL) may be associated with impaired executive functions and decision-making [48]. Changes in the parietal lobe (PL) suggest that sensory integration and spatial awareness may be affected [49]. Abnormalities in the temporal lobe (TL) may be linked to auditory hallucinations and memory impairments [50]. Central regions (Cz and CL) are crucial for representing transitions, and their dysfunctions may reflect abnormalities associated with psychotic criminal disorders [51]. Therefore, the dominance and interaction of these regions in the sequence may indicate underlying neural mechanisms related to psychotic criminal symptoms.
Moreover, the frequent transitions in the left hemisphere suggest that tasks such as language, logic, mathematics, analytical thinking, verbal memory, sequencing, and planning may be affected.
To demonstrate the success of the presented ZPat-driven model, we compared it to state-of-the-art (SOTA) models, and the comparative results are shown in Table 4.
There are various methods in the literature for classifying psychiatric disorder cases using EEG signals. Sadi Md. Redwan et al. [55] achieved 95.51% accuracy in classifying first episode psychosis patients using PSD analysis and ML methods, but the generalizability of their results was limited due to the limited sample size and lack of anatomical data. Similarly, Ko et al. [52] achieved 93.20% accuracy rates using EEG time series transformations but had difficulties in generalization capacity due to limited data sources and the small sample size. Working on a more homogeneous population, Nsugbe et al. [53] achieved 98.30% accuracy with CNN-based methods; however, factors such as the limited age range and small sample size negatively affected the generalizability of the findings. Ravan et al. [56], working on a larger dataset, classified various psychiatric disorders with 94.17% accuracy. However, limitations such as the use of the DSM III R diagnostic system and the inability to fully examine the effects of age and smoking were among the limitations of this study. Benli et al. [54] achieved an accuracy rate of 96.23% using a ciSSA-based feature extraction method and this method provided a significant success in first episode psychosis classification. However, the high computational cost and limited population diversity reduced the generalization potential of the study. Our ZPat-based XFE model provides superior results compared with these studies in the literature. Our model achieves 99.95% accuracy with 10-fold CV and 96.12% accuracy with LORO CV, surpassing the classification achievements of other studies. In particular, the proposed ZPat feature extraction method and the tkNN classifier achieved high performance by extracting meaningful features from EEG signals. Another prominent aspect of our model is the cortical and hemispheric connectivity diagrams obtained with the DLob symbolic language. This approach not only improved the classification accuracy, but also ensured the explainability of the classification process. In this respect, our study provides not only a classification tool but also an important method for understanding brain activity. Although high accuracy rates are often reported in the literature, studies have not focused enough on the explainability of the classification process. Although Nsugbe et al. [53] obtained high accuracy rates in their study, they did not analyze the explainability of the results or the interpretation of the brain activities underlying these results. Similarly, although the ciSSA-based study of Benli et al. [54] provided high accuracy, no emphasis was placed on the explainability of the classification process. In our study, the DLob-based explainable artificial intelligence (XAI) approach detected activation patterns in the frontal, parietal, and central lobes and showed that these activations overlap with aspects of psychosis associated with criminal behavior. Furthermore, the entropy value of the DLobe string was calculated as 3.4575, demonstrating the ability of our model to represent complex neural activation patterns. In conclusion, our ZPat-based XFE model differs from other works in the literature in terms of both classification performance and explainability. This work not only offers an innovative approach to ML and signal processing methods using EEG signals, but also provides a broad application potential in forensics, neuroscience, and psychiatry. In these aspects, the ZPat-based XFE model is a strong candidate for both academic research and practical applications.
Per the comparative results, the recommended ZPat-driven model achieved satisfactory classification results. Moreover, the recommended model provided interpretable results.
The most important points (findings and advantages) of this research are as follows:
-
A new channel-based feature extractor, ZPat, has been presented in this research.
-
By integrating INCA, tkNN, and DLob into the presented ZPat, a new XFE model has been developed.
-
The recommended ZPat-based XFE model is a lightweight model as it has linear time complexity.
-
In this research, two validation techniques were used in the classification phase: 10-fold CV and LORO CV.
-
The introduced ZPat-driven XFE model achieved over 95% classification accuracy, attaining 99.95% with 10-fold CV and 96.64% with LORO CV. This high performance is attributed to the self-organized nature of the model, which utilizes the INCA selector and tkNN classifier.
-
We compared the performance of the tkNN classifier with LSTM (a deep classifier), and tkNN attained higher classification accuracy than LSTM.
-
A DLob string was generated in this research. By deploying this string, cortical and hemispheric connectome diagrams were created to provide interpretable results.
-
The information entropy of the DLob string (3.4575 out of a maximum of 3.8074) reflected the complex neural activation patterns involved in psychotic criminal detection.
-
According to the DLob string, the frontal, central, and parietal lobes were the most commonly activated lobes. Central lobe activations implied hemisphere transitions, coordination of muscle movements, and planning of complex movements. Frontal lobe activation was associated with impaired executive functions and decision making. Parietal lobe activity indicated altered sensory integration and spatial awareness.
-
The left hemisphere was the most activated hemisphere for psychotic criminal detection. Dominance of the left hemisphere reflected challenges in language, logic, mathematics, verbal memory, and planning tasks.
Limitations:
-
The gathered dataset was collected from a single medical center and includes 64 participants with 4098 EEG segments. The EEG brain cap used has 32 channels. In this regard, a more diverse and larger dataset could be collected.
-
The introduced ZPat-driven model can be implemented on other EEG datasets to demonstrate its general classification ability.
Future works:
-
Collaboration with more medical centers is being planned to collect larger and more diverse EEG datasets.
-
The presented ZPat-driven XFE model will be tested on other EEG datasets to demonstrate the general classification ability of the model.
-
New generation EEG abnormality detection assistants can be developed using the recommended ZPat-based XFE model.
-
The presented model can be integrated into EEG devices to automatically create cortical and hemispheric connectome diagrams, simplifying the translation of EEG signals.
-
New neuro digital forensic systems will be developed to extract behavioral analyses based on brain mapping by utilizing the recommended ZPat-driven XFE model.

5. Conclusions

This work showcased the efficacy of the ZPat-based XFE model for psychotic criminal detection using EEG signals. The recommended ZPat feature extractor enabled the model to generate 3072 informative features from each EEG segment, capturing meaningful relationships between channels. By utilizing INCA for feature selection and a tkNN classifier, the model provided a lightweight and self-organized approach for EEG signal classification. The presented model yielded a classification accuracy of 99.95% with 10-fold CV and 96.12% with LORO CV. The obtained high classification performances have showcased reliable performance of this model.
This EEG signal approach combined with the DLob symbolic language to create cortical and hemispheric connectome diagrams offered explainable results/insights into brain activity. The model revealed activation patterns primarily in the frontal, central, and parietal lobes, with the left hemisphere being most active. These findings align with psychotic symptoms related to impaired executive functions, altered sensory integration, and logical reasoning processes. The information entropy of the DLob string was calculated as 3.4575 (close to the maximum entropy of 3.8074), and this reflects the complex neural activation patterns underlying psychotic criminal behavior.
The proposed ZPat-driven XFE model contributes to multiple fields, including machine learning, neuroscience, and forensic sciences, by addressing the need for interpretable and accurate EEG-based classification systems. This research is directly related to forensics and serves as a pioneering effort in neuro digital forensics. Its ability to extract explainable results through DLob enhances its utility in understanding psychotic criminal behavior while offering potential for integration into lightweight embedded EEG systems.

Author Contributions

Conceptualization, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; methodology, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; software, S.D. and T.T.; validation, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; formal analysis, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; investigation G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; resources, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; data curation, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; writing—original draft preparation, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; writing—review and editing, P.D.B., I.T., S.D. and T.T.; visualization, G.T., P.D.B., D.T., T.K., S.T., I.S., S.K., K.Y., Y.T., B.T., F.O., N.G., I.T., S.D. and T.T.; supervision, T.T.; project administration, T.T. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the TEKF.24.49 and TEKF.23.56 project fund provided by the Scientific Research Projects Coordination Unit of Firat University.

Institutional Review Board Statement

This study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board (Non-Invasive Ethics Committee) of Firat University (protocol code 2024/12–22, 11 September 2024). Informed consent to participation and publication was obtained from all of the participants.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The authors are committed to making the data available if requested by the journal.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Verdolini, N.; Pacchiarotti, I.; Köhler, C.A.; Reinares, M.; Samalin, L.; Colom, F.; Tortorella, A.; Stubbs, B.; Carvalho, A.F.; Vieta, E.; et al. Violent criminal behavior in the context of bipolar disorder: Systematic review and meta-analysis. J. Affect. Disord. 2018, 239, 161–170. [Google Scholar] [CrossRef]
  2. Winstok, Z.; Sowan-Basheer, W. Does psychological violence contribute to partner violence research? A historical, conceptual and critical review. Aggress. Violent Behav. 2015, 21, 5–16. [Google Scholar] [CrossRef]
  3. Bravo-Queipo-de-Llano, B.; Sainz, T.; Sáez, C.D.; Miras, E.B.; Barriocanal, M.B.; Olmo, J.A.C.; Martori, A.F.; Baranda, A.G. Violence as a Health Problem. An. Pediatría 2024, 100, 202–211. [Google Scholar] [CrossRef] [PubMed]
  4. Latalova, K.; Kamaradova, D.; Prasko, J. Suicide in bipolar disorder: A review. Psychiatr. Danub. 2014, 26, 108–114. [Google Scholar] [PubMed]
  5. Schanda, H.; Stompe, T.; Ortwein-Swoboda, G. Increasing criminality in patients with schizophrenia: Fiction, logical consequence or avoidable side effect of the mental health reforms? Neuropsychiatr. Klin. Diagn. Ther. Rehabil. Organ Ges. Osterr. Nervenarzte Psychiater 2010, 24, 170–181. [Google Scholar]
  6. Kirkbride, J.B.; Anglin, D.M.; Colman, I.; Dykxhoorn, J.; Jones, P.B.; Patalay, P.; Pitman, A.; Soneson, E.; Steare, T.; Wright, T.; et al. The social determinants of mental health and disorder: Evidence, prevention and recommendations. World Psychiatry 2024, 23, 58–90. [Google Scholar] [CrossRef] [PubMed]
  7. Paulino, A.; Kuja-Halkola, R.; Fazel, S.; Sariaslan, A.; Du Rietz, E.; Lichtenstein, P.; Brikell, I. Post-traumatic stress disorder and the risk of violent crime conviction in Sweden: A nationwide, register-based cohort study. Lancet Public Health 2023, 8, e432–e441. [Google Scholar] [CrossRef] [PubMed]
  8. Khare, S.K.; March, S.; Barua, P.D.; Gadre, V.M.; Acharya, U.R. Application of data fusion for automated detection of children with developmental and mental disorders: A systematic review of the last decade. Inf. Fusion 2023, 99, 101898. [Google Scholar] [CrossRef]
  9. Tully, J.; Hafferty, J.; Whiting, D.; Dean, K.; Fazel, S. Forensic mental health: Envisioning a more empirical future. Lancet Psychiatry 2024, 11, 934–942. [Google Scholar] [CrossRef] [PubMed]
  10. Thapar, A. Parents and genes and their effects on alcohol, drugs, and crime in triparental families. Am. J. Psychiatry 2015, 172, 508–509. [Google Scholar] [CrossRef] [PubMed]
  11. Caruso, R.; Antenora, F.; Riba, M.; Belvederi Murri, M.; Biancosino, B.; Zerbinati, L.; Grassi, L. Aggressive behavior and psychiatric inpatients: A narrative review of the literature with a focus on the European experience. Curr. Psychiatry Rep. 2021, 23, 29. [Google Scholar] [CrossRef] [PubMed]
  12. Ben-Zeev, D.; Scherer, E.A.; Brian, R.M.; Mistler, L.A.; Campbell, A.T.; Wang, R. Use of multimodal technology to identify digital correlates of violence among inpatients with serious mental illness: A pilot study. Psychiatr. Serv. 2017, 68, 1088–1092. [Google Scholar] [CrossRef] [PubMed]
  13. Rozel, J.S.; Mulvey, E.P. The link between mental illness and firearm violence: Implications for social policy and clinical practice. Annu. Rev. Clin. Psychol. 2017, 13, 445–469. [Google Scholar] [CrossRef]
  14. Mahato, S.; Paul, S. Classification of depression patients and normal subjects based on electroencephalogram (EEG) signal using alpha power and theta asymmetry. J. Med. Syst. 2020, 44, 28. [Google Scholar] [CrossRef]
  15. Dev, A.; Roy, N.; Islam, M.K.; Biswas, C.; Ahmed, H.U.; Amin, M.A.; Sarker, F.; Vaidyanathan, R.; Mamun, K.A. Exploration of EEG-based depression biomarkers identification techniques and their applications: A systematic review. IEEE Access 2022, 10, 16756–16781. [Google Scholar] [CrossRef]
  16. Tasci, G.; Loh, H.W.; Barua, P.D.; Baygin, M.; Tasci, B.; Dogan, S.; Tuncer, T.; Palmer, E.E.; Tan, R.-S.; Acharya, U.R. Automated accurate detection of depression using twin Pascal’s triangles lattice pattern with EEG Signals. Knowl. Based Syst. 2023, 260, 110190. [Google Scholar] [CrossRef]
  17. Yun, S. Advances, challenges, and prospects of electroencephalography-based biomarkers for psychiatric disorders: A narrative review. J. Yeungnam Med. Sci. 2024, 41, 261–268. [Google Scholar] [CrossRef] [PubMed]
  18. Khodayari-Rostamabad, A.; Reilly, J.P.; Hasey, G.; Debruin, H.; MacCrimmon, D. Diagnosis of psychiatric disorders using EEG data and employing a statistical decision model. In Proceedings of the 2010 Annual International Conference of the IEEE Engineering in Medicine and Biology, Buenos Aires, Argentina, 31 August–4 September 2010; pp. 4006–4009. [Google Scholar] [CrossRef]
  19. Yasin, S.; Hussain, S.A.; Aslan, S.; Raza, I.; Muzammel, M.; Othmani, A. EEG based Major Depressive disorder and Bipolar disorder detection using Neural Networks: A review. Comput. Methods Programs Biomed. 2021, 202, 106007. [Google Scholar] [CrossRef] [PubMed]
  20. Siuly, S.; Khare, S.K.; Bajaj, V.; Wang, H.; Zhang, Y. A computerized method for automatic detection of schizophrenia using EEG signals. IEEE Trans. Neural Syst. Rehabil. Eng. 2020, 28, 2390–2400. [Google Scholar] [CrossRef] [PubMed]
  21. van Dongen, J.D.; Haveman, Y.; Sergiou, C.S.; Choy, O. Neuroprediction of violence and criminal behavior using neuro-imaging data: From innovation to considerations for future directions. Aggress. Violent Behav. 2024, 80, 102008. [Google Scholar] [CrossRef]
  22. Park, S.M.; Jeong, B.; Oh, D.Y.; Choi, C.-H.; Jung, H.Y.; Lee, J.-Y.; Lee, D.; Choi, J.-S. Identification of major psychiatric disorders from resting-state electroencephalography using a machine learning approach. Front. Psychiatry 2021, 12, 707581. [Google Scholar] [CrossRef] [PubMed]
  23. Machetanz, L.; Huber, D.; Lau, S.; Kirchebner, J. Model building in forensic psychiatry: A machine learning approach to screening offender patients with SSD. Diagnostics 2022, 12, 2509. [Google Scholar] [CrossRef] [PubMed]
  24. Bhattacharya, R.; Khan, A. Artificial intelligence in forensic psychiatry: Admissibility and relevance before courts. Int. J. Syst. Assur. Eng. Manag. 2024, 15, 1638–1649. [Google Scholar] [CrossRef]
  25. Srinivasan, S.; Johnson, S.D. A novel approach to schizophrenia Detection: Optimized preprocessing and deep learning analysis of multichannel EEG data. Expert Syst. Appl. 2024, 246, 122937. [Google Scholar] [CrossRef]
  26. Chen, H.; Lei, Y.; Li, R.; Xia, X.; Cui, N.; Chen, X.; Liu, J.; Tang, H.; Zhou, J.; Huang, Y.; et al. Resting-state EEG dynamic functional connectivity distinguishes non-psychotic major depression, psychotic major depression and schizophrenia. Mol. Psychiatry 2024, 29, 1088–1098. [Google Scholar] [CrossRef] [PubMed]
  27. Zhou, H.; Zhang, J.; Gao, J.; Zeng, X.; Min, X.; Zhan, H.; Zheng, H.; Hu, H.; Yang, Y.; Wei, S. Identification of Methamphetamine Abusers Can Be Supported by EEG-Based Wavelet Transform and BiLSTM Networks. Brain Topogr. 2024, 37, 1217–1231. [Google Scholar] [CrossRef]
  28. Pettorruso, M.; Di Lorenzo, G.; Benatti, B.; d’Andrea, G.; Cavallotto, C.; Carullo, R.; Mancusi, G.; Di Marco, O.; Mammarella, G.; D’Attilio, A.; et al. Overcoming treatment-resistant depression with machine-learning based tools: A study protocol combining EEG and clinical data to personalize glutamatergic and brain stimulation interventions (SelecTool Project). Front. Psychiatry 2024, 15, 1436006. [Google Scholar] [CrossRef] [PubMed]
  29. Masuda, N.; Yairi, I.E. Multi-Input CNN-LSTM deep learning model for fear level classification based on EEG and peripheral physiological signals. Front. Psychol. 2023, 14, 1141801. [Google Scholar] [CrossRef] [PubMed]
  30. Baumgartl, H.; Dikici, F.; Sauter, D.; Buettner, R. Detecting Antisocial Personality Disorder Using a Novel Machine Learning Algorithm Based on Electroencephalographic Data. In Proceedings of the PACIS 2020 Proceedings: 24th Pacific Asia Conference on Information Systems, Dubai, United Arab Emirates, 20–24 June 2020; Volume 48, pp. 1–14. [Google Scholar]
  31. van Dongen, J.D.; Franken, I.H. Neuroscience in forensic psychiatry and psychology: An introduction to the special issue. Int. J. Forensic Ment. Health 2019, 18, 179–186. [Google Scholar] [CrossRef]
  32. Sharma, R.; Meena, H.K. Emerging Trends in EEG Signal Processing: A Systematic Review. SN Comput. Sci. 2024, 5, 415. [Google Scholar] [CrossRef]
  33. Bengio, Y. Deep learning of representations for unsupervised and transfer learning. In Proceedings of the ICML Workshop on Unsupervised and Transfer Learning, Bellevue, WA, USA, 2 July 2011; JMLR Inc.: New York, NY, USA, 2012; pp. 17–36. [Google Scholar]
  34. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
  35. Khamparia, A.; Singh, K.M. A systematic review on deep learning architectures and applications. Expert Syst. 2019, 36, e12400. [Google Scholar] [CrossRef]
  36. Malakouti, S.M. Heart disease classification based on ECG using machine learning models. Biomed. Signal Process. Control 2023, 84, 104796. [Google Scholar] [CrossRef]
  37. Tuninger, E.E.; Levander, S.; Bernce, R.; Johansson, G. Criminality and aggression among psychotic in-patients: Frequency and clinical correlates. Acta Psychiatr. Scand. 2001, 103, 294–300. [Google Scholar] [CrossRef] [PubMed]
  38. Hodgins, S.; Calem, M.; Shimel, R.; Williams, A.; Harleston, D.; Morgan, C.; Dazzan, P.; Fearon, P.; Morgan, K.; Lappin, J.; et al. Criminal offending and distinguishing features of offenders among persons experiencing a first episode of psychosis. Early Interv. Psychiatry 2011, 5, 15–23. [Google Scholar] [CrossRef] [PubMed]
  39. Tuncer, T.; Dogan, S.; Özyurt, F.; Belhaouari, S.B.; Bensmail, H. Novel Multi Center and Threshold Ternary Pattern Based Method for Disease Detection Method Using Voice. IEEE Access 2020, 8, 84532–84540. [Google Scholar] [CrossRef]
  40. Dogan, S.; Baygin, M.; Tasci, B.; Loh, H.W.; Barua, P.D.; Tuncer, T.; Tan, R.-S.; Acharya, U.R. Primate brain pattern-based automated Alzheimer’s disease detection model using EEG signals. Cogn. Neurodyn. 2023, 17, 647–659. [Google Scholar] [CrossRef] [PubMed]
  41. Tuncer, T.; Dogan, S.; Tasci, I.; Baygin, M.; Barua, P.D.; Acharya, U.R. Lobish: Symbolic Language for Interpreting Electroencephalogram Signals in Language Detection Using Channel-Based Transformation and Pattern. Diagnostics 2024, 14, 1987. [Google Scholar] [CrossRef] [PubMed]
  42. Tuncer, T.; Dogan, S.; Baygin, M.; Tasci, I.; Mungen, B.; Tasci, B.; Barua, P.D.; Acharya, U. Directed Lobish-based explainable feature engineering model with TTPat and CWINCA for EEG artifact classification. Knowl. Based Syst. 2024, 305, 112555. [Google Scholar] [CrossRef]
  43. Goldberger, J.; Hinton, G.E.; Roweis, S.; Salakhutdinov, R.R. Neighbourhood components analysis. Adv. Neural Inf. Process. Syst. 2004, 17, 513–520. [Google Scholar]
  44. Maillo, J.; Ramírez, S.; Triguero, I.; Herrera, F. kNN-IS: An Iterative Spark-based design of the k-Nearest Neighbors classifier for big data. Knowl. Based Syst. 2017, 117, 3–15. [Google Scholar] [CrossRef]
  45. Zhang, Z.; Schwartz, S.; Wagner, L.; Miller, W. A greedy algorithm for aligning DNA sequences. J. Comput. Biol. 2000, 7, 203–214. [Google Scholar] [CrossRef]
  46. Dogan, S.; Tuncer, T.; Barua, P.D.; Acharya, U.R. Automated EEG-based language detection using directed quantum pattern technique. Appl. Soft. Comput. 2024, 7, 112301. [Google Scholar] [CrossRef]
  47. Dogan, A.; Akay, M.; Barua, P.D.; Baygin, M.; Dogan, S.; Tuncer, T.; Dogru, A.H.; Acharya, U.R. PrimePatNet87: Prime pattern and tunable q-factor wavelet transform techniques for automated accurate EEG emotion recognition. Comput. Biol. Med. 2021, 138, 104867. [Google Scholar] [CrossRef] [PubMed]
  48. Goldman-Rakic, P.S. Cellular basis of working memory. Neuron 1995, 14, 477–485. [Google Scholar] [CrossRef]
  49. Critchley, H.D.; Wiens, S.; Rotshtein, P.; Öhman, A.; Dolan, R.J. Neural systems supporting interoceptive awareness. Nat. Neurosci. 2004, 7, 189–195. [Google Scholar] [CrossRef] [PubMed]
  50. Hugdahl, K.; Løberg, E.-M.; Specht, K.; Steen, V.M.; van Wageningen, H.; Jørgensen, H.A. Auditory hallucinations in schizophrenia: The role of cognitive, brain structural and genetic disturbances in the left temporal lobe. Front. Hum. Neurosci. 2008, 2, 131. [Google Scholar] [CrossRef] [PubMed]
  51. Andreasen, N.C.; Paradiso, S.; O’Leary, D.S. “Cognitive dysmetria” as an integrative theory of schizophrenia: A dysfunction in cortical-subcortical-cerebellar circuitry? Schizophr. Bull. 1998, 24, 203–218. [Google Scholar] [CrossRef] [PubMed]
  52. Ko, D.-W.; Yang, J.-J. EEG-Based Schizophrenia Diagnosis through Time Series Image Conversion and Deep Learning. Electronics 2022, 11, 2265. [Google Scholar] [CrossRef]
  53. Nsugbe, E.; Samuel, O.W.; Asogbon, M.G.; Li, G. Intelligence Combiner: A Combination of Deep Learning and Handcrafted Features for an Adolescent Psychosis Prediction using EEG Signals. In Proceedings of the 2022 IEEE International Workshop on Metrology for Industry 4.0 & IoT (MetroInd4.0&IoT), Trento, Italy, 7–9 June 2022; pp. 92–97. [Google Scholar] [CrossRef]
  54. Gengeç Benli, Ş. Classification of First-Episode Psychosis with EEG Signals: ciSSA and Machine Learning Approach. Biomedicines 2023, 11, 3223. [Google Scholar] [CrossRef]
  55. Redwan, S.M.; Uddin, M.P.; Ulhaq, A.; Sharif, M.I.; Krishnamoorthy, G. Power spectral density-based resting-state EEG classification of first-episode psychosis. Sci. Rep. 2024, 14, 15154. [Google Scholar] [CrossRef] [PubMed]
  56. Ravan, M.; Noroozi, A.; Sanchez, M.M.; Borden, L.; Alam, N.; Flor-Henry, P.; Colic, S.; Khodayari-Rostamabad, A.; Minuzzi, L.; Hasey, G. Diagnostic deep learning algorithms that use resting EEG to distinguish major depressive disorder, bipolar disorder, and schizophrenia from each other and from healthy volunteers. J. Affect. Disord. 2024, 346, 285–298. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The schematic overview of the recommended ZPat feature extractor.
Figure 1. The schematic overview of the recommended ZPat feature extractor.
Diagnostics 15 00154 g001
Figure 2. The schematic overview of the presented ZPat-based XFE model.
Figure 2. The schematic overview of the presented ZPat-based XFE model.
Diagnostics 15 00154 g002
Figure 3. The computed confusion matrices with (a) 10-fold CV and (b) LORO CV. Herein, 1: Psychotic criminal, 2: Control.
Figure 3. The computed confusion matrices with (a) 10-fold CV and (b) LORO CV. Herein, 1: Psychotic criminal, 2: Control.
Diagnostics 15 00154 g003
Figure 4. The explainable results. (a) Histogram of the symbols. (b) Transition table of the symbols. (c) Cortical connectome diagram. (d) Hemispheric cortical diagram.
Figure 4. The explainable results. (a) Histogram of the symbols. (b) Transition table of the symbols. (c) Cortical connectome diagram. (d) Hemispheric cortical diagram.
Diagnostics 15 00154 g004
Figure 5. Comparison of the LSTM and tkNN classifier.
Figure 5. Comparison of the LSTM and tkNN classifier.
Diagnostics 15 00154 g005
Table 1. The distribution of the collected dataset.
Table 1. The distribution of the collected dataset.
Class(1) Psychotic Criminal(2) ControlTotal/Overall
Number of EEG segments135027484098
Number of records9337130
Number of participants27 (=25 M + 2 F)37 (=29 M + 8 F)64 (=54 M + 10 F)
Age rangefrom 19 to 47from 22 to 59from 19 to 59
M: male, F: female.
Table 2. The parameters of the presented ZPat-based XFE model.
Table 2. The parameters of the presented ZPat-based XFE model.
PhaseMethodParameters
Feature extractionZPatSize of the vector: 2 × 32,
Number of transition tables: 3,
Size of each transition table: 32 × 32,
Number of generated features: 3072.
Feature selectionINCANumber of selected feature vectors: 401 (=500 − 100 + 1)
Classification accuracy generator: kNN classifier
Final feature vector selection method: maximum classification accuracy (greedy algorithm)
Length of the final selected feature vector: 174.
ClassificationtkNNDistance metrics: L1 and L2 norms,
Weights: Inverse, Equal, and Squared inverse.
k values: 1–10,
Number of generated parameter-based outcomes: 60,
Validation methods: 10-fold CV and LORO CV,
Number of generated voted outcomes: 58,
Total outcomes: 118,
Voting function: iterative majority voting (IMV),
Selection of the final feature vector: outcome with maximum classification accuracy (greedy algorithm),
Parameters of IMV:
Ordering: classification accuracy in descending order,
Voting function: mode,
Loop range: from 3 to 60,
Number of generated outcomes: 58 (=60 − 3 + 1).
XAIDLobNumber of unique DLob symbols used: 15,
Length of the generated DLob string: 446 DLob symbols,
Statistical methods: transition table and information entropy.
Table 3. The classification results (%) of the introduced ZPat-based XFE model.
Table 3. The classification results (%) of the introduced ZPat-based XFE model.
Metric10-Fold CVLORO CV
Accuracy99.9596.12
Sensitivity/recall99.8597.11
Specificity10095.63
Precision10091.61
F1 score99.9394.28
Geometric mean99.9396.37
Table 4. The comparative results.
Table 4. The comparative results.
ResearchMethodType of Data UsedSample SizeResults (%)
Ko et al. (2022) [52]EEG Time Series Conversion; Gramian Angular Field (GAF); Recurrence Plot (RP); CNNEEG (9 channels, N100 stimulus)81 participants (49 SZH, 32 controls)GAF:
accuracy 93.20, sensitivity 93.90, specificity 92.10
RP:
accuracy 90.00, sensitivity 90.9, specificity 88.60
Nsugbe et al. (2022) [53]EEG; Spectrogram and Scalogram transformations; CNN (SqueezeNet, AlexNet, ResNet18); Handcrafted FeaturesEEG (60 s, 128 Hz)20 participants (10 SZH, 10 controls)Accuracy: 98.30
Benli et al. (2023) [54]ciSSA (Circulant Singular Spectrum Analysis), SVM, ANN, Ensemble MethodsResting-state EEG (64 channels, 3 min, 250 Hz)138 participants (78 first episode psychosis, 60 controls)Accuracy: 96.23,
recall: 96.60, specificity: 95.60,
F1 Score: 96.66
Redwan et al. (2024) [55]ML methods (Random Forest, GPC, SVM, MLP, AdaBoost); PSD analysisResting-state EEG signals72 subjects (44 first episode psychosis patients, 28 controls)Accuracy: 95.51, recall: 95.30,
Specificity: 95.78, F1 Score: 95.26
Ravan et al. (2024) [56]Resting-state EEG, ReLORETA, Deep Learning Algorithms (3D CNN)Resting EEG (256 Hz, 10 20 electrode positions)409 participants (105 MDD, 27 MDD A, 35 MDD P, 71 BD DE, 49 BD ME, 122 SCZ, 239 healthy controls)Average accuracy: 94.17 (between HC and psychiatric disorders);
93.99 (pairwise classification among disorders).
Our methodZPat-based XFE Model, INCA Feature Selection, tkNN Classifier, DLob Explainable AIEEG (32 channel, 15 s segments, 256 Hz)64 participants (27 psychotic criminals, 37 controls)(10-fold CV), Accuracy: 99.95
(LORO CV).
Accuracy: 96.12
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tasci, G.; Barua, P.D.; Tanko, D.; Keles, T.; Tas, S.; Sercek, I.; Kaya, S.; Yildirim, K.; Talu, Y.; Tasci, B.; et al. Zipper Pattern: An Investigation into Psychotic Criminal Detection Using EEG Signals. Diagnostics 2025, 15, 154. https://doi.org/10.3390/diagnostics15020154

AMA Style

Tasci G, Barua PD, Tanko D, Keles T, Tas S, Sercek I, Kaya S, Yildirim K, Talu Y, Tasci B, et al. Zipper Pattern: An Investigation into Psychotic Criminal Detection Using EEG Signals. Diagnostics. 2025; 15(2):154. https://doi.org/10.3390/diagnostics15020154

Chicago/Turabian Style

Tasci, Gulay, Prabal Datta Barua, Dahiru Tanko, Tugce Keles, Suat Tas, Ilknur Sercek, Suheda Kaya, Kubra Yildirim, Yunus Talu, Burak Tasci, and et al. 2025. "Zipper Pattern: An Investigation into Psychotic Criminal Detection Using EEG Signals" Diagnostics 15, no. 2: 154. https://doi.org/10.3390/diagnostics15020154

APA Style

Tasci, G., Barua, P. D., Tanko, D., Keles, T., Tas, S., Sercek, I., Kaya, S., Yildirim, K., Talu, Y., Tasci, B., Ozsoy, F., Gonen, N., Tasci, I., Dogan, S., & Tuncer, T. (2025). Zipper Pattern: An Investigation into Psychotic Criminal Detection Using EEG Signals. Diagnostics, 15(2), 154. https://doi.org/10.3390/diagnostics15020154

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop