Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 3.38 KB

README.md

File metadata and controls

47 lines (27 loc) · 3.38 KB

EEG2Image


EEG2IMAGE: Image Reconstruction from EEG Brain Signals [ICASSP 2023]

[Paper]


  • EEG2Image best_ckpt [Link]
  • Inception Score [Link]
  • Preprocessed thoughtviz EEG Data [Link]

Updates

Follow up work: Learning Robust Deep Visual Representations from EEG Brain Recordings (WACV 2024) [ Paper | Code ]

Abstract

Reconstructing images using brain signals of imagined visuals may provide an augmented vision to the disabled, leading to the advancement of Brain-Computer Interface (BCI) technology. The recent progress in deep learning has boosted the study area of synthesizing images from brain signals using Generative Adversarial Networks (GAN). In this work, we have proposed a framework for synthesizing the images from the brain activity recorded by an electroencephalogram (EEG) using small-size EEG datasets. This brain activity is recorded from the subject's head scalp using EEG when they ask to visualize certain classes of Objects and English characters. We use a contrastive learning method in the proposed framework to extract features from EEG signals and synthesize the images from extracted features using conditional GAN. We modify the loss function to train the GAN, which enables it to synthesize $128 \times 128$ images using a small number of images. Further, we conduct ablation studies and experiments to show the effectiveness of our proposed framework over other state-of-the-art methods using the small EEG dataset.

Architecture

Results

t-SNE visualization of Object test dataset EEG feature space, which is learned using label supervision with test classification accuracy 0.75 and k-means accuracy 0.18. t-SNE visualization of Object test dataset EEG feature space, which is learned using triplet loss with test k-means accuracy 0.53. Each cluster’s equivalent EEG-based generated images are also visualized in this plot.
ThoughtViz EEG2Image (Ours)

Note

  • Unstructured code.
  • You can find anaconda environment yml file in anaconda folder.

References