Abstract
EEGChaT is a novel Transformer-based module designed to address the challenge of high-dimensional channel selection in stereoelectroencephalography (SEEG) data. By treating neural channels as tokens and utilizing Channel Aggregation Tokens (CATs), EEGChaT automatically identifies task-relevant signals. Experimental results on the DuIN dataset demonstrate accuracy improvements of up to 17% and high interpretability, with model-selected channels aligning closely with expert human selection.
Introduction
In Brain-Computer Interface (BCI) research, stereoelectroencephalography (SEEG) is often preferred over traditional scalp EEG due to its superior signal clarity, achieved through electrodes implanted directly into brain tissue. However, SEEG presents a significant "needle in a haystack" problem: a single subject may have hundreds of recording channels, many of which are irrelevant to a specific task. Traditional channel selection methods are often manual, labor-intensive, or rely on simplistic statistical filters that fail to capture the complex patterns required for deep learning.
To solve this, the authors propose EEGChaT (EEG Channel Transformer), a plug-and-play module that automates channel selection in an end-to-end, interpretable manner. By identifying the most task-relevant signals, EEGChaT boosts decoding accuracy while providing human-interpretable maps of brain activity.
Methods
EEGChaT introduces a modular architecture that can be integrated into existing neural networks. Its design centers on three core innovations:
- Channels as Tokens: Standard Transformers typically treat time points as tokens. EEGChaT transposes this approach, treating each physical recording channel as a "token" in a sequence. This allows the model to learn spatial relationships across the brain's layout.
- Channel Aggregation Tokens (CATs): Inspired by the "class token" in vision transformers, multiple learnable CATs are prepended to the sequence. These tokens aggregate relevant information from all raw channels.
- Improved Attention Rollout: To ensure interpretability, the authors employ an improved Attention Rollout technique. This traces information flow from raw input channels to CATs across multiple layers, producing a quantitative "importance score" for every channel.
Experimental Setup
The study utilized the DuIN dataset, a high-quality SEEG benchmark containing recordings from 12 subjects with epilepsy. Participants performed a vocal production task, reading 61 Chinese words aloud. Each subject had between 72 and 158 channels recorded at 2000Hz. Given the rarity of high-quality SEEG data, DuIN provides a critical proving ground for language-related BCI tasks.
Results and Discussion
The integration of EEGChaT led to substantial performance improvements across various backbones:
- Accuracy Gains: Classification accuracy increased by 13% when added to the EEGConformer backbone and by 17% when paired with the Du-IN Encoder.
- Interpretability: The automated channel weights showed a Jaccard Index of ~0.53 compared to manual selection by human experts. This indicates that the model identifies biologically relevant regions rather than merely finding statistical shortcuts.
- Sparsity: The model confirmed that task-relevant SEEG signals are sparse, with only a small fraction of channels carrying critical information for specific tasks.
Limitations and Future Work
While effective, the module occasionally introduced training instability, suggesting that the downstream classifier must be sufficiently robust to guide the selector's convergence. Additionally, cross-subject pre-training yielded slightly inferior results compared to subject-specific training, likely due to the small sample size of 12 subjects. Future research will focus on larger multi-subject datasets and validating EEGChaT across diverse neural tasks, such as motor imagery or visual processing.
Summary updated