Eeg Depresion Detection Ieee
Eeg Depresion Detection Ieee
Significance: EEG biomarkers give an objective basis to a This study builds upon previous studies while at the same time
diagnosis of depression, reducing dependence on subjective bridging several gaps by:
assessments. Application of advanced preprocessing and feature selection
techniques to improve EEG features for machine learning.
3. Machine Learning for Depression Detection The use of SMOTE to address class imbalance in order to allow
for fair clinical evaluation of the machine learning models.
The application of algorithms of machine learning to the Conducting a performance comparison of several algorithms
interpretation of EEG data is unprecedented in the sense that (SVM, Random Forests, and CNN) so as to pinpoint the exact
an understanding of intricate patterns such as the one’s methodology that worked best.
denoting depression is possible. Important studies include: Exploring the possibility of real-time applications and further
Support Vector Machines (SVM): Achieved greater integration of multimodal data sources into one.
accuracy of classifying patients as having or not having
depressive states based on EEG features. Random Forest III. RESEARCH METHODOLOGY:
(RF): Useful in feature selection and classification, resistant
to overfitting.Convolutional Neural Networks (CNNs): This part shows the systematic approach taken to Develop an
Utilize deep features directly obtained from raw EEG EEG-based depression detection system with the help of
signals and are capable of independent recognition of machine learning methods. It can be divided into the following
patterns without any pre-processing.K-Nearest Neighbours major stages: data acquisition, preprocessing, feature
(KNN): Enables easy and understandable classification, but extraction, feature selection, model building, evaluation, and
when applied to large data and high dimensional features, deployment.
the effectiveness is low. Algorithm Findings Limitation
4. Limitations of Existing Systems Approach
It is true that systems that try to detect depression using Multiwavelet High accuracy Small dataset
EEG signals have some promise in clinical settings Transform, in emotion size, not
However: SVM classification depression-
using EEG specific
1. Classes Not Well Distributed: There is a lack of
depressed samples, and hence, there is a modelling Random Forest, Reliable Limited dataset,
bias. Such techniques like SMOTE (Synthetic KNN classification of no real-time
Minority Over- sampling Technique) however in not depressive states application
used in the majority. Convolutional High accuracy Requires large
2. Feature Selection: A number of features are utilized Neural with deep datasets,
without perhaps the feature selection method and the Networks learning models computationally
significance of a number of EEG parameters may (CNN) for EEG data expensive
not even be recognized. Random Forest, Effective No integration
3. Low Population Samples: There are multiple Decision Trees classification with multimodal
research studies which have a low sample size and using EEG data, not real-
have the tendency of being ethnically and features time
geographically located towards one population race. Ensemble Improved Integration
4. Offline Processing: Most of the currently available Learning, accuracy with challenges and
models don’t cater for real time due to their use of Gradient multimodal data limited dataset
offline processing. Boosting (EEG, speech, variety
text)
5. Data Sources: Very few studies have been able to
use EEG and integrate it with data from speech or SVM, Feature High accuracy Limited
text. Engineering in stress and generalizability
depression across
5. Advances and Research Gaps detection populations
Recently, studies have dedicated efforts to addressing Table 1 Summary Table Of Previous Work
these limitations:
Advanced Preprocessing: Noise removal and
normalization techniques ensure great quality of EEG
signals.Feature Selection Techniques: Methods, such as
robustness in high-dimensional spaces.Random Forest
(RF): It is effective for feature selection and preventing
overfitting.CNNs: Get complex patterns from raw EEG
signals.Data Split: 70% for training, 15% for validation,
and 15% for testing
Class Imbalance Handling: Synthetic Minority Over-
sampling Technique SMOTE is applied for
underrepresented classes to balance training
6. Model Evaluation The trained models are evaluated
based on multiple metrics to ensure that the model is
reliable and robust.Accuracy: The percentage of correct
predictions.
Precision: Positive predictions that are correct.
Recall: True positives out of all actual positives.
F1-Score: Harmonic mean of precision and recall.
Fig 1. Confusion Matrix showcasing model performance
ROC-AUC: The model's ability to discriminate between
1. Data Collection classes across different thresholds.
Good-quality EEG data is essential for training and
testing the depression detection system. 7. Deployment
Sources: EEG data is collected from public datasets or
clinical studies with depressed patients and healthy The final model is put into real world application:Platform:
controls. A web or mobile interface for healthcare professionals
Device: EEG signals are recorded using non-invasive and researchers.User Interface: Simplified input system for
devices with standard electrode placements according to EEG data and instant classification results.Monitoring:
the 10-20 system. Continuous updates with new data to improve
Data Size: Datasets contain hundreds of samples to accuracy over time.
ensure a balance between depressive and non-
depressive cases.
Annotations: Depressive or non-depressive labels are
given for training supervised learning.
2. Preprocessing
It is necessary for the quality and the usability of the
EEG data in a machine learning manner.Noise Removal:
Eliminates artefacts from blinks, movement of muscles
and external interference due to the usage of
filters.Segmentation: The whole EEG recording needs to
be split into manageable epochs for
analysis.Normalization: The EEG signal is scaled
between a certain uniform range across features.Data
Augmentation: Techniques such as flipping and adding
noise are applied to create diversity in the dataset.
3. Feature Extraction The most relevant EEG features
are extracted to capture patterns indicative of
depression.Statistical Features: Mean, standard deviation,
and variance of EEG signals.Spectral Features: Power
spectral density of alpha, beta, and theta
waves.Biomarkers: Metrics such as asymmetry in alpha
waves and activity in the frontal lobe, highly related to
states of depression.
4. Feature Selection Feature selection reduces
dimensionality and improves model performance by
concentrating on the most relevant features.SelectKBest:
Statistical tests select features most correlated with
depression labels.
MRMR (Minimum Redundancy Maximum Relevance):
It ensures that the selected features are informative
and not redundant.
5. Model Training Machine learning models are trained to
classify depressive and non-depressive
statesAlgorithms Used:
Support Vector Machine (SVM): It is known for its
for the detection of depression.The performance
metrics used in the evaluation are accuracy
, precision, recall, F1-score, and ROC-AUC.
1. Performance of Machine Learning Models
The models trained on EEG data exhibited the following
results:
2. Comparative Analysis
SVM: Performed well with high accuracy and a
balanced F1-score, demonstrating its robustness in
handling high-dimensional EEG data.Random Forest:
Showed better performance than SVM, particularly in
recall and ROC-AUC, indicating its ability to identify
depressive cases effectively.CNN: Outperformed
traditional models by leveraging deep learning for
feature extraction, achieving the highest accuracy and
ROC-AUC values.
3. Effect of Feature Selection
Feature selection techniques such as SelectKBest and
MRMR improved model performance by reducing
feature redundancy and enhancing classification
accuracy. Models trained with selected features showed
a 2– 4% improvement in accuracy compared to models
trained with all features.
IV. RESULTS:
The results of this study confirm the effectiveness of using EEG
signals and machine learning techniques
Fig 3. Training and Test Accuracy plot.
4. Impact of Class Imbalance Handling SVM: Provided competitive results with lower computational
overhead, making it suitable for scenarios with limited
Applying SMOTE to handle class imbalance resulted in a resources.Random Forest: Demonstrated strong
significant improvement in recall and F1-score, ensuring the performance in feature importance analysis but lagged
model’s ability to identify depressive cases without bias. slightly behind SVM and CNN in terms of accuracy.
3. Real-World Applicability
5. Key Observations Scalability: The framework’s modular design ensures
Alpha Wave Asymmetry: This feature consistently appeared as scalability, making it adaptable to different datasets and
one of the most informative biomarkers for depression populations.Real-Time Deployment: Integration into
classification.Real-Time Potential: The trained models web and mobile applications enables real-time use,
demonstrated sufficient computational efficiency, making enhancing accessibility for clinicians and
them suitable for real-time deployment. researchers.Objectivity: By leveraging EEG
biomarkers, the system provides an objective alternative
V. DISCUSSION: to traditional diagnostic methods, reducing reliance on
subjective self-reports.
1. Key Findings
4. Limitations
High Classification Accuracy: The framework achieved an Dataset Size and Diversity: The study was limited by
overall accuracy of over 94% with CNNs, showcasing the the availability of large, diverse datasets. This may
efficacy of deep learning in capturing complex patterns in affect the generalizability of the model across different
EEG signals.Feature Relevance: Features such as alpha demographics and cultural contexts.Single Modality:
wave asymmetry and theta wave activity significantly The reliance solely on EEG data excludes other
contributed to the classification, aligning with existing potentially valuable modalities, such as speech, text, or
research that identifies these biomarkers as indicators of behavioral data.Computational Requirements: Deep
depression.Effectiveness of Preprocessing: Noise removal learning models like CNNs demand significant
and normalization played a pivotal role in improving signal computational resources, which may pose challenges
quality, directly enhancing model performance.Addressing for deployment in resource- constrained environments.
Class Imbalance: The use of SMOTE effectively balanced
5. Future Directions
the dataset, ensuring robust recall values for minority classes
(depressed samples). This highlights the importance of Multimodal Integration: Combining EEG with other
addressing imbalanced data in mental health diagnostics. modalities, such as facial expressions, voice patterns, or
text analysis, could improve diagnostic accuracy and
provide a more comprehensive understanding of
depressive states.Dataset Expansion: Including larger
and more diverse datasets can enhance the model’s
robustness and generalizability.Model Optimization:
Exploring lightweight neural architectures or hybrid
models could balance performance and computational
efficiency for broader adoption.Real-Time Feedback:
Enhancing the deployment system to provide actionable
insights and real-time feedback for clinicians could
improve clinical decision- making.
Hardware Configuration:
Fig 4. F1 Scores by Class.
CPU: Intel Core i7 or equivalent.
2. Comparative Analysis of Algorithms
GPU: NVIDIA GTX 1660 or better (for deep learning
CNNs: Outperformed traditional algorithms (SVM, RF) models).
due to their ability to automatically extract features and
learn non-linear relationships in the data. However, RAM: 16 GB.
CNNs require more computational resources and larger
datasets for optimal performance.
Environment: Python (v3.8) with libraries like
Scikit-learn, TensorFlow, and PyTorch.
Software Tools: 6. Experimental Procedure
[3] Guo, J., Sun, Y., & Wang, Y. (2021). "Deep learning- [12] Acharya, U. R., et al. (2015). "Automated diagnosis of
based classification of depression from EEG signals." depression using nonlinear EEG features." Journal of
Frontiers in Psychiatry, 12, 1234. Medical Systems, 39(11), 1-7.
[4] Sharma, R., & Kumar, A. (2019). "Depression detection [13] Tripathi, S., et al. (2017). "Using deep and
using EEG signals and random forest classification." convolutional neural networks for accurate emotion
International Journal of Biomedical Engineering and classification on DEAP dataset." Proceedings of IEEE
Technology, 32(2), 112-126. Conference on Affective Computing and Intelligent
Interaction (ACII), 11, 45-52.
[5] Garcia-Ceja, E., Riegler, M., Jakobsen, P., et al. (2018).
"Depression detection using multimodal data: A [14] Murugappan, M., et al. (2014). "Classification of
systematic review." PLOS ONE, 13(6), e0197261. depression from EEG signals using wavelet transform."
Procedia Computer Science, 36, 423-428.
[6] Al-Shargie, F., et al. (2016). "Mental stress assessment
using simultaneous measurement of EEG and fNIRS." [15] Sadiq, M. T., et al. (2021). "EEG-based classification of
IEEE Transactions on Biomedical Engineering, 63(10), depression using novel hybrid feature selection
2071-2079. techniques." Biomedical Signal Processing and Control,
66, 102491.
[7] Liu, T., et al. (2020). "Automatic classification of major
depression patients and healthy controls using EEG and [16] Patel, A. B., et al. (2018). "Machine learning for EEG-
deep learning." IEEE Transactions on Neural Systems based diagnosis of depression and anxiety disorders."
and Rehabilitation Engineering, 28(5), 1035-1042. International Journal of Neural Systems, 28(6),
1850015.
[8] World Health Organization. (2017). "Depression and
other common mental disorders: Global health [17] Zhang, T., et al. (2016). "EEG signal classification for
estimates." WHO Publication. emotion recognition using deep learning."
Neurocomputing, 192, 126-135.
[9] Tzovara, A., et al. (2015). "EEG-based decoding of
affective states in depression and its application in [18] Frantzidis, C. A., et al. (2017). "Exploring EEG
therapy." Nature Communications, 6, 7625. functional connectivity patterns in depression." Frontiers
in Human Neuroscience, 11, 116.