TL;DR
The authors introduce Intelligent Partitioning for Self-supervised Denoising (iPSD), a novel framework that enables deep learning EEG denoisers to train without any clean reference data. By using reinforcement learning to intelligently split a single noisy EEG signal into pairs of sub-signals with independent noise, iPSD achieves state-of-the-art denoising performance and spectral fidelity, even in zero-shot settings.
What Problem Does This Paper Address?
Wearable EEG devices (like in-ear sensors) hold immense promise for continuous health and sleep monitoring. However, they suffer from severe noise contamination caused by poor electrode contact, motion, and muscle activity (electromyogram or EMG artifacts). Because muscle movements and brain waves share overlapping frequencies, classical filtering methods often fail or distort the underlying neural data.
Deep learning (DL) models are excellent at mapping noisy signals to clean ones, but they typically require pairs of noisy and perfectly clean data to train. For EEG, obtaining a "perfectly clean" reference is physically impossible because any sensor captures a mixture of brain activity and noise at the point of acquisition. While self-supervised methods like Noise2Noise (N2N) can denoise images by mapping one noisy realization to another, standard heuristics like interleaved downsampling fail on EEG because its rapid, non-stationary oscillations mean that alternating samples do not share the same underlying clean signal.
Methods
To bypass the need for clean reference data, iPSD introduces a two-module system that automates the creation of N2N training pairs from a single noisy signal:
- The Partitioning Module ($\pi_\psi$): This module segments a noisy EEG signal into small, localized windows (e.g., 8 samples) where the signal is approximately stationary. A bidirectional Gated Recurrent Unit (GRU) policy network learns how to split each window into two equal sub-signals ($s^l$ and $s^r$).
- The Denoising Module ($f_\theta$): A lightweight fully convolutional network is trained to map $s^l$ to $s^r$ and vice versa using a self-supervised N2N loss combined with consistency regularization terms.
Because the partitioning step is combinatorial and non-differentiable, the authors use Reinforcement Learning (Proximal Policy Optimization) to train it. The negative of the converged denoising loss serves as the reward signal, driving the partitioner to find sub-signals that are maximally informative of each other's underlying clean components.
iPSD-Zero
For scenarios where pre-training data is unavailable, the authors developed iPSD-Zero. This variant treats the search for the optimal partition strategy on a single 10-second EEG segment as a multi-armed bandit problem. Using the lil' UCB algorithm, it efficiently converges on the best partition strategy and denoises the signal from scratch in about 5 seconds.
Datasets
The framework was validated using both synthetic and real-world datasets:
- Synthetic Benchmark: Clean scalp EEG from the CHB-MIT Scalp EEG Database (over 900 hours of recordings) mixed with either synthetic White Gaussian Noise (WGN) or real-world facial EMG artifacts collected from 15 healthy participants.
- Real-World Wearable EEG: 684 hours of in-ear EEG recordings from 37 participants, collected during sleep studies at the Surrey Sleep Research Centre using custom-built viscoelastic foam earbuds with cloth electrodes.
Key Insights and Ideas
- The Optimization Shortcut: The core mathematical insight is that minimizing the N2N loss between two sub-signals with independent noise is mathematically equivalent to minimizing the mean squared error against the true, hidden clean signal.
- Moving Beyond Fixed Rules: Unlike previous self-supervised methods that rely on rigid, handcrafted rules (like masking or alternating pixels), iPSD treats partitioning as a learnable, signal-specific task. This flexibility is what allows it to preserve the rapid, non-stationary rhythms of the brain while discarding unstructured noise.
Key Results
iPSD was benchmarked against several competitive baselines, including wavelet transforms (Optimal-WT) and empirical mode decomposition (EMD-LoG).
- Signal-to-Noise Ratio (SNR) Improvements: Under extreme noise conditions (-5 dB input SNR), iPSD achieved up to a 3.3 dB higher output SNR than the strongest baseline, translating to a 53% reduction in residual noise power.
- Spectral Fidelity: In the frequency domain, iPSD achieved a Spectral Mean Squared Error (Spectral MSE) orders of magnitude lower than baselines (remaining below 60, whereas baselines spiked into the hundreds or thousands).
- Downstream Sleep Staging: To prove its practical utility, denoised in-ear EEG data was fed into an XGBoost classifier for sleep-stage classification. Denoising with iPSD boosted classification accuracy from 79.8% (with Optimal-WT) to 87.0%, performing nearly on par with clinical-grade scalp EEG reference systems (88.1%).
Limitations and Future Work
The primary limitation of iPSD is its reliance on the standard N2N assumption: the noise components in the generated sub-signals must be mutually independent and independent of the clean signal. While the real-world sleep experiments demonstrated that the model remains robust even when this assumption is slightly violated, highly structured or device-coupled noise could potentially degrade performance. Future work could explore adapting the framework to handle correlated noise sources.
Summary updated