iCanClean Algorithm for Mobile EEG: A Comprehensive Guide to Advanced Motion Artifact Removal

Zoe Hayes Dec 02, 2025 13

Mobile electroencephalography (EEG) enables unprecedented brain imaging during natural movement but is critically hindered by motion, muscle, and environmental artifacts that corrupt data quality.

iCanClean Algorithm for Mobile EEG: A Comprehensive Guide to Advanced Motion Artifact Removal

Abstract

Mobile electroencephalography (EEG) enables unprecedented brain imaging during natural movement but is critically hindered by motion, muscle, and environmental artifacts that corrupt data quality. This article provides a comprehensive exploration of the iCanClean algorithm, a novel preprocessing solution that leverages canonical correlation analysis (CCA) and reference noise recordings to effectively isolate and remove artifacts. We detail its foundational principles, methodological implementation with both dual-layer hardware and software-generated pseudo-references, and provide evidence-based optimization strategies for key parameters like window length and R² threshold. Through comparative analysis with other methods like Artifact Subspace Reconstruction (ASR) and Adaptive Filtering, we demonstrate iCanClean's superior performance in improving Independent Component Analysis (ICA) outcomes and preserving neural signals across diverse populations and movement conditions. This guide is tailored for researchers and professionals seeking to enhance data fidelity in mobile brain imaging for clinical, cognitive, and pharmaceutical development applications.

The Mobile EEG Challenge: Why Motion Artifacts Hinder Brain Imaging and How iCanClean Addresses This

Mobile electroencephalography (EEG) has emerged as a transformative tool for studying brain dynamics during natural body movement, offering unparalleled temporal resolution for real-world brain imaging [1]. However, the very mobility that enables these unique insights also introduces a critical technical challenge: motion artifacts that severely corrupt signal quality and impede source-level analysis [1]. These artifacts originate from multiple sources, including cable sway, muscle contractions, and electrode movement, creating signal contaminants that can overwhelm genuine neural activity [2]. This Application Note examines how motion artifacts compromise independent component analysis (ICA) for source separation and details the implementation of iCanClean as an effective preprocessing solution within mobile brain imaging research pipelines [1] [2].

The Impact of Motion Artifacts on Source Analysis

Mechanisms of Motion Artifact Corruption

Motion artifacts introduce non-neural signal components that fundamentally violate core assumptions of blind source separation techniques like ICA [1]. During whole-body movement, artifacts manifest through several physical mechanisms:

  • Cable sway artifact: EEG cables moving through air create inductive coupling with ambient electromagnetic fields, generating high-amplitude signals that mask neural oscillations [2]
  • Electrode-skin interface disruption: Mechanical stress on electrodes causes impedance fluctuations that distort signal transduction [1]
  • Muscle artifact contamination: Neck and facial muscle activation during movement produces electromyographic (EMG) signals that bleed into EEG frequency bands [2]

These artifacts exhibit spatial and temporal properties that overlap with genuine neural activity, making them particularly difficult to remove with conventional filtering approaches without simultaneously removing brain signals of interest [1].

Consequences for Independent Component Analysis

ICA relies on statistical independence between sources to separate mixed signals. Motion artifacts degrade ICA performance through several mechanisms:

Table 1: Impact of Motion Artifacts on ICA Decomposition

Artifact Type Effect on ICA Consequence for Source Localization
Cable Movement Increases mutual information between components Reduces number of separable brain sources
Muscle Activity Introduces non-dipolar components Decreases component dipolarity
Electrode Motion Creates non-stationary signal properties Impairs convergence of ICA algorithms
Ocular Artifacts Dominates high-variance components Occupies neural component slots

In practical terms, motion artifacts reduce the number of well-localized brain components identifiable through ICA. In walking experiments, uncorrected data typically yields only ~8 usable brain components, significantly limiting the depth of subsequent neural analysis [1].

iCanClean: A Novel Solution for Mobile EEG Preprocessing

iCanClean is a canonical correlation analysis (CCA)-based algorithm that utilizes reference noise recordings to identify and remove artifact subspaces from contaminated EEG data [1] [2]. The algorithm operates on the principle that motion artifacts manifest as signal components with higher correlation between cortical electrodes and dedicated noise sensors than genuine neural signals [2].

The core innovation of iCanClean lies in its use of dual-layer EEG sensor technology, where outward-facing noise electrodes are mechanically coupled to traditional scalp electrodes but electrically isolated [1]. This configuration provides spatially and temporally matched noise references without requiring additional hardware beyond specialized electrode caps [1] [2].

G EEG_Data Raw Mobile EEG Data CCA Canonical Correlation Analysis (CCA) EEG_Data->CCA Noise_Refs Reference Noise Signals Noise_Refs->CCA Threshold Apply Correlation Threshold (r²) CCA->Threshold Remove Remove Correlated Subspaces Threshold->Remove Clean_EEG Cleaned EEG Data Remove->Clean_EEG ICA_Ready ICA-Ready Data for Source Analysis Clean_EEG->ICA_Ready

Comparative Performance Advantages

iCanClean demonstrates superior artifact removal capabilities compared to existing real-time-capable methods. In validation studies using a phantom head with known ground-truth brain signals, iCanClean achieved a Data Quality Score of 55.9% in conditions with all artifact types present, significantly outperforming Artifact Subspace Reconstruction (27.6%), Auto-CCA (27.2%), and Adaptive Filtering (32.9%) [2].

Table 2: Quantitative Performance of iCanClean on Mobile EEG Data

Performance Metric Uncleaned Data iCanClean Processed Improvement
Good ICA Components (avg) 8.4 13.2 +57%
Residual Variance (%)(avg) >15% <15% Significant reduction
Component Brain Probability (ICLabel) <50% >50% Significant increase
Minimum Noise Channels Required N/A 16 Maintains performance
Optimal Window Length N/A 4 seconds Balance of sensitivity/specificity

For ICA-based source analysis, iCanClean preprocessing increased the average number of "good" independent components—defined as those with residual variance <15% and brain probability >50%—from 8.4 to 13.2 (+57%) in human walking data [1]. This enhancement directly addresses the critical problem of motion artifacts impeding source-level analysis.

Experimental Protocols and Implementation

Dual-Layer EEG Data Collection Protocol

Materials and Equipment:

  • High-density dual-layer EEG cap with 120 scalp electrodes + 120 noise electrodes [1]
  • Paired electrode couplers (3D printed plastic) to mechanically fix scalp and noise electrodes [1]
  • Portable amplifier with sufficient channels for dual-layer recording (240+ channels) [1]
  • Standard electrode application supplies (conductive gel, blunt syringes, abrasion supplies)

Procedure:

  • Apply dual-layer EEG cap according to standard 10-5 or 10-20 system placement
  • Verify mechanical coupling between scalp and noise electrodes using 3D-printed couplers
  • Apply conductive gel to both scalp and noise electrodes, ensuring impedance <50 kΩ
  • Record baseline resting-state data (5 minutes) for potential calibration
  • Conduct mobile task recording (walking protocols recommended: 48-minute sessions with varying terrain difficulty) [1]
  • Include terrain variations: flat walking and uneven surfaces to induce motion artifacts [1]

iCanClean Processing Protocol

Software Requirements:

  • MATLAB with EEGLAB toolbox [1]
  • Custom iCanClean scripts (available from original researchers) [1] [2]
  • Standard computing hardware (no supercomputer required)

Processing Steps:

  • Basic Preprocessing:
    • Apply 1 Hz high-pass filter to remove slow drifts [1]
    • Perform average re-referencing separately for EEG and noise channels [1]
    • Remove outlier channels with amplitudes >3 times median using standard deviation thresholding [1]
  • iCanClean Parameter Setup:

    • Set window length to 4 seconds for optimal performance [1]
    • Configure r² threshold to 0.65 for balanced aggressiveness [1]
    • Define noise channel subsets (64, 32, or 16 channels based on quality requirements) [1]
  • Algorithm Execution:

    • Run iCanClean using canonical correlation analysis between cortical and noise electrodes
    • Remove identified noisy subspaces exceeding correlation threshold
    • Output cleaned data for subsequent ICA decomposition
  • Validation and Quality Control:

    • Decompose cleaned data using AMICA or Infomax ICA [1]
    • Localize components using dipole fitting (residual variance <15% threshold) [1]
    • Classify components using ICLabel (brain probability >50% threshold) [1]
    • Quantify number of "good" brain components for quality assessment [1]

Research Reagent Solutions

Table 3: Essential Materials for iCanClean Mobile EEG Research

Item Function/Application Specifications/Alternatives
Dual-Layer EEG Cap Simultaneous recording of scalp EEG and reference noise 120+120 electrode configuration; Mechanical couplers
3D Printed Couplers Mechanical fixation of noise electrodes to scalp electrodes Custom designs for specific electrode layouts
Portable Amplifier Signal acquisition in mobile settings 240+ channels; Wireless capability preferred
Conductive Gel Ensuring electrode-skin contact Standard EEG electrolyte gel
iCanClean Software Artifact removal preprocessing MATLAB-based; Integration with EEGLAB
AMICA Algorithm Independent component analysis Alternative: Infomax or FastICA
ICLabel Classifier Automated component classification EEGLAB plugin; CNN-based labeling

Optimal Parameter Configuration for Mobile EEG

Through comprehensive parameter sweeps, researchers have identified optimal iCanClean settings for mobile EEG scenarios. The 4-second window length provides an optimal balance between capturing temporally localized artifacts and maintaining statistical power for correlation analysis [1]. For cleaning aggressiveness, an r² threshold of 0.65 effectively removes artifacts while preserving neural content across diverse populations including young adults, high-functioning older adults, and low-functioning older adults [1].

G Param1 Window Length: 4 seconds Outcome1 ↑ Good ICA Components (8.4 to 13.2, +57%) Param1->Outcome1 Param2 r² Threshold: 0.65 Outcome2 ↓ Residual Variance (<15% target) Param2->Outcome2 Param3 Noise Channels: 16-64 Outcome3 ↑ Brain Probability (>50% target) Param3->Outcome3

Performance remains robust even with reduced noise channel counts, with 64, 32, and 16 noise channels yielding 12.7, 12.2, and 12.0 good components respectively—maintaining significant improvements over uncleaned data [1]. This flexibility enables researchers to optimize hardware requirements for specific study designs while maintaining cleaning efficacy.

Motion artifacts present a critical challenge for source-level analysis of mobile EEG data, fundamentally limiting the effectiveness of ICA for separating neural sources during movement. The iCanClean algorithm directly addresses this problem through a novel CCA-based approach that leverages dual-layer electrode technology to identify and remove artifact subspaces while preserving neural signals. With optimal parameterization (4-second windows, r²=0.65), iCanClean enhances the number of usable brain components by 57%, enabling more comprehensive source analysis in mobile paradigms. The experimental protocols and implementation guidelines provided herein offer researchers a validated framework for incorporating iCanClean into mobile brain imaging pipelines, advancing the field toward more robust analysis of neural dynamics in real-world contexts.

Electroencephalography (EEG) has evolved from a stationary laboratory technique to a mobile brain imaging tool, enabling neuroscientists to study brain dynamics during whole-body movement in naturalistic environments. This paradigm shift, known as mobile brain-body imaging, has created unprecedented opportunities for studying the neural control of human locomotion, real-world cognition, and athletic performance [3] [4]. However, this transition has introduced significant technical challenges, particularly concerning signal quality. Unlike traditional stationary EEG recordings, mobile EEG data becomes contaminated by motion artifacts—non-brain signals generated by head movement, cable sway, electrode displacement, and muscle activation during physical activities like walking and running [3] [5] [4]. These artifacts severely compromise the effectiveness of established signal processing techniques, particularly Independent Component Analysis (ICA), which forms the cornerstone of modern EEG analysis pipelines. This application note examines the fundamental limitations of ICA in handling motion-contaminated data and frames these challenges within the context of innovative preprocessing solutions, with a specific focus on the iCanClean algorithm.

The Fundamental Principles and Assumptions of ICA

Independent Component Analysis (ICA) is a blind source separation method that linearly decomposes multi-channel EEG data into statistically independent components (ICs) [3] [6]. The core mathematical principle underpinning ICA is the assumption that the observed EEG signals represent linear mixtures of underlying statistically independent sources, including both neural activity and various artifacts. The algorithm operates by identifying linear subspaces within the EEG data that demonstrate maximal independence based on higher-order statistics, effectively unmixing the signals to reveal their putative sources [3].

In practical EEG analysis, successful ICA decomposition enables researchers to:

  • Isolate independent neural components that often localize as dipolar sources [3] [4]
  • Identify and remove artifactual components related to eyes, muscle, heart, and line noise [6]
  • Reconstruct cleaned EEG data by excluding non-brain components [6]

The efficacy of this decomposition process hinges on several critical assumptions, including statistical independence of sources, non-Gaussian distribution of source signals, and linear mixing at the scalp [3]. When these assumptions are violated—as frequently occurs during movement—ICA's performance degrades significantly.

How Motion Artifacts Undermine ICA Core Assumptions

Violation of the Statistical Independence Principle

Motion artifacts introduce complex, structured noise that directly challenges ICA's foundational assumption of statistical independence between sources. During locomotion, artifacts generated by head movement, cable sway, and electrode displacement often correlate strongly with the gait cycle, creating rhythmic, high-amplitude noise patterns that spread across multiple channels [5] [4]. This structured noise exhibits spatial and temporal properties that can mimic genuine brain signals, making it difficult for ICA to distinguish between neural activity and motion-related artifacts.

The problem is particularly pronounced because motion artifacts often demonstrate higher amplitude and greater variance than underlying brain signals, causing ICA to prioritize these artifacts during decomposition. As a result, motion-related components may dominate the first several ICs, while neural components become fragmented across multiple remaining components or buried within noise subspaces [3] [4]. This violation of the independence principle fundamentally undermines ICA's ability to cleanly separate brain from non-brain activity.

Non-Stationarity and Data Requirements

ICA assumes relative stationarity in the mixing process—the relationship between sources and sensor recordings should remain reasonably constant throughout the data segment being decomposed [3]. Motion artifacts introduce severe non-stationarities as the relationship between brain sources and EEG electrodes changes dynamically with each movement. Electrode-scalp impedance fluctuates with head movement, cable sway alters electromagnetic properties, and muscle artifacts come and go with varying intensity [5] [4].

Furthermore, ICA requires substantial data volumes for effective decomposition—typically 30+ minutes of high-density (100+ channel) EEG recorded at ≥500 Hz for mobile scenarios [2]. Unfortunately, motion artifacts often contaminate large portions of this data, reducing the effective "clean" data available for decomposition and forcing ICA to operate on artifact-dominated segments.

Impact on Component Dipolarity and Localization

A key validation metric for ICA components is dipolarity—how well a component's scalp topography can be explained by a single equivalent dipole, with low residual variance (<15%) indicating a potentially valid brain source [3] [4]. Motion contamination severely compromises this property, as artifacts from muscle activity and electrode movement produce topographies that are often poorly fit by dipolar models. Consequently, the presence of significant motion artifacts reduces the number of valid brain components identifiable post-ICA, directly impairing source-level analysis [3].

Table 1: Quantitative Impact of Motion Artifacts on ICA Decomposition Quality

Metric Clean Stationary EEG Motion-Contaminated EEG Change
Number of "Good" Brain Components (Residual Variance <15%, ICLabel >50%) ~13-20 components [3] ~8 components [3] -38% to -60%
Component Dipolarity High [4] Significantly Reduced [4] Qualitative Degradation
ICLabel Classification Accuracy Reliable [3] Unreliable (untrained on motion artifacts) [4] Significant Reduction
Source Localization Precision <1-2 cm [2] Severely Compromised [3] Major Impact

Experimental Validation: Quantifying ICA Performance Degradation

Phantom Head Studies with Ground-Truth Signals

Controlled studies using electrical phantom heads with embedded brain source antennae have provided definitive evidence of ICA's limitations. These systems enable researchers to introduce precisely controlled artifacts while having access to ground-truth brain signals, allowing direct quantification of data quality. In one comprehensive assessment, a phantom head with 10 simulated brain sources and 10 contaminating sources (eyes, neck muscles, facial muscles, walking motion) was used to evaluate multiple cleaning approaches [2].

The results demonstrated that without specialized cleaning, the presence of multiple simultaneous artifacts reduced the Data Quality Score (based on correlation between brain sources and EEG channels) to just 15.7%, compared to 57.2% for clean brain-only recordings [2]. Traditional ICA struggled to recover meaningful neural information from this heavily contaminated data, highlighting the fundamental limitations of applying blind source separation without prior artifact mitigation.

Human Locomotion Studies

Research involving human participants during walking and running has further quantified ICA's performance degradation. A 2023 study collected high-density EEG (120+120 dual-layer electrodes) during treadmill walking across three participant groups (young adults, high-functioning older adults, and low-functioning older adults) [3] [1]. Without specialized motion artifact removal, ICA decomposition yielded only 8.4 good components on average (defined as components with residual variance <15% and ICLabel brain probability >50%) [3].

This performance deficit becomes particularly evident during more dynamic activities like running. Recent investigations during overground running demonstrate that motion artifacts produce broadband spectral power at the step frequency and its harmonics, which ICA alone cannot effectively separate from neural signals [4]. The consequent reduction in valid brain components directly impacts the ability to study cognitive processes during locomotion, such as detecting event-related potentials (ERPs) in adapted flanker tasks [4].

G cluster_ideal Ideal ICA Conditions (Stationary) cluster_motion Motion-Contaminated Conditions StationaryData Stationary EEG Data ICAProcess1 ICA Decomposition StationaryData->ICAProcess1 GoodSeparation Clean Source Separation • High dipolarity (RV<15%) • ICLabel accuracy • 13-20 good components ICAProcess1->GoodSeparation MotionData Mobile EEG Data + Motion Artifacts ICAProcess2 ICA Decomposition MotionData->ICAProcess2 PoorSeparation Degraded Separation • Reduced dipolarity • ICLabel unreliability • ~8 good components • Fragmented brain sources ICAProcess2->PoorSeparation Independence Violation: Statistical Independence Principle Independence->ICAProcess2 Stationarity Violation: Stationarity Assumption Stationarity->ICAProcess2 DataQuality Insufficient Clean Data DataQuality->ICAProcess2

Diagram 1: ICA Performance Degradation Pathway. This workflow illustrates how motion artifacts violate core ICA assumptions, leading to degraded source separation. RV = Residual Variance.

The iCanClean Solution: A Preprocessing Framework for Mobile EEG

The iCanClean algorithm represents a specialized preprocessing framework designed specifically to address the limitations of ICA in motion-contaminated EEG. The method leverages canonical correlation analysis (CCA) combined with reference noise signals to identify and remove noisy subspaces from EEG data before ICA decomposition [3] [2]. The algorithm operates on a simple but powerful principle: when reference noise recordings are available (e.g., from dual-layer EEG sensors or derived pseudo-references), CCA can identify subspaces of scalp EEG that correlate strongly with noise subspaces, allowing targeted removal without compromising brain activity [3] [4].

The implementation can utilize either physical noise sensors (as in dual-layer EEG caps where outward-facing electrodes capture only environmental noise) or algorithmically generated pseudo-reference noise signals created by applying temporary notch filters to raw EEG to isolate noise components [4]. This flexibility makes iCanClean applicable to both specialized and standard EEG systems.

Performance Advantages Over Alternative Methods

Comparative studies have demonstrated iCanClean's superior performance relative to other artifact removal approaches. In phantom head testing with known ground-truth signals, iCanClean achieved a Data Quality Score of 55.9% in conditions with multiple simultaneous artifacts, significantly outperforming Artifact Subspace Reconstruction (ASR: 27.6%), Auto-CCA (27.2%), and Adaptive Filtering (32.9%) [2]. The target benchmark for clean brain signals was 57.2%, indicating iCanClean's remarkable effectiveness in recovering neural information.

In human locomotion studies, iCanClean preprocessing increased the number of high-quality brain components obtained from ICA decomposition from 8.4 to 13.2 components (+57% improvement) when using optimal parameters (4-second window length, r²=0.65) [3]. This enhancement directly addresses ICA's core limitation by providing cleaner input data for subsequent blind source separation.

Table 2: iCanClean Performance Across Experimental Paradigms

Experimental Context Key Performance Metrics Comparison to Alternatives
Phantom Head with Simulated Artifacts [2] Data Quality Score: 55.9% (All Artifacts) Outperformed ASR (27.6%), Auto-CCA (27.2%), Adaptive Filtering (32.9%)
Human Treadmill Walking [3] +57% good ICA components (8.4 to 13.2) Optimal parameters: 4-s window, r²=0.65
Human Overground Running [4] Effective P300 ERP recovery; Reduced gait frequency power Superior to ASR for capturing expected congruency effects
Reduced Channel Configurations [3] Maintained performance with fewer noise channels (12.0 good components with 16 channels) Demonstrated robustness across hardware configurations

Detailed Experimental Protocols

Protocol 1: Establishing Optimal iCanClean Parameters for ICA Enhancement

Purpose: To determine optimal iCanClean parameters for maximizing ICA decomposition quality in mobile EEG data [3].

Materials and Setup:

  • High-density EEG system (64+ channels); dual-layer cap preferred
  • Reference noise electrodes (physical or pseudo-references)
  • Standardized locomotion paradigm (treadmill or overground walking)
  • EEGLAB/MATLAB environment with iCanClean implementation

Procedure:

  • Data Acquisition: Record EEG during approximately 48 minutes of walking, incorporating varying terrains or speeds if possible [3].
  • Basic Preprocessing: Apply 1 Hz high-pass filter, average re-referencing, and remove outlier channels (amplitude >3x median) [3].
  • Parameter Sweep Execution:
    • Test window lengths: 1s, 2s, 4s, and infinite (full recording)
    • Test r² thresholds from 0.05 to 1.0 in 0.05 increments [3]
    • Apply iCanClean to each parameter combination
  • ICA Decomposition: Process each cleaned dataset using preferred ICA algorithm (AMICA recommended) [3].
  • Component Evaluation:
    • Calculate residual variance for dipole fitting (<15% indicates good fit)
    • Apply ICLabel for brain probability classification (>50% indicates brain component) [3]
    • Count "good" components meeting both criteria
  • Optimal Parameter Selection: Identify parameter set yielding maximum good components (typically 4s window, r²=0.65) [3].

Validation Metrics:

  • Number of good components (residual variance <15%, ICLabel >50%)
  • Dipole fit quality across conditions
  • Spectral characteristics of retained components

Protocol 2: Comparative Assessment of Artifact Removal Methods

Purpose: To quantitatively compare iCanClean against alternative preprocessing methods using ground-truth validation [2].

Materials and Setup:

  • Electrical phantom head with embedded brain source antennae
  • Contamination sources: eye, muscle, motion, and line-noise simulators
  • EEG recording system with multiple reference configurations
  • Data Quality Score calculation framework

Procedure:

  • Ground-Truth Establishment: Record clean brain signals from phantom without artifacts [2].
  • Artifact Introduction: Systematically introduce contaminants:
    • Biological artifacts: eye blinks, facial muscle, neck muscle
    • Motion artifacts: walking simulation
    • Line-noise: 50/60 Hz interference [2]
  • Method Application:
    • Process contaminated data through iCanClean, ASR, Auto-CCA, and Adaptive Filtering
    • Use recommended default parameters for each method
    • For iCanClean, employ both dual-layer and pseudo-reference approaches [2]
  • Quality Assessment:
    • Calculate correlation between processed signals and ground-truth brain sources
    • Compute Data Quality Score (0-100%) for each method [2]
    • Compare spectral preservation and temporal distortion
  • Statistical Analysis: Perform repeated measures ANOVA across methods and artifact conditions.

Output Metrics:

  • Data Quality Score (%) for each method-condition combination
  • Processing time and computational requirements
  • Signal-to-noise ratio improvement

G cluster_hardware Hardware Setup cluster_software Software & Algorithms cluster_methods Comparison Methods EEGSystem High-Density EEG System (64+ channels) iCanClean iCanClean Algorithm EEGSystem->iCanClean DualLayer Dual-Layer Cap (120+120 electrodes) DualLayer->iCanClean Phantom Phantom Head with Embedded Brain Sources Phantom->iCanClean ICA ICA Decomposition (AMICA/Infomax) iCanClean->ICA ASR Artifact Subspace Reconstruction (ASR) AutoCCA Auto-CCA AdaptFilter Adaptive Filtering ICLabel ICLabel Classifier ICA->ICLabel EEGLAB EEGLAB Framework EEGLAB->iCanClean EEGLAB->ICA EEGLAB->ICLabel

Diagram 2: Experimental Ecosystem for Motion Artifact Research. This diagram outlines the hardware, software, and methodological components required for comprehensive evaluation of artifact removal techniques in mobile EEG research.

Table 3: Key Research Materials and Analytical Tools for Mobile EEG Artifact Research

Resource Category Specific Examples Function/Application
EEG Hardware Systems Dual-layer EEG caps (120+120 electrodes) [3]; DreamMachine mobile EEG [7]; OpenBCI systems Mobile data acquisition with reference noise capabilities
Reference Algorithms iCanClean [3] [2]; Artifact Subspace Reconstruction (ASR) [4] [2]; Adaptive Filtering [2]; Auto-CCA [2] Benchmark methods for comparative performance assessment
Validation Platforms Electrical phantom heads with embedded sources [2]; Robotic motion platforms [5] Ground-truth validation with controlled artifact introduction
Analytical Frameworks EEGLAB [3] [6]; ICLabel [3] [4]; Dipole fitting algorithms [3] Standardized processing and component evaluation
Performance Metrics Data Quality Score [2]; Component dipolarity (Residual Variance) [3] [4]; ICLabel probability scores [3] Quantitative assessment of algorithm performance

The limitations of traditional ICA in handling severe motion contamination represent a fundamental challenge in mobile brain imaging research. Motion artifacts systematically violate core assumptions of blind source separation, leading to degraded component quality, reduced valid brain sources, and compromised source localization. The iCanClean algorithm addresses these limitations through a targeted preprocessing approach that leverages reference noise signals—either physical or computational—to remove artifact subspaces before ICA decomposition. Experimental evidence from both phantom and human studies demonstrates that iCanClean consistently outperforms alternative methods, enhancing the number of valid brain components by 57% or more under optimal parameters [3] [2].

For researchers investigating neural dynamics during naturalistic movement, integrating iCanClean into standard EEG processing pipelines represents a critical advancement. By restoring ICA's effectiveness in motion-contaminated environments, iCanClean enables more reliable source separation and expands the range of scientific questions accessible through mobile brain imaging. Future developments should focus on optimizing parameters for specific movement paradigms, enhancing computational efficiency for real-time applications, and expanding validation across diverse participant populations and experimental scenarios.

The iCanClean algorithm represents a significant advancement in the preprocessing of mobile electroencephalography (EEG) data, offering a robust solution to the pervasive challenge of artifact contamination in real-world recording environments. As a novel noise-canceling algorithm, iCanClean utilizes canonical correlation analysis (CCA) to identify and remove subspaces of corrupted data recordings that exhibit the strongest correlation with subspaces of reference noise recordings [8]. This approach is computationally efficient, making it suitable for real-time applications such as brain-computer interfaces, while simultaneously addressing multiple artifact types without requiring clean calibration data [2].

The fundamental innovation of iCanClean lies in its generalized framework for removing EEG artifacts, which consistently outperforms alternative real-time-capable methods including Artifact Subspace Reconstruction (ASR), Auto-CCA, and Adaptive Filtering, regardless of the type or number of artifacts present [2]. This performance advantage is particularly evident in complex scenarios where multiple artifacts coexist simultaneously. In validation studies using a phantom head with known ground-truth brain signals, iCanClean demonstrated remarkable efficacy, improving data quality from 15.7% before cleaning to 55.9% after cleaning in conditions containing all artifact types simultaneously, outperforming other methods which achieved only 27.6%, 27.2%, and 32.9% improvement respectively [2].

For research requiring source-level analysis of mobile EEG data using independent component analysis (ICA), iCanClean serves as a powerful preprocessing step. Parameter sweep studies have identified optimal settings for window length and cleaning aggressiveness (4-s and r² = 0.65), at which iCanClean improved the average number of well-localized independent components from 8.4 to 13.2 (+57%), significantly enhancing the quality of subsequent ICA decompositions [9].

The Foundation: Canonical Correlation Analysis (CCA)

Mathematical Principles of CCA

Canonical Correlation Analysis is a multivariate statistical method designed to uncover the relationship between two sets of multi-dimensional variables [10]. The core mathematical objective of CCA is to find linear combinations for two random variables that maximize the correlation between the combined variables [10]. Formally, given two datasets Y₁ ∈ R^(N×p₁) and Y₂ ∈ R^(N×p₂), where N represents the number of observations and pₖ represents the number of features in each dataset, CCA determines canonical coefficients u₁ ∈ R^(p₁×1) and u₂ ∈ R^(p₂×1) by maximizing the correlation coefficient ρ:

CCA: max u₁,u₂ ρ = corr(Y₁u₁, Y₂u₂) = (u₁ᵀΣ₁₂u₂) / (√(u₁ᵀΣ₁₁u₁) √(u₂ᵀΣ₂₂u₂)) [10]

In this equation, Σ₁₁ and Σ₂₂ represent the within-set covariance matrices, while Σ₁₂ represents the between-set covariance matrix. The denominator serves to normalize the within-set covariance, ensuring invariance to scaling of coefficients [10]. The solution involves solving a classical eigenvalue problem, which can be efficiently computed through singular value decomposition (SVD), yielding up to M = min(p₁, p₂) pairs of canonical coefficients with corresponding canonical correlation values ρ⁽¹⁾ > ρ⁽²⁾ > ... > ρ⁽ᴹ⁾ [10].

CCA Extensions and Variants

The fundamental CCA framework has been extended to address various computational challenges and adapt to different application scenarios:

  • Sparse CCA (sCCA): Incorporates regularization techniques to identify sparse sets of canonical vectors, particularly beneficial when the number of features exceeds the number of observations (n << p) [11].
  • Structured Sparse CCA (ssCCA): Extends sCCA by incorporating structural relationships between features using graph-guided fused LASSO penalties, preserving spatial information in neuroimaging data [11].
  • Multiset CCA (mCCA): Generalizes CCA to more than two datasets, optimizing an objective function of the correlation matrix of canonical variates from multiple random vectors [11].
  • Stimulus-Informed GCCA (SI-GCCA): Incorporates stimulus information to steer the estimation of correlated components, particularly valuable for analyzing neural responses to natural stimuli [12].

iCanClean Performance and Comparative Analysis

Quantitative Performance Metrics

Table 1: Performance Comparison of iCanClean Against Alternative Methods on Phantom Head Data

Method Data Quality Score (Brain + All Artifacts) Improvement Over Unclean Computational Efficiency
Unclean Data 15.7% - -
iCanClean 55.9% +40.2% Suitable for real-time
ASR 27.6% +11.9% Requires clean calibration data
Auto-CCA 27.2% +11.5% No reference signals needed
Adaptive Filtering 32.9% +17.2% Requires accurate reference recordings

Source: [2]

The performance advantage of iCanClean is particularly striking in challenging conditions with multiple simultaneous artifacts. When all artifacts were present simultaneously (motion, muscle, eye, and line-noise), iCanClean improved data quality from 15.7% to 55.9%, approaching the benchmark of 57.2% represented by clean brain data without artifacts [2]. This performance substantially exceeded alternative methods, with iCanClean providing approximately 2-3.5 times greater improvement in data quality score compared to other approaches [2].

Application-Specific Performance

Table 2: iCanClean Performance in Enhancing ICA Decomposition for Mobile EEG

Participant Group Good Components (Basic Preprocessing) Good Components (iCanClean Optimized) Improvement Optimal Parameters
Young Adults 8.4 13.2 +57% Window: 4-s, r²: 0.65
High-Functioning Older Adults Similar improvement trends observed across groups
Low-Functioning Older Adults Similar improvement trends observed across groups
With Reduced Noise Channels (64) 8.4 12.7 +51% Maintained performance
With Reduced Noise Channels (32) 8.4 12.2 +45% Maintained performance
With Reduced Noise Channels (16) 8.4 12.0 +43% Maintained performance

Source: [9]

In applications focused on independent component analysis of mobile EEG data corrupted by walking motion artifacts, iCanClean demonstrated significant benefits for source-level analysis [9]. The algorithm maintained strong performance even with reduced sets of noise channels, indicating robustness and practical utility in constrained recording environments [9].

Experimental Protocols and Implementation

Core iCanClean Processing Workflow

The iCanClean algorithm operates through a structured processing sequence that can be implemented for both online and offline EEG cleaning applications. The following diagram illustrates the core workflow:

G RawEEG Raw EEG Data CCA Canonical Correlation Analysis RawEEG->CCA NoiseRef Reference Noise Recordings NoiseRef->CCA SubspaceIdent Identify Correlated Noise Subspaces CCA->SubspaceIdent Projection Project Data to Noise Subspaces SubspaceIdent->Projection Subtraction Subtract Noise Projections Projection->Subtraction CleanEEG Clean EEG Data Subtraction->CleanEEG

Diagram 1: iCanClean Algorithm Core Workflow

The iCanClean protocol begins with simultaneous input of raw EEG data and reference noise recordings [8]. The algorithm employs CCA to identify subspaces within the corrupted EEG data that exhibit maximal correlation with subspaces in the reference noise recordings [2] [8]. These correlated subspaces are subsequently projected and subtracted from the original EEG data, resulting in cleaned output that preserves neural activity while removing artifact contamination [2].

Reference Noise Recording Protocol

Objective: To obtain high-quality reference noise signals for optimal iCanClean performance.

Materials and Setup:

  • Dual-layer EEG system with dedicated noise recording electrodes [2] [9]
  • Alternative: External inertial measurement units (IMUs) for motion artifact reference [2]
  • Electrooculogram (EOG) electrodes for ocular artifact reference [2]
  • Electromyogram (EMG) electrodes for muscle artifact reference [2]

Procedure:

  • System Configuration: Implement a dual-layer EEG montage with dedicated noise channels. Studies indicate effective performance with 64, 32, or even 16 noise channels [9].
  • Placement: Position reference electrodes to optimally capture target artifacts:
    • EOG electrodes: Above and below left eye for vertical eye movements, lateral to outer canthi for horizontal movements
    • EMG electrodes: On forehead, neck, or facial muscles for muscle artifacts
    • IMU sensors: On head or electrode caps for motion artifacts
  • Synchronization: Ensure precise temporal alignment between EEG data and reference noise recordings
  • Quality Validation: Verify signal quality in reference channels before main experimental recordings

Parameter Optimization Protocol

Objective: To determine optimal iCanClean parameters for specific experimental conditions and research objectives.

Materials: High-density EEG system (100+ channels), reference noise recordings, standardized artifact induction protocol [2] [9]

Procedure:

  • Data Collection: Record EEG data under conditions representative of planned experiments, incorporating expected artifact types
  • Parameter Sweep:
    • Window Length: Test values from 1-10 seconds (optimal typically 4 seconds) [9]
    • Cleaning Aggressiveness (r²): Test values from 0.3-0.8 (optimal typically 0.65) [9]
    • Noise Channel Configuration: Evaluate performance with varying numbers of noise channels (16, 32, 64) [9]
  • Performance Validation:
    • For source-level analysis: Quantify number of well-localized independent components (residual variance < 50%) after ICA [9]
    • For signal quality: Calculate Data Quality Score as average correlation between known brain sources and EEG channels [2]
    • Compare performance against alternative methods (ASR, Auto-CCA, Adaptive Filtering) as benchmark [2]

The Scientist's Toolkit: Research Reagent Solutions

Table 3: Essential Research Materials and Solutions for iCanClean Implementation

Research Reagent Function/Utility Implementation Example
Dual-Layer EEG Systems Provides dedicated noise reference channels alongside standard EEG recording 120 + 120 electrode configuration enabling noise subspace estimation [9]
Active Electrode Technology Amplifies signals prior to transmission, reducing motion artifact susceptibility BioWolf platform with active dry electrodes for wearable EEG [13]
Electrical Phantom Head Validation apparatus with known ground-truth brain signals Conductive phantom with 10 embedded brain sources and 10 contaminating sources [2]
Canonical Correlation Analysis Multivariate statistical core of iCanClean algorithm Identifies maximally correlated subspaces between EEG and noise recordings [10] [8]
Independent Component Analysis Validation method for assessing cleaning performance Quantifies well-localized components after iCanClean processing [9]
Structured Sparse MCCA Advanced CCA variant for multimodal data fusion Extends iCanClean principles to simultaneous EEG-fNIRS analysis [11]

Advanced Applications and Implementation Considerations

Integration with Mobile Brain-Imaging Platforms

The implementation of iCanClean within mobile brain-imaging platforms requires specific engineering considerations. The algorithm's computational efficiency enables real-time operation on embedded systems, making it suitable for integration with wearable EEG platforms such as BioWolf, which combines an ADS1298 front-end with a parallel ultra-low-power SoC for real-time biosignal processing [13]. For studies requiring multimodal integration, iCanClean's CCA foundation can be extended through structured sparse multiset CCA (ssmCCA) to fuse simultaneous EEG and fNIRS datasets, leveraging the temporal resolution of EEG with the spatial advantages of fNIRS [11].

Specialized Processing Workflows

For specific research applications, specialized iCanClean workflows can be implemented:

G MobileEEG Mobile EEG Recording During Full-Body Movement iCanClean iCanClean Processing (Window: 4-s, r²: 0.65) MobileEEG->iCanClean RefNoise Obtain Reference Noise (Motion, Muscle, Ocular) RefNoise->iCanClean ICA Independent Component Analysis iCanClean->ICA CompClass Component Classification ICA->CompClass SourceLoc Source Localization CompClass->SourceLoc Results High-Quality Source-Level Analysis Results SourceLoc->Results

Diagram 2: Source-Level Analysis Workflow for Mobile EEG

This specialized workflow demonstrates how iCanClean serves as a critical preprocessing step for source-level analysis of mobile EEG data during full-body movement [9]. The cleaned data enables more effective ICA decomposition, component classification, and subsequent source localization, ultimately yielding high-quality results from challenging recording environments.

The iCanClean algorithm, through its innovative application of Canonical Correlation Analysis, represents a transformative approach to artifact removal in mobile EEG research. By leveraging reference noise recordings to identify and remove artifact subspaces while preserving neural signals, iCanClean addresses fundamental challenges in real-world brain imaging studies. The algorithm's demonstrated superiority over alternative methods, computational efficiency, and adaptability across research domains positions it as an essential tool for advancing mobile brain-imaging applications. As research continues to move beyond controlled laboratory settings, iCanClean provides a critical methodological foundation for obtaining high-quality neural data in dynamic, ecologically valid environments.

The quest for ecological validity in brain research has driven the adoption of mobile electroencephalography (EEG) to study brain dynamics during natural whole-body movement. However, this shift introduces significant technical challenges, primarily from motion artifacts that corrupt the fidelity of electrocortical recordings. The dual-layer EEG paradigm represents a hardware solution to this problem, employing mechanically coupled but electrically isolated noise electrodes to provide a dedicated reference for motion and non-biological artifacts [14]. This approach is particularly foundational for research employing the iCanClean algorithm, a computational method designed to leverage these reference signals to isolate and remove noise, thereby facilitating cleaner source-level analysis of mobile brain data [3] [15]. This Application Note details the underlying principles, experimental validation, and practical protocols for implementing this integrated approach, providing a resource for researchers aiming to study brain function in dynamic, real-world contexts.

Theoretical Foundation and Key Principles

The Dual-Layer EEG Concept

The core principle of the dual-layer EEG system is the simultaneous recording from two distinct layers of electrodes:

  • Scalp Electrodes: Traditional sensors that record a mixture of biological brain signals and various artifacts (e.g., motion, muscle, line noise).
  • Noise Electrodes: Inverted and electrically isolated sensors that are mechanically coupled to the scalp electrodes. Critically, these electrodes are bridged by conductive fabric, creating an "artificial skin" circuit. This setup ensures that while the noise electrodes experience the same motion-induced and environmental artifacts as the scalp electrodes, they record negligible cerebral activity [14] [15].

This mechanical coupling means that as cables sway or the head moves, both sensor layers are affected similarly by non-biological noise, enabling the noise layer to serve as a highly specific reference [14].

The iCanClean Algorithm: A Computational Partner

The iCanClean algorithm is a software solution designed to capitalize on the dual-layer hardware. It uses Canonical Correlation Analysis (CCA) to identify and remove linear subspaces within the scalp EEG data that are highly correlated with the signals from the noise electrodes [3]. The process can be summarized as:

  • Comparison: The algorithm compares the cortical electrode signals (brain + noise) with the noise electrode signals (noise only).
  • Identification: It identifies components in the scalp data that are highly correlated with the noise reference.
  • Rejection: These correlated noise components are rejected from the scalp data. This process preserves underlying brain signals that are not represented in the noise reference, leading to a cleaner signal without the need for clean calibration data [15].

Experimental Validation and Performance Data

The efficacy of the dual-layer paradigm combined with iCanClean has been rigorously tested in multiple studies, from controlled phantom head experiments to human studies involving complex movements.

Phantom Head Validation

A ground-truth validation study using a conductive phantom head with 10 embedded brain sources and 10 contaminating sources demonstrated iCanClean's superior performance in isolating brain signals amidst multiple concurrent artifacts. The table below summarizes the key findings on Data Quality Score (a correlation-based metric between brain sources and EEG channels) [15].

Table 1: Performance Comparison of Cleaning Methods on Phantom EEG Data

Condition No Cleaning iCanClean Artifact Subspace Reconstruction (ASR) Auto-CCA Adaptive Filtering
Brain (Target) 57.2% - - - -
Brain + All Artifacts 15.7% 55.9% 27.6% 27.2% 32.9%

The results show that iCanClean restored data quality to a level nearly matching the uncontaminated "Brain" condition, significantly outperforming other real-time-capable methods [15].

Human Performance During Movement

Studies on human participants during walking and table tennis have further validated the approach. The primary metric for success in these studies is the number of "good" independent components (ICs) resulting from an ICA decomposition—components that are well-localized by a dipole model and automatically labeled as "brain" by the ICLabel algorithm [3].

Table 2: iCanClean Performance on Human Mobile EEG Data

Study Paradigm Good ICs (No Cleaning) Good ICs (After iCanClean) Performance Gain Optimal Parameters (Window / r²)
Treadmill Walking [3] 8.4 13.2 +57% 4-s / 0.65
Table Tennis [14] Reported as significantly increased - - -

A parameter sweep established that an iCanClean window length of 4 seconds and an r² threshold of 0.65 are optimal for human walking data, effectively balancing cleaning aggressiveness with brain signal preservation [3]. Furthermore, performance remains robust even with a reduced set of noise channels, with 16 noise channels still yielding 12.0 good components on average [3].

Detailed Experimental Protocols

Protocol 1: Dual-Layer EEG Data Collection for Whole-Body Movement

This protocol is adapted from studies on table tennis and treadmill walking [14] [3].

Research Reagent Solutions

Item Function/Description
Dual-Layer EEG Cap Custom cap with 120 scalp and 120 noise electrodes (e.g., ActiCAP snap).
3D-Printed Couplers Mechanically joins a scalp electrode to its inverted noise electrode pair.
Conductive Fabric EeonTex fabric acts as an artificial skin circuit for the noise layer.
LiveAmp Amplifiers Multiple portable amplifiers (e.g., 4x LiveAmp 64) to log data at 500 Hz.
Inertial Measurement Units (IMUs) Placed on body, equipment, and inside the amplifier backpack for motion synchronization.
Electrode Gel & Impedance Check Ensure scalp electrode impedance is below 20 kΩ at the start of recording.

Procedure

  • Participant Preparation: Fit the dual-layer cap on the participant. Apply electrolyte gel to all scalp electrodes. Verify impedance values are below 20 kΩ.
  • System Assembly: Secure the 3D-printed cases containing the amplifiers in a backpack fitted with lightweight foam. Adjust straps so the backpack rests securely on the participant's upper back. The total system weight is approximately 2.7 kg.
  • Sensor Synchronization: Place IMUs on the participant's body (e.g., forehead, lower back) and relevant experimental apparatus (e.g., paddle, treadmill). Use a timer module (e.g., Arduino) to send synchronization pulses to both the EEG and IMU systems.
  • Data Collection: Conduct the experimental blocks (e.g., 4x 15-minute blocks of table tennis drills or 48 minutes of treadmill walking at various speeds and terrains). Provide breaks between blocks as needed.
  • Data Backup and Documentation: Post-session, back up all data and document any remarkable events during the recording (e.g., cable tugs, large artifacts) [14] [3] [16].

Protocol 2: Pre-processing and iCanClean Cleaning Pipeline

This protocol outlines the computational steps to clean the collected data [3] [15].

Procedure

  • Basic Pre-processing:
    • Import & Filter: Import data into MATLAB/EEGLAB. Apply a high-pass filter (e.g., 1 Hz cutoff).
    • Re-reference: Average re-reference the scalp channels and noise channels separately.
    • Channel Rejection: Reject severely noisy channels by calculating the standard deviation across samples and removing outliers (e.g., >3x the median). Re-reference the data again after rejection.
  • iCanClean Processing:

    • Parameter Setting: Set the iCanClean parameters. For human walking data, the recommended defaults are a 4-second window length and an r² threshold of 0.65 [3].
    • Execution: Run the iCanClean algorithm. The algorithm will use CCA to identify and remove noise subspaces from the scalp data that are correlated with the noise electrode data.
  • Source Separation & Analysis:

    • Independent Component Analysis (ICA): Decompose the iCanClean-processed data using an ICA algorithm (e.g., AMICA or Infomax).
    • Component Classification: Classify the resulting independent components using a validated automated algorithm like ICLabel.
    • Dipole Localization: Fit a dipole model to each component. Components with low residual variance (<15%) and a high "brain" probability from ICLabel (>50%) are marked as high-quality brain components for subsequent analysis [3].

Workflow and Algorithm Visualization

Dual-Layer EEG Experimental Workflow

The following diagram illustrates the end-to-end process from data collection to cleaned components.

G Start Participant Preparation & System Setup A Dual-Layer EEG Data Collection Start->A B Scalp Layer Recording (Brain Signal + Artifacts) A->B C Noise Layer Recording (Artifacts Only) A->C D Basic Pre-processing (Filtering, Re-reference, Channel Rejection) B->D C->D E iCanClean Processing (CCA-based Noise Removal) D->E F Source Separation via ICA E->F End High-Quality Brain Components for Analysis F->End

The iCanClean Algorithm Process

This diagram details the core computational steps within the iCanClean algorithm.

G InputData Input: Pre-processed Scalp & Noise Data Step1 Segment Data into Time Windows (e.g., 4-s) InputData->Step1 Step2 Perform Canonical Correlation Analysis (CCA) Step1->Step2 Step3 Identify Components where Correlation > r² Threshold Step2->Step3 Step4 Reject Highly-Correlated Noise Components Step3->Step4 OutputData Output: Cleaned EEG Data Step4->OutputData

The integration of the dual-layer EEG hardware with the iCanClean algorithm presents a powerful and validated solution for mitigating the pervasive challenge of motion artifacts in mobile brain imaging research. The experimental data confirm that this approach consistently improves the yield of high-quality, interpretable brain sources from data collected during whole-body movement, from the rhythmic patterns of walking to the explosive, responsive actions of table tennis [14] [3].

For researchers, the key takeaways are:

  • Proven Efficacy: The system excels in removing diverse artifacts (motion, muscle, line noise) while preserving brain signals, as demonstrated in both phantom and human studies.
  • Parameter Guidance: Optimal performance for human walking data is achieved with a 4-second window and an r² threshold of 0.65, providing a robust starting point for new applications.
  • Practicality: The system remains effective even with a reduced number of noise channels, offering potential flexibility in system design and setup.

This paradigm significantly advances the technical frontier of mobile brain imaging, enabling neuroscientists and drug development professionals to investigate the neural correlates of behavior with greater confidence and ecological validity. Future work may focus on further optimizing parameters for specific non-locomotor tasks and streamlining the hardware for even greater participant mobility.

Implementing iCanClean: A Step-by-Step Guide from Data Acquisition to Clean Signal Output

Dual-layer electroencephalography (EEG) represents a significant hardware advancement for mobile brain imaging, specifically designed to address the critical challenge of motion artifacts during whole-body movement. This system configuration is particularly foundational for research utilizing advanced preprocessing algorithms like iCanClean, which rely on high-fidelity noise references to separate motion artifacts from neural signals [1]. The core principle involves a mechanical design featuring two layers of electrodes: a traditional scalp layer that records mixed brain signals and artifacts, and an outward-facing noise layer dedicated to capturing environmental and motion-based artifacts [17] [18]. Each noise electrode is mechanically coupled to a scalp electrode but remains electrically isolated, providing a spatially and temporally matched reference of contamination that is not available in standard single-layer systems [1]. This setup is essential for studying brain dynamics in real-world, ecologically valid settings such as sports, rehabilitation, and daily activities, where traditional EEG systems fail due to extensive artifact contamination [17] [18].

Hardware Configuration and Specifications

Core System Components

Configuring a dual-layer EEG system requires specific components to ensure optimal noise recording. The setup is mechanically integrated but electrically separate, allowing for synchronized data acquisition.

Table 1: Essential Hardware Components for a Dual-Layer EEG Setup

Component Specification Function in Noise Reference Recording
Scalp Electrodes 120 channels (typical in research setups); wet or semi-dry electrodes [18]. Records the mixture of neural signals and motion/environmental artifacts.
Noise Electrodes 120 channels (1:1 pairing with scalp electrodes); identical type to scalp layer [1] [18]. Records artifacts (mechanical, motion, environmental) without neural signals; provides the critical noise reference.
Electrode Couplers 3D-printed plastic couplers [1]. Mechanically fixes a scalp electrode and its paired noise electrode, ensuring they experience identical motion.
Amplifier High-quality, portable amplifier with sufficient channels (e.g., 240+) [19]. Simultaneously amplifies signals from both scalp and noise electrode layers.
Synchronized Sensors Inertial Measurement Units (IMUs), Electromyography (EMG) [18]. Provides supplementary data (e.g., head acceleration, muscle activity) for validating and enriching artifact analysis.

System Integration and Electrical Setup

Proper integration is vital for the system's functionality. The mechanical coupling of electrode pairs is a defining feature, ensuring that any movement artifact affecting a scalp electrode will similarly affect its paired noise electrode [1]. During setup, the scalp and noise layers must be separately average-referenced during preprocessing to their own respective averages. This preserves the unique signal content of each layer—the mixed brain/artifact signal in the scalp layer and the relatively "pure" artifact recording in the noise layer [1]. While systems with 120 scalp and 120 noise electrodes have been demonstrated, research on the iCanClean algorithm suggests that a reduced set of 16 to 32 noise channels can still maintain a significant improvement in the number of identifiable brain components, offering a more practical configuration for some research questions [1].

Quantitative Performance of Dual-Layer EEG with iCanClean

The efficacy of a properly configured dual-layer system is quantifiably demonstrated when used with the iCanClean algorithm. The performance is typically measured by the number of "good" independent components (ICs) recovered after decomposition—components that are well-localized to a dipolar brain source and have a high probability of being brain-related.

Table 2: Performance Metrics of iCanClean with Dual-Layer EEG

Parameter Optimal Value / Performance Impact on Data Quality
Optimal iCanClean Settings (Walking Data) Window Length: 4s; r² threshold: 0.65 [1]. Maximizes the number of valid brain components by balancing artifact removal and neural signal preservation.
Increase in "Good" ICs From 8.4 (basic preprocessing) to 13.2 (+57%) with iCanClean [1]. Directly increases the yield of analyzable brain sources from mobile EEG data.
Performance with Reduced Noise Channels ~12.0 good ICs with only 16 noise channels [1]. Confirms system utility even with a reduced noise montage, enhancing practicality.
Application in Real-World Sports Effective during table tennis; enables cleaner brain component separation [17]. Validates the hardware's utility in highly dynamic, whole-body movement paradigms beyond simple walking.

Experimental Protocol for System Setup and Validation

Pre-Recording Setup and Preparation

  • Cap Selection and Fitting: Use a dual-layer EEG cap with pre-configured electrode couplers. Ensure the cap fits snugly to minimize gross movement, while the couplers maintain the fixed spatial relationship between scalp-noise electrode pairs [1].
  • Electrode Preparation: For scalp electrodes, prepare the skin with alcohol wipes to reduce impedance [20]. Apply conductive gel to establish a good electrical connection for both scalp and noise layers. For the noise layer, the gel ensures contact with the air or cap surface to capture electromagnetic artifacts.
  • Impedance Checking: Verify the impedance for every channel in both the scalp and noise layers before recording begins. Aim for impedances below 10 kΩ for the scalp layer to ensure high-quality signal acquisition [20]. The noise layer should also have stable impedances.
  • Cable Management: Secure cables to the cap using Velcro straps or similar fixtures to minimize cable sway, which is a significant source of motion artifact [20]. Use custom-length cables if possible to reduce excess.

Data Acquisition and Synchronization

  • Recording Parameters: Set a sampling rate sufficient to capture neural signals and artifacts; 500 Hz or higher is common. Record data from both scalp and noise layers simultaneously [18].
  • Sensor Synchronization: Start recording on the EEG system and all ancillary devices (IMUs, video cameras) simultaneously, or use a shared trigger pulse to ensure all data streams are synchronized in post-processing [18].
  • Task Execution: Conduct the experimental protocol, which may include standing, walking on a treadmill, navigating uneven terrain, or sports maneuvers like table tennis rallies [17] [1].

Post-Hoc Validation of Noise Recording Fidelity

To validate that the noise layer is functioning as intended, perform the following checks after data collection:

  • Time-Frequency Analysis: Visually compare the scalp and noise layer time-series data. The noise layer should show similar artifactual waveforms (e.g., from movement or cable sway) but should lack the rhythmic brain activity (e.g., alpha waves) present in the scalp layer [17].
  • Correlation Analysis: Calculate the correlation between the signal from individual scalp channels and their mechanically coupled noise channels. A high correlation indicates the noise channel is effectively capturing a significant portion of the artifact present in the scalp channel [17].
  • Component Analysis: After running ICA, inspect the topographies of the resulting components. Brain components should project strongly onto the scalp layer electrodes, while noise-related components may project onto both layers or exclusively onto the noise layer, confirming its role in capturing non-neural signals.

The following workflow diagram summarizes the key steps involved in configuring and validating the system:

G cluster_prep Pre-Recording Preparation cluster_acq Data Acquisition cluster_valid Post-Hoc Validation Start Start Hardware Setup A Fit Dual-Layer Cap with Electrode Couplers Start->A B Prepare Skin & Apply Conductive Gel A->B C Check Impedances for Scalp & Noise Layers B->C D Secure Cables to Minimize Movement C->D E Set Sampling Rate (≥500 Hz) D->E F Start Synchronized Recording (EEG, IMU, Video) E->F G Execute Motor Tasks (e.g., Walking, Sports) F->G H Time-Frequency Analysis of Scalp vs. Noise Signals G->H I Correlation Analysis Between Paired Electrodes H->I J Inspect ICA Components for Layer-Specific Projections I->J K Proceed with iCanClean Preprocessing J->K

Dual-Layer EEG Setup and Validation Workflow

The Scientist's Toolkit: Research Reagent Solutions

Table 3: Essential Materials and Tools for Dual-Layer EEG Research

Item Function / Application Research Context
Dual-Layer EEG Cap Provides the physical platform with fixed scalp-noise electrode pairs. Fundamental hardware for all data collection; enables spatial artifact matching [1] [18].
Conductive Gel Improves electrical contact between electrodes and scalp/noise layer. Critical for achieving low impedance and high-fidelity signal recording from both layers [20].
iCanClean Algorithm Uses noise layer data with CCA to remove artifact subspaces from scalp data. Key software tool that leverages the dual-layer hardware to improve ICA decomposition [1].
Independent Component Analysis (ICA) Blind source separation method for decomposing EEG into neural and non-neural sources. Standard analytical step; performance is enhanced by iCanClean preprocessing of dual-layer data [17] [1].
Inertial Measurement Units (IMUs) Provides objective measures of head and body acceleration. Used to correlate motion dynamics with artifacts in the EEG and noise layers [18].

Electroencephalography (EEG) is a promising tool for studying brain activity during whole body movement, offering high temporal resolution and growing portability for real-world applications [3]. However, mobile EEG recordings present significant technical challenges due to increased susceptibility to various artifacts, including motion artifacts, muscle activity (EMG), eye blinks, and line noise [3] [21]. These artifacts hinder subsequent source-level analysis using methods like independent component analysis (ICA) by compromising the algorithm's ability to decompose mixed EEG data into neural sources [3]. The iCanClean algorithm has emerged as a novel cleaning approach that uses reference noise recordings to remove noisy EEG subspaces, significantly improving ICA decomposition quality for mobile brain imaging [3] [22] [15]. However, iCanClean's effectiveness depends heavily on proper data preconditioning through a carefully designed preprocessing pipeline. This application note details the essential preprocessing steps—specifically filtering and channel rejection—that must be implemented prior to iCanClean application to ensure optimal artifact removal while preserving neural signals of interest.

Table: Quantitative Performance of iCanClean After Proper Preprocessing

Study Type Data Quality Before Cleaning Data Quality After Cleaning Key Performance Metric Optimal Parameters
Phantom EEG with All Artifacts [22] 15.7% Data Quality Score 55.9% Data Quality Score Average correlation between brain sources and EEG channels Window length: 4-s, r²: 0.65
Human Mobile EEG [3] 8.4 good ICs 13.2 good ICs (+57%) Number of well-localized dipolar components Window length: 4-s, r²: 0.65
Phantom EEG Comparison [15] 15.7% Data Quality Score 27.6-32.9% (other methods) Data Quality Score versus alternative methods Superior to ASR, Auto-CCA, Adaptive Filtering

Theoretical Foundation: EEG Artifacts and Preprocessing Principles

Characteristics of Mobile EEG Artifacts

Mobile EEG artifacts originate from multiple sources with distinct characteristics. Physiological artifacts include ocular artifacts (eye blinks and movements with amplitudes generally many times greater than EEG), muscle artifacts (EMG from facial, neck, and head muscles with broad frequency distribution from 0 Hz to >200 Hz), and cardiac artifacts (pulse artifacts around 1.2 Hz and ECG interference) [21]. Motion artifacts largely result from cable sway as participants move, where cables interacting with each other and background electromagnetic fields induce significant noise in the small voltage electrocortical signals (roughly 20 µV) [15]. External artifacts include line-noise interference and instrumental artifacts from electrode misplacement or high electrode impedance [21]. These artifacts share a critical characteristic: they often exhibit higher amplitude and different spectral properties compared to neural signals, but with substantial frequency overlap that complicates simple filtering approaches [21] [15].

Impact on Source Separation and iCanClean

Artifacts negatively impact blind source separation methods like ICA by introducing additional, often dominant, sources that must be identified and separated from neural activity [3]. With large motion artifacts, ICA may fail to extract high-quality brain components from the mixed data [3]. iCanClean addresses this by using canonical correlation analysis (CCA) and reference noise signals to detect and reject noise components [3] [15]. The algorithm requires mechanically coupled but electrically isolated noise electrodes that provide reference recordings of artifacts across space and time [3]. By comparing cortical electrode signals (recording mixtures of brain + noise) with noise electrodes (recording only mixtures of noise), iCanClean can remove noisy EEG subspaces without removing underlying brain signals [3]. However, this approach depends on having usable signals from both cortical and noise channels, making preliminary filtering and channel rejection essential for optimal performance.

Essential Preprocessing Steps Prior to iCanClean

Filtering Parameters and Configurations

Filtering represents the first critical step in preparing mobile EEG data for iCanClean processing. The primary objectives are to remove slow drifts that can obscure artifact detection and eliminate high-frequency noise that may interfere with correlation calculations between cortical and noise channels.

High-Pass Filtering: Implement a high-pass filter with a 1 Hz cutoff frequency to remove slow drifts and DC offsets that can dominate the signal variance and impair subsequent analysis [3]. This cutoff effectively removes very low-frequency content while preserving neural signals of interest, including delta band activity (>1 Hz).

Low-Pass Filtering: While not always explicitly required before iCanClean, applying a low-pass filter at the Nyquist frequency (half the sampling rate) prevents aliasing and can reduce high-frequency noise. For typical mobile EEG sampling rates of 250-500 Hz, this would correspond to cutoffs of 125-250 Hz [3] [7].

Filter Implementation: Use zero-phase digital filtering to prevent phase distortion that could misalign temporal relationships between cortical and noise channels, which is critical for iCanClean's correlation-based approach. Butterworth or similar filters with gradual roll-off characteristics are recommended to minimize ringing artifacts [3].

FilteringPipeline RawEEG Raw EEG Data HPFilter High-Pass Filter (1 Hz cutoff) RawEEG->HPFilter Remove slow drifts LPFilter Low-Pass Filter (Nyquist frequency) HPFilter->LPFilter Remove high-frequency noise FilteredData Filtered Data LPFilter->FilteredData Prepared for channel rejection

Channel Rejection Methodology

Channel rejection eliminates electrodes with excessive noise or poor contact that could compromise iCanClean's performance. The algorithm depends on having a sufficient number of functional cortical and noise channels to establish accurate correlations between signal subspaces.

Amplitude-Based Rejection: Calculate the standard deviation across all samples for each channel and identify outlier channels with amplitudes greater than 3 times the median amplitude across channels [3]. This approach effectively identifies channels with persistent high-amplitude noise or poor contact.

Iterative Referencing and Rejection: Implement a two-stage process where channels are initially average-referenced separately (EEG and noise channels to their own averages), followed by amplitude-based rejection, then re-referenced again with a second rejection pass [3]. This iterative approach improves outlier detection by accounting for reference-dependent amplitude changes.

Minimum Channel Requirements: For dual-layer EEG systems, ensure adequate numbers of both cortical and noise channels remain after rejection. Research indicates iCanClean maintains good performance with reduced sets of noise channels (12.0 good components with 16 noise channels versus 13.2 with 120 noise channels), but there is a performance gradient, so maximizing retained quality channels is beneficial [3].

Table: Channel Rejection Performance in Mobile EEG Studies

Channel Type Average Channels Rejected Rejection Criteria Post-Rejection Performance
EEG Channels [3] 7.6 out of 120 >3× median amplitude Preserved ICA decomposition quality
Noise Channels [3] 15.4 out of 120 >3× median amplitude Maintained reference signal quality
Reduced Noise Channels [3] 104, 88, 64 (downsampled) Spatial distribution 12.0-12.7 good ICs (vs. 13.2 with 120)

Integrated Preprocessing Pipeline for iCanClean

Complete Workflow Specification

A robust preprocessing pipeline integrates filtering and channel rejection in a specific sequence to optimize data quality before iCanClean application. The following workflow has been empirically validated in mobile EEG studies involving walking motion artifacts [3].

PreprocessingWorkflow Start Raw Mobile EEG Data (120+120 dual-layer) Step1 1. High-Pass Filtering (1 Hz cutoff, zero-phase) Start->Step1 Step2 2. Initial Average Reference (EEG and noise separately) Step1->Step2 Step3 3. Amplitude-Based Channel Rejection (>3× median amplitude) Step2->Step3 Step4 4. Re-Reference Channels Step3->Step4 Step5 5. Second Channel Rejection (>3× median amplitude) Step4->Step5 Step6 6. Data Ready for iCanClean Step5->Step6

Quality Control Metrics

After preprocessing, specific quality metrics should be assessed to ensure data suitability for iCanClean processing:

Channel Retention Rate: Calculate the percentage of retained channels for both cortical and noise layers. Studies show average rejection rates of approximately 6.3% for EEG channels and 12.8% for noise channels in mobile walking paradigms [3].

Amplitude Distribution: Verify that the standard deviation of channel amplitudes falls within a consistent range after rejection, typically with no remaining channels exceeding 3× the median amplitude.

Spectral Characteristics: Confirm that filtered data maintains appropriate frequency content, with minimal low-frequency drift (<1 Hz) and reduced high-frequency noise while preserving neural oscillations (delta to gamma bands).

Experimental Protocols and Validation

Protocol for Preprocessing Validation

To validate the preprocessing pipeline, implement the following experimental protocol adapted from mobile EEG studies:

Data Collection Parameters:

  • Use high-density EEG systems (120+ channels) with dual-layer caps for simultaneous cortical and noise recording
  • Maintain sampling rate ≥500 Hz to capture artifact dynamics [3]
  • Include diverse movement conditions (e.g., flat walking, uneven terrain) to stress-test the pipeline
  • Record sufficient data duration (≥30 minutes) to ensure statistical reliability [3]

Processing Implementation:

  • Implement filtering using zero-phase Butterworth filters with 1 Hz high-pass cutoff
  • Calculate channel amplitudes as standard deviation across all samples
  • Set rejection threshold at 3× median channel amplitude
  • Perform iterative referencing and rejection as described in Section 4.1

Validation Metrics:

  • Count of retained cortical and noise channels post-rejection
  • Data Quality Score (0-100%) based on correlation between known sources and EEG channels [22]
  • Number of "good" independent components after ICA decomposition (residual variance <15%, ICLabel brain probability >50%) [3]

Performance Optimization Guidelines

Based on empirical studies with iCanClean, the following optimization guidelines maximize preprocessing effectiveness:

Parameter Tuning: iCanClean performance is optimized with window length of 4 seconds and r² cleaning aggressiveness of 0.65 for mobile EEG data [3]. These parameters balance noise removal with neural signal preservation.

Noise Channel Configuration: While iCanClean maintains reasonable performance with reduced noise channels (16-64 versus 120), maximize noise channel retention during preprocessing, as performance shows a positive relationship with noise channel count [3].

Computational Considerations: The preprocessing steps (filtering and channel rejection) are computationally efficient compared to subsequent ICA, requiring minimal computational resources for implementation [3] [15].

Research Reagent Solutions

Table: Essential Materials for Mobile EEG Preprocessing Research

Component Specification Function in Preprocessing Example Implementation
Dual-Layer EEG Cap [3] 120+120 electrodes, mechanically coupled Provides reference noise signals essential for iCanClean Custom 3D-printed couplers for electrode pairs
EEG Acquisition System [3] ≥500 Hz sampling rate, 24-bit ADC Captures high-fidelity data for amplitude-based rejection High-density mobile amplifiers
Filtering Algorithms [3] Zero-phase digital filters, 1 Hz high-pass Removes slow drifts that impair artifact detection Butterworth implementation in MATLAB
Channel Rejection Algorithm [3] 3× median amplitude threshold Identifies and removes dysfunctional channels Custom MATLAB scripts with iterative referencing
Quality Assessment Tools [3] ICLabel, dipole fitting (RV<15%) Validates preprocessing effectiveness EEGLAB plugins and toolboxes
Mobile EEG Validation Platform [22] Phantom head with known sources Quantifies data quality improvement Conductive phantom with embedded sources

The iCanClean algorithm represents a significant advancement in preprocessing mobile electroencephalography (EEG) data, specifically designed to address the critical challenge of motion artifacts that hinder source-level analysis during movement tasks [1]. This novel cleaning framework utilizes reference noise recordings and a sophisticated combination of Canonical Correlation Analysis (CCA) and noise subspace projection to remove noisy EEG subspaces without compromising underlying brain signals [1] [15]. Unlike traditional methods that require clean calibration data or risk removing neural activity, iCanClean operates as an all-in-one cleaning solution capable of handling various artifact types including motion, muscle, eye, and line-noise contaminants [15]. The algorithm's effectiveness has been demonstrated across multiple populations and movement conditions, showing remarkable improvements in the quality of independent components extracted from mobile EEG recordings [1] [23].

Table: Core Algorithmic Components of iCanClean

Component Mathematical Foundation Primary Function in iCanClean
Canonical Correlation Analysis (CCA) Multivariate statistical method analyzing cross-covariance matrices [20] Identifies correlated components between cortical EEG channels and reference noise channels [1]
Noise Subspace Projection Signal processing technique based on eigenvalue decomposition [24] Projects noisy signals onto subspaces dominated by artifacts for selective removal [1]
Subspace Subtraction Linear algebra operations on signal subspaces [25] Removes artifact-dominated subspaces while preserving neural signal components [15]

Theoretical Foundations and Key Concepts

Canonical Correlation Analysis in Signal Processing

Canonical Correlation Analysis serves as the cornerstone of the iCanClean framework, providing the mathematical basis for identifying and separating artifact components from neural signals [20]. CCA is a multivariate statistical method that identifies linear combinations of variables from two datasets that have maximum correlation with each other [20]. In the context of mobile EEG preprocessing, CCA examines the cross-covariance matrices between cortical electrode signals (containing mixtures of brain activity and noise) and reference noise electrode signals (containing primarily noise components) [1] [15]. This approach enables the algorithm to detect noisy subspaces within the EEG data by identifying components with strong correlations between the cortical and reference channels, operating on the principle that artifacts will manifest similarly in both recording systems while neural activity will not [1].

The mathematical implementation of CCA within iCanClean involves identifying linear combinations (X^* = a^TX) and (Y^* = b^TY) that maximize the correlation (ρ = \text{corr}(X^, Y^)), where (X) represents the cortical EEG channels, (Y) represents the reference noise channels, and (a) and (b) are weight vectors that transform the original variables into canonical variates [20]. The algorithm then computes multiple canonical variate pairs, each orthogonal to the previous pair, creating a comprehensive decomposition of the shared variance between the cortical and noise recordings. Components exhibiting correlation values exceeding a predetermined threshold (typically r² = 0.65 based on parameter optimization studies) are identified as artifact-dominated subspaces targeted for removal [1].

Noise Subspace Projection and Subtraction

Noise subspace projection builds upon the fundamental signal processing concept that any noisy signal vector can be decomposed into distinct signal and noise subspaces through appropriate matrix transformations [24] [25]. In iCanClean, this principle is implemented by projecting the contaminated EEG signals onto subspaces identified as noise-dominated through the CCA process [1]. The mathematical foundation of this approach originates from subspace algorithms used across signal processing domains, where a noisy input vector is projected onto "signal" and "noise" subspaces, with estimates of the clean signal reconstructed using only the components retained in the signal subspace [24].

The implementation within iCanClean can be conceptually understood through the transformation (H_{opt} = V^{-T}Λ(Λ + μI)^{-1}V^{-T}), where (V) represents an eigenvector matrix and (Λ) is a diagonal eigenvalue matrix derived from the noisy speech vector [24]. In this framework, the matrix (V^T) functions as a data-dependent transform that projects the noisy signal vector into noise and signal subspaces. The diagonal matrix (Λ(Λ + μI)^{-1}) applies gain factors to components within the signal subspace while effectively zeroing out components identified within the noise subspace. Finally, the matrix (V^{-T}) performs the inverse transformation, reconstructing the projected signal back into its original domain [24]. This sophisticated approach allows iCanClean to preserve the temporal structure of neural signals while selectively removing artifact components.

G Input Dual-Layer EEG Input (120 Cortical + 120 Noise Channels) CCA Canonical Correlation Analysis (CCA) Input->CCA SubspaceDecomp Subspace Decomposition (Signal vs. Noise Subspaces) CCA->SubspaceDecomp Threshold Apply r² Threshold (Default: 0.65) SubspaceDecomp->Threshold Projection Noise Subspace Projection Threshold->Projection Subtraction Artifact Subtraction Projection->Subtraction Reconstruction Signal Reconstruction Subtraction->Reconstruction Output Cleaned EEG Output Reconstruction->Output

The iCanClean Algorithm: Detailed Workflow

Data Acquisition and Preparation

The iCanClean algorithm requires specific hardware configurations for optimal performance, primarily utilizing a dual-layer EEG cap design that incorporates both traditional cortical electrodes and outward-facing noise electrodes [1] [15]. In the validated experimental setup, researchers employed high-density EEG systems with 120 scalp electrodes plus 120 mechanically coupled but electrically isolated noise electrodes [1]. These electrode pairs are fixed using 3D-printed plastic couplers, ensuring spatial proximity while maintaining electrical separation [1]. Before applying the core iCanClean algorithm, EEG data undergoes essential preprocessing steps including high-pass filtering at 1 Hz cutoff frequency and average re-referencing of channels, with EEG and noise channels referenced to their own averages separately [1]. A critical preparation step involves identifying and removing severely compromised channels through automated detection of outlier channels with amplitudes exceeding 3 times the median amplitude across all channels [1].

Table: Research Reagent Solutions for iCanClean Implementation

Component Specifications Function in Experiment
Dual-Layer EEG Cap 120 scalp electrodes + 120 noise electrodes [1] Simultaneously records cortical signals and reference artifacts
3D-Printed Couplers Plastic mechanical connectors [1] Fixes noise electrodes to cortical electrodes while maintaining electrical isolation
EEG Acquisition System High-density capable (240+ channels), minimum 500 Hz sampling [1] [15] Captures neural signals with sufficient spatial and temporal resolution
Conductive Gel Standard EEG electrolyte gel [20] Ensures proper electrode-skin contact for signal quality
MATLAB with EEGLAB Custom scripts + EEGLAB toolbox [1] Implements iCanClean algorithm and standard preprocessing

Core Processing Pipeline

The central innovation of iCanClean lies in its sophisticated processing pipeline that integrates CCA with adaptive subspace projection. The algorithm processes data using a sliding window approach, with research indicating optimal performance using 4-second windows for most mobile EEG applications [1]. For each data window, iCanClean first performs CCA between the cortical channels (containing mixed neural signals and artifacts) and the reference noise channels (containing primarily artifacts) [1]. This analysis identifies linear components that maximize correlation between the two channel sets, effectively revealing artifact-dominated subspaces. The algorithm then computes the correlation strength (r² value) for each component and compares it against a user-defined threshold (optimally r² = 0.65 based on parameter sweeps) [1].

Components exhibiting correlation values exceeding the threshold are identified as artifact-dominated and projected onto noise subspaces for removal [1]. The subspace projection operation employs principles similar to singular value decomposition (SVD) approaches used in other noise reduction domains, where the noisy signal matrix is decomposed and reconstructed using only components from the "signal subspace" [25]. Specifically, the algorithm transforms the data to highlight the artifact components most correlated with the reference noise recordings, effectively creating a mathematical representation where artifacts and neural signals occupy orthogonal subspaces. The final step involves subtracting the identified noise subspaces from the original signal and reconstructing the cleaned EEG data for subsequent analysis [1] [15]. This comprehensive approach enables iCanClean to handle multiple artifact types simultaneously while preserving the integrity of underlying neural signals.

G Window 4-Second Data Window Correlate Calculate CCA Components Between Cortical & Noise Channels Window->Correlate Evaluate Evaluate r² Correlation For Each Component Correlate->Evaluate Compare Compare Against Threshold (r² = 0.65) Evaluate->Compare Identify Identify Noise-Dominated Components Compare->Identify Decompose Decompose Signal into Subspaces Identify->Decompose Remove Remove Noise Subspaces Decompose->Remove Reconstruct Reconstruct Cleaned Signal Remove->Reconstruct

Experimental Protocols and Validation

Performance Assessment Methodology

The validation of iCanClean employed rigorous experimental protocols across multiple studies to quantify its effectiveness in cleaning mobile EEG data [1] [15]. In human participant studies, researchers collected high-density EEG data during treadmill walking under varying conditions including different terrain difficulties (Flat, Low, Medium, High) and walking speeds (0.25, 0.50, 0.75, and 1.00 ms⁻¹) [1]. The study enrolled 45 participants across three groups: young adults (YA), high-functioning older adults (HFOA), and low-functioning older adults (LFOA), each walking for approximately 48 minutes while EEG data was continuously recorded [1]. Following data collection with the dual-layer EEG system, researchers performed basic preprocessing followed by iCanClean application with systematically varied parameters, then conducted Independent Component Analysis (ICA) to decompose the cleaned data [1].

The primary metric for evaluating iCanClean performance involved quantifying the number of "good" independent components extracted after cleaning [1]. Components were classified as 'good' based on two criteria: (1) satisfactory dipole localization with residual variance < 15%, and (2) high probability of being brain sources with ICLabel probability > 50% [1]. This rigorous assessment framework enabled direct comparison between data cleaned with iCanClean versus basic preprocessing alone, providing quantitative measures of improvement in source separation quality. Additional validation employed a phantom head apparatus with known ground-truth brain signals, where ten simulated brain sources were contaminated with various artifacts including eye movements, neck muscles, facial muscles, and walking motion [15]. In this controlled setup, researchers calculated a Data Quality Score based on the average correlation between actual brain sources and reconstructed EEG channels, allowing precise quantification of cleaning efficacy without the uncertainties inherent in human EEG analysis [15].

Parameter Optimization Experiments

Comprehensive parameter sweeps were conducted to determine optimal settings for iCanClean's two primary user-defined parameters: window length and r² cleaning aggressiveness [1]. Researchers systematically tested four different window lengths (1 s, 2 s, 4 s, and infinite) while varying r² thresholds from 0.05 to 1.0 in increments of 0.05 [1]. Performance was evaluated based on the number of 'good' independent components identified after ICA decomposition, with results demonstrating that a 4-second window with r² threshold of 0.65 produced optimal results for mobile EEG data collected during walking [1]. At these optimal settings, iCanClean improved the average number of good components from 8.4 (with basic preprocessing only) to 13.2, representing a substantial 57% increase in usable brain components [1].

Additional experiments investigated the impact of reduced noise reference channels on algorithm performance, testing configurations with 64, 32, and 16 noise channels instead of the full 120-channel setup [1]. Results demonstrated that iCanClean maintained strong performance even with substantially reduced noise channels, yielding 12.7, 12.2, and 12.0 good components respectively, indicating the algorithm's robustness to variations in hardware configuration [1]. Comparative validation studies against alternative cleaning methods including Artifact Subspace Reconstruction (ASR), Auto-CCA, and Adaptive Filtering demonstrated iCanClean's consistent superiority across various artifact types [15]. In the most challenging condition with all artifact types simultaneously present, iCanClean improved Data Quality Scores from 15.7% before cleaning to 55.9% after cleaning, significantly outperforming ASR (27.6%), Auto-CCA (27.2%), and Adaptive Filtering (32.9%) [15].

Table: Quantitative Performance Comparison of Cleaning Methods

Method Data Quality Score (Brain + All Artifacts) Good Components After Cleaning Computational Efficiency
No Cleaning 15.7% [15] 8.4 [1] N/A
iCanClean 55.9% [15] 13.2 [1] Real-time capable [15]
ASR 27.6% [15] Not Reported Real-time capable [15]
Auto-CCA 27.2% [15] Not Reported Real-time capable [15]
Adaptive Filtering 32.9% [15] Not Reported Real-time capable [15]
Target (Brain Only) 57.2% [15] Not Reported N/A

Implementation Guidelines and Best Practices

Successful implementation of iCanClean for mobile EEG preprocessing requires attention to several technical considerations. For researchers working with standard EEG systems lacking dedicated noise reference layers, iCanClean can be adapted to use pseudo-reference noise signals derived from the contaminated EEG data itself, though with potentially reduced efficacy compared to true dual-layer configurations [15]. The algorithm's real-time capability makes it suitable for both online and offline processing scenarios, with computational requirements substantially lower than intensive methods like Independent Component Analysis [15]. When integrating iCanClean into existing EEG processing pipelines, researchers should position it after basic preprocessing steps (filtering, bad channel removal) but before source separation procedures like ICA [1].

For studies involving mobile EEG during whole-body movement, particularly walking or more dynamic activities, the empirically optimized parameters of 4-second window length and r² threshold of 0.65 provide a robust starting point [1]. However, parameter adjustment may be warranted for specific experimental conditions, such as more aggressive cleaning (lower r² values) for tasks with pronounced facial or neck muscle activity, or less aggressive cleaning (higher r² values) for studies focusing on low-frequency neural dynamics [1]. The algorithm's performance remains stable across diverse participant populations including young adults, high-functioning older adults, and low-functioning older adults, demonstrating its broad applicability in mobile brain imaging research [1]. By effectively addressing the critical challenge of motion artifacts while preserving neural signal integrity, iCanClean enables more reliable source-level analysis of EEG data collected during naturalistic movement, opening new possibilities for studying brain function in ecologically valid contexts.

Within the broader scope of research on the iCanClean algorithm for mobile EEG data preprocessing, a significant challenge arises when the dedicated dual-layer electrode hardware is not available. The standard iCanClean implementation relies on mechanically coupled noise sensors that record only artifact information, enabling the algorithm to subtract noise subspaces identified via Canonical Correlation Analysis (CCA) from the contaminated scalp EEG [1] [15]. This application note details the alternative methodology of generating and utilizing pseudo-reference noise signals, a software-based approach that extends the benefits of iCanClean to researchers without access to specialized hardware. This protocol has been validated in recent studies involving human locomotion, including running, where it demonstrated efficacy in recovering neural signals [26].

Conceptual Framework and Workflow

The core principle of the pseudo-reference method involves creating a temporary, artifact-dominated version of the EEG signal to stand in for the physical noise reference. This is achieved by applying a selective filter to the raw EEG data to isolate frequency bands predominantly occupied by artifacts (e.g., low-frequency motion artifacts). CCA is then used to identify correlated subspaces between the original scalp EEG (containing brain signal and artifact) and this pseudo-reference (containing primarily artifact). Components in the scalp EEG that are highly correlated with the pseudo-reference are identified as artifact and removed [26] [15]. The complete workflow is illustrated in the diagram below.

G RawEEG Raw EEG Signal PseudoRefGen Pseudo-Reference Generation RawEEG->PseudoRefGen ICAN iCanClean Processing RawEEG->ICAN PseudoRef Pseudo-Reference Signal PseudoRefGen->PseudoRef PseudoRef->ICAN CCA Canonical Correlation Analysis (CCA) ICAN->CCA SubRemove Artifact Subspace Removal CCA->SubRemove CleanEEG Cleaned EEG Signal SubRemove->CleanEEG

Performance Comparison and Quantitative Validation

The pseudo-reference method has been rigorously tested against other common artifact removal techniques and the hardware-based iCanClean approach. The following tables summarize key performance metrics from validation studies.

Table 1: Comparative performance of artifact removal methods in phantom and human studies.

Method Test Condition Key Performance Metric Result Citation
iCanClean (Pseudo-Ref) Human Running (Flanker Task) P300 Congruency Effect Recovery Successful Identification [26]
iCanClean (Pseudo-Ref) Human Running ICA Component Dipolarity High (Most Dipolar) [26]
iCanClean (Dual-Layer) Human Walking Good Brain Components (RV<15%, ICLabel>50%) 13.2 (from 8.4 baseline) [1]
Artifact Subspace Reconstruction (ASR) Human Running (Flanker Task) P300 Congruency Effect Recovery Not Identified [26]
Artifact Subspace Reconstruction (ASR) Phantom (All Artifacts) Data Quality Score 27.6% [15]
Adaptive Filtering Phantom (All Artifacts) Data Quality Score 32.9% [15]
Auto-CCA Phantom (All Artifacts) Data Quality Score 27.2% [15]

Table 2: Impact of iCanClean cleaning parameters on ICA decomposition quality. This data is derived from the hardware-based implementation and serves as a guiding principle for parameter selection in the pseudo-reference approach [1].

Window Length (s) R² Threshold (Aggressiveness) Average Number of 'Good' Components Notes
1 Varied < 13.2 Shorter windows may not capture artifact structure effectively.
2 Varied < 13.2 Performance improves with longer windows.
4 0.65 13.2 Determined as optimal.
Infinite (full data) Varied < 13.2 Global correlation may not handle non-stationary artifacts.

Experimental Protocol: Generating and Using Pseudo-Reference Signals

This section provides a detailed, step-by-step protocol for implementing the pseudo-reference method using iCanClean.

Materials and Software Requirements

Table 3: The Scientist's Toolkit: Essential research reagents and solutions.

Item Function / Description Example / Specification
EEG Recording System Acquires raw scalp EEG data. Requires high-density caps (64+ channels) for optimal ICA. 120-channel dual-layer cap (for hardware method) or standard 64+ channel wet/dry system.
iCanClean Software Executes the core algorithm for artifact removal. MATLAB implementation, available via associated research publications [1] [15].
Computing Environment Performs computationally intensive CCA and ICA. Modern workstation or high-performance computing cluster; AMICA ICA can require ~1 hour for 48 min of data on 64 CPU cores [15].
Signal Processing Toolbox Provides essential functions for filtering and analysis. EEGLAB toolbox for MATLAB.

Step-by-Step Procedure

  • Data Import and Basic Preprocessing: Import raw EEG data into MATLAB using EEGLAB. Apply a high-pass filter (e.g., 1 Hz cutoff) to remove slow drifts. Perform initial bad channel rejection based on amplitude thresholds (e.g., standard deviation >3 times the median) [1].

  • Pseudo-Reference Signal Generation:

    • Apply a notch filter to the raw, continuous EEG data to remove line noise (e.g., 50 Hz or 60 Hz) [26].
    • To create the pseudo-reference, apply a temporary band-pass or high-pass filter designed to isolate frequencies where motion artifacts are dominant. For example, a high-pass filter with a cutoff below 3 Hz can be used to accentuate low-frequency motion artifacts [26].
    • This filtered signal, now enriched with motion artifacts and depleted of brain signal, serves as the pseudo-reference input for iCanClean.
  • iCanClean Configuration and Execution:

    • Set the key parameters based on empirical optimizations from validation studies:
      • r² threshold: Set to 0.65 for an optimal balance between artifact removal and brain signal preservation [1] [26].
      • Window Length: Set to 4 seconds to effectively capture the structure of motion artifacts like those during walking or running [1] [26].
    • Execute the iCanClean algorithm, providing the original EEG data and the generated pseudo-reference signal. The internal workflow, as shown in the diagram below, will proceed automatically.
  • Post-Cleaning Analysis:

    • The output of iCanClean is a cleaned EEG dataset.
    • Proceed with standard mobile EEG analysis pipelines, such as running ICA (e.g., using the AMICA algorithm) for source separation [1].
    • Validate cleaning efficacy by assessing:
      • The number of brain-like independent components (residual variance <15%, ICLabel brain probability >50%) [1].
      • Reduction in spectral power at the gait frequency and its harmonics [26].
      • For ERP studies, the recovery of expected components like the P300 congruency effect [26].

G A Filtered EEG (Pseudo-Reference) C Canonical Correlation Analysis (CCA) A->C B Original Scalp EEG B->C D Identify Correlated Subspaces (r² > threshold) C->D E Remove Noise Subspace via Least-Squares Fit D->E F Cleaned EEG Data E->F

The pseudo-reference noise signal implementation provides a viable and effective alternative for leveraging the iCanClean algorithm in the absence of dedicated dual-layer hardware. This protocol, validated in dynamic human experiments, enables researchers to significantly improve the quality of mobile EEG data by effectively reducing motion and other artifacts, thereby facilitating more robust source-level analysis and the recovery of true neural signatures in ecologically valid settings.

Optimizing iCanClean Performance: Parameter Tuning, Artifact-Specific Strategies, and Hardware Trade-offs

The iCanClean algorithm represents a significant advancement in the preprocessing of mobile electroencephalography (EEG) data, addressing the critical challenge of motion artifacts that hinder source-level analysis during movement tasks. As a novel cleaning approach that utilizes reference noise recordings through canonical correlation analysis (CCA), iCanClean effectively removes noisy subspaces from EEG data without eliminating underlying brain signals [3] [1]. The algorithm's performance is primarily governed by two user-defined parameters: the window length for local correlation analysis and the r² threshold that determines cleaning aggressiveness. Determining the optimal configuration of these parameters through systematic parameter sweeping is essential for maximizing the quality of independent component analysis (ICA) decomposition, which is crucial for isolating neural sources in mobile brain imaging studies [3] [23] [1]. This application note synthesizes findings from recent validation studies to provide evidence-based protocols for implementing iCanClean across various research scenarios.

Core Parameter Performance Analysis

Quantitative Findings from Parameter Sweep Studies

Table 1: Optimal iCanClean Parameters for Walking Motion Artifacts

Parameter Optimal Value Performance Impact Experimental Context
Window Length 4 seconds Maximized good ICs at 13.2 (+57% from baseline 8.4) Human walking data, 45 participants [3]
R² Threshold 0.65 Balanced aggressiveness and brain signal preservation Dual-layer EEG, 120+120 electrodes [3] [1]
Alternative Window 1s, 2s, Infinite 4s outperformed all alternatives Parameter sweep across multiple durations [3]
Noise Channels 16-64 channels Good performance maintained (12.0-12.7 good ICs) Channel reduction analysis [3]

Table 2: iCanClean Performance Comparison Against Alternative Methods

Method Data Quality Score (All Artifacts) Strengths Limitations
iCanClean 55.9% from 15.7% baseline Comprehensive artifact removal Requires parameter optimization [15] [2]
ASR 27.6% No reference signals needed Requires clean calibration data [15] [26]
Auto-CCA 27.2% Computationally efficient Risks removing brain activity [15]
Adaptive Filtering 32.9% Real-time capability Assumes linear noise projection [15]

Impact on Independent Component Analysis Quality

Systematic parameter optimization directly enhances ICA decomposition quality, a crucial metric for source-level mobile EEG analysis. The 4-second window length with r²=0.65 configuration demonstrated remarkable efficacy in human walking experiments, improving both the quantity and quality of independent components [3]. Components classified as 'good' met dual criteria: satisfactory dipole localization (residual variance < 15%) and high brain probability (>50% via ICLabel) [3] [1]. This parameter set effectively balanced the removal of motion, muscle, and line-noise artifacts while preserving neural signals across diverse participant groups, including young adults, high-functioning older adults, and low-functioning older adults [3]. The consistency of these findings across populations suggests robust generalizability for locomotion studies.

Experimental Protocols for Parameter Optimization

Protocol 1: Comprehensive Parameter Sweep for New Experimental Paradigms

Purpose: To establish optimal iCanClean parameters for novel research applications or recording configurations.

Materials and Equipment:

  • High-density EEG system (64+ channels recommended)
  • Reference noise sensors (dual-layer preferred) or pseudo-reference capability
  • MATLAB with EEGLAB and iCanClean plugins
  • Adequate computational resources for multiple iterations

Procedure:

  • Data Acquisition: Record minimum 30 minutes of mobile EEG data under experimental conditions [15]
  • Basic Preprocessing: Apply 1 Hz high-pass filter and average re-referencing [3] [1]
  • Channel Rejection: Remove outlier channels exceeding 3× median amplitude [3]
  • Window Length Sweep: Process data using 1s, 2s, 4s, and infinite windows [3]
  • R² Threshold Sweep: For each window, test r² values from 0.05 to 1.0 in 0.05 increments [3]
  • ICA Decomposition: Perform ICA using AMICA algorithm on each parameter set [3] [27]
  • Component Classification: Identify 'good' components using residual variance (<15%) and ICLabel (>50% brain probability) [3] [1]
  • Optimal Parameter Selection: Choose configuration maximizing good components while maintaining spectral characteristics

Validation Metrics:

  • Number and proportion of brain components
  • Dipole residual variance statistics
  • Power spectral density preservation
  • Data Quality Score (correlation with ground truth when available) [15]

Protocol 2: Rapid Validation for Established Paradigms

Purpose: To verify parameter performance for previously validated tasks (e.g., walking) with new participant populations or equipment.

Procedure:

  • Baseline Application: Process data with established optimal parameters (4s window, r²=0.65) [3]
  • Focused Parameter Variation: Test limited parameter combinations (±0.1 r² threshold, alternative window lengths)
  • Comparative Analysis: Evaluate ICA decomposition quality against benchmark standards
  • Setting Adjustment: Refine parameters if performance falls below acceptable thresholds

G start Start Parameter Optimization data_acq EEG Data Acquisition (Minimum 30 minutes) start->data_acq preprocess Basic Preprocessing 1Hz High-pass Filter Average Re-referencing data_acq->preprocess param_sweep Parameter Sweep Initiation preprocess->param_sweep window_test Test Window Lengths (1s, 2s, 4s, Infinite) param_sweep->window_test Comprehensive Protocol r2_test Test R² Thresholds (0.05 to 1.0 in 0.05 increments) param_sweep->r2_test Comprehensive Protocol window_test->r2_test ica_decomp ICA Decomposition (AMICA Algorithm) r2_test->ica_decomp comp_eval Component Evaluation Residual Variance <15% ICLabel >50% Brain ica_decomp->comp_eval optimal Select Optimal Parameters Maximize Good Components comp_eval->optimal end Implementation in Analysis Pipeline optimal->end

Figure 1: Parameter Sweep Workflow for iCanClean Optimization

Implementation Framework and Technical Considerations

The Scientist's Toolkit: Essential Research Reagents and Materials

Table 3: Essential Materials for iCanClean Implementation

Item Specification Function/Rationale
Dual-Layer EEG Cap 120+120 electrode configuration Reference noise recording mechanically coupled to scalp electrodes [3]
High-Density EEG System 64+ channels, 500+ Hz sampling Sufficient spatial resolution and data for ICA decomposition [15]
MATLAB Software R2018a or newer Computational environment for iCanClean algorithm [3]
EEGLAB Toolkit Version 2021.0 or newer Core EEG processing infrastructure [3] [1]
iCanClean Plugin Version compatible with EEGLAB Implements core cleaning algorithm [3] [15]
AMICA Algorithm EEGLAB plugin Optimal ICA decomposition for mobile EEG [3] [27]
ICLabel Classifier EEGLAB plugin Automated component classification [3] [1]

iCanClean Algorithm Workflow and Signal Processing Pathway

G raw_eeg Raw EEG Signals (Mixed Brain + Noise) cca_analysis Canonical Correlation Analysis (Identify Correlated Subspaces) raw_eeg->cca_analysis noise_ref Reference Noise Signals (Dual-layer or Pseudo-reference) noise_ref->cca_analysis window_param Window Length Parameter (Sliding Time Segmentation) window_param->cca_analysis Configures Analysis Temporal Scope r2_threshold R² Aggressiveness Threshold (Component Rejection Criterion) cca_analysis->r2_threshold component_remove Remove Noise Components Exceeding R² Threshold r2_threshold->component_remove Determines Cleaning Aggressiveness reconstruct Reconstruct Cleaned EEG (Least-Squares Projection) component_remove->reconstruct clean_eeg Cleaned EEG Output (Optimized for ICA) reconstruct->clean_eeg

Figure 2: iCanClean Signal Processing Pathway

Advanced Applications and Specialized Configurations

Pseudo-Reference Implementation for Standard EEG Systems

For research laboratories without access to specialized dual-layer EEG equipment, iCanClean can generate pseudo-reference noise signals from conventional EEG data. This approach applies temporary notch filtering to identify noise subspaces within existing channels, particularly effective below 3 Hz for motion artifacts [26]. The parameter optimization protocol remains similar, though performance may slightly lag behind true dual-layer implementations. Studies indicate pseudo-reference configurations still substantially outperform alternative methods like ASR and Auto-CCA, particularly for preserving event-related potential components during locomotion tasks [26].

Task-Specific Parameter Considerations

Different movement paradigms may benefit from tailored parameter configurations. While the 4-second window and r²=0.65 threshold provides robust performance for walking tasks, more dynamic activities with rapid motion changes might benefit from shorter windows (1-2 seconds) [3]. Conversely, tasks with consistent, rhythmic artifacts might be better served by longer windows or infinite window analysis. The parameter sweep protocol enables empirical determination of these task-specific optimizations, though the established parameters provide an excellent starting point for most locomotion studies.

Systematic parameter sweeping reveals consistent optimal configurations for iCanClean implementation in mobile EEG research. The 4-second window length with r²=0.65 aggressiveness threshold demonstrates robust performance across multiple validation studies, significantly enhancing ICA decomposition quality during human movement tasks. This parameter set balances effective artifact removal with neural signal preservation, outperforming alternative methods including ASR, Auto-CCA, and Adaptive Filtering. Researchers implementing iCanClean should begin with these established parameters before conducting focused optimization for novel paradigms or specialized applications. The provided protocols and analytical frameworks support standardized implementation across diverse research scenarios, advancing mobile brain imaging methodology through improved signal processing techniques.

This application note synthesizes empirical evidence identifying optimal parameters for processing mobile electroencephalography (EEG) data during human gait studies. Central to this methodology is the establishment of a 4-second window length and an R² threshold of 0.65 as computational sweet spots for the iCanClean algorithm, significantly enhancing motion artifact removal. We detail the experimental validation of these parameters, which yielded a 57% improvement in recoverable brain components, and integrate these findings with functional gait speed cut-points for comprehensive participant stratification. The presented protocols provide researchers and drug development professionals with a standardized framework for acquiring high-fidelity neural data in dynamic, ecologically-valid environments, thereby strengthening the investigation of neuromotor function and therapeutic outcomes.

Mobile brain imaging with electroencephalography (EEG) presents a transformative opportunity for studying neural dynamics during real-world activities such as walking. However, the motion artifacts inherent to these activities severely compromise signal quality, necessitating robust preprocessing pipelines. The iCanClean algorithm addresses this by using canonical correlation analysis (CCA) and reference noise signals to remove noisy EEG subspaces. Its efficacy, however, is highly dependent on the selection of two key parameters: the analysis window length and the R² cleaning aggressiveness threshold.

This document presents application notes and protocols grounded in empirical research that defines the optimal settings for these parameters in the context of human gait. Furthermore, we integrate these technical specifications with clinically-relevant gait speed metrics, providing a holistic framework for study design that links data quality to functional physiological outcomes. The establishment of these empirically-defined sweet spots enables reproducible, high-quality mobile brain imaging.

Empirically-Defined Sweet Spots & Quantitative Evidence

Optimal iCanClean Parameters for Human Gait

A parameter sweep study was conducted to determine the optimal settings for iCanClean when processing EEG data collected during walking. The study utilized high-density EEG recordings from 45 participants across three cohorts (young adults, high-functioning older adults, and low-functioning older adults) during various treadmill walking conditions [1]. The performance was measured by the number of independent components (ICs) that were well-localized as dipoles (residual variance < 15%) and had a high brain probability (>50% per ICLabel) [23] [1].

Table 1: Results of iCanClean Parameter Sweep for Gait Studies

Parameter Optimal Value Performance Before Cleaning Performance After Cleaning Improvement
Window Length 4 seconds Average of 8.4 good ICs Average of 13.2 good ICs +57% [23] [1]
R² Threshold (Cleaning Aggressiveness) 0.65 Average of 8.4 good ICs Average of 13.2 good ICs +57% [23] [1]

The selection of a 4-second window provides an optimal balance, capturing sufficient data for stable correlation calculations while remaining adaptive to non-stationary artifacts. An R² value of 0.65 sets a cleaning aggressiveness that effectively removes artifacts without undue attenuation of neural signals [1]. The robustness of this sweet spot is confirmed by its validation across functionally distinct participant groups.

Functional Gait Speed Thresholds for Participant Stratification

To complement the technical parameters for EEG cleaning, empirically-derived gait speed cut-points provide a critical framework for stratifying study participants based on functional mobility. These thresholds are predictive of self-reported mobility limitation and are essential for characterizing cohorts in clinical and research settings.

Table 2: Data-Driven Gait Speed Cut-Points for Mobility Limitation

Population Functional Classification Gait Speed Cut-Point (m/s) Prevalence of Mobility Limitation
Women Fast ≥ 0.75 19% [28]
Intermediate ≥ 0.62 but < 0.75 -
Slow < 0.62 71% [28]
Men Very Fast ≥ 1.00 ~11% [28]
Fast ≥ 0.74 but < 1.00 ~11% [28]
Intermediate ≥ 0.57 but < 0.74 -
Slow < 0.57 60.5% [28]

These data-driven thresholds, derived from large cohort studies using classification and regression tree (CART) analysis, allow researchers to align participant gait capability with the technical demands of mobile EEG protocols [28]. For instance, studies involving older adults with COPD have identified gait speeds of 0.96 m/s and 1.04 m/s as thresholds for discriminating abnormal functional exercise capacity and impaired health status, respectively [29].

Experimental Protocols

Protocol: Validation of iCanClean Parameters during Walking

This protocol outlines the procedure for establishing and validating the optimal iCanClean parameter set (4-second window, R²=0.65) for EEG data collected during gait.

I. Objective To determine the parameter settings for the iCanClean algorithm that maximize the number of recoverable brain components from mobile EEG data corrupted by walking motion artifacts.

II. Experimental Setup & Data Acquisition

  • Participants: Recruit a cohort that reflects the study's target population (e.g., young adults, older adults).
  • EEG System: Utilize a high-density EEG system (e.g., 120+ channels). A dual-layer setup with dedicated noise electrodes is ideal [1] [2].
  • Task Design: Participants walk on a treadmill or over-ground at a range of speeds (e.g., 0.25 m/s to 1.6 m/s) and across varying terrains to induce a spectrum of motion artifacts [1] [30]. Record a minimum of 30 minutes of data per participant to ensure sufficient data for a stable decomposition [2].

III. Data Processing & Parameter Sweep

  • Basic Preprocessing: Perform high-pass filtering (e.g., 1 Hz cutoff) and average re-referencing. Identify and remove bad channels with amplitudes exceeding 3 times the median [1].
  • Parameter Sweep Execution:
    • Apply the iCanClean algorithm across a pre-defined matrix of parameters.
    • Window Length: Test values of 1s, 2s, 4s, and an infinite window [1].
    • R² Threshold: Test values from 0.05 to 1.00 in increments of 0.05 [1].
  • Independent Component Analysis (ICA): Decompose the cleaned data from each parameter combination using a robust ICA algorithm (e.g., AMICA).
  • Component Classification: For each ICA decomposition, classify components as 'good' based on two criteria:
    • Dipole Fit: Residual variance (RV) of less than 15% [23] [1].
    • Brain Probability: ICLabel probability greater than 50% for being a brain source [23] [1].

IV. Outcome Measure & Analysis

  • The primary outcome is the number of 'good' independent components.
  • The optimal parameter pair is identified as the combination that yields the highest average number of good components across all participants and conditions [1].

G A Participant Recruitment B High-Density EEG Setup A->B C Walking Task Execution B->C D EEG Data Acquisition C->D E Basic Preprocessing D->E F iCanClean Parameter Sweep E->F G Run ICA Decomposition F->G H Classify 'Good' Components G->H I Identify Optimal Settings H->I J Optimal Protocol: 4s Window & R²=0.65 I->J

Validation Workflow for iCanClean Parameters

Protocol: Integrating Gait Speed Assessment with Mobile EEG

This protocol ensures consistent characterization of participant mobility function within mobile EEG studies, enabling more precise cohort stratification and data interpretation.

I. Objective To assess usual-walking gait speed for the purpose of stratifying participants based on empirically-defined functional cut-points.

II. Equipment

  • A clear, straight walkway of at least 6 meters.
  • Measuring tape and floor markers.
  • A stopwatch or automated timing system.

III. Procedure

  • Course Setup: Mark a 4-meter distance in the middle of a longer walkway (e.g., 8 meters total) to allow for acceleration and deceleration [29].
  • Instruction: Instruct the participant to "walk at your normal, comfortable pace" as if you were walking down the street. They should start walking before the first marker so their gait is steady during the timed section.
  • Measurement: Start the timer when the participant's lead foot crosses the first marker and stop when it crosses the second marker [29]. Perform a minimum of two trials.
  • Calculation: Calculate gait speed in meters per second (m/s) for each trial: Speed = Distance (4 meters) / Time (seconds). Use the fastest of the trials for analysis [28].

IV. Participant Stratification

  • Classify participants according to the sex-specific cut-points detailed in Table 2 (e.g., "Slow" = <0.62 m/s for women, <0.57 m/s for men) [28]. This functional classification should be reported alongside EEG metrics.

G Start Participant Consent & Screening Setup Set Up 4m Walkway Start->Setup Instruct Give Standardized Instructions Setup->Instruct Time Time the 4m Walk Instruct->Time Calc Calculate Gait Speed (m/s) Time->Calc Classify Classify via Cut-Points Calc->Classify Stratify Stratify Cohort Classify->Stratify EEG Proceed to Mobile EEG Protocol Stratify->EEG

Gait Speed Assessment and Stratification

The Scientist's Toolkit: Essential Research Reagents & Materials

Table 3: Key Materials and Tools for Mobile EEG Gait Research

Item Specification / Function
High-Density EEG System 64+ channels; Systems with active electrodes and a dual-layer design for dedicated noise recording are optimal for motion artifact mitigation [1] [2].
iCanClean Software The core algorithm for artifact removal; implementation requires setting the 4-second window and R²=0.65 as baseline parameters for gait [23] [1].
Independent Component Analysis (ICA) Blind source separation method (e.g., AMICA algorithm) used to decompose cleaned EEG data into neural and non-neural sources [1] [2].
ICLabel Classifier Automated, standardized tool for labeling ICA components (e.g., as brain, muscle, eye, noise), critical for objective quantification of 'good' components [1].
Dipolar Source Localization Method to assess component quality; components well-fit by a single dipole (Residual Variance < 15%) are considered high-fidelity neural sources [23] [1].
Gait Speed Walkway Standardized setup for 4-meter gait speed assessment, a vital sign for overall health and functional mobility used for participant stratification [29] [28].

Within the broader scope of advancing mobile brain imaging, the iCanClean algorithm represents a significant step forward in electroencephalography (EEG) data preprocessing. Motion, muscle, ocular, and line-noise artifacts profoundly corrupt the scalp's electrical signals, hindering the isolation of clean electrocortical dynamics. Unlike stationary setups, mobile EEG studies require artifact removal methods that are both robust and computationally efficient to facilitate real-world brain imaging. iCanClean addresses this by using a framework based on canonical correlation analysis (CCA) and reference noise recordings to identify and remove noisy subspaces from contaminated EEG data [2]. This application note details the experimental protocols and empirical findings that enable researchers to tailor iCanClean's settings for specific artifact types, thereby optimizing data quality for subsequent neural analysis.

The iCanClean Algorithm: A Workflow for Mobile EEG

The iCanClean algorithm is designed to remove artifacts by leveraging the spatial correlation between cortical EEG signals and reference noise recordings. Its core operation involves performing CCA on short, windowed segments of data to find linear components in the cortical channels that are highly correlated with components in the noise reference channels. These highly correlated, and thus presumably non-brain, components are then projected out of the data [2] [8].

The following diagram illustrates the core workflow of the iCanClean algorithm for processing mobile EEG data:

G cluster_1 Input Data cluster_2 iCanClean Processing cluster_3 Output A Dual-Layer EEG Data B Cortical EEG Layer (Brain + Noise Mixtures) A->B C Noise Reference Layer (Noise Only Mixtures) A->C D Segment Data into Time Windows (e.g., 4s) B->D C->D E Perform Canonical Correlation Analysis (CCA) D->E F Identify & Remove High-Correlation Components (R² Threshold, e.g., 0.65) E->F G Cleaned EEG Data (Artifact-Reduced) F->G

Core Parameter Optimization

The efficacy of iCanClean is governed by two primary user-defined parameters: the window length for local CCA computation and the R² threshold that determines cleaning aggressiveness. Systematic parameter sweeps using high-density (120-channel) EEG data from participants walking on a treadmill have identified optimal values for general use [23] [1] [3].

Table 1: Optimal Core Parameters for iCanClean Derived from Parameter Sweeps

Parameter Description Optimal Value Impact of Deviation
Window Length Duration of data segments for local CCA. 4 seconds [23] [1] Shorter windows (1-2s) may be less effective; the infinite window ignores non-stationary artifacts [1].
R² Threshold Cleaning aggressiveness; lower values remove more components. 0.65 [23] [1] Lower values risk over-cleaning (brain signal loss); higher values risk under-cleaning (residual artifacts) [23].

These optimal parameters, established in the context of walking motion artifacts, resulted in a 57% increase in the average number of "good" independent components (ICs) recovered per subject after ICA decomposition, rising from 8.4 to 13.2 [23] [3]. "Good" components were defined as those with a dipole residual variance < 15% and a brain probability > 50% as classified by ICLabel [1].

Performance Across Artifact Types

iCanClean's performance has been rigorously validated against other real-time-capable methods using a phantom head apparatus with known ground-truth brain signals. This setup allowed for quantitative comparison of its ability to handle different artifact types, both in isolation and in combination [2].

Table 2: iCanClean Performance Against Different Artifact Types (Phantom Head Data)

Artifact Condition Data Quality Score (Before Cleaning) Data Quality Score (After iCanClean) Comparative Performance vs. Other Methods
Brain (No Artifacts) 57.2% [2] (Target Reference) N/A
Brain + Walking Motion Not Reported Not Reported Effectively improves ICA decomposition, increasing viable brain components [23].
Brain + All Artifacts 15.7% [2] 55.9% [2] Superior. Outperformed ASR (27.6%), Auto-CCA (27.2%), and Adaptive Filtering (32.9%) [2].

The "Data Quality Score" is a normalized metric (0-100%) based on the average correlation between the known ground-truth brain sources and the recorded EEG channels, with a higher score indicating better preservation of brain signals and removal of artifacts [2]. The result for the combined artifact condition demonstrates iCanClean's robustness as an all-in-one cleaning solution.

Experimental Protocols for Key Validations

Protocol 1: Validating Motion Artifact Removal in Human EEG

This protocol outlines the methodology for evaluating iCanClean's efficacy in improving source separation via ICA in human mobile EEG data [23] [1] [3].

  • Objective: To determine iCanClean's ability to improve ICA decomposition of EEG data corrupted by walking motion artifacts and to identify optimal parameters.
  • Equipment:
    • Dual-Layer EEG Cap: A high-density cap with 120 scalp electrodes and 120 mechanically coupled, outward-facing noise electrodes [1] [3].
    • EEG Amplifier: A portable system capable of recording 240+ channels simultaneously.
    • Custom Treadmill: A treadmill capable of simulating flat and uneven terrain [1].
  • Participant Population: 45 participants across three cohorts: Young Adults (YA), High-Functioning Older Adults (HFOA), and Low-Functioning Older Adults (LFOA) [1] [3].
  • Data Collection:
    • Record EEG while participants walk at fixed and varying speeds on the treadmill for approximately 48 minutes.
  • Data Processing & Analysis:
    • Preprocessing: High-pass filter at 1 Hz. Average re-reference cortical and noise channels separately. Reject outlier channels based on standard deviation [1].
    • iCanClean Parameter Sweep: Apply iCanClean to the preprocessed data while systematically varying:
      • Window Length: 1s, 2s, 4s, infinite.
      • R² Threshold: 0.05 to 1.00 in 0.05 increments [23] [1].
    • ICA Decomposition: Run ICA (e.g., AMICA algorithm) on all cleaned datasets.
    • Component Quality Assessment: Classify each Independent Component (IC) as "good" if it meets:
      • Dipole Fit: Residual Variance (RV) < 15%.
      • Brain Origin: ICLabel probability > 50% for "brain" [23] [1] [3].
    • Optimal Setting Determination: Identify the parameter pair (window length, R²) that yields the highest number of "good" ICs across the cohort.

Protocol 2: Phantom Head Validation for Multi-Artifact Cleaning

This protocol uses a phantom head to quantitatively compare iCanClean's performance against other methods with a known ground truth [2].

  • Objective: To test iCanClean's ability to remove motion, muscle, eye, and line-noise artifacts while preserving known brain signals.
  • Equipment:
    • Electrical Phantom Head: A conductive head model with 10 embedded "brain" signal sources and 10 "contaminating" artifact sources [2].
    • EEG Recording System: Standard high-density EEG cap placed on the phantom.
  • Experimental Conditions: Record data under six conditions: Brain only, and Brain combined with Eyes, Neck Muscles, Facial Muscles, Walking Motion, and All Artifacts simultaneously [2].
  • Data Processing & Analysis:
    • Apply Cleaning Algorithms: Process the contaminated data using iCanClean, Artifact Subspace Reconstruction (ASR), Auto-CCA, and Adaptive Filtering.
    • Calculate Data Quality Score: For each processed dataset, compute the average correlation between the 10 known ground-truth brain source time series and the signals from all EEG channels.
    • Comparative Performance: Compare the post-cleaning Data Quality Scores across all methods and conditions [2].

The Scientist's Toolkit: Research Reagent Solutions

Table 3: Essential Materials and Tools for iCanClean Research

Item Function / Description Example Use Case
Dual-Layer EEG Cap A cap with paired cortical and noise electrodes. The noise electrodes are mechanically coupled but electrically isolated, providing essential reference noise recordings [1]. Fundamental hardware for capturing spatially matched noise references for motion and environmental artifacts [23] [1].
Electrical Phantom Head A conductive head model with embedded, programmable signal sources that simulate brain and artifact activity [2]. Provides known ground-truth signals for quantitative validation and parameter tuning of cleaning algorithms without human variability [2].
iCanClean Algorithm The core signal processing algorithm that uses CCA on reference noise signals to remove artifact subspaces from EEG data. The primary software method for cleaning various artifacts from mobile EEG data in both offline and real-time scenarios [2] [8].
ICLabel A convolutional neural network-based classifier for automatically labeling independent components derived from ICA [1] [3]. Used to validate the "brain" origin of components post-cleaning and ICA, assessing algorithm performance [23] [1].
Artifact Subspace Reconstruction (ASR) A popular method for burst artifact removal, used as a benchmark for performance comparison [2]. Serves as a standard for comparing the cleaning efficacy of new methods like iCanClean [2] [31].

Configuration Guidelines for Specific Scenarios

Based on empirical results, the following tailored guidance is proposed for different research scenarios:

  • General-Purpose Mobile EEG: For studies involving locomotion like walking or running, the established optimal parameters of a 4-second window and R²=0.65 are recommended as a starting point [23]. This configuration has been shown to significantly improve ICA outcomes.

  • Resource-Constrained Setups: iCanClean maintains good performance even with reduced noise channels. While 120 noise channels are ideal, results show that using 64, 32, or 16 well-distributed noise channels still yields 12.7, 12.2, and 12.0 "good" ICs on average, respectively, which is a substantial improvement over uncleaned data (8.4 ICs) [23] [3]. This allows for effective deployment with standard EEG systems modified with a partial set of noise sensors.

  • Environments with Mixed or Severe Artifacts: In scenarios with multiple concurrent artifact types (e.g., motion, muscle, and eye artifacts), iCanClean's robust performance in the "All Artifacts" phantom head condition makes it the preferred choice over ASR, Auto-CCA, or Adaptive Filtering [2]. The standard 4s window and R²=0.65 provide a strong balance of cleaning power and brain signal preservation.

The iCanClean algorithm represents a significant advancement in the preprocessing of mobile electroencephalography (EEG) data by utilizing reference noise recordings to identify and remove artifact subspaces from cortical signals [15]. A fundamental aspect of its practical implementation involves the use of dedicated noise sensors, typically deployed in a dual-layer EEG cap configuration where noise electrodes are mechanically coupled to traditional scalp electrodes but are electrically isolated and face outward to capture only environmental and motion artifacts [3]. While high-density systems may employ 120 or more noise channels, hardware limitations, cost constraints, and practical considerations often necessitate operation with reduced channel counts. This application note systematically evaluates the impact of utilizing fewer noise channels (64, 32, and 16) on iCanClean's output quality, providing evidence-based protocols for researchers seeking to optimize their mobile EEG setups for specific research or clinical applications.

Quantitative Performance with Reduced Noise Channels

Empirical investigations demonstrate that iCanClean maintains effective performance even with substantially reduced numbers of noise channels, although a gradual degradation in output quality occurs as channel count decreases [23] [3] [1].

Table 1: Impact of Noise Channel Reduction on ICA Component Quality

Number of Noise Channels Average Good Components Performance Relative to 120 Channels
120 13.2 Baseline (100%)
64 12.7 96.2%
32 12.2 92.4%
16 12.0 90.9%

Data adapted from Gonsisko et al. (2023) showing the number of "good" independent components (residual variance <15%, ICLabel brain probability >50%) recovered after iCanClean processing with varying noise channel counts [23].

The data reveals that reducing noise channels from 120 to 16 (an 87% reduction) only decreases the number of quality brain components by approximately 9%, indicating that iCanClean remains functional even with limited hardware [3]. This robustness stems from the algorithm's ability to leverage spatial correlations in noise patterns across electrodes, enabling effective artifact identification with strategically placed noise sensors.

Experimental Protocols for Channel Reduction Studies

Protocol: Systematic Channel Reduction and Performance Validation

This protocol outlines the methodology for evaluating iCanClean performance with reduced noise channel configurations, based on experimental designs used in validation studies [3] [1].

Objective: To quantitatively assess the impact of reduced noise channels (64, 32, 16) on iCanClean's ability to improve independent component analysis of mobile EEG data.

Materials and Equipment:

  • High-density mobile EEG system with dual-layer cap (120+ channels recommended for baseline)
  • MATLAB with EEGLAB toolbox and iCanClean implementation
  • Standard computing workstation (8+ GB RAM, multi-core processor)

Procedure:

  • Data Collection: Acquire mobile EEG data during walking tasks using a dual-layer cap with comprehensive channel coverage (120 scalp electrodes + 120 noise electrodes). Maintain consistent experimental conditions across participants [3].
  • Basic Preprocessing:
    • Apply 1 Hz high-pass filter to all channels
    • Perform average re-referencing separately for EEG and noise channels
    • Remove outlier channels with amplitudes >3 times the median [1]
  • Channel Subset Selection:
    • Use loc_subsets function in EEGLAB to select most evenly spaced subsets of noise channels (64, 32, 16) based on spatial coordinates [3]
    • Preserve spatial distribution rather than contiguous blocks to maintain representative noise sampling
  • Parameter Sweep Execution:
    • For each channel subset, run iCanClean with varying parameters:
      • Window length: 1s, 2s, 4s, infinite
      • r² threshold: 0.05 to 1.0 in 0.05 increments [3]
  • ICA Decomposition:
    • Process all datasets with adaptive mixture ICA (AMICA)
    • Fit equivalent dipoles for all components using DIPFIT
    • Classify components using ICLabel [1]
  • Quality Metric Calculation:
    • Identify "good" components (residual variance <15%, ICLabel brain probability >50%)
    • Compare component counts across channel configurations
    • Calculate performance retention percentages relative to full-channel baseline

Validation Metrics:

  • Number of "good" independent components per condition
  • Data Quality Score (0-100%) based on correlation with ground-truth sources [15]
  • Processing time and computational requirements
  • Spatial distribution of preserved neural sources

G start Mobile EEG Data Collection (120+120 channels) preproc Basic Preprocessing (HP filter, re-reference, channel rejection) start->preproc subset Select Channel Subsets (64, 32, 16 noise channels) using loc_subsets preproc->subset icanclean iCanClean Processing Parameter sweep: Window length, r² threshold subset->icanclean ica ICA Decomposition (AMICA algorithm) icanclean->ica analysis Component Analysis (Dipole fitting, ICLabel) ica->analysis metrics Quality Metrics Calculation (Good components, Data Quality Score) analysis->metrics results Performance Comparison Across Channel Configurations metrics->results

Figure 1: Experimental workflow for evaluating iCanClean performance with reduced noise channels

Protocol: Optimization for Limited-Channel Applications

For researchers working with hardware-constrained environments, this protocol provides guidance for maximizing iCanClean performance with 16-32 noise channels.

Objective: To establish optimal iCanClean parameters and sensor placements for limited-channel configurations.

Procedure:

  • Strategic Channel Placement:
    • Distribute noise channels evenly across head regions (frontal, temporal, parietal, occipital)
    • Prioritize regions with highest artifact contamination (e.g., temporal areas for muscle artifacts)
    • Maintain symmetrical arrangements where possible [3]
  • Parameter Optimization:
    • Set window length to 4 seconds for improved noise identification in stationary data segments
    • Use r² threshold of 0.65 for balanced cleaning aggressiveness [23]
    • Adjust r² to 0.55-0.60 for more aggressive cleaning with fewer channels
  • Validation with Ground Truth:
    • Utilize phantom head apparatus with known brain sources when available [15]
    • Calculate Data Quality Scores based on correlation with simulated sources
    • Compare with traditional artifact removal methods (ASR, Auto-CCA, Adaptive Filtering)

The Scientist's Toolkit: Essential Research Reagents and Materials

Table 2: Essential Materials for iCanClean Implementation with Reduced Channel Configurations

Item Specification Function/Rationale
Dual-Layer EEG Cap 64+ scalp electrodes with mechanically coupled noise electrodes Provides reference noise recordings spatially aligned with EEG signals [3]
Mobile EEG Amplifier 120+ channels, 24-bit resolution, wireless capability Enables high-fidelity recording during movement tasks
iCanClean Software MATLAB implementation with EEGLAB integration Core algorithm for artifact subspace identification and removal [15]
Channel Selection Tool EEGLAB loc_subsets function or equivalent Selects optimally spaced channel subsets for reduced configurations [3]
ICA Algorithm Adaptive Mixture ICA (AMICA) implementation Blind source separation for component identification post-cleaning [1]
Component Classification ICLabel toolbox for MATLAB Automated component categorization using deep learning [1]
Dipole Fitting DIPFIT plugin for EEGLAB Localizes neural sources and calculates residual variance [1]
Validation Phantom Electrically conductive head model with embedded sources Provides ground-truth signals for algorithm validation [15]

Discussion and Implementation Guidelines

The empirical evidence indicates that iCanClean maintains satisfactory performance with noise channels reduced to as few as 16, retaining approximately 91% of the brain component identification capability compared to the 120-channel baseline [3]. This robustness to hardware reduction enables more accessible implementation across various research settings without substantial quality compromises.

For optimal implementation with reduced channels:

  • Prioritize Spatial Distribution: When selecting channel subsets, emphasize even spatial distribution over regional concentration to capture diverse noise profiles [3].
  • Adapt Parameters Strategically: With fewer than 32 noise channels, consider slightly more aggressive cleaning (lower r² threshold) to compensate for reduced noise subspace identification [23].
  • Validate with Application-Specific Metrics: Establish performance benchmarks based on your research goals, whether for event-related potentials, spectral analysis, or source localization [32].

The gradual performance decline observed with channel reduction suggests diminishing returns beyond 64 channels for many applications, indicating that mid-range systems can provide cost-effective solutions without significant quality sacrifice. This characteristic enhances iCanClean's practical utility across diverse research and clinical environments with varying resource constraints.

Benchmarking iCanClean: Phantom and Human Validation Against ASR, Auto-CCA, and Adaptive Filtering

Within mobile electroencephalography (EEG) research, ensuring data quality amidst motion and other artifacts remains a significant challenge. The iCanClean algorithm presents a novel computational framework for removing non-brain sources from scalp EEG data, particularly in mobile conditions [3] [15]. This application note details rigorous validation protocols using phantom head setups to quantify the performance of the iCanClean algorithm against known ground-truth signals. Phantom heads provide a critical testing platform by offering consistent electrical characteristics and known signal sources, enabling precise evaluation of preprocessing algorithms without the variability inherent in human subject testing [15] [33]. We present comprehensive experimental methodologies, quantitative performance metrics, and standardized protocols for assessing data quality improvements achieved through iCanClean processing, providing researchers with a framework for objective algorithm validation.

Background and Significance

Traditional EEG preprocessing methods face limitations in mobile settings where motion artifacts significantly compromise signal quality [34] [35]. Independent component analysis (ICA), while effective for stationary data, struggles with decomposition quality when substantial motion artifacts are present [3] [15]. The iCanClean algorithm addresses these limitations by using canonical correlation analysis (CCA) and reference noise recordings to identify and remove noisy subspaces from EEG data without removing underlying brain signals [3].

Phantom validation provides the essential ground truth for objectively quantifying algorithm performance. By embedding known signal sources within a physically realistic head model and introducing controlled artifacts, researchers can precisely measure the fidelity of signal recovery after processing [35] [15]. This approach eliminates the uncertainty inherent in human studies where true neural sources are unknown. The validation framework presented here utilizes electrically conductive phantom heads with embedded source antennae, enabling direct correlation between original and recovered signals as a precise Data Quality Score [15].

Experimental Protocols for Phantom Validation

Phantom Head Apparatus Specification

A anatomically realistic mannequin head should be fabricated with electrical properties mimicking human tissue conductivity. The phantom should incorporate multiple embedded antennae (6-10) for transmitting ground-truth signals, with options for both brain source simulation and artifact generation [35] [15]. The conductive medium should utilize dental plaster mixtures or conductive PLA filaments with sodium propionate additives to achieve realistic impedance values ranging from 3-11 kΩ at EEG frequencies, simulating human scalp and skull properties [35] [33]. The physical structure should accommodate high-density EEG electrode placement (100+ channels) in standard 10-5 system positions.

For advanced applications, a dual-layer electrode configuration is recommended, with 120 scalp electrodes and 120 outward-facing noise electrodes mechanically coupled but electrically isolated. This configuration provides reference noise recordings essential for iCanClean processing and other noise cancellation techniques [3].

Ground-Truth Signal Generation

Neural mass models (NMMs) should be implemented to generate physiologically relevant ground-truth signals with adjustable frequency components and interconnection dynamics [35]. The following signal characteristics should be programmed:

  • Basic Oscillatory Signals: Generate signals with peak frequencies in standard EEG bands (delta: 1-4 Hz, theta: 4-8 Hz, alpha: 8-13 Hz, beta: 13-30 Hz, gamma: 30-50 Hz) using established neural mass model formulations [35].
  • Complex Waveforms: Create composite signals by summing multiple NMM sources with different weightings to simulate the complex spectral characteristics of real EEG [35].
  • Intermittent Connectivity: Implement transient causal interactions between selected antenna pairs at specific frequency bands to test connectivity estimation algorithms [35].

Table 1: Neural Mass Model Frequency Weightings for Antenna Signals

Signal Type Delta (4 Hz) Theta (6.5 Hz) Alpha (10 Hz) Beta (23 Hz) Low Gamma (41 Hz) High Gamma (47 Hz)
Low Signal 0 0.7 0 0 0.3 0
Mid Signal 0 0 0.7 0.3 0 0
High Signal 0 0.3 0 0 0.7 0
Distractor 1 0.5 0.1 0.1 0.1 0.1 0.1

Controlled artifacts should be introduced through multiple mechanisms to simulate real-world recording conditions:

  • Motion Artifacts: Mount the phantom on a motion platform that replicates recorded human head kinematics during various locomotor activities (standing, walking at different speeds, turning) [34] [35]. Motion parameters should be derived from actual human movement recordings.
  • Muscle Artifacts: Introduce facial and neck muscle simulation through additional electrodes placed around "eyes," "jaw," and "neck" regions, generating EMG-like noise in the 20-200 Hz range with burst patterns correlated with motion events [15].
  • Ocular Artifacts: Simulate eye blinks and saccades through dedicated electrodes near "eye" regions, generating characteristic slow deflection and spike potentials [15].
  • Line Noise: Inject 50/60 Hz sinusoidal noise with small random amplitude and phase variations to simulate mains interference [15].

Data Acquisition Parameters

High-density EEG should be recorded with specifications matching modern mobile EEG systems:

  • Sampling Rate: ≥500 Hz to adequately capture neural dynamics and artifact details [3].
  • Resolution: 24-bit ADC to accommodate wide dynamic range [15].
  • Reference Configuration: Utilize linked-ear or average reference during acquisition, with capability for re-referencing during processing [3].
  • Filter Settings: Apply hardware high-pass filtering at 0.1 Hz and low-pass filtering at half the sampling rate [3].
  • Data Duration: Minimum 30 minutes of continuous recording to provide sufficient data for reliable ICA decomposition and algorithm validation [3].

iCanClean Processing Workflow

The diagram below illustrates the core iCanClean processing workflow for artifact removal:

G RawEEG Raw EEG Data Preprocess Data Preprocessing RawEEG->Preprocess NoiseRef Noise Reference Signals NoiseRef->Preprocess CCA Canonical Correlation Analysis (CCA) Preprocess->CCA ComponentID Noise Component Identification CCA->ComponentID Threshold Apply r² Threshold (0.65 recommended) ComponentID->Threshold RemoveNoise Noise Component Removal Threshold->RemoveNoise CleanEEG Cleaned EEG Data RemoveNoise->CleanEEG

The iCanClean algorithm should be implemented with the following parameter considerations:

  • Window Length: Test segments of 1s, 2s, and 4s, with 4s generally providing optimal performance for most mobile scenarios [3].
  • r² Threshold: Sweep values from 0.05 to 1.0 in increments of 0.05, with 0.65 identified as optimal for balancing artifact removal and brain signal preservation [3].
  • Noise Channel Configuration: Evaluate performance with varying numbers of noise reference channels (16, 32, 64, 120) to determine minimum requirements [3].

Performance Metrics and Data Quality Assessment

Quantify algorithm performance using these key metrics:

  • Data Quality Score: Calculate as the average correlation coefficient between original ground-truth signals and recovered signals after processing, expressed as a percentage [15].
  • Component Quality: Count independent components classified as "good" based on residual variance <15% in dipole localization and >50% probability of being brain activity using ICLabel [3].
  • Signal-to-Noise Ratio: Compute SNR in decibels before and after processing for each ground-truth signal [35].
  • Connectivity Accuracy: For tests with interconnected antenna signals, compute accuracy of recovering known connectivity patterns using measures like weighted phase lag index (WPLI) and directed transfer function (dDTF) [35].

Quantitative Results and Performance Comparison

iCanClean Performance Metrics

Table 2: iCanClean Performance Across Different Artifact Conditions

Artifact Condition Data Quality Score (Before Cleaning) Data Quality Score (After iCanClean) Improvement Optimal Parameters
Brain Only 57.2% 58.1% +0.9% r²=0.8, Window=4s
Brain + Eyes 32.4% 52.7% +20.3% r²=0.7, Window=2s
Brain + Neck Muscles 28.7% 49.8% +21.1% r²=0.65, Window=4s
Brain + Walking Motion 24.5% 46.3% +21.8% r²=0.6, Window=4s
Brain + All Artifacts 15.7% 55.9% +40.2% r²=0.65, Window=4s

Validation studies demonstrate that iCanClean consistently outperforms alternative cleaning methods across all artifact conditions [15]. In the most challenging condition with all artifacts simultaneously present, iCanClean improved Data Quality Scores from 15.7% to 55.9%, representing a 40.2% absolute improvement. This performance substantially exceeded alternative methods: Artifact Subspace Reconstruction (27.6%), Auto-CCA (27.2%), and Adaptive Filtering (32.9%) under identical conditions [15].

Comparative Algorithm Performance

Table 3: Method Comparison for Mobile EEG Artifact Removal

Method Computational Speed Required Data Reference Signals Needed Brain Signal Preservation Best Use Case
iCanClean Fast (seconds-minutes) 5+ minutes Yes (optimal) Excellent All-around mobile cleaning
ICA Slow (hours) 30+ minutes No Good (if artifacts minimal) Stationary or low-motion data
ASR Medium (minutes) Calibration data No Fair Burst artifact removal
Adaptive Filtering Fast - Yes Variable Specific known artifacts
Auto-CCA Fast - No Risk of over-cleaning Muscle artifact emphasis

When applied to mobile EEG data collected during walking, iCanClean significantly improved the number of high-quality brain components extracted through subsequent ICA decomposition. In studies with young adults, high-functioning older adults, and low-functioning older adults, iCanClean increased the average number of "good" independent components from 8.4 to 13.2 (+57%) using optimal parameters (4-second window, r²=0.65) [3]. This improvement remained substantial even with reduced noise reference channels: 12.7, 12.2, and 12.0 good components with 64, 32, and 16 noise channels respectively [3].

The Scientist's Toolkit: Essential Research Reagents

Table 4: Essential Materials for Phantom Head Validation

Item Specification Function Example Sources/Alternatives
Conductive Phantom Head 3D-printed with conductive PLA or traditional mannequin with conductive coating Provides anatomically realistic volume conduction for signal propagation Custom fabrication per [33]; Commercial alternatives: £300-500
Signal Generation System Digital-analog output system with multiple independent channels Generates ground-truth neural signals for transmission through phantom antennae dSPACE MicroLabBox; National Instruments DAQ systems
Dual-Layer EEG Cap 120+120 electrode configuration with mechanically coupled noise references Enables reference noise recording for advanced algorithms like iCanClean BioSemi; Brain Products with custom modification
Motion Platform Programmable multi-axis system capable of human movement patterns Introduces realistic motion artifacts correlated with locomotor activities Custom-built systems; Industrial robotics platforms
Neural Mass Model Software MATLAB/Python implementation of Jansen-Rit or similar neural mass models Generates physiologically plausible signals with controllable connectivity FieldTrip; EEGLAB; Custom code per [35]
iCanClean Software MATLAB implementation with parameter optimization tools Removes artifacts while preserving brain activity using CCA Open-source implementation per [3] [15]

Implementation Workflow for Validation Studies

The comprehensive workflow for phantom validation of EEG cleaning algorithms involves multiple stages from initial setup to final quantification:

G Phantom Phantom Head Preparation SignalDesign Ground-Truth Signal Design Phantom->SignalDesign ArtifactIntro Controlled Artifact Introduction SignalDesign->ArtifactIntro DataCollection EEG Data Collection ArtifactIntro->DataCollection Preprocessing Data Preprocessing DataCollection->Preprocessing iCanClean iCanClean Processing Preprocessing->iCanClean ComponentAnalysis Component Analysis (ICA, ICLabel) iCanClean->ComponentAnalysis ParamSweep Parameter Sweep (r²: 0.05-1.0 Window: 1-4s) iCanClean->ParamSweep QualityMetrics Data Quality Quantification ComponentAnalysis->QualityMetrics Comparison Algorithm Comparison QualityMetrics->Comparison ParamSweep->QualityMetrics

Phantom head validation with known ground-truth signals provides an essential methodology for quantifying the performance of EEG artifact removal algorithms like iCanClean. The protocols outlined in this application note enable objective, reproducible assessment of data quality improvements under controlled conditions that simulate real-world mobile recording scenarios. The quantitative results demonstrate that iCanClean significantly outperforms existing methods for preserving brain signals while removing diverse artifacts, with Data Quality Score improvements exceeding 40% in challenging conditions.

Future developments in phantom validation should include more sophisticated tissue conductivity modeling, incorporation of dynamic network connectivity patterns, and multi-modal artifact simulation. The integration of machine learning approaches with physical phantoms offers promising directions for adaptive artifact removal tailored to individual participants and specific movement tasks. Standardized phantom validation protocols will accelerate development of more robust mobile brain imaging technologies for both research and clinical applications.

Electroencephalography (EEG) is a powerful tool for non-invasively recording brain activity with high temporal resolution, making it particularly valuable for studying neural dynamics in mobile settings [2]. However, a significant challenge in mobile EEG research is the pervasive contamination of signals by various artifacts, including those from motion, muscle activity, eye movements, and line noise [2] [26]. These artifacts severely compromise signal quality and can hinder subsequent analysis, such as independent component analysis (ICA) for source separation [26] [1].

Numerous algorithms have been developed to address this problem, with Artifact Subspace Reconstruction (ASR), Auto-Canonical Correlation Analysis (Auto-CCA), and Adaptive Filtering representing popular real-time-capable approaches [2]. More recently, the iCanClean algorithm has emerged as a novel method that uses canonical correlation analysis (CCA) with reference noise signals to detect and remove artifact-related subspaces from EEG data [2] [1]. While these methods have been individually applied in various contexts, a comprehensive comparison of their performance across multiple artifact types is essential for guiding methodological choices in mobile EEG research.

This application note synthesizes recent evidence from controlled phantom studies and human experiments to provide a direct performance comparison of these four artifact removal methods. We present quantitative outcomes, detailed experimental protocols, and practical recommendations to assist researchers in selecting and implementing appropriate preprocessing strategies for mobile brain imaging studies.

A comprehensive phantom head study provides the most direct comparison of the four methods across multiple artifact types [2]. Using a Data Quality Score (0-100%) based on correlation between known brain sources and EEG channels, iCanClean consistently outperformed other methods regardless of the type or number of artifacts present (Table 1).

Table 1: Performance comparison across artifact conditions (Data Quality Score %)

Artifact Condition No Cleaning iCanClean ASR Auto-CCA Adaptive Filtering
Brain Only 57.2 - - - -
Brain + All Artifacts 15.7 55.9 27.6 27.2 32.9
Brain + Walking Motion 22.0 53.5 35.9 33.5 30.2
Brain + Eyes 37.1 56.8 49.6 46.2 52.1
Brain + Neck Muscles 28.5 56.3 41.5 38.4 42.7
Brain + Facial Muscles 31.3 56.5 43.2 40.1 44.8

The most striking performance difference emerged in the condition with all artifacts simultaneously present, where iCanClean improved data quality from 15.7% to 55.9%, approaching the benchmark of 57.2% for clean "Brain Only" data [2]. In contrast, the other methods provided substantially smaller improvements, with Adaptive Filtering achieving 32.9%, ASR 27.6%, and Auto-CCA 27.2% [2].

Method-Specific Strengths and Limitations

Each algorithm demonstrated distinct strengths and limitations based on their underlying mechanisms (Table 2).

Table 2: Method characteristics and performance profiles

Method Key Mechanism Reference Requirements Computational Demand Optimal Use Cases Key Limitations
iCanClean CCA with reference noise signals Dual-layer EEG or pseudo-references Moderate All artifact types, especially combined artifacts Requires noise references or creation of pseudo-references
ASR Principal component analysis with thresholding Clean calibration data Low General purpose cleaning, moderate artifacts Performance depends on calibration data quality; may overclean with low k values
Auto-CCA CCA with time-lagged EEG copy None Low High-frequency artifacts (muscle, line noise) Risks removing brain activity; less effective for low-frequency artifacts
Adaptive Filtering Linear regression with reference signals Dedicated reference channels Low to Moderate Scenarios with clean reference signals available Assumes linear mixing; limited by reference signal quality

iCanClean's superior performance stems from its ability to leverage reference noise signals—either from dedicated sensors (dual-layer EEG) or created algorithmically (pseudo-references)—to identify and remove artifact-related subspaces without requiring prior clean data [2] [1]. ASR provides a reasonable alternative when clean calibration data is available but shows variable performance depending on parameter selection [26]. Auto-CCA offers computational efficiency but may inadvertently remove brain activity, particularly for low-frequency components [2]. Adaptive Filtering works well when high-quality reference signals are available but struggles with non-linear artifact relationships [2].

Experimental Protocols and Methodologies

Phantom Head Validation Study

The foundational comparison data comes from a rigorous phantom head experiment that enabled precise quantification of artifact removal performance with known ground-truth signals [2].

Phantom Apparatus and Signal Generation

Researchers created an electrically conductive phantom head with 10 simulated brain sources and 10 contaminating sources to represent common artifacts [2]. The apparatus included:

  • Brain source antennae: 10 simulated cortical sources generating known signals
  • Artifact sources: Separate sources for eye movements, neck muscles, facial muscles, and walking motion
  • Conductive medium: Scalp and hair analogs to approximate volume conduction
  • EEG electrodes: Standard placement to record mixed signals

This setup allowed precise evaluation of cleaning algorithms by comparing processed signals to the original known brain sources [2].

Artifact Simulation Protocol

The study tested six distinct conditions to evaluate performance across artifact types:

  • Brain: Pure brain signals without artifacts (baseline)
  • Brain + Eyes: Addition of eye movement and blink artifacts
  • Brain + Neck Muscles: Addition of neck muscle contamination
  • Brain + Facial Muscles: Addition of facial muscle artifacts
  • Brain + Walking Motion: Addition of gait-related motion artifacts
  • Brain + All Artifacts: Combined contamination from all artifact sources

Data Quality Scores were calculated as the average correlation between the 10 known brain sources and the EEG channels after cleaning, providing a direct measure of how well each algorithm recovered the true brain signals [2].

Algorithm Implementation Parameters

Each algorithm was implemented with specific parameters optimized for the phantom data:

  • iCanClean: Used both actual reference signals (when available) and pseudo-reference signals created by notch filtering
  • ASR: Implemented with standard parameters in EEGLAB, requiring clean calibration data
  • Auto-CCA: Applied to the raw EEG and a slightly time-lagged copy of the same data
  • Adaptive Filtering: Utilized available reference signals with standard linear regression

Human Validation During Locomotion

Complementing the phantom study, research involving human participants during overground running provides practical validation of these methods in real-world scenarios [26].

Experimental Design and Task

The human study employed a modified Flanker task during both static standing and dynamic jogging conditions [26] [36]. Participants included young adult athletes who performed:

  • Standing Flanker Task: Traditional version while standing still (artifact-free baseline)
  • Dynamic Flanker Task: Adapted version while jogging overground (motion-artifact contaminated)
  • Counterbalanced Conditions: Task order randomized to avoid sequence effects

This design enabled comparison of neural signatures (ERPs) across conditions with and without motion artifacts [26].

Evaluation Metrics

Multiple metrics assessed algorithm performance in the human study:

  • ICA Component Dipolarity: Residual variance < 15% in dipole localization, indicating cleaner source separation
  • Spectral Power at Gait Frequency: Reduction in motion-related spectral peaks
  • P300 ERP Congruency Effects: Preservation of expected cognitive neural signatures

Both iCanClean (with pseudo-reference signals) and ASR improved ICA decompositions, with iCanClean showing somewhat superior performance in recovering more dipolar brain components [26]. Importantly, only iCanClean successfully preserved the expected P300 amplitude differences between congruent and incongruent Flanker trials during running [26].

iCanClean Parameter Optimization

Research has identified optimal parameters for iCanClean implementation in mobile EEG studies [1].

Parameter Sweep Methodology

A systematic parameter evaluation was conducted using dual-layer EEG data from 45 participants across age and functional ability groups [1]. The study varied:

  • Window Length: 1s, 2s, 4s, and infinite (whole recording)
  • r² Threshold: 0.05 to 1.0 in 0.05 increments (cleaning aggressiveness)

Performance was assessed by counting "good" independent components after ICA—defined as those with residual variance < 15% and ICLabel brain probability > 50% [1].

The parameter sweep identified optimal settings for mobile EEG data:

  • Window Length: 4 seconds
  • r² Threshold: 0.65
  • Noise Channels: Minimum of 16 (with 12.0 good components), though 32+ recommended

At these settings, iCanClean improved the average number of good components from 8.4 to 13.2 (+57%) across participants [1].

The following diagram illustrates the complete iCanClean workflow from data collection to processed output, incorporating the optimal parameters identified through systematic testing:

G iCanClean Algorithm Workflow and Optimal Parameters cluster_inputs Input Data cluster_processing Core Processing cluster_params Optimal Parameters EEG Scalp EEG (Brain + Noise) CCA Canonical Correlation Analysis (CCA) EEG->CCA Noise Reference Noise (Dual-layer or Pseudo) Noise->CCA Threshold Component Selection (r² > 0.65) CCA->Threshold Remove Noise Component Removal Threshold->Remove Correlated Components CleanEEG Cleaned EEG (Artifact-Reduced) Remove->CleanEEG Window Window Length: 4s Window->CCA Aggress r² Threshold: 0.65 Aggress->Threshold Channels Min. 16 Noise Channels Channels->Noise

Successful implementation of these artifact removal methods requires specific hardware and software components. The following table details essential research reagents and their functions:

Table 3: Essential research reagents and resources for mobile EEG artifact removal studies

Category Item Specifications Function/Application
Hardware Dual-Layer EEG System 120+120 electrode configuration Provides mechanical coupling between scalp and noise electrodes for optimal iCanClean performance [1]
Hardware Phantom Head Apparatus 10 brain + 10 artifact sources with conductive medium Ground-truth validation of artifact removal algorithms [2]
Hardware Mobile EEG System Wireless, high-density (64+ channels) Enables recording during natural movements and locomotion [26]
Hardware Inertial Measurement Units (IMUs) 9-axis (accelerometer, gyroscope, magnetometer) Provides reference signals for motion artifacts; can enhance iCanClean [30]
Software iCanClean Implementation MATLAB-based with CCA core Primary artifact removal algorithm [2] [1]
Software ASR Algorithm EEGLAB plugin, BCILAB Alternative real-time capable cleaning method [2] [26]
Software ICA Decomposition AMICA, Infomax, or FastICA Source separation quality assessment post-cleaning [1]
Software ICLabel EEGLAB plugin, convolutional neural network Automated component classification for performance validation [1]
Validation Metric Data Quality Score 0-100% based on brain source correlation Quantitative performance assessment [2]
Validation Metric Component Dipolarity Residual variance < 15% Quality assessment of ICA decomposition [26] [1]

Based on the comprehensive evidence presented, iCanClean emerges as the superior choice for artifact removal in mobile EEG studies, particularly when multiple artifact types are present simultaneously. Its performance advantage stems from the ability to leverage reference noise signals—either from dual-layer EEG hardware or algorithmically created pseudo-references—to identify and remove artifact-related subspaces without compromising brain activity [2] [1].

For researchers implementing these methods, we recommend:

  • For optimal performance: Implement iCanClean with dual-layer EEG hardware or pseudo-reference signals using the identified optimal parameters (4-second window, r² = 0.65)

  • When reference signals are unavailable: ASR provides a reasonable alternative, though performance varies with calibration data quality and parameter selection

  • For specific artifact types: Auto-CCA works well for high-frequency artifacts (muscle, line noise), while Adaptive Filtering is effective when clean reference signals are available

  • Validation strategy: Employ multiple metrics including Data Quality Scores, ICA component dipolarity, and preservation of expected neural signatures (e.g., P300 effects)

The rigorous comparison across multiple artifact conditions provides strong evidence that iCanClean offers significant advantages for mobile brain imaging research, potentially enabling more reliable study of neural dynamics during natural human behaviors and locomotion.

Application Notes & Protocols

1. Introduction Within the broader thesis on the iCanClean algorithm for mobile EEG preprocessing, quantifying pipeline performance is paramount. Success is not a single measure but a multi-faceted assessment of component quality and yield. This document details the application of three key outcome metrics—ICA Component Dipolarity, ICLabel Probabilities, and Good Component Count—to rigorously evaluate the efficacy of preprocessing steps in isolating neural signals from artifact-contaminated mobile EEG data.

2. Core Metrics & Quantitative Benchmarks The following metrics provide a complementary view of ICA decomposition quality. High-performing pipelines maximize the yield of components that pass the combined thresholds defined below.

Table 1: Key Outcome Metrics for ICA Evaluation

Metric Description Ideal Value / Threshold Interpretation
ICA Component Dipolarity Measures the fit of an IC's scalp topography to a single equivalent dipole. Computed as (1 - Residual Variance). > 0.90 A high value suggests the component originates from a compact, biologically plausible neural source.
ICLabel 'Brain' Probability The probability score from the ICLabel classifier indicating an IC is of neural origin. > 0.80 A high probability provides confidence that the component reflects brain activity, not artifact.
Good Component Count The total number of ICs per dataset that simultaneously meet the Dipolarity and ICLabel 'Brain' probability thresholds. Maximized The primary indicator of preprocessing success, representing the net yield of clean neural signals.

Table 2: Example Post-Processing Outcome Summary (Hypothetical Data)

Preprocessing Pipeline Total ICs Mean Dipolarity (SD) Mean ICLabel 'Brain' Prob (SD) Good Component Count
Minimal Filtering 31 0.75 (0.21) 0.55 (0.30) 7
iCanClean (Standard) 31 0.88 (0.12) 0.82 (0.18) 19
iCanClean (Aggressive) 30 0.91 (0.09) 0.85 (0.15) 20

3. Experimental Protocols

Protocol 3.1: Comprehensive ICA Evaluation Workflow This protocol describes the end-to-end process for deriving the key outcome metrics from raw mobile EEG data.

Input: Raw or minimally filtered mobile EEG data (.set, .fif, etc.) Software: EEGLAB + ICLabel plugin + DIPFIT toolbox.

  • Data Preparation: Load the continuous EEG data.
  • iCanClean Preprocessing: Execute the iCanClean algorithm steps (e.g., bad channel detection, robust re-referencing, ASR, trend removal).
  • ICA Decomposition: Run ICA (e.g., Infomax, SOBI) on the high-quality, cleaned data from step 2.
  • Dipolarity Calculation (DIPFIT): a. Fit a head model (e.g., MNI template). b. Compute an equivalent dipole model for each IC. c. Extract the Residual Variance (RV) for each component. d. Calculate Dipolarity as (1 - RV).
  • ICLabel Classification: a. Input the computed ICs and their scalp topographies to the ICLabel classifier. b. Extract the probability scores for all categories (Brain, Muscle, Eye, Heart, Line Noise, Channel Noise, Other).
  • Metric Aggregation & Thresholding: a. For each IC, record its Dipolarity and ICLabel 'Brain' probability. b. Apply thresholds (Dipolarity > 0.90, ICLabel 'Brain' > 0.80). c. Tally the number of ICs meeting both criteria as the Good Component Count.
  • Statistical Comparison: Apply this workflow to multiple datasets and pipelines (e.g., iCanClean vs. traditional) and compare the mean Good Component Count using paired t-tests or non-parametric equivalents.

Workflow RawEEG Raw Mobile EEG Data Preproc iCanClean Preprocessing RawEEG->Preproc ICA ICA Decomposition Preproc->ICA DipoleFit DIPFIT: Compute Dipolarity ICA->DipoleFit ICLabel ICLabel: Classify Components ICA->ICLabel Metrics Aggregate Metrics per IC DipoleFit->Metrics ICLabel->Metrics Threshold Apply Thresholds Metrics->Threshold Outcome Final Good Component Count Threshold->Outcome

Title: ICA Component Evaluation Workflow

Protocol 3.2: Validating iCanClean against a Ground Truth Dataset This protocol tests the hypothesis that iCanClean improves the key metrics compared to a baseline, using a dataset with known ground truth components.

  • Dataset Selection: Use a public or in-house EEG dataset containing periods of well-characterized artifacts (e.g., structured eye movements, muscle bursts) and clean neural oscillations.
  • Pipeline Comparison: Apply two preprocessing pipelines in parallel to the same raw data:
    • Pipeline A (Baseline): High-pass filter (1 Hz) + bad channel removal.
    • Pipeline B (iCanClean): Full iCanClean algorithm.
  • ICA & Metric Calculation: For each pipeline, follow Protocol 3.1 (Steps 3-6) to obtain Dipolarity, ICLabel probabilities, and Good Component Count.
  • Ground Truth Correlation: a. Manually label a subset of ICs from a high-quality reference as definitive "Brain" or "Artifact." b. Calculate the correlation between manual labels and ICLabel 'Brain' probability for each pipeline. c. Compare the mean Dipolarity of manually confirmed "Brain" components between pipelines.
  • Analysis: Use a repeated-measures ANOVA to determine if the Good Component Count is significantly higher for the iCanClean pipeline.

Validation GT_Data Ground Truth EEG Dataset SubP Split Dataset GT_Data->SubP PipeA Pipeline A: Baseline Preprocessing SubP->PipeA PipeB Pipeline B: iCanClean SubP->PipeB EvalA Calculate Metrics PipeA->EvalA EvalB Calculate Metrics PipeB->EvalB Compare Compare Good Component Count & Metric Correlations EvalA->Compare EvalB->Compare Result Statistical Significance Compare->Result

Title: Pipeline Validation Protocol

4. The Scientist's Toolkit

Table 3: Essential Research Reagent Solutions for Mobile EEG ICA Research

Item Function in Protocol
EEGLAB Core MATLAB toolbox for EEG processing, visualization, and providing the framework for ICA computation.
ICLabel Plugin Pre-trained CNN classifier that automates the categorization of Independent Components, providing critical probability scores.
DIPFIT Toolbox EEGLAB plugin used to fit equivalent dipoles to IC scalp maps, enabling the calculation of the dipolarity metric.
iCanClean Algorithm The core preprocessing pipeline designed specifically for artifact removal in mobile EEG data prior to ICA.
MATLAB / GNU Octave The computational environment required to run EEGLAB and its associated plugins and scripts.
High-Performance Computing Cluster Essential for running large-scale ICA decompositions and parameter sweeps across multiple datasets in a feasible time.

The iCanClean algorithm represents a significant advancement in mobile brain imaging, offering a robust solution for cleaning electroencephalography (EEG) data contaminated by motion artifacts during full-body movement. By leveraging canonical correlation analysis (CCA) with reference noise signals, iCanClean effectively removes motion, muscle, eye, and line-noise artifacts while preserving underlying neural signals [37] [15]. This application note synthesizes documented evidence of its efficacy, focusing on two critical outcomes: the enhancement of Independent Component Analysis (ICA) decomposition quality and the recovery of event-related potential (ERP) components during human locomotion.

Documented Quantitative Improvements

Enhanced ICA Decomposition and Source Localization

iCanClean demonstrably improves the quality of ICA decomposition, a fundamental step for source-level analysis of mobile EEG data. The algorithm's ability to remove noise subspaces prior to ICA leads to a marked increase in identifiable brain components.

Table 1: documented Improvements in ICA Decomposition Quality Using iCanClean

Metric Performance without iCanClean Performance with iCanClean Improvement Experimental Context
Good Brain Components 8.4 (average) 13.2 (average) +57% [1] [23] Treadmill walking (flat/uneven terrain) [1]
Optimal Parameters - Window: 4-s, R²: 0.65 [1] [23] - Parameter sweep across 45 subjects [1]
Noise Channel Resilience - 12.7, 12.2, and 12.0 good components Maintained performance With 64, 32, and 16 noise channels [1]
Component Dipolarity Lower Higher dipolarity [36] [26] Improved source localization Young adults during running [36] [26]

The term "good components" is quantitatively defined as ICA components that are well-localized by a single dipole (residual variance < 15%) and have a high probability of being a brain source (>50% likelihood from ICLabel) [1]. The +57% improvement signifies a substantial gain in usable neural information for subsequent analysis.

A critical test for any artifact removal algorithm is its ability to facilitate the detection of clean, stimulus-locked neural responses during movement. iCanClean has proven effective in this domain, particularly in recovering the P300 ERP component during dynamic tasks.

Table 2: Efficacy in Recovering Event-Related Potentials (ERPs) During Locomotion

ERP Component Task Motion Condition iCanClean Performance Comparative Performance
P300 Flanker Task Jogging / Overground Running Recovered ERP components similar in latency to standing task [36] [26] -
P300 Congruency Effect Flanker Task Jogging / Overground Running Identified the expected greater P300 amplitude to incongruent flankers [36] [26] ASR did not identify this effect [26]
Data Quality Score Phantom Head Brain + All Artifacts Improved score from 15.7% to 55.9% [15] Outperformed ASR (27.6%), Auto-CCA (27.2%), Adaptive Filtering (32.9%) [15]

The successful identification of the P300 congruency effect—a classic cognitive neuroscience finding—during jogging provides compelling evidence that iCanClean cleans motion artifacts without corrupting the neural signals of interest [36] [26].

Experimental Protocols & Methodologies

Core Protocol: ICA Decomposition Enhancement During Walking

This protocol is designed to quantify the improvement in ICA decomposition quality using iCanClean, as validated in studies with human participants during treadmill walking [1] [23].

  • Data Collection: Record high-density EEG (e.g., 120 channels) concurrently with noise signals. Noise can be captured via mechanically coupled but scalp-disconnected "dual-layer" electrodes or derived from IMU sensors [1] [30]. Data should be collected during a locomotion task (e.g., walking on flat and uneven terrain) [1].
  • Basic Preprocessing: Apply a high-pass filter (e.g., 1 Hz cutoff). Remove outlier channels with amplitudes exceeding 3 times the median. Average re-reference the data [1].
  • iCanClean Processing:
    • Input: Preprocessed EEG data and corresponding noise signals.
    • Key Parameters: Set the cleaning window length to 4 seconds and the R² cleaning aggressiveness threshold to 0.65 [1] [23].
    • Process: The algorithm uses CCA to identify and remove EEG subspaces that are highly correlated with the noise subspaces above the R² threshold [1] [26].
  • ICA and Component Classification:
    • Decompose the cleaned data using a preferred ICA algorithm (e.g., Adaptive Mixture ICA (AMICA) [1]).
    • Localize each independent component (IC) using a dipole model.
    • Classify each IC using ICLabel [1].
  • Outcome Measurement: Count the number of "good" brain components, defined as those with dipole residual variance < 15% and ICLabel brain probability > 50% [1]. Compare the count against data cleaned with basic preprocessing only.

G A Raw EEG & Noise Signals B Basic Preprocessing (HP Filter, Channel Rejection) A->B C iCanClean Processing (4-s window, R²=0.65) B->C D ICA Decomposition (e.g., AMICA) C->D E Component Classification (Dipole Fitting, ICLabel) D->E F Outcome: Count 'Good' Components (RV<15%, Brain>50%) E->F

Core Protocol: ERP Recovery During Running

This protocol outlines the steps for recovering ERPs during high-motion activities like running, based on studies employing a dynamic Flanker task [36] [26].

  • Task Design: Adapt a cognitive task (e.g., Flanker task) for dynamic conditions. Participants respond to stimuli while jogging or running overground. Include a matched static condition (standing) for validation [26].
  • Data Acquisition: Record EEG alongside motion tracking. If dual-layer electrodes are unavailable, generate pseudo-reference noise signals from the raw EEG, for instance, by applying a notch filter below 3 Hz to isolate motion artifacts [26].
  • Preprocessing with iCanClean:
    • Preprocess the data (filtering, bad channel removal/interpolation [38]).
    • Apply iCanClean using the pseudo-reference signals and the established optimal parameters (4-s window, R²=0.65) [26].
  • ERP Analysis:
    • Segment the cleaned, continuous data into epochs time-locked to the stimulus presentation.
    • Perform baseline correction and artifact rejection (or correction) on the epochs.
    • Average epochs separately for each condition (e.g., congruent vs. incongruent Flanker stimuli) to derive the ERP [26].
  • Validation: Check if the ERP waveforms from the dynamic condition match the morphology and latency of those from the static condition. Statistically compare the amplitude of key components (e.g., P300) between experimental conditions [36] [26].

G A1 Dynamic Task ERP Data (e.g., Running Flanker Task) B1 Preprocessing & Pseudo-Reference Creation A1->B1 C1 iCanClean Processing (4-s window, R²=0.65) B1->C1 D1 Epoching & Baseline Correction C1->D1 E1 ERP Averaging by Condition D1->E1 F1 Outcome: Validate P300 Latency & Congruency Effect E1->F1

The Scientist's Toolkit: Research Reagent Solutions

Table 3: Essential Materials and Tools for iCanClean Protocol Implementation

Tool / Solution Function / Description Example Use Case / Note
Dual-Layer EEG Cap A cap with outward-facing noise electrodes mechanically coupled to scalp electrodes to provide reference noise recordings [1]. Ideal for obtaining clean reference noise; used in validation studies [1] [15].
Pseudo-Reference Signals Artifact-laden signals derived from raw EEG data (e.g., via notch filtering) when dedicated noise sensors are unavailable [26]. Enables iCanClean application with standard EEG systems [26].
Inertial Measurement Unit (IMU) A sensor measuring motion (acceleration, angular velocity) [30]. Provides reference noise signals; can be used for adaptive filtering or integrated with deep learning models [30].
iCanClean Algorithm A cleaning algorithm using CCA and reference noise to remove artifact subspaces from EEG [1] [15]. Core analytical tool; implemented in MATLAB.
ICLabel A convolutional neural network for automated classification of ICA components [1]. Provides the "brain probability" metric for defining "good components" [1].
Dipole Fit Tool (e.g., DIPFIT) Localizes the neural source of an ICA component by fitting an equivalent current dipole [1]. Provides the "residual variance" metric for defining "good components" [1].

The documented evidence solidifies iCanClean's role as a powerful tool for mobile EEG preprocessing. The algorithm delivers quantifiable, significant improvements in both ICA decomposition quality, evidenced by a +57% increase in usable brain components, and in the faithful recovery of cognitive ERPs like the P300 during vigorous locomotion such as running. Its flexibility in working with both dedicated noise sensors and software-derived pseudo-references makes it a versatile and effective solution for researchers aiming to study brain dynamics in real-world, ecologically valid settings.

Conclusion

The iCanClean algorithm represents a significant advancement in mobile EEG preprocessing, offering a robust, computationally efficient, and highly effective solution for the pervasive challenge of motion and muscle artifacts. By systematically addressing the foundational problem, providing a clear methodological path, offering data-driven optimization guidelines, and demonstrating superior performance against established methods, iCanClean enables researchers to recover high-fidelity neural signals from highly dynamic recordings. This capability is paramount for unlocking the full potential of mobile brain imaging, paving the way for more ecologically valid studies in cognitive neuroscience, more sensitive biomarkers for neurological drug development, and a deeper understanding of brain function in natural, real-world environments. Future directions should focus on expanding its application to a wider range of populations and clinical disorders, further automating parameter selection, and integrating with real-time processing systems for closed-loop interventions.

References