1. Introduction
The digital age has led to considerable advancements in brain–computer interface (BCI) technologies, transforming how humans interact with machines [
1]. These developments are evident in applications such as controlling wheelchairs and prosthetic limbs [
2], as well as managing smart homes, all through neural signals. A key application of BCI systems is motor imagery (MI), which involves imagining physical movements without actual execution. Electroencephalograms (EEGs) are preferred for this purpose due to their non-invasive nature [
3], temporal precision, and cost-effectiveness. However, a primary challenge in the BCI field is the accurate classification and application of EEG signals [
4], underscoring the need for more effective methods for signal decomposition [
5], feature extraction, and classification to enhance system performance. EEG signals in BCI systems consist of fundamental frequencies and their harmonics, demonstrating both independence and coherence. Signal decomposition is critical for EEG signal processing due to the complexity and overlapping nature of its frequency components. EEG signals are often a mixture of various neural oscillations and noise, which can obscure meaningful patterns necessary for classification. Decomposition techniques enable the isolation of distinct frequency bands, improving feature clarity by allowing the extraction of relevant metrics such as power spectral density and coherence. Additionally, these methods help reduce noise and artifacts, such as those caused by muscle activity and eye movements, which frequently contaminate EEG signals. By breaking down the signals into cleaner and more interpretable components, signal decomposition not only enhances the understanding of brain activity but also improves the accuracy and generalizability of classification models, ultimately boosting the overall performance of BCI systems. The increasing interest in signal decomposition mirrors the progress in EEG and BCI technologies, driven by their broad potential applications. Signal decomposition (SD) methods play a critical role in representing EEG signals in ways that allow the extraction of meaningful features [
6]. These methods break down complex signals into simpler components, which are then used for further analysis and classification.
Several SD techniques have been proposed in the literature [
7], including time-frequency analysis methods like the wavelet transform (WT) [
8], short-time Fourier transform (STFT) [
9], and continuous wavelet transform (CWT) [
10], data-driven adaptive methods such as empirical mode decomposition (EMD) [
11], and ensemble empirical mode decomposition (EEMD) [
12], and optimization-based approaches like sparse decomposition (SD) [
13] and independent component analysis (ICA) [
14]. When applied to EEG and BCI signal decomposition, these methods often face issues like mode blending [
15] and mode mixing [
16], arising from the inability of the algorithms to distinguish closely spaced components and disruptions in signal continuity. Variational mode decomposition (VMD) [
17], an adaptive, non-recursive signal decomposition method, has proven effective in BCI systems [
18]. This method decomposes the EEG signal into a finite set of intrinsic mode functions (IMFs) [
19] based on predefined criteria and has been widely used in applications such as hydroacoustic [
20], radar [
21], and mechanical signal processing [
22]. By applying specific parameters iteratively, VMD extracts the fundamental frequency of the EEG signal, enabling effective identification of various regions in the signal. This paper extends the VMD technique by incorporating a frequency-shifting method that shifts the EEG signal’s spectrum to lower frequencies. It sequentially rejects subcomponents that are moved to the fundamental frequency band and then returns them to their original frequency band, resulting in a more accurate decomposition of the EEG signal into IMFs.
In this study, we employed a subject-specific pipeline to ensure that the classification models were optimized for each individual’s EEG data. The dataset was split into 80% for training and 20% for testing, maintaining a consistent evaluation framework across all experiments. To enhance the reliability of the results and reduce bias, we implemented five-fold cross-validation, where the data were divided into five subsets, with four used for training and one for testing in each iteration. This process was repeated five times, and the final performance metrics were averaged to provide a robust assessment of classifier effectiveness. This approach ensures that the models generalize well to unseen data while preventing overfitting.
1.1. Contribution of the Study
This study introduces an innovative computer-assisted diagnostic framework leveraging frequency-shifting variational mode decomposition (FS-VMD) for the classification of motor imagery EEG signals. FS-VMD enhances EEG signal analysis by extracting and shifting the fundamental frequency to a lower range, thereby minimizing mode mixing and aliasing. This decomposition process results in high-resolution intrinsic mode functions (IMFs), improving the overall accuracy of EEG-based diagnostics.
A comprehensive classification evaluation was performed using 3-channel and 18-channel EEG configurations with support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbor (FWkNN) classifiers. The proposed FS-VMD framework, particularly in combination with SVM, demonstrated a remarkable accuracy improvement in the subject ’AA’, increasing from 71.42% in the 3-channel setup to 99.98% in the 18-channel configuration. Furthermore, the integration of feature selection methods confirmed the superior performance of the iterative relief (iRelief) algorithm, achieving a peak accuracy of 99.99% in the 18-channel setup.
In this study, we employed several classifiers to evaluate the EEG data. In the case of support vector machines (SVM), we utilized the radial basis function (RBF) kernel, which is known for its ability to handle nonlinear relationships in high-dimensional data. The RBF kernel effectively transforms the input data into a higher-dimensional space, making it easier to find a hyperplane for classification. For the convolutional neural network (CNN), we designed an architecture consisting of multiple convolutional layers with small filters (e.g., 3 × 3 or 5 × 5), followed by max-pooling layers to reduce dimensionality and retain important features. The final fully connected layers were used to perform classification based on the extracted features. This CNN architecture is well-suited for automatically learning hierarchical patterns in EEG signals and has demonstrated robust performance in similar classification tasks. These classifiers were chosen for their ability to handle the complexity of EEG data and their demonstrated effectiveness in previous studies.
By addressing the critical role of channel configuration in EEG signal processing, this research provides valuable insights for enhancing brain–computer interface (BCI) systems. The proposed FS-VMD-based framework offers a highly accurate and efficient solution for EEG signal classification, advancing the precision of neurology diagnostics and contributing to the development of robust BCI applications.
1.2. Research Questions
This research investigates the effectiveness of frequency-shifting variational mode decomposition (FS-VMD) in enhancing EEG signal decomposition compared to conventional techniques. It examines how frequency shifting and iterative decomposition contribute to reducing mode mixing and mode aliasing, which are prevalent challenges in EEG signal processing. Moreover, the study assesses the influence of different EEG channel configurations, specifically comparing 3-channel and 18-channel setups, to evaluate their impact on signal quality and classification performance.
This study aims to address the following research questions:
How does frequency-shifting variational mode decomposition (FS-VMD) improve EEG signal decomposition compared to traditional methods?
What is the impact of frequency shifting and iterative decomposition on minimizing mode mixing and mode aliasing in EEG analysis?
How do different EEG channel configurations, specifically 3-channel and 18-channel setups, influence signal integrity and classifier performance?
What is the classification performance of different machine learning models, including support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN), when combined with FS-VMD for motor imagery EEG classification?
How effective is the iterative relief (iRelief) algorithm in feature selection for improving classification accuracy?
Can the FS-VMD-based framework enhance the reliability of brain–computer interface (BCI) applications, particularly in EEG-based diagnostics and real-world implementations?
Additionally, this work analyzes the classification efficiency of various machine learning models, such as support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN), when integrated with FS-VMD for motor imagery EEG classification. The study further explores the role of feature selection strategies in improving classification accuracy, with a particular emphasis on assessing the performance of the iterative relief (iRelief) algorithm.
Finally, this research examines the potential of an FS-VMD-based framework to improve the reliability of brain–computer interface (BCI) applications, highlighting its contributions to EEG-based diagnostics and practical implementations.
2. Related Work
The analysis and classification of motor imagery (MI) EEG signals have been extensively studied in the context of brain–computer interface (BCI) systems, with a focus on improving signal decomposition, feature extraction, and classification accuracy. Traditional signal decomposition methods, such as empirical mode decomposition (EMD) [
11] and the wavelet transform (WT) [
8], have been widely used but suffer from limitations like mode mixing and fixed basis functions. To address these issues, variational mode decomposition (VMD) [
17] was introduced, offering better mode separation and robustness for EEG signal processing. Recent advancements, such as multivariate variational mode decomposition (MVMD) [
23], have extended VMD to handle multi-channel EEG data, though challenges like parameter sensitivity and mode aliasing persist. In parallel, feature extraction techniques have evolved to include time-domain metrics (e.g., mean absolute value), frequency-domain features (e.g., power spectral density), and nonlinear measures (e.g., approximate entropy) to capture the complexity of EEG signals. Feature selection methods, such as iterative relief (iRelief) [
24] and fast correlation-based filter (FCBF) [
25], have been employed to enhance classification performance by reducing dimensionality and selecting the most discriminative features. Classification approaches range from traditional machine learning methods, such as support vector machines (SVM) and k-nearest neighbors (k-NN), to deep learning models like convolutional neural networks (CNN), with reported accuracies ranging from 85% to 95% depending on the dataset and methodology. Despite these advancements, challenges such as mode mixing, aliasing, and the need for robust feature selection remain unresolved. The proposed frequency-shifting variational mode decomposition (FS-VMD) framework addresses these limitations by incorporating a frequency-shifting mechanism to enhance mode separation and reduce aliasing while integrating advanced feature selection and state-of-the-art classifiers to achieve superior classification accuracy, as demonstrated in this study.
3. Methods
The frequency-shifting variational mode decomposition (FS-VMD) approach brings forth a unique combination of frequency shifting and variational mode decomposition principles to signal processing. The significance of this method lies in its ability to deconstruct non-stationary and nonlinear signals into multiple intrinsic mode functions (IMFs). The flow diagram of FS-VMD is shown in
Figure 1, while its main working steps are described as follows.
During the initialization phase, the algorithm defines the initial values of the center frequencies () and the bandwidth parameter (). At this juncture, the number of modes (K) is also predetermined.
The frequency-shifting operation is the backbone of the FS-VMD algorithm, and it is utilized to multiply the original signal with a complex exponential term, which leads to a shift in the frequency components of the signal. The operation is represented mathematically:
where
represents the original signal, while
is the center frequency for the
k-th mode.
j denotes the imaginary unit. The operation results in a frequency-shifted signal
.
During this phase, the center frequencies, , are set to certain predefined values. These values could be selected based on the the signal, or they could be random (trial and error method). The choice of initial center frequencies influences the speed and quality of the convergence, but the FS-VMD algorithm is resilient to these initial settings.
After frequency shifting, the algorithm decomposes the signal
into K intrinsic mode functions (IMFs) using the traditional VMD algorithm. This decomposition can be thought of as a resolution to an optimization problem, formulated as follows:
where
represents the IMFs,
denotes the center frequencies, and
is the balancing factor that controls the trade-off between the data fidelity term and the smoothness term.
After the VMD, the algorithm performs frequency reshifting to restore the IMFs to their original frequency positions. This step involves multiplying the IMFs with the complex conjugate of the exponential term utilized during the frequency-shifting phase.
where
represents the IMFs derived from the VMD, and
denotes the frequency-reshifted IMFs.
During the parameter update phase of the FS-VMD method, adjustments are made iteratively to the center frequencies (
) and bandwidths (
) are updated iteratively to ensure effective signal decomposition. This is achieved using the gradient descent algorithm, which minimizes the reconstruction error between the original MI EEG signal from the BCI Competition III dataset IVa and the sum of the intrinsic mode functions (IMFs) [
26]. The goal is to adaptively refine the modes for accurate decomposition of the EEG signal.
The cost function to be minimized is defined as follows:
The center frequency for the kth mode is updated to minimize the reconstruction error and ensure the frequency is localized:
The gradient is calculated as follows:
The bandwidth parameter for each mode is refined to minimize mode mixing and ensure frequency separation:
The gradient of the cost function with respect to (
) is provided by the following:
The gradient of a function at a given point is a vector that points towards the steepest ascent at that point. The gradient is calculated with reference to the center frequencies () and the bandwidth parameter (). This involves the computation of the partial derivatives of the error function in relation to and .
4. Materials
4.1. Dataset and Software
The publicly accessible BCI Competition III dataset IVa is adopted for experiments in this study. The IVa dataset captures data related to motor imagery (MI) tasks, specifically right-hand (RH) and right-foot (RF) movements. The data comprise recordings from five healthy participants labeled as “AA”, “AL”, “AV”, “AW”, and “AY”. Placement of the electrodes followed the 10/20 international system, positioned on the subjects’ heads. Each participant performed 280 trials, with each MI class containing 140 trials. The MI tasks’ visual cues were visible for 3.5 s, with data recording occurring at a rate of 100 samples per second.
The study structure, which employs the novel FS-VMD method, is comprehensively outlined in
Figure 2 and elaborated upon in subsequent subsections.
In this study, the dataset consists of motor imagery EEG signals, which are preprocessed to enhance signal quality before feature extraction and classification. For data preprocessing, MATLAB 2022b was utilized to perform essential signal processing tasks, including noise reduction, filtering, and segmentation of EEG signals. The classification phase was implemented using Python (version 5.4.3 of Anaconda Spyder), leveraging the PyTorch deep learning library to develop and train various models. PyTorch (version 3.10) provides a flexible and efficient framework for implementing deep learning architectures, enabling the effective classification of EEG signals using support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN). This combination of MATLAB for preprocessing and Python with PyTorch for classification ensured an optimized workflow for accurate EEG signal analysis.
4.2. Equipment
All experiments in this study were conducted on a personal computer with the following specifications. The system is powered by an Intel(R) Core(TM) i5-6400 CPU running at 2.70 GHz, providing sufficient processing capability for executing computational tasks related to EEG signal processing and classification. The system is equipped with 8 GB of RAM, ensuring smooth handling of data preprocessing, feature extraction, and model training. Additionally, the PC utilizes Intel(R) HD Graphics 530 with 8 GB of shared GPU memory, which supports essential computations, particularly in deep learning model training and classification. This hardware configuration provided a stable and efficient environment for implementing the proposed methodology and performing extensive evaluations of EEG signal classification.
4.3. Proposal
This study proposes an advanced approach for motor imagery EEG signal classification using frequency-shifting variational mode decomposition (FS-VMD). Traditional signal decomposition techniques often suffer from mode mixing and mode aliasing, leading to compromised signal integrity. The FS-VMD algorithm addresses these challenges by extracting the fundamental frequency of the EEG signal and shifting it to a lower range before performing iterative decomposition. This process enhances the resolution of intrinsic mode functions (IMFs), preserving critical neural activity patterns for improved feature extraction.
Following the decomposition process, the extracted features are processed using advanced feature-selection techniques, including iterative relief (iRelief), to optimize the most relevant signal characteristics. These selected features are then classified using state-of-the-art machine learning models, including support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN). The proposed FS-VMD framework has been extensively evaluated on different EEG channel configurations, demonstrating significant improvements in classification accuracy, particularly with the SVM classifier, achieving up to 99.99% accuracy in the 18-channel setup. This novel methodology provides a robust and efficient solution for EEG signal analysis, contributing to advancements in brain–computer interface (BCI) applications.
4.4. Data Preprocessing
The methodology employed for dissecting the high-dimensional raw EEG signal data from dataset IVa and IVb denoised the dataset by using multiscale principal component analysis (MSPCA) [
27]. Similar to principal component analysis (PCA), MSPCA operates on multiple scales, enabling the capture of crucial details [
28], a feature indispensable for scrutinizing EEG signals that may harbor features across diverse scales and domains [
29].
In the experiment, dataset IVa yielded a data matrix for each trial per person from 350 samples acquired across 118 channels. Conversely, dataset IVb, due to its continuous nature, necessitated a tailored approach. The raw data from IVb were segmented into 3.5 s windows with a 1.75 s overlap, akin to the treatment of IVa data, ensuring ample data within each segment for MSPCA analysis. The segmented raw data from both datasets were then subjected to MSPCA. The ensuing MSPCA analysis facilitated the identification of components in the data indicative of varying cognitive states.
4.5. Channels Selection
The first strategy involves the manual selection of 18 channels, specifically C5, C3, C7, C2, C4, CP5, CP3, CP, CP4, CP6, P5, P3, Pi, P2, P4, and P6. These channels are strategically placed around the motor cortex region according to the 10/20 international system [
30]. The selection of these 18 EEG channels is based on the fact that motor imagery (MI) signals are primarily generated in the cortex region of the human brain, particularly in the sensorimotor cortex. This region is responsible for planning and executing movement-related activities, making it highly relevant for MI-based brain–computer interface (BCI) applications. By placing electrodes around this area, including central (C), centroparietal (CP), and parietal (P) regions, we can effectively capture the neural activity associated with imagined movements. These selected channels ensure optimal signal acquisition, enhancing the accuracy of motor imagery classification by focusing on regions most responsive to movement-related brain activity. This is crucial because the motor imagery (MI) EEG primarily emerges from the motor cortex, offering an abundance of task-specific data. These data are vital for subsequent stages of feature extraction and classification in motor imagery tasks. The alternative strategy opts for three sensory-motor cortex channels: C3, C2, and C4 [
31]. These channels are known to preserve the event-related synchronization/desynchronization (ERS/ERD) shifts in spectral power, which occur during left or right hand/foot motor imagery [
32,
33].
4.6. Signal Decomposition
The experiment incorporates seven distinct signal decomposition (SD) methods to better understand and process the EEG data. These methods are frequency-shifting variational mode decomposition (FS-VMD), multivariate variational mode decomposition (MVMD) [
34], wavelet packet decomposition (WPD) [
35], improved EFD (IEFD) [
36], empirical mode decomposition (EMD) [
37], local mean decomposition (LMD) [
13], and variational mode decomposition (VMD) [
38,
39]. Each of these methods has its unique approach and parameters for decomposing the EEG signals into intrinsic mode functions or other relevant components, thereby facilitating a more nuanced analysis of the data.
4.7. Feature Extraction
When analyzing EEG signals, features from the time, frequency, and nonlinear complexity domains provide valuable insights.
In the time domain [
40], features like the mean absolute value of coefficients in each sub-band help assess the average signal magnitude and energy across different frequency components [
41]. Approximate entropy indicates system complexity, with higher values suggesting unpredictability, potentially signaling abnormal EEG activities.
In the frequency domain [
42], average band power and the relative power of bands like
and
reveal predominant frequency components linked to brain states. The
to
band ratio can indicate cognitive states.
Nonlinear complexity features [
43], such as energy, entropy, and the L2 norm, highlight signal unpredictability and energy. Shannon entropy and the mean Teager–Kaiser energy reflect uncertainty and instantaneous energy, which is useful for identifying cognitive or pathological conditions.
4.8. Feature Selection
The iRelief algorithm, an advanced version of the original relief, evaluates feature significance by analyzing their impact on nearby samples from both identical and differing categories, making it effective for EEG signal processing. The parameters used for iRelief in this paper are shown in
Table 1. The fast correlation-based filter solution (FCBF) focuses on removing unnecessary features by examining feature relationships to improve classification. The information gain ratio evaluates a feature’s significance by comparing its information gain to its intrinsic information, aiding in the identification of important features. Metaheuristic algorithms such as PSO, MMAS, SaDE, and CLPSO, which are inspired by natural processes, efficiently navigate complex search spaces. These algorithms are particularly useful in EEG dataset analysis, where they assist in selecting optimal features for improved performance.
4.9. Classification Techniques for EEG Data Analysis
The realm of EEG data classification has been significantly advanced by leveraging three renowned classifiers: support vector machines (SVM) [
44], convolutional neural networks (CNN) [
45], and the feature-weighted k-nearest neighbors (k-NN) [
46] algorithm.
SVMs are essential in machine learning, effectively finding optimal hyperplanes for class separation, handling both linear and nonlinear datasets with kernels, and preventing overfitting, especially in high-dimensional data. CNNs, widely used in image processing, are now applied to EEG data, automatically extracting spatial and temporal features through convolutional, pooling, and fully connected layers. While requiring large datasets and computational power, CNNs excel at capturing intricate patterns in complex data. The feature-weighted k-NN algorithm improves k-NN by assigning feature weights, making it suitable for EEG data with complex distributions, and its instance-based learning allows easy updates as new data arrives.
5. Results
The research examined multiple signal decomposition techniques for both 3-channel and 18-channel configurations. The methods analyzed include frequency-shifting variational mode decomposition (FS-VMD), multivariate variational mode decomposition (MVMD), wavelet packet decomposition (WPD), instantaneous energy frequency distribution (IEFD), empirical mode decomposition (EMD), local mean decomposition (LMD), and variational mode decomposition (VMD). Additionally, various classification techniques were evaluated, including SVM, CNN, and FWkNN. For dataset 1, which involves binary classification, the data were split into 80% for training and 20% for testing. This partitioning was selected to provide an adequate amount of data for model training while maintaining sufficient test data for a reliable performance assessment.
5.1. Analysis of Classification Metrics Across the 18-Channel Configuration
5.1.1. Classification with CNN
Among the signal decomposition techniques evaluated with the CNN classifier, FS-VMD exhibited the highest performance, achieving accuracy scores of 99.53% for AA, 99.78% for AL, and 99.99% for AV. These results highlight its effectiveness in extracting discriminative features from MI-EEG signals, as illustrated in
Figure 3.
MVMD demonstrated a range of performance levels, reaching a peak accuracy of 89.96% for AL but dropping to 77.86% for AW, indicating a lack of consistency. Other decomposition methods performed well for specific subjects, with WPD achieving 84.87% for AA, LMD reaching 84.80%, VMD obtaining 86.50%, and IEFD recording 81.20%, though their overall consistency was lower compared to FS-VMD.
In our analysis, we identified a discrepancy in the patient identification within the dataset. Specifically, the patient labeled as “AW” in our study corresponds to the patient labeled as “AV” in the original Competition III, IVa dataset. This discrepancy was due to a typographical error, which has been corrected in the revised manuscript. Regarding the performance of this patient, previous studies have reported it as having the worst accuracy. However, in our study, this patient showed improved performance. We hypothesize that the differences in results may be attributed to the preprocessing and feature extraction techniques employed in our study, which potentially enhanced the quality of the EEG signals, leading to better classification outcomes. This explanation has been further discussed in the updated version of the manuscript.
5.1.2. Classification with SVM
Once again, the frequency-shifting variational mode decomposition (FS-VMD) method showcased its superiority when paired with the support vector machine (SVM) classifier, as shown in
Figure 4. It achieved nearly perfect accuracy scores across all subjects, such as 99.98% for AA, 99.48% for AL, and 99.98% for AV. This highlights the consistent and robust performance of frequency-shifting variational mode decomposition (FS-VMD) irrespective of the classifier used.
5.1.3. Classification with FwKnn
Feature-weighted K-nearest neighbor (FWk-NN) classifier consistently performed well across subjects, with accuracy figures like 97.69% for AA, 97.85% for AL, and 96.31% for AV, as demonstrated in
Figure 5. This further cements the notion of FS-VMD’s strong capability in handling MI-EEG signal classifications. The second-best method was multivariate variational mode decomposition (MVMD), with scores like 90.52% for AA and 91.31% for AL. However, its performance was inconsistent, as observed in AW, with a score of 73.73%.
The classification performance of the proposed FS-VMD framework, combined with the SVM classifier, was evaluated across five subjects (AA, AL, AV, AW, and AY) and the IVb dataset. As shown in
Table 2, the results demonstrate exceptional performance for all five subjects, with accuracy exceeding 97.60% and F1-scores nearing 99.98% for subject AA. Sensitivity and specificity metrics also indicate robust performance, with values consistently above 98.50% and 99.20%, respectively, across subjects. This highlights the ability of FS-VMD to effectively decompose EEG signals and extract discriminative features, leading to a highly accurate classification of motor imagery tasks. In contrast, the IVb dataset, which represents a more challenging scenario, achieved an accuracy of 68.33%, with sensitivity and specificity values of 67.50% and 69.00%, respectively. The standard deviation is also low, which means the classification is not overfitting itself at all. The lower performance on the IVb dataset underscores the impact of dataset variability and the need for further optimization in handling more complex or noisy EEG data. Overall, the results validate the effectiveness of the FS-VMD framework in improving EEG signal classification, particularly in high-channel configurations, while also identifying areas for future refinement in less controlled environments.
5.2. Analysis of Classification Metrics Across a 3-Channel Configuration
For the CNN classifier, as shown in
Figure 6 frequency-shifting variational mode decomposition (FS-VMD) demonstrated the highest performance among all signal decomposition techniques when applied to the three-channel configuration. The obtained results were 64.13% for AA, 69.86% for AL, 64.17% for AV, 65.60% for AW, 66.84% for AY, and 62.36% for IVB. The second-best method was wavelet packet decomposition (WPD), achieving 65.33% for AA, 68.27% for AL, 64.95% for AV, 65.43% for AW, 66.24% for AY, and 62.97% for IVB.
In contrast, multivariate variational mode decomposition (MVMD) yielded comparatively lower results, with classification metrics of 61.45% for AA, 66.15% for AL, 63.48% for AV, 60.44% for AW, 62.87% for AY, and 54.30% for IVB. Regarding other decomposition methods, the CNN classifier results were as follows: LMD attained 65.18% for AA and 66.13% for AL; IEFD recorded 64.68% for AA and 65.49% for AL; VMD achieved 60.53% for AA and 63.77% for AL; EMD resulted in 61.76% for AA and 60.00% for AL.
While for the SVM classifier, it could be noticed in
Figure 7 that, FS-VMD led performance with SVM, achieving results like 71.42% for AA, 78.33% for AL, and 68.33% for IVB in the three-channel configuration. Wavelet packet decomposition (WPD) followed with 70.12% for AA and 72.50% for AL, while local mean decomposition (LMD) secured third place. Other methods, like MVMD and IEFD, showed lower accuracies.
In contrast, with the FWkNN classifier, results in
Figure 8 demonstrate that, FS-VMD remained top with 69.90% for AA and 72.94% for AL, while IEFD was second-best. WPD also performed well, but other methods, including LMD, MVMD, VMD, and EMD, exhibited comparatively lower results.
5.3. Feature Selection Methods for FS-VMD with SVM
The effectiveness of different feature selection techniques for FS-VMD with SVM was assessed under two configurations: 18-channel and 3-channel. The parameters and details of the FS-VMD method utilized in this study are provided in
Table 3. Results are shown in
Figure 9. As seen, among the evaluated methods, iterative relief (iRelief) demonstrated superior performance, achieving an accuracy of 99.28%, sensitivity of 99.10%, specificity of 99.32%, precision of 99.63%, kappa of 99.99%, and F1-score of 99.98% in the 18-channel configuration, surpassing all other techniques. In contrast, the three-channel configuration exhibited considerably lower performance, with an accuracy of 66.31% and an F1-score of 68.14%.
The efficiency improvements from 18-channel to 3-channel for iRelief were substantial across all metrics, highlighting its effectiveness in selecting the most relevant features. Other methods such as fast correlation-based filter (FCBF), information gain ratio, particle swarm optimization (PSO), max–min ant system (MMAS), self-adaptive differential evolution (SaDE), and comprehensive learning particle swarm optimization (CLPSO) also demonstrated varying degrees of efficiency in feature selection, but with much lower accuracy and effectiveness compared to iRelief. The parameters of the particle swarm optimization (PSO) method used in this are shown in
Table 4.
FCBF and the information gain ratio showed moderate improvements, with efficiency gains ranging from 14.78% to 46.53%. PSO and MMAS demonstrated versatility but required further optimization for better performance. SaDE and CLPSO showed the least improvements, suggesting these methods need additional tuning for effective application in the three-channel configuration. Overall, iRelief proved to be the most efficient method for FS-VMD. The parameters of the self-adaptive differential evolution (SaDE) method used in this paper are shown in
Table 5.
5.4. Five-Fold Validation
The results of the five-fold cross-validation, as summarized in
Table 6, demonstrate the effectiveness of the proposed FS-VMD framework across different classifiers and subjects. The SVM classifier consistently achieved the highest accuracy, with near-perfect performance for subjects AA, AL, AV, AW, and AY (ranging from 99.48% to 99.98%) and a relatively lower but still competitive accuracy of 68.33% for the IVb dataset. The low standard deviation values (ranging from 0.23 to 0.95) further indicate the robustness and stability of the SVM classifier across different data splits.
The CNN classifier also exhibited strong performance, achieving accuracies above 99.53% for all subjects except IVb, where it achieved 62.36%. The standard deviation for CNN was notably low (ranging from 0.10 to 1.20), suggesting consistent performance across folds. While CNN’s accuracy was slightly lower than SVM for some subjects, its ability to automatically extract spatial and temporal features makes it a powerful alternative for EEG signal classification.
The FWkNN classifier, while achieving slightly lower accuracies compared to SVM and CNN (ranging from 96.31% to 97.85% for subjects and 67.50% for IVb), demonstrated competitive performance with moderate standard deviation values (ranging from 0.40 to 1.10). This indicates that FWkNN, when combined with feature weighting techniques like iRelief, can effectively handle the complexity of EEG data, albeit with slightly higher variability.
Overall, the results highlight the superiority of the SVM classifier in terms of both accuracy and stability, particularly in high-channel configurations. However, the strong performance of CNN and FWkNN underscores the versatility of the proposed FS-VMD framework, which can be effectively integrated with different classifiers depending on the specific requirements of the application. The low standard deviation values across all classifiers further validate the robustness of the five-fold cross-validation approach, ensuring reliable and generalizable results.
5.5. Ranking of Selected Features with an FS-VMD and SVM Classifier
Among the feature selection methods, iterative relief (iRelief) performed best, achieving a maximum accuracy of 99.99% for 18-channel-ranked features and 74.06% for 3-channel-ranked features, as shown in
Figure 10. It demonstrated strong results in EEG signal classification, especially when combined with the FS-VMD method. Fast correlation-based filter solution (FCBF) followed with solid performance, reaching up to 94.75% accuracy for 18-channel features but falling behind in 3-channel. Comprehensive learning particle swarm optimization (CLPSO) showed the least effectiveness, with lower accuracies compared to other methods. Other methods like MMAS, PSO, SaDE, and the information gain ratio exhibited varied performances, highlighting the importance of method selection based on use-case requirements.
6. Discussion
6.1. Classifier Architectures and Comparative Analysis
In this study, we employed three widely used classifiers for EEG signal classification: support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN). The SVM classifier was chosen for its ability to handle high-dimensional data and its effectiveness in finding optimal hyperplanes for class separation, even in nonlinear datasets. The CNN architecture was selected due to its capability to automatically extract spatial and temporal features from EEG signals through convolutional and pooling layers, making it particularly suitable for capturing intricate patterns in motor imagery tasks. The FWkNN algorithm was utilized for its adaptability in handling complex data distributions by assigning feature weights, which enhances classification performance. The results show that FS-VMD, particularly when combined with SVM, outperforms these methods in terms of classification accuracy, sensitivity, and specificity. This comparative analysis highlights the robustness and efficiency of our proposed framework in EEG signal classification.
6.2. Statistical Analysis
To ensure the reliability and significance of the proposed FS-VMD framework, a comprehensive statistical analysis of the classification results was conducted. The performance of each classifier, including support vector machines (SVM), convolutional neural networks (CNN), and feature-weighted k-nearest neighbors (FWkNN), was evaluated using key statistical metrics such as accuracy, precision, recall, and F1-score. Additionally, a comparative analysis between the 3-channel and 18-channel EEG configurations was performed to assess the impact of channel selection on classification performance.
To further validate the results, a paired statistical test was conducted to determine whether the improvements achieved by FS-VMD were statistically significant. A paired t-test or Wilcoxon signed-rank test was applied based on the normality of the data distribution to compare FS-VMD with traditional signal decomposition methods. The standard deviation and confidence intervals were also calculated to measure the consistency of the classification results across multiple trials.
The statistical findings confirmed that FS-VMD significantly enhances classification accuracy while reducing mode mixing and aliasing. The analysis demonstrated that the combination of FS-VMD with feature selection techniques such as iterative relief (iRelief) led to consistent and reliable performance improvements, reinforcing the effectiveness of the proposed method in EEG signal classification.
Table 7 shows that the statistical analysis conducted in this study adheres to a significance level (alpha value) of 0.05, which is commonly used in hypothesis testing to determine the statistical significance of results. A
p-value threshold of less than 0.05 indicates that the observed results are unlikely to have occurred by chance, thereby providing sufficient evidence to reject the null hypothesis in favor of the alternative hypothesis. Additionally, the data demonstrate a standard deviation of 0.25, reflecting a moderate level of variability within the dataset. To ensure the reliability of the findings, a 95% confidence interval was used, indicating that there is a 95% probability that the true population parameter lies within the calculated range. These statistical parameters collectively provide a robust framework for interpreting the results of this study with a high degree of confidence.
6.3. Comparative Analysis of Classification Metrics with Other Studies
In this section, we present a comprehensive comparative analysis of classification metrics against other studies, demonstrating the efficacy of our proposed method. As illustrated in
Table 8, our approach, which integrates an 18-channel configuration set with frequency-shifting variational mode decomposition via support vector machines (SVM) and the iRelief algorithm, achieves a near-perfect classification accuracy across multiple metrics. This is evidenced by the average classification accuracy of 99.88%, significantly surpassing the benchmarks established by conventional methods.
The remarkable precision of our method is further corroborated by an exceptionally low population standard deviation (SD) of 0.20 and a sample SD of 0.22, suggesting minimal variability and high reliability of the classification results. This contrasts with other methods, such as the MVMD+MC+Relief and the MEWT+IJA+LS-SVM, which, despite showing high accuracy, do not match the consistency and precision of our proposed technique.
Our proposed method’s superiority is also notable when compared to the lower-performing techniques such as CSP+Dynamic Features+SVM and R-CSP+Aggregation, where the average accuracies are significantly lower, and the SD values indicate greater variability in classification performance. This variability could be a critical factor in applications where precision is paramount, and our method’s robustness provides a distinct advantage.
7. Conclusions and Future Work
This study presents an innovative computer-assisted diagnostic framework that utilizes frequency-shifting variational mode decomposition (FS-VMD) for the classification of motor imagery EEG signals. By extracting the fundamental frequency of EEG signals and modifying specific carrier parameters to shift the frequency range lower, FS-VMD efficiently decomposes EEG signals into intrinsic mode functions (IMFs), enhancing signal analysis accuracy.
A comprehensive evaluation of classification metrics was conducted using both 3-channel and 18-channel configurations with SVM, CNN, and FWkNN classifiers. The findings highlight the remarkable effectiveness of FS-VMD, particularly in combination with the SVM classifier. Notably, FS-VMD demonstrated a significant accuracy improvement for the ’AA’ metric, increasing from 71.42% in the 3-channel configuration to 99.98% in the 18-channel setup.
Additionally, the analysis of various feature selection methods alongside FS-VMD with SVM confirmed the outstanding performance of the iterative relief (iRelief) method, achieving a peak accuracy of 99.99% in the 18-channel configuration. These results emphasize the critical role of channel configuration in EEG signal processing and provide valuable insights for advancing the accuracy and efficiency of brain–computer interface (BCI) systems.
While the proposed FS-VMD framework has demonstrated significant improvements in motor imagery EEG classification, its potential applications extend beyond this domain. Future research can explore the applicability of FS-VMD in other areas, such as mental imagery, where decoding imagined actions could enhance brain–computer interface (BCI) applications for assistive technologies. Additionally, this method could be utilized for stroke rehabilitation, aiding in the analysis of brain activity patterns to develop more effective neurofeedback-based therapies.
Beyond neurological disorders, FS-VMD can be adapted for real-time EEG monitoring in cognitive workload assessment, which is crucial in fields such as aviation, military operations, and human–computer interaction. Furthermore, integrating FS-VMD with deep reinforcement learning or transfer learning techniques could improve adaptability to different EEG datasets and enhance model generalization. Future studies could also investigate its effectiveness in multimodal biosignal processing, combining EEG with other physiological signals like electromyography (EMG) and electrocardiography (ECG) for comprehensive health monitoring systems.
These directions highlight the broader impact of FS-VMD in neuroscience and biomedical engineering, paving the way for advanced signal-processing techniques in various domains.