Papers
Topics
Authors
Recent
Search
2000 character limit reached

Automatic Muscle Artifacts Identification and Removal from Single-Channel EEG Using Wavelet Transform with Meta-heuristically Optimized Non-local Means Filter

Published 5 Jan 2022 in eess.SP | (2201.01462v2)

Abstract: Electroencephalogram (EEG) signals may get easily contaminated by muscle artifacts, which may lead to wrong interpretation in the brain--computer interface (BCI) system as well as in various medical diagnoses. The main objective of this paper is to remove muscle artifacts without distorting the information contained in the EEG. A novel multi-stage EEG denoising method is proposed for the first time in which wavelet packet decomposition (WPD) is combined with a modified non-local means (NLM) algorithm. At first, the artifact EEG signal is identified through a pre-trained classifier. Next, the identified EEG signal is decomposed into wavelet coefficients and corrected through a modified NLM filter. Finally, the artifact-free EEG is reconstructed from corrected wavelet coefficients through inverse WPD. To optimize the filter parameters, two meta-heuristic algorithms are used in this paper for the first time. The proposed system is first validated on simulated EEG data and then tested on real EEG data. The proposed approach achieved average mutual information (MI) as 2.9684 $\pm$ 0.7045 on real EEG data. The result reveals that the proposed system outperforms recently developed denoising techniques with higher average MI, which indicates that the proposed approach is better in terms of quality of reconstruction and is fully automatic.

Summary

  • The paper presents a fully automated cascaded framework combining SVM-based artifact detection, wavelet packet decomposition, and a meta-heuristically optimized non-local means filter to clean EEG signals.
  • It achieves high sensitivity (98.31%) and specificity (97.91%), effectively suppressing EMG artifacts while preserving underlying neuronal information.
  • The approach outperforms existing methods on simulated and real data, ensuring minimal signal distortion and suitability for online EEG and BCI applications.

Automatic Muscle Artifact Removal from Single-Channel EEG via Wavelet Transform and Meta-Heuristically Optimized Non-Local Means Filtering

Introduction

Artifact contamination—primarily EMG-related muscle activity—remains a major constraint in single-channel EEG analysis, detrimentally impacting both clinical and BCI system performance. Conventional multi-channel blind source separation (BSS) approaches, ICA, or CCA-based methods, often degrade significantly for single-channel EEG due to strong source mixture and absence of suitable reference channels. Meanwhile, pure decomposition or wavelet methods either lack automation or compromise underlying neuronal information due to hard thresholding. The present work introduces a cascaded, fully automatic denoising framework that leverages WPD for multi-resolution time-frequency decomposition and a non-thresholded, parameter-optimized NLM filter for artifact suppression. Parameter optimization is tackled using GWO, yielding a systematic, signal-adaptive pipeline. Figure 1

Figure 1: Basic architecture integrating SVM-based artifact detection, WPD decomposition, and NLM-based artifact correction with meta-heuristic optimization.

Methodology

Artifact Identification

A supervised SVM architecture discriminates corrupted (C-EEG) versus non-corrupted (NC-EEG) segments. Feature selection targets signal variance, Shannon entropy, and peak-to-peak amplitude, supporting robust classifier performance (sensitivity: 98.31%, specificity: 97.91%). Notably, the framework automates artifact recognition, bypassing the typical need for expert curation. Figure 2

Figure 2: Experimental setup involving various cognitive and motoric tasks to induce EMG artifacts in EEG.

Figure 3

Figure 3: Discriminability of extracted features for SVM-based corrupted/clean EEG classification.

WPD-Based Multi-Resolution Decomposition

WPD is preferred over DWT and EMD-based methods for its consistent frequency band partitioning at each resolution, crucial for non-stationary EEG. Mother wavelet selection is formalized—minimizing reconstruction error identifies "fk6" as optimal. Shannon entropy criteria identify level 3 as the decomposition depth at which approximation coefficients cA contain less information than detail coefficients cD, ensuring effective scale selection.

Non-Local Means Denoising with Meta-Heuristic Parameterization

Artifact coefficients are corrected via NLM, which computes patch-based weighted averages—capitalizing on non-local signal similarities. Unlike classical approaches, no arbitrary thresholding is present; instead, bandwidth (λ\lambda), patch width (P), and search width (M) are systematically explored. Empirical evaluation demonstrates that P=4 and M=50 optimize SAR and computation time. Figure 4

Figure 4: SAR improvement curves for varying patch widths and search sizes, highlighting the insensitivity of SAR to M but clear maxima over P=4.

Figure 5

Figure 5: SAR sensitivity over λ\lambda values (bandwidth parameter), establishing the necessity of per-signal optimization.

Parameter λ\lambda is adaptively selected using the GWO meta-heuristic, empirically outperforming PSO optimizers in convergence and fitness. Figure 6

Figure 6: Superior convergence rate of GWO versus PSO for the λ\lambda search problem.

Signal Reconstruction

Inverse WPD synthesizes the artifact-corrected EEG from NLM-corrected coefficients, restoring the cleaned time series.

Experimental Results

Simulated Data

On simulated C-EEG (clean + EMG-contaminated), the pipeline accurately preserves both temporal and spectral structure (see below), greatly mitigating distortions observed in peer methods. Figure 7

Figure 7: Simulated clean EEG, EMG, corrupted C-EEG, and corrected signal—demonstrating effective artifact removal and preservation of original EEG structure.

Figure 8

Figure 8: Power spectral densities of raw, contaminated, and reconstructed signals confirm restoration of canonical EEG bands post-denoising.

Comparison against MKNLMS-CS, tuneable WPD, and EEMD-CCA verifies the approach's ability to minimize information loss in clean intervals (mean CC = 0.8863 vs. 0.5089-0.5557 for other approaches) and achieve highest CC/SSIM over full signal (CC = 0.8675, SSIM = 0.6809). Figure 9

Figure 9: Visual comparison of denoised signals from referenced methods versus the proposed approach, highlighting minimal clean-region distortion.

Multi-Channel and Real Data Evaluation

Full 32-channel evaluation confirms scalability and robust generalization. Across all channels, mutual information (MI) retention is highest for the proposed method (average MI: 2.97 ± 0.70), consistently outperforming baseline denoising algorithms. The lack of manual tuning and persistence of information-theoretic metrics reinforce the suitability for online and unsupervised BCI contexts.

Theoretical and Practical Implications

The presented pipeline advances EEG artifact suppression in several dimensions:

  • Automation: Eliminates ad hoc threshold selection and user intervention, achieving full pipeline automation.
  • Generalization to Online/Real-Time Analysis: The parameter-free, meta-heuristic tuning and computational parsimony render the method practical for embedded and clinical EEG applications.
  • Minimized Signal Distortion: Avoids over-smoothing and maintains high fidelity in clean epochs, supporting downstream pattern recognition or clinical diagnostics.
  • Meta-Heuristic Optimization in Biomedical Signal Processing: Demonstrates the impact of global search-based optimizers for adaptive, context-specific parameter tuning in denoising filters; future extensions might integrate other evolutionary or swarm-based strategies.
  • Extensibility: The cascade architecture accommodates extensions such as additional artifact types (EOG, ECG) via tailored classifiers or hierarchical denoising.

Conclusion

This work proposes a comprehensive, scalable, and robust artifact removal framework for single-channel EEG leveraging WPD decomposition, NLM-based denoising, and GWO-driven parameter optimization. Empirical analyses show clear quantitative and qualitative superiority over canonically used single-channel artifact removal baselines. The method's automation and high preservation of relevant EEG characteristics significantly enhance its applicability to real-world and online biomedical signal processing settings. Ongoing research directions include extension to multi-artifact scenarios and further reduction of computational overhead for real-time deployment.

(2201.01462)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.