Category-Aware EEG Image Generation Based on Wavelet Transform and Contrast Semantic Loss

Abstract

Reconstructing visual stimuli from EEG signals is a crucial step in realizing brain-computer interfaces. In this paper, we propose a transformer-based EEG signal encoder integrating the Discrete Wavelet Transform (DWT) and the gating mechanism. Guided by the feature alignment and category-aware fusion losses, this encoder is used to extract features related to visual stimuli from EEG signals. Subsequently, with the aid of a pre-trained diffusion model, these features are reconstructed into visual stimuli. To verify the effectiveness of the model, we conducted EEG-to-image generation and classification tasks using the THINGS-EEG dataset. To address the limitations of quantitative analysis at the semantic level, we combined WordNet-based classification and semantic similarity metrics to propose a novel semantic-based score, emphasizing the ability of our model to transfer neural activities into visual representations. Experimental results show that our model significantly improves semantic alignment and classification accuracy, which achieves a maximum single-subject accuracy of 43%, outperforming other state-of-the-art methods. The source code is available at https://github.com/zes0v0inn/DWT_EEG_Reconstruction/.

Cite

Text

Zhang et al. "Category-Aware EEG Image Generation Based on Wavelet Transform and Contrast Semantic Loss." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/881

Markdown

[Zhang et al. "Category-Aware EEG Image Generation Based on Wavelet Transform and Contrast Semantic Loss." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/zhang2025ijcai-category/) doi:10.24963/IJCAI.2025/881

BibTeX

@inproceedings{zhang2025ijcai-category,
  title     = {{Category-Aware EEG Image Generation Based on Wavelet Transform and Contrast Semantic Loss}},
  author    = {Zhang, Enshang and Zhang, Zhicheng and Hanakawa, Takashi},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {7922-7930},
  doi       = {10.24963/IJCAI.2025/881},
  url       = {https://mlanthology.org/ijcai/2025/zhang2025ijcai-category/}
}