Learning the relative composition of EEG signals using pairwise relative shift pretraining
Christopher Sandino, Sayeri Lala, Geeling Chau, Melika Ayoughi, Behrooz Mahasseni, Ellen Zippi, Ali Moin, Erdrin Azemi, Hanlin Goh
TL;DR
The paper addresses EEG self-supervised representation learning by introducing PARS, a pretraining objective that predicts pairwise relative temporal shifts between randomly sampled EEG patches. By using a cross-attention decoder to infer a relative shift matrix $\theta$, PARS emphasizes temporal composition and long-range dependencies beyond local reconstructions. Across label-efficient and transfer-learning evaluations, PARS consistently outperforms reconstruction- and position-prediction-based baselines, particularly in low-label regimes, and shows strong generalization across sleep staging, abnormality detection, seizure detection, and motor imagery tasks. The work establishes a new paradigm for EEG SSL and motivates future hybrid approaches that combine local and global temporal cues for robust neuroscience-associated decoding.
Abstract
Self-supervised learning (SSL) offers a promising approach for learning electroencephalography (EEG) representations from unlabeled data, reducing the need for expensive annotations for clinical applications like sleep staging and seizure detection. While current EEG SSL methods predominantly use masked reconstruction strategies like masked autoencoders (MAE) that capture local temporal patterns, position prediction pretraining remains underexplored despite its potential to learn long-range dependencies in neural signals. We introduce PAirwise Relative Shift or PARS pretraining, a novel pretext task that predicts relative temporal shifts between randomly sampled EEG window pairs. Unlike reconstruction-based methods that focus on local pattern recovery, PARS encourages encoders to capture relative temporal composition and long-range dependencies inherent in neural signals. Through comprehensive evaluation on various EEG decoding tasks, we demonstrate that PARS-pretrained transformers consistently outperform existing pretraining strategies in label-efficient and transfer learning settings, establishing a new paradigm for self-supervised EEG representation learning.
