Abstract
Electroencephalogram (EEG) decoding is a critical component of Brain-Computer Interfaces (BCIs), yet it faces significant challenges due to low signal-to-noise ratios and high inter-subject variability. This paper presents CTNAS-EEG, a Cross-Task Differentiable Architecture Search framework designed to automatically optimize neural network structures for specific EEG tasks and individual subjects. By utilizing a specialized Meta-Net and an EEG-centric search space, CTNAS-EEG achieves state-of-the-art performance across Motor Imagery and Emotion Recognition benchmarks while maintaining computational efficiency suitable for embedded applications.
Introduction
Electroencephalograms (EEGs) serve as the primary non-invasive modality for Brain-Computer Interfaces. However, extracting meaningful features from EEG data is notoriously difficult. The signals are characterized by low signal-to-noise ratios (SNR) and significant variability across different human subjects. Furthermore, the optimal processing strategy often depends on the specific task; for instance, Motor Imagery (MI) requires capturing distinct temporal patterns compared to the complex spatial distributions needed for Emotion Recognition.
Historically, researchers have relied on manually designed architectures such as EEGNet or ShallowConvNet. While these models provide a baseline, they are often "one-size-fits-all" solutions that require extensive expert knowledge and may fail to generalize. CTNAS-EEG addresses this by leveraging Neural Architecture Search (NAS) to automate the design of task-specific and subject-specific neural structures.
The CTNAS-EEG Framework
The proposed framework, Cross-Task Differentiable Architecture Search for EEG (CTNAS-EEG), is built upon the Differentiable Architecture Search (DARTS) paradigm but is heavily customized for neurophysiological data.
Meta-Net and Search Space
At the core of the framework is a "Meta-Net" prototype designed to preserve both channel-wise (spatial) and time-wise information. The search space is specifically tailored for EEG, incorporating "narrow" kernels (e.g., 15x1) to capture temporal patterns and "flat" kernels to identify spatial distributions across electrodes. Notably, the researchers found that traditional ReLU activations were insufficient, opting instead for Elu and LeakyRelu to better handle the signal characteristics.
Constrained Optimization
To ensure the resulting models are both stable and efficient, the authors implemented two key constraints:
- Scale Constraint: This limits the total parameter count, preventing the search from producing overly complex models that might overfit the noisy data.
- Sparsity/Skip Constraint: By utilizing an Augmented Lagrangian method, the framework encourages the use of skip connections early in the training process. This provides a stable gradient path, which is essential for training on raw, high-noise EEG signals.
Experimental Setup and Datasets
The framework was validated on two major BCI benchmarks:
- BCI Competition IV-2a: A Motor Imagery dataset involving four classes (left hand, right hand, feet, tongue) across 9 subjects.
- SEED-IV & SEED-V: Large-scale emotion recognition datasets involving 15 subjects and multiple emotion categories triggered by film clips.
To facilitate cross-task comparison, all data was resampled to a unified 250Hz frequency.
Performance Analysis
CTNAS-EEG demonstrated significant improvements over traditional manual designs. On the BCI IV-2a dataset, the framework achieved an average accuracy of 88.52% for subject-specific structures, outperforming established baselines like EEG-TCNet and EEGNet.
As shown in the results table, the searched models (referred to as CTDARTS-EEG in experimental logs) maintain a very low parameter footprint, typically between 18k and 32k parameters. This efficiency is critical for real-world BCI applications where hardware resources may be limited.
Discussion and Key Insights
A primary finding of this research is that the architecture itself often matters more than the weights. Allowing the system to search for a unique architecture for each individual subject led to a significant performance jump. Furthermore, the search algorithm revealed distinct task preferences: Motor Imagery tasks favored narrow temporal kernels (dilation convolutions), while Emotion Recognition tasks favored more complex spatial aggregations and square kernels.
Despite these successes, emotion recognition remains a more challenging task than motor imagery, likely due to higher levels of "label noise" inherent in subjective emotional reporting.
Conclusion
CTNAS-EEG represents a significant advancement in automated BCI design. By tailoring neural architectures to the specific nuances of brainwave data and individual subjects, the framework achieves state-of-the-art results without the need for manual feature engineering. Future work will explore extending this search capability to multi-modal fusion, combining EEG with other physiological signals like eye-tracking data.
Summary updated