[Paper Review] Machine Learning for removing EEG artifacts: Setting the benchmark
This paper establishes the first benchmark for automated EEG artifact recognition using the world’s largest open-source EEG artifact dataset (NEDC TUH). It evaluates diverse machine learning models—ranging from LDA to XGBoost—on a six-class classification task (five artifact types and null), achieving a top weighted-F1 score of 0.8012 with LDA, though performance remains low for shivering artifacts (sensitivity: 2.50%).
Electroencephalograms (EEG) are often contaminated by artifacts which make interpreting them more challenging for clinicians. Hence, automated artifact recognition systems have the potential to aid the clinical workflow. In this abstract, we share the first results on applying various machine learning algorithms to the recently released world's largest open-source artifact recognition dataset. We envision that these results will serve as a benchmark for researchers who might work with this dataset in future.
Motivation & Objective
- To establish a performance benchmark for automated EEG artifact recognition using a large-scale, open-source dataset.
- To address the lack of reproducible results in prior EEG artifact detection research due to closed or small datasets.
- To evaluate diverse machine learning algorithms on a six-class EEG artifact classification task, including both artifact and non-artifact (null) classes.
- To improve clinical EEG analysis by reducing manual effort and error through automated artifact detection.
- To identify model limitations, especially in detecting rare or subtle artifacts such as shivering.
Proposed method
- The study uses the NEDC TUH EEG Artifact Corpus, comprising 259 sessions from 213 patients and 66,638 seconds of EEG data with five artifact types and a null class.
- Data is split at the patient level into 60% training, 20% validation, and 20% test sets to ensure generalization across patients.
- Raw EEG signals are converted to a 22-channel transverse central parietal (TCP) montage to enhance spike detection.
- For feature extraction, the Fast Fourier Transform (FFT) is computed on 1-second EEG clips with 75% overlap across all channels.
- Spectral features are clipped from 1–24 Hz, normalized across frequency bins, and used to compute a 22×22 correlation matrix.
- The absolute values of the eigenvalues from the upper-right triangle of the correlation matrix are used as input features for supervised learning models.
Experimental results
Research questions
- RQ1What is the performance of diverse machine learning algorithms on the largest publicly available EEG artifact recognition dataset?
- RQ2How well do models generalize across patients when trained on a patient-level split?
- RQ3Which machine learning model achieves the highest weighted-F1 score and accuracy in classifying six EEG artifact classes?
- RQ4Why do certain artifact types, particularly shivering, show significantly lower detection sensitivity?
- RQ5Can hyperparameter optimization via HyperOpt improve model performance on this imbalanced dataset?
Key findings
- Linear Discriminant Analysis (LDA) achieves the highest weighted-F1 score of 0.8012 and accuracy of 71.43%, outperforming other models on the overall metric.
- Shivering artifacts are the most poorly detected, with a sensitivity of only 2.50% across all models, indicating a major detection gap.
- k-Nearest Neighbors (k-NN) achieves the highest sensitivity for chewing artifacts (86.07%), suggesting it is particularly effective for this class.
- XGBoost and SGD classifier show strong performance with weighted-F1 scores of 0.7996 and 0.7887, respectively, and high null class sensitivity (71.90% and 70.36%).
- Despite high overall performance, models struggle with rare or low-amplitude artifacts, especially shivering, highlighting a need for improved feature engineering or data augmentation.
- The use of under-sampling for class imbalance during training improves generalization, but does not fully resolve the detection issue for minority classes like shivering.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.