Positional-Spectral-Temporal Attention in 3D Convolutional Neural Networks for EEG Emotion Recognition

Jiyao Liu, Yanxi Zhao, Hao Wu, Dongmei JiangApsipa asc 2021

Abstract

Recognizing human emotions is critical for daily communication. Neuroscience shows that different emotional states activate specific brain regions, frequency bands, and temporal windows. This paper proposes PST-Attention, a novel module for 3D Convolutional Neural Networks (3D-CNN) that explores these informative EEG features. By integrating Positional, Spectral, and Temporal attention, the model adaptively weights discriminative patterns. Experiments on two real-world datasets demonstrate that PST-Attention captures stable emotional patterns and achieves state-of-the-art results.

Introduction: The Challenge of EEG Emotion Recognition

Electroencephalogram (EEG) signals provide an objective window into brain activity, making them a "gold standard" for emotion recognition. However, these signals are inherently noisy, influenced by environmental factors, individual physiological differences, and experimental context.

A key challenge is that emotional markers are multi-dimensional. They manifest as activations in specific brain regions (spatial), at particular frequency bands (spectral), and during specific time intervals (temporal). Most existing models fail to capture the synergy between these dimensions. The authors address this by treating EEG data as a multi-dimensional "video" of brain activity, processed through a specialized attention mechanism.

Methodology: 4D Representations and PST-Attention

The proposed framework transforms the problem into a computer vision task using a 3D-CNN architecture enhanced by the PST-Attention module.

1. 4D EEG Representation

Raw 1D EEG signals are transformed into a 4D tensor ($T \times S \times V \times H$). Here, $T$ represents time, $S$ denotes spectral bands (e.g., Delta, Theta, Alpha, Beta, Gamma), and $V \times H$ is a 2D grid mapping of electrodes on the scalp. This representation preserves the spatial relationship between electrodes and the spectral-temporal dynamics of the signal.

The process of transforming raw EEG signals into a 4D representation for 3D-CNN processing.

2. The PST-Attention Module

The core innovation is a parallel three-branch attention mechanism designed to recalibrate the 4D features:

  • Positional (P-Attention): Highlights active brain regions (e.g., frontal vs. parietal lobes) using spatial masks.
  • Spectral (S-Attention): Learns the relative importance of different frequency bands for specific emotions.
  • Temporal (T-Attention): Identifies the most significant time slices within the signal.

By running these branches in parallel, the model ensures that spatial, spectral, and temporal features are weighted independently before fusion, preventing any single dimension from dominating the learning process prematurely.

Experimental Results

The model was evaluated on two benchmark datasets: SEED (3 emotions) and SEED-IV (4 emotions).

Comparison of the proposed 3D-CNN with PST-Attention against state-of-the-art models on SEED and SEED-IV datasets.

As shown in the results table, the PST-Attention 3D-CNN outperformed previous state-of-the-art (SOTA) models:

  • SEED Dataset: Achieved 95.76% accuracy, surpassing the previous high-performer (4D-aNN).
  • SEED-IV Dataset: Achieved 82.73% accuracy, a significant improvement over models like RGNN (79.37%) and BiHDM (74.35%).

Ablation studies confirmed that while all branches contribute, the Positional and Spectral components provide the most significant performance gains.

Conclusion and Future Directions

The PST-Attention module offers a lightweight, "plug-and-play" solution for enhancing 3D-CNNs in physiological signal processing. While currently dependent on pre-computed Differential Entropy (DE) features, the framework demonstrates high efficiency and accuracy. Future work may extend this multi-dimensional attention approach to other domains, such as sleep analysis or stress detection, where complex spatial-temporal patterns are prevalent.

Summary updated

BibTeX
@inproceedings{liu2021positional,
  author = {Jiyao Liu and Yanxi Zhao and Hao Wu and Dongmei Jiang},
  title = {{Positional-Spectral-Temporal Attention in 3D Convolutional Neural Networks for EEG Emotion Recognition}},
  booktitle = {Apsipa asc},
  year = {2021},
  doi = {10.48550/arxiv.2110.09955},
}
Figure