Adaptable and Robust EEG Bad Channel Detection Using Local Outlier Factor (LOF)

Sensors (Basel). 2022 Sep 27;22(19):7314. doi: 10.3390/s22197314.

Abstract

Electroencephalogram (EEG) data are typically affected by artifacts. The detection and removal of bad channels (i.e., with poor signal-to-noise ratio) is a crucial initial step. EEG data acquired from different populations require different cleaning strategies due to the inherent differences in the data quality, the artifacts' nature, and the employed experimental paradigm. To deal with such differences, we propose a robust EEG bad channel detection method based on the Local Outlier Factor (LOF) algorithm. Unlike most existing bad channel detection algorithms that look for the global distribution of channels, LOF identifies bad channels relative to the local cluster of channels, which makes it adaptable to any kind of EEG. To test the performance and versatility of the proposed algorithm, we validated it on EEG acquired from three populations (newborns, infants, and adults) and using two experimental paradigms (event-related and frequency-tagging). We found that LOF can be applied to all kinds of EEG data after calibrating its main hyperparameter: the LOF threshold. We benchmarked the performance of our approach with the existing state-of-the-art (SoA) bad channel detection methods. We found that LOF outperforms all of them by improving the F1 Score, our chosen performance metric, by about 40% for newborns and infants and 87.5% for adults.

Keywords: EEG; artifacts; bad channels; local outlier factor.

MeSH terms

  • Adult
  • Algorithms
  • Artifacts
  • Electroencephalography* / methods
  • Humans
  • Infant, Newborn
  • Signal Processing, Computer-Assisted*
  • Signal-To-Noise Ratio

Grants and funding