Abstract
Electroencephalography (EEG) data suffers from significant "domain shift," where brain signals vary across different individuals and recording sessions. This paper introduces TSMNet, an end-to-end deep learning framework designed to solve this problem through a novel SPD domain-specific momentum batch normalization (SPDDSMBN) layer. By aligning diverse signals on a geometric manifold, TSMNet achieves state-of-the-art performance in unsupervised domain adaptation (UDA) while remaining fully interpretable to neuroscientists.
Introduction
EEG is a critical tool for monitoring brain activity with high temporal resolution, yet it faces a major generalization challenge. Differences in head shape, electrode placement, and internal brain states mean that a model trained on one person (the source domain) often fails when applied to another (the target domain). Traditionally, researchers rely on time-consuming calibration—collecting labeled data for every new user.
Unsupervised Domain Adaptation (UDA) aims to bypass this by adapting models without labels. Current approaches typically choose between powerful but opaque deep learning models or accurate, interpretable Riemannian geometry methods that treat EEG signals as points on a manifold of Symmetric Positive Definite (SPD) matrices. TSMNet bridges this gap, combining the strengths of both paradigms.
Methodology: TSMNet and SPDDSMBN
The core innovation of this work is the SPDDSMBN layer, which integrates Riemannian geometry directly into the neural network architecture. Unlike standard deep learning that treats EEG as raw waves, TSMNet represents data segments as covariance matrices residing on the SPD manifold—a curved space where Euclidean math is insufficient.
Key Components of the SPDDSMBN Layer:
- Fréchet Mean: On the curved SPD manifold, the "average" is defined as the Fréchet mean. The layer uses this to center the data effectively.
- Domain-Specific (DS) Normalization: The layer maintains unique normalization statistics for every subject or session. This allows the model to "subtract" individual-specific characteristics, mapping all users into a shared, domain-invariant space.
- Momentum (M): Similar to standard Batch Normalization, it uses running estimates to handle small batches, but these estimates are adapted for the specific geometry of the SPD manifold.
TSMNet processes data through temporal and spatial convolutions, followed by covariance pooling, the SPDDSMBN layer, and a "LogEig" layer. The latter projects the manifold data into a flat "tangent space," where a simple linear classifier can perform the final task.
Experimental Results
The authors validated TSMNet across six diverse EEG datasets involving 158 subjects and over 600 sessions, covering both mental imagery (e.g., imagining hand movement) and mental workload estimation.
Performance and Interpretability
TSMNet consistently outperformed a wide range of baselines, including popular architectures like EEGNet and advanced Riemannian alignment methods. Notably, it was the only method to consistently close the gap between "universal" models and those specifically calibrated for a single person. In several inter-session tests, TSMNet even exceeded the performance of traditional domain-specific methods.
Beyond performance, TSMNet offers intrinsic interpretability. Because the model utilizes a linear classifier in the tangent space, its weights can be back-projected to create brain maps. This allows researchers to verify that the model is focusing on relevant physiological regions—such as the motor cortex for movement tasks—rather than noise or artifacts like eye blinks.
Conclusion
TSMNet demonstrates that performing normalization on the SPD manifold provides a significantly larger performance boost than standard Euclidean normalization. By learning the optimal feature extractor and the tangent space projection simultaneously, the framework provides a robust, efficient, and interpretable solution for EEG domain adaptation. Future work will explore the computational scaling of manifold operations for high-density EEG and the application of SPDDSMBN to real-time, online adaptation scenarios.
Summary updated