NeuroDM: Decoding and visualizing human brain activity with EEG-guided diffusion model

Comput Methods Programs Biomed. 2024 Jun:251:108213. doi: 10.1016/j.cmpb.2024.108213. Epub 2024 May 7.

Abstract

Background and objective: Brain-Computer Interface (BCI) technology has recently been advancing rapidly, bringing significant hope for improving human health and quality of life. Decoding and visualizing visually evoked electroencephalography (EEG) signals into corresponding images plays a crucial role in the practical application of BCI technology. The recent emergence of diffusion models provides a good modeling basis for this work. However, the existing diffusion models still have great challenges in generating high-quality images from EEG, due to the low signal-to-noise ratio and strong randomness of EEG signals. The purpose of this study is to address the above-mentioned challenges by proposing a framework named NeuroDM that can decode human brain responses to visual stimuli from EEG-recorded brain activity.

Methods: In NeuroDM, an EEG-Visual-Transformer (EV-Transformer) is used to extract the visual-related features with high classification accuracy from EEG signals, then an EEG-Guided Diffusion Model (EG-DM) is employed to synthesize high-quality images from the EEG visual-related features.

Results: We conducted experiments on two EEG datasets (one is a forty-class dataset, and the other is a four-class dataset). In the task of EEG decoding, we achieved average accuracies of 99.80% and 92.07% on two datasets, respectively. In the task of EEG visualization, the Inception Score of the images generated by NeuroDM reached 15.04 and 8.67, respectively. All the above results outperform existing methods.

Conclusions: The experimental results on two EEG datasets demonstrate the effectiveness of the NeuroDM framework, achieving state-of-the-art performance in terms of classification accuracy and image quality. Furthermore, our NeuroDM exhibits strong generalization capabilities and the ability to generate diverse images.

Keywords: Diffusion model; Electroencephalography; Feature extraction; Image generation.

MeSH terms

  • Algorithms
  • Brain* / diagnostic imaging
  • Brain* / physiology
  • Brain-Computer Interfaces*
  • Electroencephalography*
  • Evoked Potentials, Visual / physiology
  • Humans
  • Signal Processing, Computer-Assisted
  • Signal-To-Noise Ratio