Domain-Specific Denoising Diffusion Probabilistic Models for Brain Dynamics

Yiqun Duan, Jinzhao Zhou, Zhen Wang, Yu-Cheng Chang, Yu-Kai Wang, Chin-Teng LinOpenReview 2022 · DOI

Introduction

Brain-Computer Interfaces (BCIs) represent a transformative technology for human-machine interaction, yet they remain hindered by the significant variability of electroencephalogram (EEG) signals across different individuals. This "inter-subject variance" arises from unique physiological traits, electrode placement differences, and personal artifacts like eye blinks or muscle tension. Traditional denoising techniques, such as Independent Component Analysis (ICA), often struggle with the non-linear, complex nature of these artifacts, leading to poor cross-subject generalization.

The DS-DDPM Framework

To address these challenges, researchers have proposed Domain-Specific Denoising Diffusion Probabilistic Models (DS-DDPM). Unlike conventional methods that treat denoising as a subtractive filtering process, DS-DDPM frames it as a generative task. The core idea is to learn the underlying distribution of both the "clean" brain dynamics and the "subject-specific" noise.

Comparison between the original DDPM and the proposed DS-DDPM model, highlighting the two-stream decomposition.

As shown in the comparison above, while a standard DDPM recovers a single signal from noise, DS-DDPM employs a Two-Stream Decomposition. It splits the reverse diffusion process into two parallel paths:

  1. Subject-Specific Domain Variance ($x^s$): Captures the noise and artifacts unique to an individual.
  2. Invariant Clean Content ($x^c$): Recovers the universal brain activity shared across subjects.

Architecture and Training Objectives

The implementation of DS-DDPM utilizes a specialized UNet-EEG architecture designed to handle the temporal complexities of EEG time series. To ensure the effective separation of content and noise, the model incorporates several innovative training constraints.

The DS-DDPM architecture featuring the UNet encoder-decoder blocks and the various loss functions used for training.

Key components of the training objective include:

  • Orthogonal Loss ($L_o$): This constraint forces the clean signal and the subject-specific noise into separate, orthogonal mathematical spaces, preventing information leakage between the two streams.
  • Arc-Margin Supervision ($L_{arc}$): By integrating a subject classifier (EEG-Net) with an Arc-Margin loss—a technique borrowed from high-precision face recognition—the model ensures that the generated noise $x^s$ is highly characteristic of the specific individual.
  • Reverse Loss ($L_r$): Ensures that the combination of the two generated streams accurately reconstructs the original noisy input.

Experimental Results and Insights

The model was rigorously tested on the BCI Competition-IV Dataset 2a (multi-channel motor imagery) and the BRI Dataset (single-channel EEG).

Cross-Subject Performance

DS-DDPM demonstrated superior performance in cross-subject classification tasks. On the BCI-IV dataset, it achieved a mean accuracy of 55.89%, consistently outperforming traditional ICA-based denoising. This suggests that the generative approach is more robust at extracting "portable" features that work across different users.

The Power of Single-Channel Denoising

One of the most significant findings was the model's effectiveness on single-channel data. Traditional Blind Source Separation (BSS) methods like ICA typically require multiple sensors to function. However, because DS-DDPM learns the statistical distribution of human artifacts, it can successfully denoise signals even when spatial redundancy is unavailable.

Visualizing Invariance

Using t-SNE visualizations, the researchers confirmed that while the generated noise clustered strongly by subject, the "clean" signals were distributed more uniformly. This confirms that the model successfully extracted a "universal" brain language, effectively alleviating domain distribution bias.

Conclusion and Future Directions

DS-DDPM represents a paradigm shift in EEG processing, moving from simple filtering to sophisticated generative modeling. By explicitly modeling human artifacts, it paves the way for "plug-and-play" BCIs that require minimal calibration for new users.

Future work will focus on reducing the computational complexity inherent in diffusion models to enable real-time deployment on wearable devices. Exploring faster sampling techniques like Denoising Diffusion Implicit Models (DDIM) or consistency models will be crucial for the next generation of low-power, high-performance brain-computer interfaces.

Summary updated

BibTeX
@misc{duan2022domain,
  author = {Yiqun Duan and Jinzhao Zhou and Zhen Wang and Yu-Cheng Chang and Yu-Kai Wang and Chin-Teng Lin},
  title = {{Domain-Specific Denoising Diffusion Probabilistic Models for Brain Dynamics}},
  year = {2022},
  eprint = {2305.04200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.04200},
}
Figure