Skip to main content
QUICK REVIEW

[Paper Review] DuA: Dual Attentive Transformer in Long-Term Continuous EEG Emotion Analysis

Yue Pan, Qile Liu|arXiv (Cornell University)|Jul 30, 2024
Emotion and Mood RecognitionPsychology4 citations
TL;DR

This paper proposes DuA, a Dual Attentive Transformer framework for long-term continuous EEG emotion analysis, processing entire EEG trials as single units rather than segmented intervals. By integrating spatial-spectral and temporal attention mechanisms with transfer learning, DuA achieves a 5.28% average accuracy gain over existing methods on trial-based cross-subject validation, demonstrating superior performance and robustness on variable-length EEG data.

ABSTRACT

Affective brain-computer interfaces (aBCIs) are increasingly recognized for their potential in monitoring and interpreting emotional states through electroencephalography (EEG) signals. Current EEG-based emotion recognition methods perform well with short segments of EEG data. However, these methods encounter significant challenges in real-life scenarios where emotional states evolve over extended periods. To address this issue, we propose a Dual Attentive (DuA) transformer framework for long-term continuous EEG emotion analysis. Unlike segment-based approaches, the DuA transformer processes an entire EEG trial as a whole, identifying emotions at the trial level, referred to as trial-based emotion analysis. This framework is designed to adapt to varying signal lengths, providing a substantial advantage over traditional methods. The DuA transformer incorporates three key modules: the spatial-spectral network module, the temporal network module, and the transfer learning module. The spatial-spectral network module simultaneously captures spatial and spectral information from EEG signals, while the temporal network module detects temporal dependencies within long-term EEG data. The transfer learning module enhances the model's adaptability across different subjects and conditions. We extensively evaluate the DuA transformer using a self-constructed long-term EEG emotion database, along with two benchmark EEG emotion databases. On the basis of the trial-based leave-one-subject-out cross-subject cross-validation protocol, our experimental results demonstrate that the proposed DuA transformer significantly outperforms existing methods in long-term continuous EEG emotion analysis, with an average enhancement of 5.28%.

Motivation & Objective

  • To address the limitations of segment-based EEG emotion recognition in real-world, long-duration emotional states.
  • To develop a framework capable of processing entire EEG trials as unified sequences, preserving long-term temporal dependencies.
  • To enhance model generalization across subjects and conditions through transfer learning and multi-modal attention.
  • To overcome the gradient vanishing problem in recurrent models like LSTMs when handling long EEG sequences.
  • To establish a robust, scalable transformer-based architecture for continuous, trial-level emotion recognition in affective BCI systems.

Proposed method

  • The DuA framework employs a spatial-spectral network module that jointly captures spatial and spectral features from EEG signals using multi-head self-attention.
  • A dedicated temporal network module uses multi-head self-attention to model long-range dependencies across the entire EEG trial sequence.
  • The transfer learning module improves cross-subject and cross-condition generalization by fine-tuning on diverse data distributions.
  • The model processes full-length EEG trials end-to-end, avoiding the segmentation bias inherent in short-segment analysis.
  • Hyperparameter sensitivity analysis is conducted on attention heads, network depth, and hidden size to ensure robustness and efficiency.
  • The framework is evaluated under a trial-based leave-one-subject-out cross-validation protocol to simulate real-world deployment.

Experimental results

Research questions

  • RQ1Can a transformer-based model effectively process entire long-term EEG trials as single units for emotion recognition, rather than relying on short segments?
  • RQ2How does the integration of spatial-spectral and temporal attention improve recognition performance on continuous EEG data?
  • RQ3To what extent does the transfer learning module enhance model generalization across different subjects and emotional conditions?
  • RQ4How does the DuA framework compare to recurrent models like LSTM in handling long-duration EEG sequences?
  • RQ5What hyperparameter settings yield optimal performance with minimal sensitivity and computational cost?

Key findings

  • The DuA transformer achieves a 5.28% average accuracy gain over existing methods in trial-based leave-one-subject-out cross-validation across multiple databases.
  • The temporal network module outperforms LSTM by 7.00% in 2-class, 15.00% in 3-class, and 12.84% in 5-class classification, demonstrating superior long-sequence modeling.
  • The model exhibits low sensitivity to hyperparameter changes, with optimal performance achievable using moderate values of heads, layers, and hidden size.
  • The absence of autoregressive computation in the transformer avoids gradient vanishing, enabling effective learning on long EEG sequences.
  • The spatial-spectral module successfully captures complementary spatial and spectral EEG features, enhancing representation quality.
  • The transfer learning module significantly improves cross-subject performance, confirming its role in generalization across diverse participants.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.