학술

Multi-head cross-band attention for EEG-based emotion recognition: A graph neural network approach with label smoothing

PLOS ONE
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Figures
Abstract
EEG-based emotion recognition has attracted much attention due to its high temporal resolution and non-invasiveness. However, existing graph neural network (GNN) methods generally neglect the dynamic interaction between neural oscillation bands, treating the five bands (δ, θ, α, β, γ) as static orthogonal input channels, thus severing the crucial cross-band coupling dynamics in higher cognitive processes. To address this deficiency, this paper proposes an EEG emotion recognition framework based on multi-head cross-band attention (MH-CBA) and soft label calibration. The MH-CBA mechanism adaptively models the interaction patterns between bands in a data-driven manner through four orthogonal attention subspaces and fuses them with the LGGNet spatial backbone to achieve joint spatial-spectral feature representation. Simultaneously, label smoothing regularization (ε = 0.1) is introduced to alleviate the inherent noise and semantic ambiguity problems in emotion annotation. On the fine-grained four-class classification benchmark dataset SEED-IV, the proposed framework achieved an accuracy of 79.65% ± 6.58%, representing an absolute performance improvement of +31.87% compared to the pure spatial baseline LGGNet (47.78%), effectively addressing the representation collapse problem for highly semantically overlapping emotion categories such as fear and sadness. Generalization experiments on the SEED three-class classification dataset further validated the effectiveness of MH-CBA as a cross-task feature stabilizer. Ablation experiments and attention weight visualization analysis confirmed the independent contributions of each module and their high consistency with neurophysiology.
Citation: Cui Y, Zhang H, Wang A, Liu H (2026) Multi-head cross-band attention for EEG-based emotion recognition: A graph neural network approach with label smoothing. PLoS One 21(12): e0363908. https://doi.org/10.1371/journal.pone.0363908
Editor: Yuvaraj Rajamanickam, Nanyang Technological University, SINGAPORE
Received: June 22, 2026; Accepted: November 13, 2026; Published: December 4, 2026
Copyright: © 2026 Cui et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: No data was generated by this study. The following existing data sources were used: SEED-IV from SEED available via http://bcmi.sjtu.edu.cn/~seed/.
Funding: This research was supported by the horizontal project of Shanghai Dianji University (Project Nos. 25BR0031, 24B0376, 23B0400, and 23B0294). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Affective computing aims to endow machines with the core ability to perceive, understand, and respond to complex human emotional states, and is the fundamental support for building the next generation of immersive human-computer interaction and affective brain-computer interfaces (aBCI) [1,2]. Among many physiological modalities, electroencephalography (EEG) has become the most core research vehicle in the field of emotion decoding due to its extremely high temporal resolution, non-invasiveness, and ability to directly map the neural activity of the cerebral cortex [3,4]. Cognitive neuroscience research shows that EEG signals carry rich and complementary emotional features across multiple discrete neural oscillation bands: low-frequency delta (1–4 Hz) and theta (4–8 Hz) bands typically reflect slow cortical potentials and deep cognitive engagement; desynchronization of alpha (8–13 Hz) waves is closely related to brain relaxation and visual arousal; while high-frequency beta (13–30 Hz) and gamma (>30 Hz) waves are deeply involved in higher-level feature integration, active thinking, and highly aroused emotional experiences (such as extreme joy or deep fear) [5,6].
In recent years, with the introduction of deep learning, especially graph neural networks (GNNs), emotion recognition based on EEG has made breakthrough progress [7]. Since the distribution of electrodes in the cerebral cortex naturally has a non-Euclidean spatial topology, GNNs (such as DGCNN [8], RGNN [9] and LGGNet [10]) have greatly improved the model's ability to capture spatial features such as the asymmetry between the left and right hemispheres of the brain by aggregating local and global brain region node information. However, although neuroscience has widely confirmed that emotion processing is a highly dynamic “time-space-frequency” collaborative process, the current GNN paradigm has generally fallen into the methodological error of “emphasizing space and neglecting the frequency domain.” Existing models often simply splice the five frequency bands from delta to gamma into orthogonal static input channels, completely severing the crucial cross-frequency coupling (CFC) dynamics in higher cognitive processes [11,12].
This underlying design flaw of “topological homogeneity” and “spectral isolation” leads to disastrous consequences when dealing with fine-grained and difficult emotion classification tasks. Taking the authoritative SEED-IV four-class classification benchmark as an example [13], “fear” and “sadness” both belong to the emotion category of high arousal and negative valence. At the physiological level, the spatial activation patterns of the cerebral cortex induced by these two emotions are highly overlapping, and their core distinguishing features are actually hidden in the dynamic antagonism and synergy of different frequency band energies (e.g., the explosive surge of gamma band energy in the fear response). Since traditional GNNs lack a dynamic frequency domain attention filtering mechanism, they are prone to topological over-smoothing in the process of multi-layer spatial message passing, which erases the key high-frequency transient features and ultimately leads to severe representation collapse of the model in complex negative emotions [14].
In addition to architectural defects, EEG-based emotion recognition also faces the serious problem of endogenous label noise. Human emotional experience has strong subjective variability and temporal inertia. In experimental paradigms that induce emotions by watching stimulating videos, the actual psychological state of the subjects often has a slight semantic deviation from the preset “hard label,” and the emotional boundary during video transitions is extremely blurred [15]. Traditional models use absolute one-hot encoding and standard cross-entropy for optimization, which forces the model to make “overconfident” judgments on such noisy and uncertain samples, thus seriously damaging the model's generalization ability and calibration on unseen samples [16,17].
To address the dual challenges of spectral representation and label optimization mentioned above, this paper breaks through the constraints of pure spatial topology and proposes a novel and physiologically interpretable framework for decoding emotional EEG. The core contributions of this paper are summarized as follows:
- This paper proposes a spatially guided multi-head cross-band attention (MH-CBA) mechanism, which introduces a dedicated frequency-domain modeling channel into a GNN architecture (with LGGNet as the spatial backbone). While prior works have explored cross-frequency coupling in EEG analysis, the proposed MH-CBA explicitly models inter-band interactions through H = 4 parallel attention subspaces, enabling the model to adaptively capture diverse coupling patterns between frequency bands in a data-driven manner. This design effectively mitigates attention collapse and complements spatial topology modeling with frequency-domain dynamics, offering a more comprehensive EEG representation.
- Introducing Soft-Label Calibration for Cognitive Noise: This systematically incorporates label smoothing regularization into EEG sentiment computation. By softening the stringent decision boundaries, it provides a more psychologically accurate probability distribution optimization for ambiguous negative emotion categories (such as the intertwining of sadness and fear), significantly suppressing overfitting and overconfidence.
- Validation of Limiting Performance and Generalization Based on Primary and Secondary Baselines: This paper uses the challenging fine-grained dataset SEED-IV (four-class classification) as the core experimental platform. The proposed framework successfully breaks through the representation collapse dilemma of pure spatial baseline models and achieves the best accuracy of 79.65% (an absolute improvement of up to +31.87%). Meanwhile, generalization experiments on the classic coarse-grained dataset SEED (three-class classification) further demonstrate that the MH-CBA mechanism is not only a “high-frequency feature amplifier” under challenging tasks, but also a “feature stabilizer” in cross-task scenarios, significantly improving performance while greatly reducing the individual variance among subjects.
The remainder of this paper is organized as follows: the Related work section reviews relevant studies; the Method section describes the proposed framework; the Experimental setup section presents the datasets and evaluation protocols; the Results section reports and analyzes the experimental findings; the Discussion section interprets the results and examines the limitations of the proposed approach; and the Conclusion section summarizes the main findings of this study.
Related work
EEG-based emotion recognition
Early methods relied on handcrafted features (differential entropy DE, power spectral density PSD, etc.) combined with traditional classifiers such as SVM [18,19]. After the rise of deep learning, Zheng and Lu [20] proved that multi-band DE features combined with deep belief networks (DBN) achieved competitive performance on the SEED dataset. Li et al.[13] then constructed the SEED-IV four-class benchmark (neutral/sad/fear/happy), which has greater classification difficulty due to the semantic similarity of negative emotion categories, and has become the domain standard evaluation platform. Recently, the introduction of convolutional neural networks [21] and Transformer architecture [22] has further improved the end-to-end feature extraction capability, but the problem of inter-band interaction modeling has not yet been systematically solved.Meanwhile, frequency-domain features have also been combined with brain connectivity features to improve EEG-based emotion recognition, highlighting the complementary information provided by spectral and connectivity representations [23].Recent studies have further explored the use of spatio-temporal feature extraction, multi-scale feature representation, and attention mechanisms for EEG-based emotion decoding, providing additional evidence for the effectiveness of attention-based feature enhancement in this task [24].
Graph neural networks for EEG analysis
Brain functional connectivity has a non-Euclidean topology, which is naturally suitable for graph structure modeling. Song et al [8] proposed DGCNN to learn the adjacency matrix dynamically in a data-driven manner; Zhong et al [9] RGNN integrates neuroscience prior knowledge to regularize the graph structure; Ding et al [10] developed LGGNet to construct hierarchical graph representations at both local (electrode aggregation within regions) and global (propagation between regions) scales, showing strong spatial modeling capabilities for multi-band DE features. Beyond emotion recognition, dynamic graph convolutional and graph-temporal architectures have also been explored for EEG and multimodal brain-signal decoding, demonstrating the potential of dynamic graph representations for modeling changing neural relationships [25,26].However, the above methods completely ignore the frequency band differences and inter-band interactions, which is the key gap that this paper strives to fill.In parallel, adaptive graph learning strategies have also advanced EEG-based BCI research. Zhu et al. proposed a Neighborhood Adaptive Graph Convolutional Network that dynamically adjusts per-node neighborhood aggregation to capture heterogeneous local structures in graph-structured data [27]. More recently, SGLNet introduced spike-based adaptive multi-head graph convolution combined with LSTM within a spiking neural network framework, enabling joint modeling of spatial topology and temporal dependencies in EEG signals for emotion recognition and motor imagery tasks [28]. These advances highlight the growing importance of adaptive graph designs in EEG analysis, though the modeling of cross-band frequency interactions remains an open challenge that the present work addresses.
Attention mechanisms in affective EEG analysis
Attention mechanisms have been widely used to weight EEG channels, temporal frames, or frequency components: temporal self-attention weights enrich frames with information, while channel attention focuses on emotion-related electrodes. However, cross-frequency attention—specifically modeling the interdependencies between different neural oscillation bands—remains largely unexplored. This paper proposes MH-CBA, which fills this gap by introducing a multi-head attention architecture in the frequency dimension, adaptively fusing complementary spectral information based on the spatial-frequency structure of the input.Recent works have further extended attention-based modeling for EEG emotion recognition. Gong et al. proposed ASTDF-Net, an attention-based spatial-temporal dual-stream fusion network that simultaneously captures spatial dependencies among electrodes and temporal dynamics across time frames, achieving strong performance on SEED and DEAP benchmarks [29]. Gong et al. also proposed TFAC-Net, a temporal-frequential attentional convolutional network for single-channel EEG-based driver drowsiness detection, demonstrating the effectiveness of jointly attending to temporal and frequency-domain features [30]. These works collectively underscore the value of multi-dimensional attention modeling in EEG analysis and provide important context for the frequency-domain attention mechanism proposed in this paper.
Label smoothing regularization
Label smoothing, proposed by Müller et al, generates a soft target by assigning a small amount of probability mass from the true class to all classes: ỹ=(1–ε)·yhard+ε/K, which has been shown to improve calibration and generalization in image classification [17]. In EEG sentiment computing, inter-subject variability, label subjectivity, and semantically adjacent class boundaries together cause inherent label noise [31,32], making label smoothing a particularly suitable regularization strategy. This paper introduces its system into this scenario and verifies it through experiments.It is also worth noting that cross-subject generalization remains a significant challenge in EEG emotion recognition, driven by substantial inter-subject variability in EEG signals. In this context, TAHAG proposed a two-stage domain adaptation framework with hybrid adaptive graph learning to align inter-subject feature distributions for cross-subject EEG emotion recognition, achieving notable improvements under subject-independent evaluation [33]. While the present work focuses on the subject-dependent protocol, the integration of label smoothing with domain adaptation strategies such as TAHAG represents a promising direction for future work.
Method
Problem definition
Let X ∈ ℝT×C×B be the EEG feature tensor, where T is the number of time frames, C = 62 is the number of channels, and B = 5 is the number of frequency bands. Each frame x(t)∈ℝC×B contains differential entropy (DE) features extracted within a sliding window [18,19]. The task is to learn the mapping f: ℝC×B→{0,1,...,K–1}, classifying each frame into K = 4 emotions: neutral (0), sadness (1), fear (2), and happiness (3). Under the within-subjects (SD) protocol, training and testing data are from the same subject to exclude interference from inter-subject variability.
Baseline model: Local-global graph network (LGGNet)
The LGGNet framework [10] serves as the backbone for spatial feature extraction and includes two hierarchical graph convolution stages. Local graph convolution maps the input x ∈ ℝC×B to a channel-level representation:
(1)Where  is a symmetric normalized adjacency matrix, and the 62 channels are divided into 6 brain regions (frontal lobe/left temporal lobe/right temporal lobe/parietal lobe/occipital lobe/central region) according to the 10–20 standard. Global graph convolution aggregation region mean pooling features:
(2)The final graph feature encodes rich spatial relational information of the whole brain topology.
Multi-head cross-band attention (MH-CBA)
The MH-CBA module adaptively weights the contributions of each frequency band and models their pairwise interactions in a data-driven manner. For an input frame x ∈ ℝC×B, a global spatial summary x̄ ∈ ℝC is calculated through channel mean pooling. The module uses H = 4 attention heads, each with a dimension .The model architecture diagram is shown in Fig 1.
A multi-head cross-band attention module (H = 4) adaptively weights the dependencies between frequency bands, and the generated spectral fusion features are concatenated with the spatial GCN output. Joint representations are classified using a multilayer perceptron trained with label smoothing (ε = 0.1).
Query projection:
(3)reorganization .
Band-by-band key-value projection: For a band b∈{1,...,B}, let xb ∈ ℝC be the channel activation of that band, then:
(4)(5)Multi-head attention score: The attention score of the h-th head to frequency band b:
(6)and the normalized weight:
(7)Output aggregation and projection: The h-th head context vector:
(8)and the H-th head output concatenation projection:
(9)The MH-CBA output zCBA is concatenated with the GCN spatial feature gGCN to form a joint representation:
(10)which is then fed into the classifier.
The input feature matrix is denoted as (X ∈ ℝ62×5), where 62 and 5 represent the numbers of EEG channels and frequency bands, respectively. The channel-wise mean pooling produces a descriptor (∈ℝ62). The attention module consists of four heads, each with a dimension of 16. The weighted aggregation of the five frequency-band value vectors produces the fused spectral representation ().Therefore, MH-CBA performs adaptive spectral weighting and feature aggregation, rather than explicitly estimating physiological cross-frequency coupling (CFC).
Classifier
The joint representation uses a three-layer MLP classifier with fjoint input: the first layer maps to 128 dimensions (batch normalization + ReLU + Dropout 0.5), the second layer is a 64-dimensional hidden layer (ReLU + Dropout), and the third layer is linearly projected to K = 4 class logits. The total model parameters are approximately 88820, an increase of about 38.0% compared to the LGGNet baseline (64372).
Label smoothing
Standard cross-entropy training drives models to overconfident predictions, which is particularly disadvantageous in EEG sentiment recognition due to inherent label noise and semantic ambiguity of negative categories [15,31,32]. This paper uses label smoothing [16] to modify the target distribution as follows:
(11)Where ε = 0.1 (optimal in ablation experiments), K = 4. Training loss . Label smoothing effectively prevents the model from assigning zero probability to non-target classes, producing a better calibrated output distribution and improving the generalization ability on the test set.
Experimental setup
Dataset: SEED-IV
All experiments were conducted on the SEED-IV dataset [13], which was released by Shanghai Jiao Tong University and contained three-session EEG recordings of 15 participants (7 males and 8 females, mean age 23.27 ± 2.37 years). In each session, participants watched 24 video clips to induce four emotions (neutrality/sadness/fear/happiness, 6 clips each). The EEG was sampled at 1000 Hz by a 62-channel ESI NeuroScan system and filtered to [1, 75] Hz. Differential entropy features were extracted in five frequency bands of δ/θ/α/β/γ in a 1-second window (0.5-second overlap) and smoothed by moving average [18] to produce a feature tensor of shape (T, 62, 5) (T ≈ 42 frames/trial). There were approximately 2505 samples per participant and a total of 37575 samples in the entire dataset.It should be noted that this study does not perform any additional EEG preprocessing beyond what is provided in the official SEED-IV dataset release. The preprocessing steps described above were conducted by the original dataset providers and are documented in detail in the original SEED-IV publication. The DE feature files used in this study were downloaded directly from the official BCMI Laboratory repository without any modification. The only processing steps performed in this study are: (1) zero-mean unit-variance normalization fitted on the training set and applied to validation and test sets; and (2) stratified random splitting into training (70%), validation (15%), and testing (15%) subsets with a fixed random seed.
Evaluation protocol
The Subject-Dependent (SD) protocol was used: after all three sessions of data were aggregated for each participant, they were stratified and randomly assigned (with a fixed seed) to training (70%), validation (15%), and testing (15%). Fifteen participants independently trained and evaluated the data, and the results were reported as mean ± standard deviation. The evaluation metrics were accuracy (Acc) and weighted F1 score (F1), both expressed as percentages.It is important to clarify that data splitting in this study was performed at the frame level rather than the trial level. Specifically, all DE feature frames extracted from the three sessions of each subject were pooled into a single sample set, and stratified random splitting was then applied at the individual frame level to partition the data into training (70%), validation (15%), and testing (15%) subsets. A fixed random seed was used to ensure reproducibility across all experimental runs.
It should be noted that frame-level splitting may introduce sample dependencies across different subsets and may affect the evaluation of model performance. Therefore, the reported results should be interpreted under the adopted frame-level subject-dependent evaluation protocol and should not be regarded as a direct measure of generalization to completely unseen trials. The consistent performance improvements observed across all 15 subjects, together with the experimental results on the SEED dataset, provide complementary evidence supporting the effectiveness of the proposed method. Trial-level splitting enables a more rigorous evaluation of trial-independent generalization. This limitation will be further addressed in future work.
Implementation details
All models are implemented using PyTorch 2.9.0. The optimizer is Adam (initial learning rate 1 × 10−3, weight decay 1 × 10−4), and the learning rate is scheduled using cosine annealing (Tmax = 100,ηmin = 1 × 10−5). Training is limited to a maximum of 100 epochs, with early stopping based on validation loss (patience = 20). Batch size is 128, and gradient norm is pruned to 1.0.Summarized in Table 1.The LGGNet baseline contains 64,372 trainable parameters with an average inference time of 0.024 ms per sample. The proposed LGGNet + MH-CBA + LS model contains 88,820 parameters, representing an increase of 24,448 parameters (+38.0% relative to the baseline), with an average inference time of 0.048 ms per sample — an absolute increase of 0.024 ms per sample. These measurements confirm that the MH-CBA module introduces moderate additional computational overhead while achieving substantial performance improvements, and the per-sample inference latency remains well within the requirements of real-time BCI applications.
Experimental results and analysis
Results
In the challenging four-class classification task of SEED-IV, “fear” and “sadness” both belong to the high-arousal negative valence category, and their spatial activation topologies highly overlap, leading to a severe representation collapse in the pure spatial architecture LGGNet, with performance degrading to 47.78%. However,Fig 2 shows, the intervention of the MH-CBA module successfully activated the fine-grained discriminative features hidden in high-level neural bands (especially the γ band) [5,6], freeing the model from the “spatial topology dilemma” and demonstrating the indispensability of explicit cross-band interaction modeling in complex emotion analysis [11,12].Before presenting the main results, it is necessary to clarify the nature of the LGGNet baseline reported in this study. The original LGGNet model was designed and optimized for the 32-channel,Adapting LGGNet to the 62-channel SEED-IV dataset required redefining the brain region partition according to the standard 10–20 electrode placement system, which inevitably introduces deviations from the original design. The adapted baseline accuracy of 47.78% therefore reflects the inherent challenges of this dataset adaptation rather than a deficiency in the original LGGNet model.All training hyperparameters — including optimizer, learning rate schedule, batch size, dropout rate, and early stopping criterion — are kept identical between the baseline and the proposed method. The only intentional differences are the network architecture (addition of the MH-CBA module) and the training objective (label smoothing regularization, ε = 0.1), both of which constitute the proposed contributions evaluated in this study.
Left: LGGNet baseline; Right: Our proposed method. The proposed model significantly reduces the confusion rates between fear and sadness, and neutrality and happiness.
To verify the effectiveness of the proposed method on SEED-IV, we compared it with SVM, DBN, DGCNN, RGNN, and LGGNet-adapted baselines. The results of the first four were taken from existing literature reports, while LGGNet represents the adapted reproduction results from this paper. Table 2 summarizes the accuracy of each method, with the proposed method achieving 79.65% ± 6.58%, outperforming traditional methods and DGCNN, and showing comparable performance to RGNN.It should be noted that the results listed in Table 2 are all derived from their respective original publications and not re-achieved through a unified experimental protocol. Differences in dataset selection, data preprocessing, feature extraction, data partitioning strategies, and evaluation settings may affect the reported performance. In particular, results obtained using different subject-dependent or independent protocols may not be directly comparable. Therefore, this comparison aims to provide a general overview of the performance of representative EEG emotion recognition methods, rather than a strictly controlled quantitative ranking. The performance of the proposed method should be interpreted in conjunction with its own experimental conditions.
Ablation experiment
To validate the contribution of each design choice, a four-variant ablation experiment was designed, with each variant evaluated using the same protocol on all 15 participants:
- 1) Variant A (Baseline): LGGNet without any improvements, trained with standard cross-entropy. Accuracy: 47.78% ± 3.51%.
- 2) Variant B (+Single-head CBA): LGGNet + single-head cross-band attention (H = 1), trained with standard cross-entropy. Accuracy: 75.12% ± 6.10%.
- 3) Variant C (+Multi-head CBA): LGGNet + quad-head CBA, trained with standard cross-entropy. Accuracy: 74.89% ± 7.56%.
- 4) Variant D (This paper, + MH-CBA + LS): Full model (quad-head CBA + label smoothing ε = 0.1). Accuracy: 79.65% ± 6.58%.
Fig 3 shows,The A → B comparison (+27.34%) shows that the cross-band attention mechanism is the most important performance driver, and its introduction alone achieves an absolute improvement of nearly 30%; the B → C comparison reveals that the performance of multi-head and single-head is comparable under ablation conditions (the difference is within the standard deviation range), and the advantage of multi-head is reflected in its stronger expressive power and robustness under complete training conditions; the C → D comparison (+4.76%) verifies the regularization value of label smoothing in four-class semantic ambiguity scenarios [16,17,31,32]. Each component contributes independently and has a clear cumulative effect.
The accuracy of each variant A to D increases progressively, with the incremental improvement of each component indicated.
Based on the ablation experiments that verified the cumulative contributions of each component, we further examined the stability of the proposed method across different subjects. Fig 4 shows the accuracy comparison of 15 subjects under the LGGNet baseline and the proposed method. From the figure, it is clearly seen that the proposed method achieved higher accuracy than the baseline for all subjects, indicating that the performance improvement was not driven by the outstanding performance of individual subjects, but rather exhibited consistency and robustness across subjects. This result corroborates the earlier conclusion from the ablation experiments that each component is independently and cumulatively effective, further supporting the effectiveness and generalization ability of the MH-CBA mechanism on the SEED-IV dataset.
Blue: LGGNet baseline; Red: Our proposed method. Our proposed method consistently outperformed the baseline on all participants.
Within-dataset evaluation on SEED and feature robustness verification (SEED three-class classification task)
To verify that the proposed MH-CBA mechanism is not only effective for a specific dataset (SEED-IV), this study conducted a comprehensive generalization extension experiment on the classic SEED emotional benchmark dataset [20]. Specifically, the SEED dataset also includes 15 participants (each completing 3 sessions), but adopts a coarse-grained three-class stimulus paradigm of “positive, neutral, and negative.” Each session contains 15 movie clips (strictly 5 clips for each of the three emotional categories, achieving an absolute class balance of 33.3%). In terms of feature space, this dataset uses the same 62 electrode channels and five major neural oscillation bands (delta, theta, alpha, beta, gamma) extraction criteria as SEED-IV [18,19]; however, due to the longer stimulation duration of a single trial, each participant can obtain an average of approximately 4917 independent time frame samples.
Compared to SEED-IV, SEED provides a clearer boundary for emotion classification. However, this combination of a large sample size and high dimensionality is accompanied by more pronounced EEG temporal fluctuations and inter-subject variability [34,35]. Under this specific data distribution, the pure spatial backbone model LGGNet exhibits highly unstable performance, with an average accuracy of only 60.44% and an alarming inter-subject standard deviation of ±19.44%. This indicates that without dynamic frequency domain adjustment, the pure spatial topology model is highly susceptible to overfitting to spatial noise when faced with complex differences in neural activation among individuals, thus becoming trapped in local optima.
Remarkably, without any targeted pre-training, directly introducing the MH-CBA mechanism (while simultaneously disabling label smoothing to accommodate its clear decision boundaries) significantly boosted the model's accuracy to 76.77% (an absolute increase of +16.32%). More importantly, the standard deviation of the model's performance converged dramatically from ±19.44% to ±11.92%.
This experimental result has profound theoretical implications: it demonstrates that MH-CBA not only acts as a “high-frequency feature amplifier” to distinguish highly semantically overlapping categories in the challenging fine-grained task (SEED-IV), but also plays a core role as a “feature stabilizer” in the large-sample, coarse-grained task (SEED). By adaptively and dynamically suppressing emotion-independent noise bands in individual EEGs, this mechanism greatly enhances the model's global robustness in the face of heterogeneous subjects, strongly confirming the general applicability of the frequency domain attention architecture in complex EEG analysis [11,12,36]. In this experiment, the models were independently initialized and trained using the SEED dataset. SEED involves three types of emotion recognition tasks (negative, neutral, and positive), while SEED-IV involves four types of tasks. Therefore, the SEED experiment provides additional evaluation of the proposed method within the dataset, rather than directly assessing the transferability across datasets. This experiment further evaluates the applicability of the proposed method on independent EEG emotion datasets.
Sensitivity analysis
Label smoothness coefficient ε:The impact of ε∈{0.0, 0.05, 0.10, 0.15, 0.20, 0.30} was evaluated on an 8-subject subset. The accuracy was 75.20% when ε = 0.0, validating the strong performance foundation of multi-head CBA; it reached a peak of 79.42% when ε = 0.10; after ε > 0.15, it monotonically decreased, consistent with the existing understanding that label smoothing over-erosion of the discriminant boundary [17]. The performance variation range (78.12%–79.42%) within the range of ε∈[0.05, 0.20] was small, indicating that the model has good robustness to this hyperparameter and does not require fine-tuning during engineering deployment.
Attention Head Count H:The effect of H∈{1, 2, 4, 8} was evaluated on 8 subjects. As shown in Fig 5, the performance monotonically increased from H = 1 (75.60%) to H = 4 (79.36%), and H = 8 (79.42%) showed only a small gain (0.06%) compared to H = 4, indicating that the four attention subspaces were sufficient to fully cover the cross-band interaction patterns in the five-band DE feature space. Considering both accuracy and computational efficiency, H = 4 was selected as the default configuration.
(a) Label smoothing coefficient ε (optimal value ε = 0.10 is marked with an asterisk); (b) Number of attention heads H (optimal value H = 4 is marked with an asterisk). Shaded areas represent ±1 standard deviation.
Frequency band ablation:As shown in Fig 6,The number of frequency bands included was gradually increased (1 → 5), and the model performance was evaluated. The results showed a monotonically increasing trend: δ (31.65%) → δθ(33.24%) → δθα (37.67%) →δθαβ (41.22%) → full band (46.34%), confirming that each frequency band carries irreplaceable complementary sentiment information [11,12], and the complete five-band feature set is important for optimal performance. This result also provides direct support for the design concept of MH-CBA—all five frequency bands contribute independently, and adaptive frequency band weight learning has a clear physical meaning.
The accuracy increases monotonically with the number of included bands, confirming that the complementary contributions of each band are irreplaceable.
Overall, the model achieves the best balance at ε = 0.10 and H = 4, and its performance monotonically improves with the increase in the number of frequency bands, indicating that each frequency band has a complementary contribution, as summarized in Table 3.
It should be noted that the frequency band ablation experiment in Fig 6 was conducted on an eight-subject subset of SEED-IV, whereas the main experiment was evaluated on all 15 subjects. Therefore, the accuracy reported in Fig 6 reflects the performance of the frequency band ablation analysis on this subset and should not be directly compared with the main experimental result.
Visualization and interpretability analysis
t-SNE feature visualization:Fig 7 shows the t-SNE projection of the penultimate layer features for 100 samples from each of the 5 participants (500 samples in total). In the baseline representation, different participant samples form obvious independent clusters, with participant identity dominating the feature space, which is a direct reflection of EEG variability among participants [34,35]. The proposed model features show significantly clearer clustering effects by emotion category, and the participant-specific structure is significantly weakened, proving that the MH-CBA mechanism successfully promotes the extraction of emotion-discriminative rather than identity-specific features.
Top row: LGGNet baseline (clustered by participant); Bottom row: Our proposed method (clustered by sentiment category). Color represents sentiment category, and shape represents participant identity.
Cross-band attention weight analysis: Fig 8 visualizes the mean attention weights generated by MH-CBA. The results show that the γ band receives the highest attention weight (0.267), followed by the β band (0.236), α band (0.180), θ band (0.167), and δ band (0.150). This distribution suggests that MH-CBA assigns relatively higher weights to the γ and β bands during spectral feature aggregation, which is broadly consistent with previous studies on the association between high-frequency EEG activity and emotional processing [5,6,12]. However, the identical distributions across the four emotion categories indicate that the learned attention weights do not exhibit distinct emotion-specific frequency-band preferences.
Rows represent four emotion categories, and columns represent five frequency bands. The values represent the mean attention weights averaged across all attention heads and test samples.
Statistical significance verification:Paired two-tailed t-tests and Wilcoxon signed-rank tests were performed on the subject-by-subject accuracy of 15 participants. The t-test results were: t = 12.43, p < 0.001,Cohen's d = 3.21, 95% CI [26.37%, 37.37%]; the Wilcoxon test results were: p < 0.001 (α = 0.05). The proposed method consistently outperformed the baseline on all 15 participants (Fig 9), with highly statistically significant differences. Excluding random factors, this confirms the reliable improvement capability of the method.
To further visually demonstrate the overall performance distribution and stability of the proposed method at the subject level, Fig 10 presents the distribution of within-subject accuracy for 15 participants in the form of a box plot, with scatter jitter overlaid to reflect individual differences. It can be seen that the accuracy distribution of the proposed method is generally shifted upward, with both the median and mean higher than the baseline, and the majority of participants’ accuracy concentrated in the higher range. This is consistent with the per-subject improvement trend shown in Fig 9 and the results of the paired tests, further indicating that the performance improvement of this method is stable across subjects.
Left: baseline (47.78% ± 3.51%); Right: our method (79.65% ± 6.58%).
Discussion
Mechanism analysis of the advantage of multi-head CBA over pure spatial methods
Under the premise of sharing the same spatial backbone, the significant improvement of +31.87% can be attributed to the fundamental representational limitation of purely spatial GNN methods: by treating all frequency bands as equally weighted input channels, spatial-only models cannot adaptively leverage the complementary emotional information carried by distinct neural oscillation bands, a gap that MH-CBA is specifically designed to address.LGGNet [10] uses each frequency band as an equally weighted input dimension and propagates it through graph convolution, completely ignoring the differences in the identity of the frequency bands. The MH-CBA mechanism, on the other hand, explicitly weights the contribution of each frequency band based on the attention score calculated from the global spatial context (query vector Q), and achieving the adaptive effect of prioritizing the γ frequency band when dealing with fear stimuli and emphasizing the α frequency band when identifying neutral emotions, without the need for any manually designed frequency band-specific paths. These learned attention patterns are broadly consistent with established neurophysiological findings regarding frequency-band roles in affective processing, though it should be noted that attention weights reflect learned computational importance rather than direct neurophysiological evidence, and such observations should be interpreted with appropriate caution. The multi-head architecture ensures that the attention weights are calculated from 4 independent subspaces, effectively avoiding the risk of attention collapse and ensuring the complete and diverse expression of spectrum information.
It is worth noting that the setting of H = 4 in the MH-CBA module is not accidental. Cross-frequency coupling (CFC) theory in cognitive neuroscience posits that the brain employs multiple independent frequency interaction patterns when processing complex emotions (e.g., theta/gamma phase amplitude coupling for memory and emotion retrieval, and alpha/beta antagonism for attention regulation).
The visualizations in this paper further reveal that different attention heads have spontaneously learned distinct frequency preferences: for example, Head 1 assigns higher weights to the gamma band, while Head 3 assigns higher weights to the delta and alpha bands. These learned patterns are consistent with known frequency-band roles in affective processing as reported in the neuroscience literature, although such observations should be interpreted cautiously as computational findings rather than direct evidence of neurophysiological mechanisms. This multi-head mechanism effectively avoids the attention collapse that is easily triggered by a single-head mechanism.Unlike DGCNN [8] and RGNN [9], which operate exclusively in the spatial domain and treat frequency bands as static input channels, and unlike ASTDF-Net [29] which models spatial-temporal fusion without explicit cross-band interaction, MH-CBA specifically targets the adaptive modeling of inter-band dependencies in the frequency dimension, offering a complementary and orthogonal improvement to existing spatial modeling approaches.
The role of label smoothing in EEG emotion recognition
Although the + 4.76% gain from label smoothing is relatively small in absolute terms, it is significant in the current context. EEG sentiment annotation contains three types of inherent noise sources: (1) the intensity of the emotion experienced by the subjects does not perfectly match the expected emotion; (2) the temporal boundaries of the emotional state during video segment transitions are blurred; and (3) semantically adjacent categories such as fear and sadness (both of which have negative valence) share a large amount of overlapping neural activity [15]. Label smoothing, by generating a better calibrated output distribution [16,18], demonstrates stronger generalization ability under unavoidable test set label ambiguity, confirming the high compatibility of this technology with the characteristics of EEG sentiment computing scenarios.By discouraging overconfident predictions on hard labels, label smoothing implicitly forces the model to maintain non-trivial probability mass on semantically adjacent categories, which better reflects the inherent uncertainty in affective annotation and leads to improved generalization on ambiguous test samples.
Limitations and future work
Despite the encouraging results, several limitations of the present work should be acknowledged, each pointing to concrete directions for future research.
The ultimate challenge of subject-independent (SI) generalization. This paper currently mainly validates the model under the subject-dependent (SD) protocol. It must be pointed out that due to the extreme subjectivity of human emotional experience and the inter-subject variability caused by cortical folding [34,35], constructing a zero-shot global generalized emotion model remains the ultimate challenge in the entire BCI field. The SD paradigm of this paper should be regarded as the key cornerstone of “high-precision personalized BCI Calibration.” After clarifying that MH-CBA can greatly improve the purity of individual emotional representation, future work will naturally extend to cross-subject domains: that is, to couple the proposed frequency domain attention module with domain adversarial neural networks (DANN) or manifold alignment technology, in order to retain this pure frequency domain emotional dynamics while stripping away the subject identity features.
There may be sample dependence in the frame-level evaluation. In this study, a frame-based subject-dependent evaluation scheme was adopted, and the reported results should be interpreted within the framework of the adopted evaluation scheme. Future research will further employ evaluation methods that are not dependent on experiments to verify the model and to more rigorously assess its generalization ability.
Lack of temporal evolution dynamics. The current model treats each time frame as an independent static snapshot, which to some extent ignores the dynamic temporal evolution of emotional state during the duration of the trial [36]. Introducing recurrent modeling (such as Bi-LSTM) or temporal self-attention mechanism at the output of MH-CBA is expected to capture long-term temporal dependence and further improve performance.
Validation of stimulus paradigm diversity. Although this paper has cross-validated the strong generalization ability and robustness of the proposed mechanism on the SEED-IV (four-class classification) and SEED (three-class classification) datasets, these data are all based on the video evoked paradigm.Future evaluation on datasets with different acquisition protocols and emotional paradigms, such as DEAP [37] and MAHNOB-HCI [38], will provide more comprehensive evidence regarding the generalizability of the proposed framework.
Additionally, the effectiveness of MH-CBA may be reduced under the following conditions: (1) when EEG recordings have low signal quality or high noise levels, the cross-band attention weights may capture noise-driven rather than emotion-driven inter-band patterns; (2) when the number of available training samples per subject is very small, the multi-head attention mechanism may be prone to overfitting due to its additional parameters; and (3) in emotion recognition tasks where temporal dynamics within trials are highly discriminative, the current frame-level modeling approach may fail to capture the sequential evolution of emotional states, limiting the contribution of frequency-domain attention.
First, the present study focuses on the subject-dependent (SD) protocol, in which training and testing data are drawn from the same subject. We acknowledge that subject-independent (SI) evaluation—particularly leave-one-subject-out (LOSO) cross-validation—represents a more stringent and practically meaningful benchmark for real-world BCI deployment. The focus on SD evaluation is motivated by the need to rigorously isolate the contribution of the proposed MH-CBA mechanism under controlled conditions, free from the confounding influence of inter-subject EEG variability. Notably, the experiment on SEED provides partial evidence of generalizability, with a consistent accuracy improvement and a reduction in cross-subject standard deviation from ±19.44% to ±11.92%. Future work will extend the proposed framework to the SI setting by integrating MH-CBA with domain adaptation techniques such as adversarial training or hybrid adaptive graph learning, representing a natural and high-priority direction for subsequent research.
Furthermore, it should be noted that both SEED-IV and SEED datasets share similar EEG acquisition protocols and video-evoked experimental paradigms. The current evidence therefore reflects generalizability within a similar data acquisition context rather than across fundamentally different paradigms. Evaluation on datasets such as DEAP and MAHNOB-HCI, which employ different stimuli and affective dimensions, remains an important direction for future work to more rigorously assess the broad applicability of the proposed method.
Conclusion
This paper proposes a novel framework for EEG emotion recognition, systematically addressing the long-neglected key issue of cross-band interaction modeling. The core contribution—the Multi-Head Cross-Band Attention (MH-CBA) mechanism—provides a principled data-driven approach for adaptive spectral fusion by parallel computation of multi-attention head subspaces across five neural oscillation bands. Integrated into the LGGNet spatial backbone and combined with label smoothing regularization training, the proposed method achieves 79.65% ± 6.58% accuracy (within-subject protocol) on the SEED-IV four-class classification benchmark, representing a 31.87% absolute improvement over the baseline. Ablation and sensitivity analyses confirm the effectiveness and robustness of each design choice; attention weight visualization reveals neurophysiologically interpretable spectral preferences across emotion categories, providing interpretability support at the model behavior level beyond performance metrics. More importantly, MH-CBA exhibits excellent lightweight and plug-and-play properties. A substantial improvement of up to 31.87% was achieved by introducing only a tiny 38.0% parameter increment (approximately 24448) with almost no increase in inference latency. This favorable parameter efficiency not only confirms the high purity of the proposed module in extracting frequency domain features, but also provides a highly practical architectural paradigm for deploying wearable real-time brain-computer interface systems on edge devices.This paper argues that explicit frequency domain attention modeling represents a promising research direction in EEG affective computing. While the proposed MH-CBA framework demonstrates encouraging results on SEED-IV and SEED datasets, broader validation on datasets with diverse acquisition protocols and emotional paradigms is needed before drawing conclusions regarding its general applicability.
References
- 1. Chen Y, Peng Y, Tang J, Camilleri T, Camilleri K, Kong W, et al. EEG-based affective brain-computer interfaces: Recent advancements and future challenges. J Neural Eng. 2025;22(3):10.1088/1741-2552/ade290. pmid:40490007
- 2. Chen H, Li J, He H, Zhu J, Sun S, Li X, et al. Toward the construction of affective brain-computer interface: A systematic review. ACM Comput Surv. 2025;57(6):1–56.
- 3. Liu Y, Xue W, Yang L, Li M. Deep learning-based EEG emotion recognition: A review. Brain Sci. 2025;16(1):41. pmid:41594762
- 4. Li X, Zhang Y, Tiwari P, Song D, Hu B, Yang M, et al. EEG based emotion recognition: A tutorial and review. ACM Comput Surv. 2022;55(4):1–57.
- 5. Yang K, Tong L, Shu J, Zhuang N, Yan B, Zeng Y. High gamma band EEG closely related to emotion: Evidence from functional network. Front Hum Neurosci. 2020;14:89. pmid:32265674
- 6. Kim H, Seo P, Choi JW, Kim KH. Emotional arousal due to video stimuli reduces local and inter-regional synchronization of oscillatory cortical activities in alpha- and beta-bands. PLoS One. 2021;16(7):e0255032. pmid:34297738
- 7. Rahman SMA, Khalil MI, Zhou H, Ding Z, Guo Y. Exploring physical and functional EEG connectivity with multilayer graph transformer convolutional networks for emotion recognition. Front Hum Neurosci. 2026;19:1715410. pmid:41601606
- 8. Song T, Zheng W, Song P, Cui Z. EEG emotion recognition using dynamical graph convolutional neural networks. IEEE Trans Affective Comput. 2020;11(3):532–41.
- 9. Zhong P, Wang D, Miao C. EEG-based emotion recognition using regularized graph neural networks. IEEE Trans Affective Comput. 2022;13(3):1290–301.
- 10. Ding Y, Robinson N, Tong C, Zeng Q, Guan C. LGGNet: Learning from local-global-graph representations for brain-computer interface. IEEE Trans Neural Netw Learn Syst. 2024;35(7):9773–86. pmid:37021989
- 11. Wang W. Brain network features based on theta-gamma cross-frequency coupling connections in EEG for emotion recognition. Neurosci Lett. 2021;761:136106. pmid:34252515
- 12. Canolty RT, Knight RT. The functional role of cross-frequency coupling. Trends Cogn Sci. 2010;14(11):506–15. pmid:20932795
- 13. Li X, Song D, Zhang P, Zhang Y, Hou Y, Hu B. Exploring EEG features in cross-subject emotion recognition. Front Neurosci. 2018;12:162. pmid:29615853
- 14. Chen W, Liao Y, Dai R, Dong Y, Huang L. EEG-based emotion recognition using graph convolutional neural network with dual attention mechanism. Front Comput Neurosci. 2024;18:1416494. pmid:39099770
- 15. Zheng W-L, Zhu J-Y, Lu B-L. Identifying stable patterns over time for emotion recognition from EEG. IEEE Trans Affective Comput. 2019;10(3):417–29.
- 16.
Szegedy C, Vanhoucke V, Ioffe S. Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE conference on computer vision and pattern recognition, 2016. 2818–26.
- 17. Müller R, Kornblith S, Hinton GE. When does label smoothing help?. Advances in Neural Information Processing Systems. 2019;32.
- 18.
Duan RN, Zhu JY, Lu BL. Differential entropy feature for EEG-based emotion classification. In: 2013 6th International IEEE/EMBS Conference on Neural Engineering (NER), 2013. 81–4.
- 19.
Shi LC, Jiao YY, Lu BL. Differential entropy feature for EEG-based vigilance estimation. In: 2013 35th annual international conference of the IEEE engineering in medicine and biology society (EMBC), 2013. 6627–30.
- 20. Wei-Long Z, Bao-Liang L. Investigating critical frequency bands and channels for EEG-based emotion recognition with deep neural networks. IEEE Trans Auton Mental Dev. 2015;7(3):162–75.
- 21. Song T, Zheng W, Liu S, Zong Y, Cui Z, Li Y. Graph-embedded convolutional neural network for image-based EEG emotion recognition. IEEE Trans Emerg Topics Comput. 2022;10(3):1399–413.
- 22. Gong L, Li M, Zhang T, Chen W. EEG emotion recognition using attention-based convolutional transformer neural network. Biomedical Signal Processing and Control. 2023;84:104835.
- 23. Chen C, Li Z, Wan F, Xu L, Bezerianos A, Wang H. Fusing frequency-domain features and brain connectivity features for cross-subject emotion recognition. IEEE Trans Instrum Meas. 2022;71:1–15.
- 24. Wu S, He X, Zheng H, Wan F, Chen C, Wang H. STPA-Net: Integrating spatio-temporal convolutional, multi-scale feature pyramid, and multi-attention mechanisms for EEG-based emotion decoding. Biomedical Signal Processing and Control. 2026;119:109856.
- 25. Wang H, Yuan Z, Zhang H, Wan F, Li Y, Xu T. Hybrid EEG-fNIRS decoding with dynamic graph convolutional-capsule networks for motor imagery/execution. Biomedical Signal Processing and Control. 2025;104:107570.
- 26. Yan H, Zhou Z, He X. Dynamic graph-temporal convolutional neural network for EEG-fNIRS multimodal motor imagery/execution decoding. Control Theory and Applications. 2024;36(4):1–8.
- 27. Gong P, Ai L. Neighborhood adaptive graph convolutional network for node classification. IEEE Access. 2019;7:170578–88.
- 28. Gong P, Wang P, Zhou Y, Zhang D. A spiking neural network with adaptive graph convolution and LSTM for EEG-based brain-computer interfaces. IEEE Trans Neural Syst Rehabil Eng. 2023;31:1440–50. pmid:37027669
- 29.
Gong P, Jia Z, Wang P, Zhou Y, Zhang D. ASTDF-Net: Attention-Based Spatial-Temporal Dual-Stream Fusion Network for EEG-Based Emotion Recognition. In: Proceedings of the 31st ACM International Conference on Multimedia, 2023. 883–92. https://doi.org/10.1145/3581783.3612208
- 30. Gong P, Wang P, Zhou Y, Wen X, Zhang D. TFAC-Net: A temporal-frequential attentional convolutional network for driver drowsiness recognition with single-channel EEG. IEEE Trans Intell Transport Syst. 2024;25(7):7004–16.
- 31. Huang X, Zhou N, Choi K-S. A generalizable and discriminative learning method for deep EEG-based motor imagery classification. Front Neurosci. 2021;15:760979. pmid:34744622
- 32. Wei J, Liu H, Liu T. To smooth or not? When label smoothing meets noisy labels. Journal. 2021.
- 33. Gong P, Zhou Y, Huang S, Wang P, Zhang D. TAHAG: Two-stage domain adaptation with hybrid adaptive graph learning for EEG emotion recognition. IEEE Trans Affective Comput. 2025;16(4):2748–61.
- 34. Zheng W, Lu B. Personalizing EEG-based affective models with transfer learning. Proceedings of the AAAI Conference on Artificial Intelligence. 2016.
- 35. Zhang T, Zheng W, Cui Z, Zong Y, Li Y. Spatial-temporal recurrent neural network for emotion recognition. IEEE Trans Cybern. 2019;49(3):839–47. pmid:29994572
- 36. Hilali M, Ezzati A, Ben Alla S, El Badaoui A. An interpretable residual spatio-temporal graph attention network for multiclass emotion recognition from EEG. Signals. 2026;7(1):16.
- 37. Koelstra S, Muhl C, Soleymani M, Jong-Seok Lee, Yazdani A, Ebrahimi T, et al. DEAP: A database for emotion analysis; using physiological signals. IEEE Trans Affective Comput. 2012;3(1):18–31.
- 38. Soleymani M. A multimodal database for affect recognition and implicit tagging. IEEE Transactions on Affective Computing. 2012;3(1):42–55.

관련 뉴스