Gabor filter-based statistical features for ADHD detection

Attention deficit/hyperactivity disorder (ADHD) is a neuropsychological disorder that occurs in children and is characterized by inattention, impulsivity, and hyperactivity. Early and accurate diagnosis of ADHD is very important for effective intervention. The aim of this study is to develop a computer-aided approach to detecting ADHD using electroencephalogram (EEG) signals. Specifically, we explore a Gabor filter-based statistical features approach for the classification of EEG signals into ADHD and healthy control (HC). The EEG signal is processed by a bank of Gabor filters to obtain narrow-band signals. Subsequently, a set of statistical features is extracted. The computed features are then subjected to feature selection. Finally, the obtained feature vector is given to a classifier to detect ADHD and HC. Our approach achieves the highest classification accuracy of 96.4% on a publicly available dataset. Furthermore, our approach demonstrates better classification accuracy than the existing methods.


Introduction
On a global scale, it is estimated that approximately 5% of children are affected by attention deficit hyperactivity disorder (ADHD) (Song et al., 2021), one of the most common heterogenous disorders affecting children, characterized by inattention, impulsiveness, and hyperactivity.Children with ADHD have an adverse impact behavioral patterns, particularly in education and interpersonal growth, it may even extend into adulthood (Altınkaynak et al., 2020).According to Xu et al. (2018) and TaghiBeyglou et al. (2022), individuals with ADHD spanning from childhood to adulthood often experience challenges in psychosocial and neuropsychological functioning.Untreated ADHD leads to worse social and professional functioning, a larger chance of comorbid, and a higher risk of serious depressive and anxiety disorders (American Psychiatric Association, 2013).Therefore, early detection and timely therapeutic intervention are of essential importance in preventing the severity of ADHD in children.
Traditionally, the diagnostic assessment of ADHD in children is conducted by psychiatrists through interviews with parents and/or the child.Manual diagnosis can be subjective, and this evaluation process is often time-consuming, demands a high level of medical expertise, and can be prone to error in certain cases (Khare and Acharya, 2023).In recent years, quantitative techniques such as brain signaling examinations have been conducted to establish a diagnosis.
Researchers have been utilizing many neuroimaging techniques to diagnose ADHD, some of them are magnetoencephalography (MEG) (Hamedi et al., 2022), magnetic resonance imaging (MRI) (Zhou et al., 2021), and electroencephalogram (EEG) (Allahverdy et al., 2016).Sathiya et al. 10.3389/fnhum.2024.1369862Frontiers in Human Neuroscience 02 frontiersin.org However, some of these approaches, such as MEG, are radioactive, bulky, and costly (Khare and Acharya, 2023).On the other hand, EEG signals are portable and cost-effective solutions for ADHD detection (Maniruzzaman et al., 2023), and they have also been used in various applications (Kumar et al., 2015;Khare and Bajaj, 2020).Over the last decade, researchers have extracted various linear, non-linear, and morphological features from time (Yang et al., 2016;Khaleghi et al., 2020;Maniruzzaman et al., 2023), frequency (Mueller et al., 2010;Kaur et al., 2019;Khaleghi et al., 2020), and time-frequency (Öztoprak et al., 2017;Altınkaynak et al., 2020;Joy et al., 2022) domain-based methodologies.Altınkaynak et al. (2020) utilized event-related potentials (ERPs), while participants engaged in an auditory oddball task, which resulted in longer P300 latency for ADHD patients and smaller P300 amplitude for healthy control (HC).Maniruzzaman et al. (2023) performed a channel selection method and extracted various times, morphological, and non-linear features for the classification of ADHD and HC.The approach in Khaleghi et al. (2020) extracted various morphological, non-linear, time, frequency, and time-frequency-based features; among these non-linear features (Petrosian and Katz fractal dimensions, Lyapunov exponent, approximate entropy, and Lempel-Ziv complexity) extracted from EEG, provides a good quantitative tool in the detection of ADHD.Similarly, Kaur et al. (2019) extracted time-domain features, namely morphological, complexity features (power of scale-freeness and graph index complexity), and frequency-domain features such as Katz and Higuchi algorithm for diagnosis.Chow et al. (2019) developed an approach based on Hjorth mobility (M), and the results indicated that M values in the control group were significantly higher than the ADHD individuals.In the frequency domain, the power of different EEG frequency bands was used to diagnose ADHD (Altınkaynak et al., 2020).It indicates increased theta power and a higher theta/beta ratio in ADHD patients compared to HC, but the use of non-linear features outperformed frequency band features (González, 2022).Altınkaynak et al. (2020) investigated the entropy of the discrete wavelet transform (DWT) of auditory evoked potentials for the classification between ADHD and HC, and it exhibited significantly different values in both groups.Similarly, Castro-Ospina et al. (2012) investigated the occurrence of low-frequency bands computed through wavelets and empirical mode decomposition (EMD) to find the differences in the patterns of ERP waves between ADHD patients and control subjects.Tor et al. (2021) computed autoregressive modeling coefficients and relative wavelet energy from EMD and DWT for the detection of ADHD.
Since the EEG signal is characterized by non-stationary behavior and a diverse range of time-frequency components, using Gabor filters can be an advantage for discovering the signal's descriptive features.In recent years, researchers have prominently used Gabor filters in image processing (Hu et al., 2020), andcomputer vision-based applications (Oppong et al., 2022).In addition, Gabor filter-based features have been found to be effective in signal classification tasks (Kumar et al., 2015) and even integrated into deep learning models (Barshooi and Amirkhani, 2022;Hammouche et al., 2022;Khalifa et al., 2022;Oppong et al., 2022).Despite these advantages, the potential of the Gabor filter has not been explored for ADHD detection.Therefore, in this paper, we explore the bank of Gabor filters for ADHD detection.
To the best of our knowledge, there has been no prior investigation that evaluated Gabor filter-based features for the classification of EEG signals into ADHD and HC.
The following contributions made by our study are: 1. Explored Gabor-based statistical features for the classification of EEG signals into ADHD and HC. 2. Our approach has been validated using 10-fold cross-validation and an 80:20 train-test split.3. Our approach has outperformed the existing approaches in the detection of ADHD.
This paper is organized as follows: Section II explains the experimental procedure for ADHD detection.In Section III, Results and Discussion is presented, and finally, the conclusions are provided in Section IV.

Methodology
In this section, Figure 1 represents the flowchart of the proposed approach.First, the EEG signals are processed using the bank of Gabor filters.This process converts a non-stationary EEG signal to a narrow-band signal.From each of those narrow-band signals, we extract a set of statistical features.Finally, the features extracted are concatenated and fed to classifiers to classify EEG signals into ADHD or HC.The description of each step is given below.

Gabor filters
The Gabor filter acts as a bandpass filter and provides good timefrequency localization (Gabor, 1946).Furthermore, using a bank of Gabor filters for the decomposition of signal makes it easier to extract discriminating information from a particular frequency range.The mathematical representation of the Gabor filter is as follows: where f c -central frequency, σ -Standard deviation of the Gaussian function.
The response z t ( ) is computed through the convolution of the input signal y t ( ) with the Gabor function g t ( ) as described by Equation (1).Finally, the magnitude of the Gabor response will be determined for feature extraction.

Statistical features
The feature extraction process is crucial in the classification process, as the choice of features significantly impacts the performance of the classification.Local binary pattern (LBP)-based histogram features are commonly used to extract features from the responses of Gabor filters (Kumar et al., 2015;Samiee et al., 2017;Sunil Kumar and Kanhangad, 2017;Kumar and Kanhangad, 2018)

Feature concatenation and classification
In this process, the feature vector is constructed through the concatenation of statistical features extracted from z t ( ) across all the channels.To classify the EEG segment into ADHD and HC, the feature vector is fed into classifiers.In our approach, we have used two classifiers; namely support vector machine (SVM) (Maniruzzaman et al., 2023) and k-nearest neighbors (k-NN) (Altınkaynak et al., 2020).

Feature selection
Feature selection (FS) is important for improving the performance of predictive models by eliminating redundant elements in a dataset, thereby maintaining only the most important features.In our study, we explored the t-test (Maniruzzaman et al., 2023) and the chi-square test (Rangarajan and Mahanand, 2014) to decrease the length of the feature vector and improve the accuracy (Acc) of classification.
The algorithm of our proposed approach is given below.

Algorithm of our proposed approach
Step 1: process the multichannel EEG segment with a bank of Gabor filters.Step 2: compute statistical features from each of the Gabor responses.
Step 3: concatenate the features corresponding to each individual channel to get the final feature vector.Apply the FS technique to reduce the length of the feature vector.
Step 4: train the classification models, such as k-NN and SVM, and evaluate their performance.

Experimental results
This section presents a comprehensive description of the dataset, followed by Results and Discussion.

Dataset
In our study, a publicly available dataset (Nasrabadi et al., 2020) has been utilized for detecting ADHD from EEG signals.The EEG signals acquired in this dataset include 61 children diagnosed with ADHD and 60 HC, and all the participants were within the age range of 7 to 12 years.The diagnostic criteria for the ADHD group with confirmation, are based on psychiatric evaluation in accordance with DSM-IV guidelines (American Psychiatric Association, 2013).Notably, the ADHD children had received Ritalin treatment for up to 6 months.The control group was free of psychiatric disorders, epilepsy, and high-risk behaviors.EEG recordings were acquired according to the 10-20 standard, utilizing 19 channels, and a sampling frequency of 128 Hz.In our study, the EEG signal is divided into segments with a duration of 30 and 60 s.For further information about the dataset, refer Nasrabadi et al. (2020).

Results
To validate the performance of our approach, the following metrics are used namely, Acc, specificity (Sp), and sensitivity (Sn) in which Sp denotes the capacity to correctly categorize normal data, while Sn signifies the ability to identify ADHD-related events, whereas Acc is defined as the ratio of correctly classified segments to the total number of segments in the test set.
In order to study the influence of the number of Gabor filters, we have performed our experiments by selecting the number of Gabor filters as 3, 4, and 5.The central frequency ( f c ) and standard deviation (σ ) of the individual filters are selected to cover the range of frequencies extending from 1 to 64 Hz (half of the sampling frequency).These parameters are shown in Table 1. Figure 2 shows an exemplary plot of the raw EEG signals and magnitude response of the Bank of Gabor filters with five filters (the parameters involved in each of these Gabor filters is shown in Figure 2).
To show the effectiveness of our approach, we have performed two sets of experiments: in the first set, we conducted 10-fold crossvalidation, and in the second set, we divided the entire dataset into 80:20 train-test data.
The performance metrics obtained are shown in Tables 2-7.More specifically, Tables 2-4 show the results obtained when an EEG segment of 30 s is used, while Tables 5-7 show when an EEG segment of 60 s is used for classification purposes.
Tables 2-4, it is evident that our approach performs better when the number of Gabor filters is set to 3 or 5, while the performance of the approach was comparatively inferior when the number of Gabor filters is set to 4 for 30-s duration.It can also be observed from our results that the classification improved when FS was included at the same time, and the number of features performed was reduced.
To understand the impact of segment length on the performance of the proposed approach, we performed the experiments by segmenting the EEG signals for 60 s.These results are shown in Tables 5-7.It can be observed from Tables 5-7 that the proposed approach achieved a maximum Acc of 90.9% when a 60-s segment is used.The performance is inferior when compared to the performance achieved with 30 s of EEG data.

Performance comparison
The performance comparison of our approach with existing approaches is shown in Table 8.Our approach has achieved better performance than the existing approaches in Chen et al. ( 2019), Altınkaynak et al. (2020), Ekhlasi et al. (2021), Kim et al. (2021), Parashar et al. (2021), Maniruzzaman et al. (2022), and Alim and Imtiaz (2023).The approaches in Chen et al. ( 2019), Altınkaynak et al. (2020), and Kim et al. (2021) have performed experiments on different datasets, while the approaches in Ekhlasi et al. (2021), Parashar et al. (2021), Maniruzzaman et al. (2022), and Alim and Imtiaz (2023) have performed experiments on the same dataset as ours.Chen et al. ( 2019) performed four distinct methods: relative spectral power, spectral power ratio, complexity analyses, and bicoherence for resting-state EEG feature extraction.The classifier constructed by selecting features from all four methods obtained an Acc of 85% on data acquired from 108 subjects.Kim et al. (2021) investigated the mismatch negativity (MMN) features, exploring both sensor-level attributes such as amplitude, latency, and sourcelevel characteristics across various brain regions and achieved an Acc of 81%.It should be noted that authors have collected data from only 79 subjects.Altınkaynak et al. (2020) analyzed wavelet, non-linear (Higuchi algorithm), and morphological features (P300 latency and amplitude parameters) by using different classifiers and obtained the highest Acc of 91.3%.Parashar et al. (2021) used various combinations of channels from different brain regions (frontal, central, occipital, and parietal) that are directly fed to classifiers for classification purposes.When considering all channels of the right hemisphere, the authors reported an Acc of 84%.Alim and Imtiaz (2023) used EEG linear features from the four sub-bands and achieved an Acc of 94.2%.Ekhlasi et al. (2021) obtained the effective connectivity matrices (ECMs) of each individual by directed phase transfer entropy (dPTE) between each pair of
Extracting features from the narrow-band signals (obtained after processing through the bank of Gabor filters) may lead to an effective time-frequency representation of EEG signals, which could be the possible reason for its superior performance.The key advantage of our approach is that it is simple yet effective for detecting ADHD.Whereas, the limitation of our approach is that the number of features increases as the number of Gabor filters increases.

Conclusion
In this paper, we have proposed an automated approach for the detection of ADHD using Gabor filter-based statistical features.Our methodology showed superior performance compared to the existing approaches to ADHD detection, signifying its potential as an efficient screening tool.However, this approach needs to be validated on a

FIGURE 2
FIGURE 2 Plot of (A) Raw EEG signal.(B-F) Magnitude response of each of the Gabor filters in the filter bank.
. The length of the histogram (feature length) is 256.As we are

Feature Concatenation Feature Selection Classifier Statistical Features Statistical Features Statistical Features Gabor Filter 1 Gabor Filter 2 Gabor Filter 3 EEG Segment ADHD HC
FIGURE 1Block diagram of proposed Gabor filter-based ADHD detection approach.

TABLE 1
Gabor filter parameters used in our approach.

TABLE 2
Performance metrics obtained with an EEG segment of 30 s and three Gabor filters.

TABLE 5
Performance metrics obtained with an EEG segment of 60 s and three Gabor filters.The bolded values indicate the classifier models with the highest accuracy scores among the ones presented in each table.

TABLE 4
Performance metrics obtained with an EEG segment of 30 s and five Gabor filters.
The bolded values indicate the classifier models with the highest accuracy scores among the ones presented in each table.

TABLE 3
Performance metrics obtained with an EEG segment of 30 s and four Gabor filters.The bolded values indicate the classifier models with the highest accuracy scores among the ones presented in each table.

TABLE 7
Performance metrics obtained with an EEG segment of 60 s and five Gabor filters.

TABLE 6
Performance metrics obtained with an EEG segment of 60 s and four Gabor filters.

TABLE 8
Performance comparison with existing approaches.The bolded values indicate the classifier models with the highest accuracy scores among the ones presented in each table.10.3389/fnhum.2024.1369862Frontiers in Human Neuroscience 08 frontiersin.orglarger dataset before being used for any clinical purposes.As a part of our future study, we plan to explore deep-learning approaches for ADHD detection.Furthermore, we would like to explore Gabor filters for applications such as the classification of sleep stages and schizophrenia detection, which involves the classification of EEG signals.