MEDiC: Mitigating EEG Data Scarcity Via Class-Conditioned Diffusion Model

Gulshan Sharma, Abhinav Dhall, Ramanathan SubramanianDGM4H @ NeurIPS 2023

TL;DR

This paper introduces MEDiC, a novel framework that uses class-conditioned diffusion models to generate synthetic EEG embeddings. This approach effectively addresses the scarcity of EEG data, a major bottleneck for training robust deep learning models in healthcare, by creating high-quality synthetic data that preserves crucial diagnostic information.

What Problem Does This Paper Address?

The healthcare sector is increasingly leveraging Artificial Intelligence (AI) for tasks like disease diagnosis. Electroencephalography (EEG) is a vital brain-imaging technique for diagnosing neurological disorders, offering high temporal resolution. However, training accurate AI models for EEG analysis is severely hampered by data scarcity. Collecting large-scale EEG datasets is challenging due to subject availability and the need for controlled experimental conditions. While data augmentation is a common solution, traditional methods are often inefficient for the complex, dynamic nature of EEG signals. This paper tackles the problem of insufficient EEG data by proposing a method to generate realistic synthetic EEG embeddings that can augment existing datasets.

Methods

MEDiC employs a two-stage approach:

  1. Latent EEG Embedding Generation: First, the raw EEG signals are segmented into 30-second chunks. A pre-trained neural network called EEGNet, known for learning class-disentangled representations, acts as a semantic encoder. This encoder extracts 784-dimensional latent embeddings from the EEG segments. These embeddings are designed to capture the essential, discriminative features of the EEG signals while discarding irrelevant details.
  2. Class-Conditioned DDPM Development: In the second stage, a class-conditioned Denoising Diffusion Probabilistic Model (DDPM) is trained on these latent EEG embeddings. DDPMs are powerful generative models that learn data distributions by iteratively denoising data. By conditioning the DDPM on class labels (e.g., Alzheimer's disease, Frontotemporal Dementia, Control), the model learns to generate synthetic embeddings that are specific to each class. The backward diffusion process uses a U-Net architecture, incorporating class conditioning via classifier-free guidance.

Datasets

The study utilizes a publicly available EEG dataset comprising recordings from 88 participants categorized into three groups: Alzheimer's disease (AD), Frontotemporal Dementia (FTD), and healthy controls (CN). The data was collected using a Nihon Kohden EEG 2100 device with 19 scalp electrodes. The pre-processed version of this dataset was used for experiments.

Key Insights and Ideas

  • Focus on Embeddings: Instead of augmenting raw EEG signals, MEDiC augments the latent embeddings extracted by a specialized encoder. This is a key innovation, as embeddings can be a more compact and noise-robust representation of the underlying neural information.
  • Diffusion Models for EEG Embeddings: Applying class-conditioned DDPMs to generate synthetic EEG embeddings is a novel approach. Diffusion models have shown remarkable success in image generation, and their application here suggests their potential for complex time-series data like EEG.
  • Preserving Class Discrimination: The core idea is that synthetic embeddings should not only look realistic but also retain the discriminative power of the original data, allowing downstream classification models to perform well.

Key Results

  • Effective Classification: When a simple MLP classifier was trained on synthetic EEG embeddings generated by MEDiC and tested on original EEG embeddings, it achieved high performance. For AD-CN classification, Precision, Recall, and F1 scores were 0.98±0.01. For FTD-CN, these scores were 0.86±0.01, 0.87±0.01, and 0.84±0.01, respectively. These results are comparable to training on original data.
  • Superior to VAE: Compared to a class-conditioned Variational Autoencoder (VAE), MEDiC's synthetic embeddings consistently yielded higher classification performance (e.g., AD-CN: 0.79±0.08 Precision vs. 0.98±0.01 for DDPM) and exhibited lower uncertainty across training repetitions, indicating better generalization.
  • High Similarity: Jensen-Shannon Divergence (JSD) scores between synthetic and original embeddings (both train and test sets) were consistently low (e.g., AD: 0.043 for synthetic vs. train, 0.042 for synthetic vs. test), indicating a high degree of similarity and effective preservation of information.

Limitations and Future Work

  • Encoder Choice: The authors acknowledge that the choice of the semantic encoder is crucial. While EEGNet was used, it's important to identify encoders that can effectively handle biases potentially present in the original EEG data.
  • Bias Amplification: Synthetic data, while not representing real individuals and thus preserving privacy, might inadvertently escalate existing biases in the original dataset.
  • Future Directions: The paper suggests incorporating a semantic information-informed loss directly into the diffusion model itself as a promising avenue for future research. This could further enhance the quality and utility of the generated embeddings.

Summary updated

BibTeX
@inproceedings{sharma2023medic,
  author = {Gulshan Sharma and Abhinav Dhall and Ramanathan Subramanian},
  title = {{MEDiC: Mitigating EEG Data Scarcity Via Class-Conditioned Diffusion Model}},
  booktitle = {DGM4H @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=0aeDKGhlTo},
}
Figure