A Pose-Informed De-Noising Diffusion Model for Adult Naturalistic EEG Signals

Angshuk Dutta, Marcel Hirt, Lorena Santamaria, Stanimira Georgieva, Christian Gerloff, Boyang Li, Victoria LeongbioRxiv 2023

Abstract

Artifact contamination in EEG (electroencephalogram) signals is a significant problem, especially in naturalistic settings where participants can move freely. This contamination stems from various sources like eye movements, muscle activity, sweat, and electrical interference, whose effects differ greatly from each other. Traditional denoising methods, such as Independent Component Analysis, are limited because they assume a linear relationship between the source of the artifacts and the EEG signals, and often require the dominance of one noise source over others. Moreover, these methods need expert knowledge in EEG analysis and lack an objective standard for evaluation. To overcome these challenges, we propose two innovations: Firstly, we introduce the use of “video-estimated” pose coordinates – the x and y positions of different body points (like wrists, eyes, and ankles) – to assist in the EEG denoising process. Secondly, we present a denoising diffusion model, EEG-DDM, that utilizes both the contaminated EEG signals and these pose coordinates to effectively denoise the EEG. Our findings show that incorporating keypoints (pose coordinates) improves denoising performance and helps maintain cross-spatial dependencies in the data. Additionally, we enhance human interpretability of the process by displaying saliency maps generated by our model, which explain the contributions of these keypoints in the denoising process.

Introduction

Electroencephalogram (EEG) recordings are a cornerstone of neuroscience, offering high temporal resolution. However, they are notoriously sensitive to non-brain interference, or artifacts. In naturalistic settings—where participants are moving, talking, or interacting—these artifacts (from eye blinks, muscle tension, and head tilts) can completely swamp the neural signal. Traditional cleaning methods like Independent Component Analysis (ICA) often rely on linear assumptions and require significant expert manual intervention. The authors sought to automate this process using objective, external data: the physical movement of the participant captured on video.

Methodology

The researchers developed EEG-DDM, a denoising diffusion model that integrates physical context into the generative process.

Pose-Informed Guidance

The system uses OpenPose to extract 2D coordinates (x, y) of 25 body keypoints, such as wrists, eyes, and ears, from video recordings. This provides a direct physical record of the movements causing the artifacts.

Pose keypoints extracted from video synchronized with EEG recording.

EEG-DDM Architecture

Leveraging a diffusion framework (specifically a Variance Exploding Stochastic Differential Equation or VE-SDE), the model includes a Keypoint Saliency Model. This Transformer-based component uses the pose data to estimate the "diffusion time" ($t$) and noise variance ($\sigma_t$). If the video shows a sudden head tilt, the model "knows" to look for a corresponding spike in muscular noise in the EEG. To ensure interpretability, a saliency mask ($M$) allows researchers to see which body parts the model prioritizes to determine noise levels.

Experimental Setup

The study utilized a dataset of EEG recordings from 35 healthy adult women engaged in naturalistic interactions.

  • Data: 32-channel EEG recorded at 500 Hz and 4K video at 25 fps.
  • Ground Truth: Experts manually denoised the data using traditional ICA methods to create a clean baseline for training.
  • Split: 20 participants for training, 15 for testing.

Results and Discussion

EEG-DDM was compared against several baselines, including IC-UNet and ICLabel. The results demonstrate that physical context is crucial for accurate denoising.

Performance Gains

EEG-DDM with keypoints achieved a Relative Root Mean Square Error (RRMSE) of 16.68%, significantly lower than the 22.28% achieved without keypoints and the 34.22% of the IC-UNet baseline. The Correlation Coefficient (CC) improved to 0.853 with keypoints, indicating very high similarity to the expert-cleaned ground truth.

Comparison of Correlation Coefficients across different denoising models.

Spatial Integrity and Interpretability

One danger of denoising is "over-cleaning," which can destroy the relationships between different EEG sensors. The authors found that pose-informed diffusion was superior at maintaining spatial covariance (the map of brain activity correlations) compared to models without pose data. Saliency maps confirmed that for ocular noise, the model focused on the "y" coordinates of the eyes, while for muscular noise, it focused on the "x" coordinates of the neck and ears—capturing the geometry of head movements.

Conclusion

EEG-DDM demonstrates that EEG noise is physically grounded and can be modeled effectively using external video data. While the iterative nature of diffusion models introduces computational costs, future work with ODE solvers may enable real-time applications. This approach moves EEG analysis toward a more objective, automated standard for naturalistic research.

Summary updated

BibTeX
@misc{dutta2023pose,
  author = {Angshuk Dutta and Marcel Hirt and Lorena Santamaria and Stanimira Georgieva and Christian Gerloff and Boyang Li and Victoria Leong},
  title = {{A Pose-Informed De-Noising Diffusion Model for Adult Naturalistic EEG Signals}},
  year = {2023},
  doi = {10.1101/2023.12.08.567146},
  howpublished = {bioRxiv},
}
Figure