<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Psychiatry</journal-id>
<journal-title>Frontiers in Psychiatry</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Psychiatry</abbrev-journal-title>
<issn pub-type="epub">1664-0640</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fpsyt.2025.1494369</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Psychiatry</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Identifying relevant EEG channels for subject-independent emotion recognition using attention network layers</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Valderrama</surname>
<given-names>Camilo E.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/431886"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Sheoran</surname>
<given-names>Anshul</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2753556"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Applied Computer Science, University of Winnipeg</institution>, <addr-line>Winnipeg, MB</addr-line>, <country>Canada</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Community Health Sciences, Cumming School of Medicine, University of Calgary</institution>, <addr-line>Calgary, AB</addr-line>, <country>Canada</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Panagiotis Tzirakis, Hume AI, United States</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Jiahui Pan, South China Normal University, China</p>
<p>Konstantinos Barmpas, Imperial College London, United Kingdom</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Camilo E. Valderrama, <email xlink:href="mailto:c.valderrama@uwinnipeg.ca">c.valderrama@uwinnipeg.ca</email>
</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>02</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>16</volume>
<elocation-id>1494369</elocation-id>
<history>
<date date-type="received">
<day>10</day>
<month>09</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>08</day>
<month>01</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Valderrama and Sheoran</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Valderrama and Sheoran</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<sec>
<title>Background</title>
<p>Electrical activity recorded with electroencephalography (EEG) enables the development of predictive models for emotion recognition. These models can be built using two approaches: subject-dependent and subject-independent. Although subject-independent models offer greater practical utility compared to subject-dependent models, they face challenges due to the significant variability of EEG signals between individuals. </p>
</sec>
<sec>
<title>Objective</title>
<p>One potential solution to enhance subject-independent approaches is to identify EEG channels that are consistently relevant across different individuals for predicting emotion. With the growing use of deep learning in emotion recognition, incorporating attention mechanisms can help uncover these shared predictive patterns.</p>
</sec>
<sec>
<title>Methods</title>
<p>This study explores this method by applying attention mechanism layers to identify EEG channels that are relevant for predicting emotions in three independent datasets (SEED, SEED-IV, and SEED-V). </p>
</sec>
<sec>
<title>Results</title>
<p>The model achieved average accuracies of 79.3% (CI: 76.0-82.5%), 69.5% (95% CI: 64.2-74.8%) and 60.7% (95% CI: 52.3-69.2%) on these datasets, revealing that EEG channels located along the head circumference, including <italic>Fp</italic>
<sub>1</sub>, <italic>Fp</italic>
<sub>2</sub>, <italic>F</italic>
<sub>7</sub>, <italic>F</italic>
<sub>8</sub>, <italic>T</italic>
<sub>7</sub>, <italic>T</italic>
<sub>8</sub>, <italic>P</italic>
<sub>7</sub>, <italic>P</italic>
<sub>8</sub>, <italic>O</italic>
<sub>1</sub>, and <italic>O</italic>
<sub>2</sub>, are the most crucial for emotion prediction. </p>
</sec>
<sec>
<title>Conclusion</title>
<p>These results emphasize the importance of capturing relevant electrical activity from these EEG channels, thereby facilitating the prediction of emotions evoked by audiovisual stimuli in subject-independent approaches.</p>
</sec>
</abstract>
<kwd-group>
<kwd>emotion recognition</kwd>
<kwd>electroencephalogram</kwd>
<kwd>affective computing</kwd>
<kwd>deep learning</kwd>
<kwd>attention mechanism</kwd>
<kwd>EEG signal processing</kwd>
</kwd-group>
<counts>
<fig-count count="10"/>
<table-count count="8"/>
<equation-count count="10"/>
<ref-count count="54"/>
<page-count count="18"/>
<word-count count="9102"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Digital Mental Health</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>Detecting emotions via electroencephalography (EEG) offers an objective method for quantifying emotional states, as individuals cannot consciously control their EEG signals like they can their facial expressions, body posture, or speech (<xref ref-type="bibr" rid="B1">1</xref>). This objectivity in measuring emotions can be valuable in various fields as it provides the opportunity to respond to someone&#x2019;s emotional state, rather than the subjective body language. For instance, measuring emotional states can aid in diagnosing and treating mental disorders in healthcare, evaluating student engagement in education, and assessing customer reactions to advertisements in market research (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>).</p>
<p>The emotion recognition process involves extracting features from EEG signals to train artificial intelligence (AI) models to associate these features with distinct emotions. There are two different approaches to build models that recognize emotions from EEGs: subject-dependent and subject-independent. The subject-dependent approach trains and tests the emotion recognition models using EEG signals from the same individuals. In contrast, the subject-independent approach uses different individuals for training and testing. Models trained using the subject-independent approach are more practical, as new users can use them without requiring retraining (<xref ref-type="bibr" rid="B4">4</xref>). However, subject-independent models often yield lower performance than subject-dependent models due to the high variability in EEG signals among individuals (<xref ref-type="bibr" rid="B5">5</xref>&#x2013;<xref ref-type="bibr" rid="B8">8</xref>). This problem is known as the domain shift problem in the field of machine learning, which arises when the assumption that training and test sets share the same distribution is violated (<xref ref-type="bibr" rid="B9">9</xref>).</p>
<p>The domain shift problem in EEG signals arises from the significant variability in brain signals among individuals. Consequently, the patterns learned from the training set often fail to generalize effectively to new individuals, resulting in reduced predictive performance. Previous studies have addressed this issue using the adversarial neural network approach, specifically the Domain-Adversarial Neural Network (DANN) (<xref ref-type="bibr" rid="B10">10</xref>). DANN aims to extract features that not only facilitate accurate task classification but are also invariant between the training and test sets (i.e., the source and target domains). Building on this idea, &#xd6;zdenizci et&#xa0;al. (<xref ref-type="bibr" rid="B11">11</xref>) demonstrated that an adversarial learning framework enhances EEG-based emotion recognition in cross-subject and cross-session classification tasks. Similarly, Barmpas et&#xa0;al. (<xref ref-type="bibr" rid="B12">12</xref>) showed that incorporating DANN with convolutional neural networks effectively addresses inter-subject variability in EEG signals, resulting in more robust predictive models.</p>
<p>In addition to DANN, a potential way to enhance subject-independent approaches is to identify EEG channels that are consistently relevant across different individuals for predicting emotion (<xref ref-type="bibr" rid="B4">4</xref>). However, as the current practice for emotion recognition relies on deep learning models, identifying relevant EEG channels is obscured by the low interpretability of deep learning models (<xref ref-type="bibr" rid="B13">13</xref>). This challenge can be addressed by incorporating layers within deep learning models that reveal the features driving the predictions. One such layer is the attention network layer (or &#x201c;attention mechanism&#x201d;), which has been effective in natural language processing (NLP) applications for identifying key words in text classification (<xref ref-type="bibr" rid="B14">14</xref>). Using a similar approach for subject-independent emotion recognition could help determine which features receive more attention from the deep learning model in predicting emotions across various individuals.</p>
<p>Previous studies have shown that attention layers in emotion recognition can enhance performance by capturing essential information from EEG signals. For instance, Arjun et&#xa0;al. (<xref ref-type="bibr" rid="B15">15</xref>) demonstrated that attention layers can improve emotion recognition performance by capturing essential information from EEG signals. Li et&#xa0;al. (<xref ref-type="bibr" rid="B16">16</xref>) used an attention layer to identify the most important EEG channels for feature extraction. Similarly, Feng et&#xa0;al. (<xref ref-type="bibr" rid="B17">17</xref>) applied attention network layers to assign weights to spatial-temporal features from EEG channels, extracting relevant patterns for emotion prediction. Although these studies have shown the benefits of attention mechanism layers, their focus has been mainly on enhancing prediction performance on subject-dependent approaches, thus relegating the interpretability aspect that the attention mechanism layer can offer.</p>
<p>Other studies have attempted to identify relevant EEG channels by analyzing energy distribution based on differential entropy (DE) features across the cortex (<xref ref-type="bibr" rid="B18">18</xref>&#x2013;<xref ref-type="bibr" rid="B22">22</xref>). According to these analyses, happy stimuli produce more activation in the temporal lobe, fearful emotions trigger lower activation in the occipital area, and neutral stimuli activate the parietal and frontal lobes (<xref ref-type="bibr" rid="B18">18</xref>). Additionally, happy stimuli tend to generate higher activation than other emotions, particularly in the temporal lobes (<xref ref-type="bibr" rid="B19">19</xref>, <xref ref-type="bibr" rid="B21">21</xref>). Regarding relevant brain areas, the lateral temporal lobe and the prefrontal lobe are more active than other areas for emotion regulation (<xref ref-type="bibr" rid="B20">20</xref>). However, these studies conducted their analyses prior to training deep learning models, thus overlooking the patterns that emerge during the training process. Since these learned patterns are crucial for emotion prediction, analyzing them post-training could provide valuable insights into identifying the most relevant EEG features.</p>
<p>Before the advent of deep learning models, feature selection techniques were employed to identify relevant EEG channels. Apicella et&#xa0;al. (<xref ref-type="bibr" rid="B23">23</xref>) reviewed 115 studies and found that channels <inline-formula>
<mml:math display="inline" id="im1">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <italic>F</italic>
<sub>3</sub>, and <italic>F</italic>
<sub>4</sub> are most relevant for detecting the valence of an emotion, while <italic>P</italic>
<sub>3</sub> and <italic>P</italic>
<sub>4</sub> are most informative for the arousal dimension. However, many of these studies used subject-dependent approaches, which limits the generalizability and reproducibility of their findings.</p>
<p>All these previous studies have contributed to identifying relevant EEG channels for emotion recognition. They have identified these EEG channels either by analyzing the feature distribution or by applying feature selection techniques to improve prediction performance. However, these studies also exhibit some limitations. Some have focused on analyzing features prior to training deep learning, thus ignoring the patterns learned by the models. Others have focused more on prediction rather than interpretation. Moreover, most of these studies have identified relevant channels using subject-dependent approaches. Therefore, there is still a need for more effort toward identifying relevant EEG channels in subject-independent settings. In a previous work (<xref ref-type="bibr" rid="B24">24</xref>), we showed that attention layers have the potential to identify relevant areas for emotion prediction. In this current study, we extend upon that by using a deep learning architecture containing attention network layers to dynamically weight spatial and temporal features based on their relevance for emotion prediction across individuals on three different datasets. The ultimate goal is to leverage attention mechanisms to identify EEG channel locations that contribute the most to emotion prediction.</p>
<p>The main contributions of this paper to EEG-based emotion recognition are summarized as follows:</p>
<list list-type="bullet">
<list-item>
<p>The use of attention mechanism layers to classify emotions across three independent datasets: SEED (<xref ref-type="bibr" rid="B25">25</xref>), SEED-IV (<xref ref-type="bibr" rid="B26">26</xref>), and SEED-V (<xref ref-type="bibr" rid="B27">27</xref>).</p>
</list-item>
<list-item>
<p>The analysis of the attention weights extracted by the attention layers to identify relevant EEG channels for emotion recognition.</p>
</list-item>
<list-item>
<p>Highlighting the critical role of EEG channels along the head circumference in predicting emotions elicited by audiovisual stimuli.</p>
</list-item>
</list>
</sec>
<sec id="s2" sec-type="materials|methods">
<label>2</label>
<title>Materials and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Datasets: SEED, SEED-IV and SEED-V</title>
<p>This study used EEG signals from three publicly available datasets, namely SEED (<xref ref-type="bibr" rid="B25">25</xref>), SEED-IV (<xref ref-type="bibr" rid="B26">26</xref>) and SEED-V (<xref ref-type="bibr" rid="B27">27</xref>). These datasets contain data collected from right-handed students aged 20 to 24 from the Shanghai Jiao Tong University, all of whom had normal hearing, vision, and a stable mental state.</p>
<p>In all the datasets, audiovisual stimuli were used to evoke different emotions. The targeted emotions in SEED were negative, neutral, and positive. For SEED-IV, the targeted emotions were happiness, neutrality, sadness, and fear, while SEED-V included the same four emotions plus disgust. While the subjects were watching the video clips, their EEG signals were recorded using 62 channels, positioned according to the 10/20 EEG system, with a sampling rate of 1000 Hz.</p>
<p>The SEED dataset (<xref ref-type="bibr" rid="B25">25</xref>) consists of data collected from 15 participants, of whom 8 were female. Each participant underwent three experimental sessions. During these sessions, EEG data was recorded as subjects watched 15 movie clips designed to elicit negative, neutral, and positive emotional responses. In total, 15 EEG signals were collected for each stimulus, resulting in 45 EEG signals for each participant.</p>
<p>The SEED-IV (<xref ref-type="bibr" rid="B26">26</xref>) dataset comprises EEG recordings of 15 subjects (eight female). Each subject participated in three sessions, in which they observed six video clips per emotion, resulting in 24 video clips per session. As a result, each subject watched 72 video clips after finishing the three sessions.</p>
<p>The SEED-V (<xref ref-type="bibr" rid="B27">27</xref>), on the other hand, encompasses data collected from 16 subjects. Each subject participated in three sessions, watching 15 movie clips in each session (three videos for each emotion). Thus, 45 were collected for each subject.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>EEG processing</title>
<p>To enhance computational efficiency, recorded EEG signals were downsampled to 200 Hz using an anti-aliasing decimation filter, ensuring a Nyquist frequency of 100 Hz. Then, to reduce noise and artifacts caused by blinking or muscular movements, the EEG signals were filtered using a Butterworth filter within the range of 0.5-50 Hz. The selection of this range was made to ensure the inclusion of brain frequency bands: delta (<italic>&#x3b4;</italic>: 0.5 &#x2212; 4 Hz), tetha (<italic>&#x3b8;</italic>: 4 &#x2212; 8 Hz), alpha (<italic>&#x3b1;</italic>: 8 &#x2212; 12 Hz), beta (<italic>&#x3b2;</italic>: 12 &#x2212; 30 Hz), and gamma (<italic>&#x3b3;</italic>: 30 &#x2212; 50 Hz).</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>EEG segmentation</title>
<p>The EEG signals were segmented into non-overlapping 4-second windows. This segmentation provided a frequency resolution of 0.25 Hz <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mn>4</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>s</mml:mtext>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, enabling the capture of two full cycles of the lowest frequency of interest in the delta band (0.5 Hz).</p>
<p>As the video clips in SEED, SEED-IV and SEED-V differed in duration, the number of 4-second segments obtained for each recording was different. <xref ref-type="table" rid="T1">
<bold>Tables&#xa0;1</bold>
</xref>&#x2013;<xref ref-type="table" rid="T3">
<bold>3</bold>
</xref> show the number of segments obtained for each recording in the datasets. In the SEED dataset, the number of 4-second segments per recording was 55.6 for the negative class, 54.8 for the neutral class, and 58 for the positive class. In the SEED-IV dataset, the average number of 4-second segments per recording was 38 for the neutral class, 38 for the sad class, 34 for the fear class, and 29 for the happy class. In the SEED-V dataset, the average number of 4-second segments per recording was 41 for the neutral class, 53 for the sad class, 41 for the fear class, 33 for the happy class, and 34 for the disgust class. The overall average number of 4-second segments per recording across all emotion classes was 56 in SEED, 34 in SEED-IV and 40 in SEED-V.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Number of 4-second segments extracted for each recording in the SEED dataset.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Recording</th>
<th valign="top" align="center">Negative</th>
<th valign="top" align="center">Neutral</th>
<th valign="top" align="center">Positive</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">48</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">66</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">48</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">66</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">11</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
</tr>
<tr>
<td valign="top" align="center">12</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">48</td>
</tr>
<tr>
<td valign="top" align="center">13</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">66</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">59</td>
</tr>
<tr>
<td valign="top" align="center">Mean</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">54.8</td>
<td valign="top" align="center">58</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Last row shows the average number of segments per emotion across all the recordings.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Number of 4-second segments extracted for each recording in the SEED-IV dataset.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Recording</th>
<th valign="top" align="center">Neutral</th>
<th valign="top" align="center">Sad</th>
<th valign="top" align="center">Fear</th>
<th valign="top" align="center">Happy</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">42</td>
<td valign="top" align="center">23</td>
<td valign="top" align="center">49</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">40</td>
<td valign="top" align="center">52</td>
<td valign="top" align="center">22</td>
<td valign="top" align="center">35</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">38</td>
<td valign="top" align="center">42</td>
<td valign="top" align="center">12</td>
<td valign="top" align="center">35</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">36</td>
<td valign="top" align="center">27</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">12</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">28</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">17</td>
<td valign="top" align="center">28</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">43</td>
<td valign="top" align="center">42</td>
<td valign="top" align="center">44</td>
<td valign="top" align="center">34</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">36</td>
<td valign="top" align="center">25</td>
<td valign="top" align="center">55</td>
<td valign="top" align="center">34</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">53</td>
<td valign="top" align="center">44</td>
<td valign="top" align="center">27</td>
<td valign="top" align="center">34</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">34</td>
<td valign="top" align="center">15</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">20</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">27</td>
<td valign="top" align="center">49</td>
<td valign="top" align="center">60</td>
<td valign="top" align="center">12</td>
</tr>
<tr>
<td valign="top" align="center">11</td>
<td valign="top" align="center">45</td>
<td valign="top" align="center">44</td>
<td valign="top" align="center">36</td>
<td valign="top" align="center">10</td>
</tr>
<tr>
<td valign="top" align="center">12</td>
<td valign="top" align="center">37</td>
<td valign="top" align="center">19</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">24</td>
</tr>
<tr>
<td valign="top" align="center">13</td>
<td valign="top" align="center">41</td>
<td valign="top" align="center">42</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">48</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">44</td>
<td valign="top" align="center">45</td>
<td valign="top" align="center">23</td>
<td valign="top" align="center">26</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">45</td>
<td valign="top" align="center">23</td>
<td valign="top" align="center">16</td>
<td valign="top" align="center">63</td>
</tr>
<tr>
<td valign="top" align="center">16</td>
<td valign="top" align="center">22</td>
<td valign="top" align="center">26</td>
<td valign="top" align="center">39</td>
<td valign="top" align="center">19</td>
</tr>
<tr>
<td valign="top" align="center">17</td>
<td valign="top" align="center">38</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">14</td>
<td valign="top" align="center">28</td>
</tr>
<tr>
<td valign="top" align="center">18</td>
<td valign="top" align="center">39</td>
<td valign="top" align="center">41</td>
<td valign="top" align="center">39</td>
<td valign="top" align="center">17</td>
</tr>
<tr>
<td valign="top" align="center">Mean</td>
<td valign="top" align="center">38</td>
<td valign="top" align="center">38</td>
<td valign="top" align="center">34</td>
<td valign="top" align="center">29</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Last row shows the average number of segments per emotion across all the recordings.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Number of 4-second segments extracted for each recording in the SEED-V dataset.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Recording</th>
<th valign="top" align="center">Neutral</th>
<th valign="top" align="center">Sad</th>
<th valign="top" align="center">Fear</th>
<th valign="top" align="center">Happy</th>
<th valign="top" align="center">Disgust</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">24</td>
<td valign="top" align="center">18</td>
<td valign="top" align="center">36</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">17</td>
<td valign="top" align="center">66</td>
<td valign="top" align="center">74</td>
<td valign="top" align="center">64</td>
<td valign="top" align="center">35</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">58</td>
<td valign="top" align="center">60</td>
<td valign="top" align="center">43</td>
<td valign="top" align="center">43</td>
<td valign="top" align="center">38</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">16</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">47</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">31</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">57</td>
<td valign="top" align="center">30</td>
<td valign="top" align="center">24</td>
<td valign="top" align="center">14</td>
<td valign="top" align="center">60</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">46</td>
<td valign="top" align="center">54</td>
<td valign="top" align="center">23</td>
<td valign="top" align="center">29</td>
<td valign="top" align="center">19</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">41</td>
<td valign="top" align="center">72</td>
<td valign="top" align="center">16</td>
<td valign="top" align="center">13</td>
<td valign="top" align="center">22</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">18</td>
<td valign="top" align="center">57</td>
<td valign="top" align="center">71</td>
<td valign="top" align="center">59</td>
<td valign="top" align="center">21</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">55</td>
<td valign="top" align="center">32</td>
<td valign="top" align="center">51</td>
<td valign="top" align="center">29</td>
<td valign="top" align="center">44</td>
</tr>
<tr>
<td valign="top" align="center">Mean</td>
<td valign="top" align="center">41</td>
<td valign="top" align="center">53</td>
<td valign="top" align="center">41</td>
<td valign="top" align="center">33</td>
<td valign="top" align="center">34</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Last row shows the average number of segments per emotion across all the recordings.</p>
</fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>Spectral features</title>
<p>For each 4-second window segment, the power spectrum density (PSD) was computed using the Hilbert-Huang Transform (HHT). The HHT was selected over other transformations, such as the Fourier and Discrete Wavelet, because, as we previously showed, HHT can better handle the non-linear and nonstationary characteristics of EEG for emotion recognition (<xref ref-type="bibr" rid="B28">28</xref>).</p>
<p>The PSD was computed for each EEG channel, covering the frequency range from 0 to 50 Hz. Consequently, each 4-second window produced a 2D structure with dimensions 62&#xd7;50. The first dimension (rows) represented the 62 EEG channels, while the second dimension (columns) represented the frequency values, ranging from 0.5 Hz to 49.5 Hz with a 1 Hz step.</p>
<p>To facilitate the training of the deep learning model, the 2D structures corresponding to the same video clips were stacked, forming a three-dimensional structure. The first dimension of this structure represented the number of concatenated matrices (i.e., the number of 4-second segments per video clip), while the other two dimensions represented the EEG channels and frequency values. Since the number of 4-second segments varied across recordings (see <xref ref-type="table" rid="T1">
<bold>Tables&#xa0;1</bold>
</xref>&#x2013;<xref ref-type="table" rid="T3">
<bold>3</bold>
</xref>), zero-padding was applied to equalize the dimensions of all 3D structures. As a result, structures of dimensions 66 &#xd7; 62 &#xd7; 50 for SEED, 63 &#xd7; 62 &#xd7; 50 for SEED-IV and 74 &#xd7; 62 &#xd7; 50 for SEED-V were obtained for each video clip.</p>
<p>After calculating the spectrum tensors for each video, the tensors for the same subject were concatenated. This resulted in a four-dimensional tensor for each subject, with dimensions of (45, 66, 62, 50) for SEED-IV, (72, 63, 62, 50) for SEED-IV and (45, 74, 62, 50) for SEED-V. The first dimension represented the number of video clips for each dataset. Each of these tensors was assigned a class label corresponding to the emotion associated with the video clip. The datasets were balanced, with 15 tensors per emotion in SEED, 18 tensors in SEED-IV and nine tensors per emotion in SEED-V.</p>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>Emotion recognition model</title>
<p>
<xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref> shows the architecture of the deep learning models used to predict the behavior emotions from the spectral features. The input of this model had dimensions (<italic>B, w</italic>, 62, 50), where <italic>B</italic> is the batch size, <italic>w</italic> is the number of windows, 62 is the number of channels, and 50 is the number of frequencies. For SEED, <italic>w</italic> was 66, for SEED-IV, <italic>w</italic> was 63, and for SEED-V, <italic>w</italic> was 74. The batch size, <italic>B</italic>, was set to 64 for both datasets.</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>Emotion recognition model diagram. The input features are 4-dimensional tensors of shape (<italic>B, w</italic>, 62, 50), where <italic>B</italic> is the batch size, <italic>w</italic> is the number of windows (63 for SEED-IV and 74 for SEEDV), 62 is the number of EEG channels, and 50 is the frequency range. <italic>C</italic> denotes the number of emotion classes: 4 for SEED-IV and 5 for SEED-V. The attention layers, marked &#x2217; and # are where spatial and temporal attention weights are extracted, respectively. The model was trained using the DANN approach, where the extracted features were fed into both domain and emotion prediction models.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g001.tif"/>
</fig>
<p>The deep learning model consisted of three modules. The first module aimed to further process the initial spectral features using self-attention layers to emphasize the frequencies and EEG channels that contribute the most to emotion prediction. The second module extracted spatial features using a graph neural layer (GNL), whereas the third module focused on extracting temporal features using a bidirectional long short-term memory (BI-LSTM) layer. To assess the relevance of the spatial and temporal features extracted by the GNL and BI-LSTM, these modules incorporated attention network layers after feature extraction.</p>
<p>To address the domain shift problem common in subject-independent emotion recognition, the deep learning model was trained using the domain adversarial neural network (DANN) approach. The DANN label predictor used the extracted spatial-temporal variables to predict the different emotions, while the DANN domain classifier used those features to distinguish between the training (source) and non-training (target) samples, attempting to find domain-invariant features for emotion prediction.</p>
<sec id="s2_5_1">
<label>2.5.1</label>
<title>Spectral processing</title>
<p>In the first module, we focused on emphasizing the spectral and spatial elements present in the power spectrum information of the input features. As the temporal dimension was not necessary at this point, we reshaped the input into a three-dimensional tensor of shape (<italic>B</italic> &#xd7; <italic>w</italic>, 62, 50) by stacking the samples along the batch dimension, thereby preserving the EEG node and frequency dimensions of each tensor.</p>
<p>To further process the spectral information contained in the input tensors, we used two self-attention mechanism layers to compute the similarity between EEG channels based on their frequency values. The first self-attention layer aimed to enhance the frequency values by considering the correlation between EEG channels as follows:</p>
<disp-formula id="eq1">
<label>(1)</label>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mi>X</mml:mi>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im4">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was computed as <inline-formula>
<mml:math display="inline" id="im5">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>X</mml:mi>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mn>50</mml:mn>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, indicating the correlation scores between each pair of EEG channels. <italic>R</italic> was an enhanced matrix in which the <italic>j</italic>-th frequency of the <italic>i</italic>-th EEG channel corresponded to the linear combination of the attention weights of the <italic>i</italic>-th EEG channel and the initial values for the <italic>j</italic>-th frequency across all EEG channels.</p>
<p>The second self-attention mechanism layer operated on the transpose of the spectral information to enhance the information of each EEG channel based on the correlation between frequencies. This was computed as follows:</p>
<disp-formula id="eq2">
<label>(2)</label>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:mi>Q</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>q</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>q</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>y</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was computed as <inline-formula>
<mml:math display="inline" id="im7">
<mml:mrow>
<mml:mi>s</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mn>62</mml:mn>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, indicating the correlation scores between each pair of frequencies. <italic>Q</italic> was an enhanced matrix in which the new values of the <italic>j</italic>-th frequency values of <italic>i</italic>-th EEG channel corresponded to the linear combination of the frequency weight scores and the initial frequency values of the <italic>i</italic>-th channel.</p>
<p>To promote stability during training, the inputs were first processed through a normalization layer before being fed into the self-attention layers. This normalization step helps keep the input feature distribution consistent. Furthermore, the output from the self-attention layers was combined with the original input, ensuring that the model preserved crucial information while improving feature representation and maintaining stability.</p>
<p>The outputs of the two self-attention mechanism layers were fused using an addition layer, as:</p>
<disp-formula id="eq3">
<label>(3)</label>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:mi>Z</mml:mi>
<mml:mo>=</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>X</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi>Q</mml:mi>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:msup>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>This fusion allow us to autonomously learn and refine the feature representations extracted by the HTT transform.</p>
</sec>
<sec id="s2_5_2">
<label>2.5.2</label>
<title>Spatial feature module</title>
<p>The second module used a GNL to correlate the spectral features of the EEG channels based on their location, thus generating spatial features. This was achieved as follows:</p>
<disp-formula id="eq4">
<label>(4)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>E</mml:mi>
<mml:mi>L</mml:mi>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mi>Z</mml:mi>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im8">
<mml:mi>S</mml:mi>
</mml:math>
</inline-formula> was the adjacency matrix defined as <inline-formula>
<mml:math display="inline" id="im9">
<mml:mrow>
<mml:mi>S</mml:mi>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mover accent="true">
<mml:mi>D</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:msup>
<mml:mover accent="true">
<mml:mi>A</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:msup>
<mml:mover accent="true">
<mml:mi>D</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula>
<mml:math display="inline" id="im10">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>A</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mo>=</mml:mo>
<mml:mi>A</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im11">
<mml:mover accent="true">
<mml:mi>D</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula> is the degree matrix defined as <inline-formula>
<mml:math display="inline" id="im12">
<mml:mrow>
<mml:mover accent="true">
<mml:mi>D</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>j</mml:mi>
</mml:msub>
<mml:mover accent="true">
<mml:mi>A</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>. Here, <inline-formula>
<mml:math display="inline" id="im13">
<mml:mi>I</mml:mi>
</mml:math>
</inline-formula> represents the identity matrix, and <inline-formula>
<mml:math display="inline" id="im14">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula> is a 62-by-62 matrix, with each row and column corresponding to an EEG channel. The diagonal entries of <inline-formula>
<mml:math display="inline" id="im15">
<mml:mi>A</mml:mi>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im16">
<mml:mrow>
<mml:msub>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, are set to 0, while the off-diagonal entries, <inline-formula>
<mml:math display="inline" id="im17">
<mml:mrow>
<mml:msub>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, are set to the inverse of the Euclidean distance between the <inline-formula>
<mml:math display="inline" id="im18">
<mml:mi>i</mml:mi>
</mml:math>
</inline-formula>-th and <inline-formula>
<mml:math display="inline" id="im19">
<mml:mi>j</mml:mi>
</mml:math>
</inline-formula>-th EEG channels. <inline-formula>
<mml:math display="inline" id="im20">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is a dense layer consisting of 128 units, using the ELU (Exponential Linear Unit) activation function.</p>
<p>The features extracted by the GNL were fed into an attention mechanism layer, aiming to identify the EEG channels whose features contributed the most to the prediction. Specifically, assuming that <inline-formula>
<mml:math display="inline" id="im21">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represents the feature vector of the <italic>k</italic>-th EEG channel at the <italic>s</italic>-th sample, the attention layer <italic>G<sub>b</sub>
</italic>(&#xb7;<italic>,&#x3c9;<sub>b</sub>
</italic>) projected <inline-formula>
<mml:math display="inline" id="im22">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> into a hyperbolic space <inline-formula>
<mml:math display="inline" id="im23">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. Next, <inline-formula>
<mml:math display="inline" id="im24">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was fed into a softmax activation function to determine the normalized importance weight for each EEG channel, denoted as <inline-formula>
<mml:math display="inline" id="im25">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. These weights were then used to compute the context vector of EEG channel <italic>v<sub>k,s</sub>
</italic> as:</p>
<disp-formula id="eq5">
<label>(5)</label>
<mml:math display="block" id="M5">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mtext>tanh</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mtext>exp</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:msubsup>
<mml:mo>&#xb7;</mml:mo>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mtext>exp</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mi>T</mml:mi>
</mml:msubsup>
<mml:mo>&#xb7;</mml:mo>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>b</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>Each vector <italic>v<sub>k,s</sub>
</italic> had dimension 128. All the <italic>v<sub>k,s</sub>
</italic> vectors were arranged into a tensor <italic>V</italic> of dimensions (<italic>B</italic> &#xd7; <italic>w</italic>, 62, 128).</p>
</sec>
<sec id="s2_5_3">
<label>2.5.3</label>
<title>Temporal processing</title>
<p>To capture the variation of the extracted GNL features across time, the last stage used a BI-LSTM. To that aim, first we reshaped the dimensions of <italic>V</italic> from (<italic>B</italic> &#xd7; <italic>w</italic>, 62, 128) to (<italic>B, w</italic>, 62 &#xd7; 128), where <italic>w</italic> was 63 for SEED-IV and 74 for SEED-V. This reshaping allowed the features to be allocated in a temporally ascending order along the second dimension.</p>
<p>The number of units of the BI-LSTM was set to 64 units. As a result, the output of BI-LSTM had dimensions (<italic>B, w</italic>, 128), where 128 corresponds to the concatenation of 64 units from the forward LSTM and 64 units from the backward LSTM. This output encapsulates temporal information from both past and future contexts, making it highly informative for subsequent prediction tasks.</p>
<p>To identify the most relevant temporal features for emotion prediction, the outputs of the BI-LSTM were also fed into an attention layer (<italic>G<sub>a</sub>
</italic>(&#xb7;<italic>,&#x3c9;<sub>a</sub>
</italic>)), computing an attention weight <inline-formula>
<mml:math display="inline" id="im26">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and the final vector <italic>t</italic> as:</p>
<disp-formula id="eq6">
<label>(6)</label>
<mml:math display="block" id="M6">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mtext>exp</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>T</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mtext>exp</mml:mtext>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mi>w</mml:mi>
<mml:mi>T</mml:mi>
</mml:msubsup>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>a</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>t</mml:mi>
<mml:mo>=</mml:mo>
<mml:munder>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>w</mml:mi>
</mml:munder>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>g</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>where <italic>g<sub>w</sub>
</italic> corresponds to the Bi-LSTM output at the <italic>w<sub>th</sub>
</italic> segment, <inline-formula>
<mml:math display="inline" id="im27">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> was the attention weight for the <italic>w<sub>th</sub>
</italic> segment. The aggregated vectors <italic>t</italic> were arranged into a final tensor <italic>T</italic>, with dimensions (<italic>B</italic>,128).</p>
</sec>
<sec id="s2_5_4">
<label>2.5.4</label>
<title>Domain adversarial neuronal network</title>
<p>Finally, the final feature vector, <italic>T</italic>, was fed into the label and domain classifiers of the DANN architecture. The label classifier consisted of a dropout layer with a rate of 0.7, followed by fully connected and softmax layers. The dropout layer was employed to mitigate overfitting, which is a common issue in subject-independent approaches. The softmax layer had four units for SEED-IV and five for SEED-V, outputting the probability of each sample belonging to a specific class.</p>
<p>The domain classifier included a reverse layer, followed by a dense layer with a single unit and a sigmoid activation function. This binary output indicated whether the sample was from the source domain (training set; class &#x2018;0&#x2019;) or to the target domain (test set; class &#x2018;1&#x2019;).</p>
<p>Following the DANN principles (<xref ref-type="bibr" rid="B10">10</xref>), the model was trained using the loss function defined as:</p>
<disp-formula id="eq7">
<label>(7)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:mtable>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mi>&#x2112;</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munderover>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow></mml:mtd></mml:mtr>
<mml:mtr>
<mml:mtd columnalign="left">
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:munderover>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>+</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:munderover>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo></mml:mtd></mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im28">
<mml:mi>N</mml:mi>
</mml:math>
</inline-formula> was the total number of tensors, consisting of <inline-formula>
<mml:math display="inline" id="im29">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> source tensors (training set) and <inline-formula>
<mml:math display="inline" id="im30">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> target tensors (test set). The parameters <inline-formula>
<mml:math display="inline" id="im31">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im32">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im33">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the parameters of the feature extractor, emotion predictor, and domain predictor modules, respectively. <inline-formula>
<mml:math display="inline" id="im34">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im35">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> represent the loss functions for label and domain predictions, respectively. The adaptation parameter <inline-formula>
<mml:math display="inline" id="im36">
<mml:mi>&#x3bb;</mml:mi>
</mml:math>
</inline-formula> was adjusted throughoutthe training epochs as:</p>
<disp-formula id="eq8">
<label>(8)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mi>exp</mml:mi>
<mml:mo>&#xa0;</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>10</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im37">
<mml:mi>p</mml:mi>
</mml:math>
</inline-formula> was the training progress, which linearly varies from 0 to 1.</p>
<p>The parameters <inline-formula>
<mml:math display="inline" id="im38">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im39">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula>
<mml:math display="inline" id="im40">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> were optimized using the following gradient updates:</p>
<disp-formula id="eq9">
<label>(9)</label>
<mml:math display="block" id="M9">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>y</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2202;</mml:mo>
<mml:msub>
<mml:mi>&#x3c0;</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im41">
<mml:mi>&#x3b7;</mml:mi>
</mml:math>
</inline-formula> was the learning rate. For the <inline-formula>
<mml:math display="inline" id="im42">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, we used cross-entropy, whereas for the <inline-formula>
<mml:math display="inline" id="im43">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x2112;</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>, we used binary cross-entropy.</p>
</sec>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>Experiment details</title>
<sec id="s2_6_1">
<label>2.6.1</label>
<title>Excecution environment</title>
<p>The models were implemented in TensorFlow2.0 and Python 3.10.1. We used a Colab account with 8 Intel(R) Xeon(R) CPU cores @ 2.30GHz, 12.7 GB of RAM, and 107.7 GB of hard drive space. The DANN architecture was trained using stochastic gradient descent (SGD) with a learning rate of 0.01 and a total of 100 epochs.</p>
</sec>
<sec id="s2_6_2">
<label>2.6.2</label>
<title>Emotion prediction performance</title>
<p>To ensure a subject-independent approach, the model was evaluated using leave-one-out cross-validation (LOOCV). This means that during each iteration, samples from one subject were left out of the training process and used for testing instead.</p>
<p>For each iteration of the LOOCV, we calculated the performance for each emotion class using accuracy. Accuracy was determined by dividing the number of correctly predicted samples by the total number of samples in the class. The overall emotion accuracy was then computed as the average across all emotion classes.</p>
</sec>
<sec id="s2_6_3">
<label>2.6.3</label>
<title>Ablation study</title>
<p>To evaluate the impact of each component on emotion prediction, we conducted an ablation study by training the model while excluding individual components of the deep learning architecture illustrated in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>.</p>
</sec>
<sec id="s2_6_4">
<label>2.6.4</label>
<title>Average spatial and temporal attention weights for emotion</title>
<p>After training the model for each subject, the spatial (<inline-formula>
<mml:math display="inline" id="im44">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and temporal (<inline-formula>
<mml:math display="inline" id="im45">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) attention weights were extracted (see <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>). To visualize the spatial and temporal attention weights for each emotion class, we averaged these weights across subjects. This process aimed to identify EEG channels and 4-second segments with consistently higher values among subjects, thereby highlighting their relevance for emotion prediction. Specifically, for spatial attention, the attention weights of the <italic>k</italic>-th EEG channel at the <italic>s</italic>-th sample were averaged across all subjects (<inline-formula>
<mml:math display="inline" id="im46">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>; <xref ref-type="disp-formula" rid="eq5">Equation 5</xref>) for each emotion class. Similarly, for temporal attention, the attention weights at the <italic>w</italic>-th segment were averaged across all subjects (<inline-formula>
<mml:math display="inline" id="im47">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>; <xref ref-type="disp-formula" rid="eq6">Equation 6</xref>) for each emotion class.</p>
</sec>
<sec id="s2_6_5">
<label>2.6.5</label>
<title>Identifying relevant EEG channels</title>
<p>To identify the relevant EEG channels to distinguish among emotions, we conducted statistical hypothesis tests to find significant differences in the attention weights extracted at the same EEG channel between emotions. To that end, all the spatial attention weight vectors (<inline-formula>
<mml:math display="inline" id="im48">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3d5;</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and temporal (<inline-formula>
<mml:math display="inline" id="im49">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c8;</mml:mi>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) corresponding to the same emotion were extracted for each subject. This resulted in a structure &#x3a6; of dimensions (<italic>N<sub>e</sub>
</italic> &#xd7; <italic>w</italic>, 62) containing all the spatial attention weights, and a structure (&#x3a8;) of dimensions (<italic>N<sub>e</sub>, w</italic>) containing all the temporal attention weights, where (<italic>N<sub>e</sub>
</italic>) is the total number of videos belonging to the emotion.</p>
<p>To aggregate the attention weights of the EEG channels across time, we computed the weighted average of the spatial weights based on the temporal weights. First, (&#x3a6;) was reshaped to dimensions (<italic>N<sub>e</sub>, w</italic>, 62) to separate the spatial weights for each 4-second segment. The aggregated weight for the <italic>k</italic>-th EEG channel at the <italic>i</italic>-th video for emotion <italic>e</italic> was calculated as:</p>
<disp-formula id="eq10">
<label>(10)</label>
<mml:math display="block" id="M10">
<mml:mrow>
<mml:msubsup>
<mml:mi>&#x3c9;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
<mml:mi>e</mml:mi>
</mml:msubsup>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mover>
<mml:mi>W</mml:mi>
<mml:mi>&#xaf;</mml:mi>
</mml:mover>
</mml:mrow>
</mml:munderover>
<mml:msub>
<mml:mtext>&#x3a6;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#xb7;</mml:mo>
<mml:msub>
<mml:mtext>&#x3a8;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im50">
<mml:mrow>
<mml:msub>
<mml:mtext>&#x3a6;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and (<inline-formula>
<mml:math display="inline" id="im51">
<mml:mrow>
<mml:msub>
<mml:mtext>&#x3a8;</mml:mtext>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) represent the spatial and temporal weights, respectively, of the <italic>i</italic>-th video and the <italic>k</italic>-th EEG channel for the <italic>w</italic>-th segment and emotion <italic>e</italic>. <inline-formula>
<mml:math display="inline" id="im52">
<mml:mover accent="true">
<mml:mi>W</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula> was the number of average 4-second windows for the dataset (56 for SEED, 34 for SEED-IV and 40 for SEED-IV). The reason for using the average number of segments is to ensure a consistent and fair comparison across the different emotions, as not all the videos have the same 4-second segments (<xref ref-type="table" rid="T1">
<bold>Tables&#xa0;1</bold>
</xref>&#x2013;<xref ref-type="table" rid="T3">
<bold>3</bold>
</xref>). All aggregated vectors were arranged into a matrix &#x2126;<italic>
<sup>e</sup>
</italic> of dimensions (<italic>N<sub>e</sub>
</italic>, 62).</p>
<p>The aggregated vectors of the videos and subjects were arranged into a structure &#x2126;<italic>
<sup>e</sup>
</italic> of dimensions (<italic>subjects</italic> &#xd7; <italic>N<sub>e</sub>
</italic>, 62), where subjects were 15, 15, and 16 for SEED, SEED-IV, and SEED-V, respectively. To compare the activation patterns corresponding to each emotion, the overall weights of the EEG channels were analyzed using a two-sample Wilcoxon signed-rank test. This test assessed the null hypothesis that the distribution of the differences between the emotion pair <italic>e</italic>
<sub>1</sub> and <italic>e</italic>
<sub>2</sub> (e.g., sad vs. fear) was symmetric about zero, namely <inline-formula>
<mml:math display="inline" id="im53">
<mml:mrow>
<mml:msubsup>
<mml:mtext>&#x3a9;</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mtext>&#x3a9;</mml:mtext>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:msubsup>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>Given that three, six and ten possible emotion pairs were valid for SEED, SEED-IV and SEED-V, respectively, multiple hypothesis test were conducted. In detail, a total of 186, 372 and 620 comparisons were carried out for SEED, SEED-IV and SEED-V. To reduce false positive cases (Type I error), the p-values were adjusted using the Benjamini-Hochberg correction (<xref ref-type="bibr" rid="B29">29</xref>), setting the false-positive rate at 0.05.</p>
</sec>
</sec>
</sec>
<sec id="s3" sec-type="results">
<label>3</label>
<title>Results</title>
<sec id="s3_1">
<label>3.1</label>
<title>Emotion prediction</title>
<p>
<xref ref-type="table" rid="T4">
<bold>Tables&#xa0;4</bold>
</xref>&#x2013;<xref ref-type="table" rid="T6">
<bold>6</bold>
</xref> show the performance achieved by each subject for different emotions in the SEED, SEED-IV, and SEED-V datasets, respectively. For all the datasets, the model surpassed the chance level accuracy, which is 33% for SEED, 25% for SEED-IV, and 20% for SEED-V. Specifically, for SEED, the average performance across all the subjects was 79.3%. In SEED-IV, the average performance across all subjects exceeded 60% for all emotions, achieving an overall accuracy of 69.5%. In contrast, for the SEED-V dataset, the average emotion accuracy was above 50% for all emotions, with an overall accuracy of 60.7%.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>LOOCV performance for emotion classification in the SEED datataset for each subject and emotion class.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Subject</th>
<th valign="top" align="center">Negative (%)</th>
<th valign="top" align="center">Neutral (%)</th>
<th valign="top" align="center">Positive (%)</th>
<th valign="top" align="center">Overall (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">80.0</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">40.0</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">73.3</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">40.0</td>
<td valign="top" align="center">73.3</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">60.0</td>
<td valign="top" align="center">77.8</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">46.7</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">68.9</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">82.2</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">60.0</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">77.8</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">46.7</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">75.6</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">60.0</td>
<td valign="top" align="center">80.0</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">82.2</td>
</tr>
<tr>
<td valign="top" align="center">11</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">88.9</td>
</tr>
<tr>
<td valign="top" align="center">12</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">88.9</td>
</tr>
<tr>
<td valign="top" align="center">13</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">86.7</td>
<td valign="top" align="center">93.3</td>
<td valign="top" align="center">84.4</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">82.2</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">73.3</td>
<td valign="top" align="center">80.0</td>
<td valign="top" align="center">73.3</td>
</tr>
<tr>
<td valign="top" align="center">Mean (SD)</td>
<td valign="top" align="center">69.8 (15.7)</td>
<td valign="top" align="center">91.6 (9.2)</td>
<td valign="top" align="center">76.4 (14.4)</td>
<td valign="top" align="center">79.3 (5.8)</td>
</tr>
<tr>
<td valign="top" align="center">95% CI</td>
<td valign="top" align="center">61.1-78.5</td>
<td valign="top" align="center">86.4-96.7</td>
<td valign="top" align="center">68.4-84.4</td>
<td valign="top" align="center">76.0-82.5</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>The last column shows the overall performance across emotions. The final two rows display the mean and standard deviation (Mean &#xb1; SD) and the 95% Confidence Interval (CI) of performance for each emotion across the 15 subjects.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>LOOCV performance for emotion classification in the SEED-IV datataset for each subject and emotion class.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Subject</th>
<th valign="top" align="center">Neutral (%)</th>
<th valign="top" align="center">Sad (%)</th>
<th valign="top" align="center">Fear (%)</th>
<th valign="top" align="center">Happy (%)</th>
<th valign="top" align="center">Overall (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">94.4</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">80.6</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">80.6</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">75.0</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">72.2</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">69.4</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">72.2</td>
<td valign="top" align="center">81.9</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">54.2</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">50.0</td>
<td valign="top" align="center">94.4</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">81.9</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">72.2</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">68.1</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">94.4</td>
<td valign="top" align="center">50.0</td>
<td valign="top" align="center">38.9</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">61.1</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">68.1</td>
</tr>
<tr>
<td valign="top" align="center">11</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">59.7</td>
</tr>
<tr>
<td valign="top" align="center">12</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">50.0</td>
<td valign="top" align="center">66.7</td>
</tr>
<tr>
<td valign="top" align="center">13</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">59.7</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">83.3</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">61.1</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">77.8</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">58.3</td>
</tr>
<tr>
<td valign="top" align="center">Mean (SD)</td>
<td valign="top" align="center">77.0 (17.9)</td>
<td valign="top" align="center">60.37 (15.8)</td>
<td valign="top" align="center">68.1 (15.5)</td>
<td valign="top" align="center">72.6 (11.0)</td>
<td valign="top" align="center">69.5 (9.6)</td>
</tr>
<tr>
<td valign="top" align="center">95% CI</td>
<td valign="top" align="center">67.1-87.0</td>
<td valign="top" align="center">51.6-69.1</td>
<td valign="top" align="center">50.6-76.7</td>
<td valign="top" align="center">66.5-78.7</td>
<td valign="top" align="center">64.2-74.8</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>The last column shows the overall performance across emotions. The final two rows display the mean and standard deviation (Mean &#xb1; SD) and the 95% Confidence Interval (CI) of performance for each emotion across the 15 subjects.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T6" position="float">
<label>Table&#xa0;6</label>
<caption>
<p>LOOCV performance for emotion classification in the SEED-V datataset for each subject and emotion class.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Subject</th>
<th valign="top" align="center">Neutral (%)</th>
<th valign="top" align="center">Sad (%)</th>
<th valign="top" align="center">Fear (%)</th>
<th valign="top" align="center">Happy (%)</th>
<th valign="top" align="center">Disgust (%)</th>
<th valign="top" align="center">Overall (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">1</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">73.3</td>
</tr>
<tr>
<td valign="top" align="center">2</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">22.2</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">55.6</td>
</tr>
<tr>
<td valign="top" align="center">3</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">71.1</td>
</tr>
<tr>
<td valign="top" align="center">4</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">68.9</td>
</tr>
<tr>
<td valign="top" align="center">5</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">57.8</td>
</tr>
<tr>
<td valign="top" align="center">6</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">11.1</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">46.7</td>
</tr>
<tr>
<td valign="top" align="center">7</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">22.2</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">53.3</td>
</tr>
<tr>
<td valign="top" align="center">8</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">84.4</td>
</tr>
<tr>
<td valign="top" align="center">9</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">22.2</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">64.4</td>
</tr>
<tr>
<td valign="top" align="center">10</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">11.1</td>
<td valign="top" align="center">11.1</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">24.4</td>
</tr>
<tr>
<td valign="top" align="center">11</td>
<td valign="top" align="center">11.1</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">57.8</td>
</tr>
<tr>
<td valign="top" align="center">12</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">48.9</td>
</tr>
<tr>
<td valign="top" align="center">13</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">66.7</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">64.4</td>
</tr>
<tr>
<td valign="top" align="center">14</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">33.3</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">44.4</td>
</tr>
<tr>
<td valign="top" align="center">15</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">55.6</td>
<td valign="top" align="center">100.0</td>
<td valign="top" align="center">77.8</td>
</tr>
<tr>
<td valign="top" align="center">16</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">77.8</td>
<td valign="top" align="center">88.9</td>
<td valign="top" align="center">44.4</td>
<td valign="top" align="center">77.8</td>
</tr>
<tr>
<td valign="top" align="center">Mean (SD)</td>
<td valign="top" align="center">70.8 (27.8)</td>
<td valign="top" align="center">52.1 (18.5)</td>
<td valign="top" align="center">53.5 (26.7)</td>
<td valign="top" align="center">68.8 (25.1)</td>
<td valign="top" align="center">58.3 (18.4)</td>
<td valign="top" align="center">60.7 (15.3)</td>
</tr>
<tr>
<td valign="top" align="center">95% CI</td>
<td valign="top" align="center">55.5-86.2</td>
<td valign="top" align="center">41.9-62.3</td>
<td valign="top" align="center">38.8-68.2</td>
<td valign="top" align="center">48.2-68.5</td>
<td valign="top" align="center">48.2-68.5</td>
<td valign="top" align="center">52.3-69.2</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>The last column shows the overall performance across emotions. The final two rows display the mean and standard deviation (Mean &#xb1; SD) and the 95% Confidence Interval (CI) of performance for each emotion across the 16 subjects.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>In SEED, the neutral class achieved the highest performance, while the negative class achieved the lowest. For SEED-IV and SEED-V, the neutral and happy emotions achieved the highest accuracy, while the sad class had the lowest performance. Regarding variability among subjects, SEED-IV showed more consistent performance, with an overall standard deviation of 9.6%, compared to 15.3% for SEED-V. The highest variability in SEED-V was observed for subject 10, who achieved an overall accuracy of only 24.4%.</p>
<sec id="s3_1_1">
<label>3.1.1</label>
<title>Comparison with previous studies</title>
<p>
<xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref> presents a comparison of our model with previous emotion recognition models on the SEED, SEED-IV and SEED-V datasets using a subject-independent approach. Our proposed model achieved accuracy rates comparable to those of previous studies, attaining the second-best performance for SEED-IV and the sixth-best for SEED-V.</p>
<table-wrap id="T7" position="float">
<label>Table&#xa0;7</label>
<caption>
<p>Models comparison between previous emotion recognition methods and our approach (last row) of Models on SEED-IV and SEED-V Datasets.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="left">Models</th>
<th valign="top" align="center">SEED</th>
<th valign="top" align="center">SEED-IV</th>
<th valign="top" align="center">SEED-V</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">SVM Suykens and Vandewalle (<xref ref-type="bibr" rid="B30">30</xref>)</td>
<td valign="top" align="center">56.7/16.2</td>
<td valign="top" align="center">37.9/12.5</td>
<td valign="top" align="center">23.71/8.2</td>
</tr>
<tr>
<td valign="top" align="left">DANN Kendall et&#xa0;al. (<xref ref-type="bibr" rid="B31">31</xref>)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">47.6/10.0</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">BiDANN Li et&#xa0;al. (<xref ref-type="bibr" rid="B32">32</xref>)</td>
<td valign="top" align="center">83.2/9.6</td>
<td valign="top" align="center">65.6/10.4</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">BDGLS Wang et&#xa0;al. (<xref ref-type="bibr" rid="B33">33</xref>)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">59.6/4.8</td>
</tr>
<tr>
<td valign="top" align="left">DGCNN Song et&#xa0;al. (<xref ref-type="bibr" rid="B34">34</xref>)</td>
<td valign="top" align="center">79.9/9.0</td>
<td valign="top" align="center">52.8/9.2</td>
<td valign="top" align="center">41.9/6.7</td>
</tr>
<tr>
<td valign="top" align="left">A-LSTM Song et&#xa0;al. (<xref ref-type="bibr" rid="B35">35</xref>)</td>
<td valign="top" align="center">72.1/10.8</td>
<td valign="top" align="center">55.0/9.3</td>
<td valign="top" align="center">40.3/08.7</td>
</tr>
<tr>
<td valign="top" align="left">P-GCNN Wang et&#xa0;al. (<xref ref-type="bibr" rid="B36">36</xref>)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">64.8/9.8</td>
</tr>
<tr>
<td valign="top" align="left">IAG Song et&#xa0;al. (<xref ref-type="bibr" rid="B37">37</xref>)</td>
<td valign="top" align="center">86.3/6.9</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">59.7/9.4</td>
</tr>
<tr>
<td valign="top" align="left">RGNN Zhong et&#xa0;al. (<xref ref-type="bibr" rid="B38">38</xref>)</td>
<td valign="top" align="center">85.3/6.7</td>
<td valign="top" align="center">73.8/8.0</td>
<td valign="top" align="center">66.3/16.7</td>
</tr>
<tr>
<td valign="top" align="left">BiHDM Li et&#xa0;al. (<xref ref-type="bibr" rid="B39">39</xref>)</td>
<td valign="top" align="center">85.4/7.5</td>
<td valign="top" align="center">69.0/8.7</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">ECLGCNN Yin et&#xa0;al. (<xref ref-type="bibr" rid="B40">40</xref>)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">61.6/10.4</td>
</tr>
<tr>
<td valign="top" align="left">GECNN Song et&#xa0;al. (<xref ref-type="bibr" rid="B41">41</xref>)</td>
<td valign="top" align="center">82.4/-</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">66.8/8.2</td>
</tr>
<tr>
<td valign="top" align="left">BiHDM w/o DA Li et&#xa0;al. (<xref ref-type="bibr" rid="B42">42</xref>)</td>
<td valign="top" align="center">81.5/9.7</td>
<td valign="top" align="center">67.4/8.2</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">PGCN Zhou et&#xa0;al. (<xref ref-type="bibr" rid="B43">43</xref>)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">76.9/7.1</td>
<td valign="top" align="center">71.4/9.4</td>
</tr>
<tr>
<td valign="top" align="left">GMSS Li et&#xa0;al. (<xref ref-type="bibr" rid="B42">42</xref>)</td>
<td valign="top" align="center">86.52/6.22</td>
<td valign="top" align="center">73.48/7.41</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Ours</td>
<td valign="top" align="center">79.3/5.8</td>
<td valign="top" align="center">69.5/9.6</td>
<td valign="top" align="center">60.7/15.3</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Performance is reported as accuracy (mean average/standard deviation).</p>
</fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3_1_2">
<label>3.1.2</label>
<title>Ablation study</title>
<p>
<xref ref-type="table" rid="T8">
<bold>Table&#xa0;8</bold>
</xref> shows the ablation study conducted by removing different components of the deep learning model shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>. For all datasets, the component that resulted in the highest performance reduction was spatial processing, performed by the graph neural layer. Temporal processing and the temporal attention layer were also significant, leading to performance drops ranging from 0.5% to 9.5% and from 2.7% to 17.6%, respectively.</p>
<table-wrap id="T8" position="float">
<label>Table&#xa0;8</label>
<caption>
<p>Ablation study evaluating the removal of different components of the deep learning model shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" rowspan="2" align="left">Experiments</th>
<th valign="top" colspan="2" align="center">SEED</th>
<th valign="top" colspan="2" align="center">SEED-IV</th>
<th valign="top" colspan="2" align="center">SEED-V</th>
</tr>
<tr>
<th valign="top" align="center">Mean/SD (%)</th>
<th valign="top" align="center">Reduction(%)</th>
<th valign="top" align="center">Mean/SD (%)</th>
<th valign="top" align="center">Reduction(%)</th>
<th valign="top" align="center">Mean/SD (%)</th>
<th valign="top" align="center">Reduction(%)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Full model</td>
<td valign="top" align="center">79.3/5.8</td>
<td valign="top" align="center"/>
<td valign="top" align="center">69.5/9.6</td>
<td valign="top" align="center"/>
<td valign="top" align="center">60.7/15.3</td>
<td valign="top" align="center"/>
</tr>
<tr>
<td valign="top" align="left">- spectral processing - EEG channel attention</td>
<td valign="top" align="center">75.7/07.2</td>
<td valign="top" align="center">4.5</td>
<td valign="top" align="center">69.2/7.9</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">59.4/10.6</td>
<td valign="top" align="center">2.2</td>
</tr>
<tr>
<td valign="top" align="left">- spectral processing - frequency bands attention</td>
<td valign="top" align="center">77.5/5.8</td>
<td valign="top" align="center">2.2</td>
<td valign="top" align="center">68.6/8.0</td>
<td valign="top" align="center">1.3</td>
<td valign="top" align="center">59.6/9.5</td>
<td valign="top" align="center">1.8</td>
</tr>
<tr>
<td valign="top" align="left">- spectral processing</td>
<td valign="top" align="center">76.3/7.4</td>
<td valign="top" align="center">3.7</td>
<td valign="top" align="center">69.2/12.3</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">56.8/9.1</td>
<td valign="top" align="center">6.4</td>
</tr>
<tr>
<td valign="top" align="left">- spatial processing - graph neural network</td>
<td valign="top" align="center">57.0/8.2</td>
<td valign="top" align="center">28.0</td>
<td valign="top" align="center">53.7/11.4</td>
<td valign="top" align="center">22.7</td>
<td valign="top" align="center">37.0/9.7</td>
<td valign="top" align="center">39.1</td>
</tr>
<tr>
<td valign="top" align="left">- attention layer spatial</td>
<td valign="top" align="center">78.1/5.0</td>
<td valign="top" align="center">1.5</td>
<td valign="top" align="center">69.4/10.7</td>
<td valign="top" align="center">0.1</td>
<td valign="top" align="center">58.1/7.6</td>
<td valign="top" align="center">4.2</td>
</tr>
<tr>
<td valign="top" align="left">- temporal processing</td>
<td valign="top" align="center">71.7/9.0</td>
<td valign="top" align="center">9.5</td>
<td valign="top" align="center">69.8/13.2</td>
<td valign="top" align="center">0.5</td>
<td valign="top" align="center">55.0/6.9</td>
<td valign="top" align="center">9.5</td>
</tr>
<tr>
<td valign="top" align="left">- attention layer temporal</td>
<td valign="top" align="center">65.3/5.2</td>
<td valign="top" align="center">17.6</td>
<td valign="top" align="center">67.6/13.5</td>
<td valign="top" align="center">2.7</td>
<td valign="top" align="center">50.5/8.3</td>
<td valign="top" align="center">16.7</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Average spatial and temporal attention weights for emotion</title>
<sec id="s3_2_1">
<label>3.2.1</label>
<title>Average spatial attention weights for emotion</title>
<p>
<xref ref-type="fig" rid="f2">
<bold>Figures&#xa0;2</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f4">
<bold>4</bold>
</xref> show the average spatial weights (<inline-formula>
<mml:math display="inline" id="im57">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) extracted from the attention layer following the graph neural layer (GNL) for the average number of segments per dataset (56 for SEED, 34 for SEED-IV and 40 for SEED-V). In all the datasets, across all emotions, the spatial attention weights were higher around the frontal regions (<italic>FP</italic>
<sub>1</sub>, <italic>FP</italic>
<sub>2</sub>, <italic>FP<sub>Z</sub>
</italic>, <italic>F</italic>
<sub>1</sub>, <italic>F</italic>
<sub>2</sub>, <italic>F<sub>Z</sub>
</italic>). Spatial attention weights higher than the uniform weight (1/62) were also observed for EEG channels along the head circumference, particularly in the temporal and occipital regions. In comparison to the EEG channels located on the lateral sides of the temporal, frontal, and occipital areas, the EEG channels located in the central areas had weights lower than the uniform weight for most segments. The only classes that achieved higher weights for the central EEG channels were the sad and neutral classes.</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im54">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of the 62 EEG channels and each emotion across the 15 subjects over the initial 56 4-second segments of the SEED-IV dataset.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g002.tif"/>
</fig>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im55">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of the 62 EEG channels and each emotion across the 15 subjects over the initial 34 4-second segments of the SEED-IV dataset.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g003.tif"/>
</fig>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im56">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of the 62 EEG channels and each emotion across the 16 subjects over the initial 40 4-second segments of the SEED-V dataset.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g004.tif"/>
</fig>
<p>
<xref ref-type="supplementary-material" rid="SM1">
<bold>Supplementary Figures 1</bold>
</xref>&#x2013;<xref ref-type="supplementary-material" rid="SM1">
<bold>3</bold>
</xref> show the average spatial attention weight distribution over all the 4-second segments (66 for SEED, 63 for SEED-IV and 74 for SEED-V). For SEED-I and SEED-V, the weights, after the average number of windows for the recordings (34 for SEED-IV and 40 for SEED-V), converged to a fixed pattern. For SEED-IV, this pattern consisted of higher weights along the left lateral frontal, temporal, and parietal regions. In contrast, for SEED-V, the pattern was the opposite, with high attention weights in the right lateral frontal, temporal, and parietal regions.</p>
</sec>
<sec id="s3_2_2">
<label>3.2.2</label>
<title>Average temporal attention weights for emotion</title>
<p>
<xref ref-type="fig" rid="f5">
<bold>Figures&#xa0;5</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f7">
<bold>7</bold>
</xref> show the average temporal attention weights (<inline-formula>
<mml:math display="inline" id="im61">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each 4-second segment in both datasets. The weights for segments beyond the average number of segments were lower than the uniform weight (i.e., 1<italic>/</italic>66 for SEED, 1<italic>/</italic>63 for SEED-IV and 1<italic>/</italic>74 for SEED-V), indicating that the predictive models relied little on the features extracted during the last time segments. For SEED-IV and SEED-V, the attention weights exhibited a concave parabolic trend: initially increasing steadily, reaching a maximum between the tenth and fifteenth segments, and then decreasing.</p>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Average temporal attention weights (<inline-formula>
<mml:math display="inline" id="im58">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of 4-second segment and each emotion across the 15 subjects of the SEED dataset. The dotted line indicated the uniform weight (1<italic>/</italic>66 = 0.015).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g005.tif"/>
</fig>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Average temporal attention weights (<inline-formula>
<mml:math display="inline" id="im59">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of 4-second segment and each emotion across the 15 subjects of the SEED-IV dataset. The dotted line indicated the uniform weight (1<italic>/</italic>63 = 0.015).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g006.tif"/>
</fig>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Average temporal attention weights (<inline-formula>
<mml:math display="inline" id="im60">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3c8;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>w</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) for each of 4-second segment and each emotion across the 16 subjects of the SEED-V dataset. The dotted line indicated the uniform weight (1<italic>/</italic>74 = 0.013).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g007.tif"/>
</fig>
</sec>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Identifying relevant EEG channels</title>
<p>The diagonal panels of <xref ref-type="fig" rid="f8">
<bold>Figures&#xa0;8</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f10">
<bold>10</bold>
</xref> display the aggregated attention weights for each emotion. For all emotions, the aggregated attention weights were more pronounced along the circumference of the head, particularly over the prefrontal, frontal, fronto-temporal, temporal, temporal-parietal, parietal, and parietal-occipital EEG regions.</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>The diagonal panels shows aggregated attention weights obtained by the EEG channels for SEED dataset. The off-diagonal panels are the difference between aggregated attention weights obtained by the EEG channels. A darker color indicates a greater difference between the aggregated weights obtained for the EEG channel for the vertical and horizontal emotion pairs. Each symbol indicates that the weight difference between the emotion pair was significant (2-sided Wilcoxon rank-sum hypothesis tests adjusted via Benjamini-Hochberg correction with a false-positive rate set at 0.05) in favor of the class &#x2018;negative&#x2019; (cyan <sup>&#x2227;</sup>), &#x2018;neutral&#x2019; (yellow &#x2021;), or &#x2018;positive&#x2019; (orange &#x2217;).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g008.tif"/>
</fig>
<fig id="f9" position="float">
<label>Figure&#xa0;9</label>
<caption>
<p>The diagonal panels shows aggregated attention weights obtained by the EEG channels for SEED-IV. The off-diagonal panels are the difference between aggregated attention weights obtained by the EEG channels. A darker color indicates a greater difference between the aggregated weights obtained for the EEG channel for the vertical and horizontal emotion pairs. Each symbol indicates that the weight difference between the emotion pair was significant (2-sided Wilcoxon rank-sum hypothesis tests adjusted via Benjamini-Hochberg correction with a false-positive rate set at 0.05) in favor of the class &#x2018;fear&#x2019; (cyan <sup>&#x2227;</sup>), &#x2018;sad&#x2019; (green &#x2020;), &#x2018;neutral&#x2019; (yellow &#x2021;), or &#x2018;happy&#x2019; (orange &#x2217;).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g009.tif"/>
</fig>
<fig id="f10" position="float">
<label>Figure&#xa0;10</label>
<caption>
<p>The diagonal panels shows aggregated attention weights obtained by the EEG channels for SEED-V. The off-diagonal panels are the difference between aggregated attention weights obtained by the EEG channels. A darker color indicates a greater difference between the aggregated weights obtained for the EEG channel for the vertical and horizontal emotion pairs. Each symbol indicates that the weight difference between the emotion pair was significant (2-sided Wilcoxon rank-sum hypothesis tests adjusted via Benjamini-Hochberg correction with a false-positive rate set at 0.05) in favor of the class &#x2018;disgust&#x2019; (magenta <sup>&#x2228;</sup>), &#x2018;fear&#x2019; (cyan <sup>&#x2227;</sup>), &#x2018;sad&#x2019; (green &#x2020;), &#x2018;neutral&#x2019; (yellow &#x2021;), or &#x2018;happy&#x2019; (orange &#x2217;).</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fpsyt-16-1494369-g010.tif"/>
</fig>
<p>The off-diagonal panels of <xref ref-type="fig" rid="f8">
<bold>Figures&#xa0;8</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f10">
<bold>10</bold>
</xref> show the differences in attention weights between each pair of emotions. The attention weights varied significantly among the emotion pairs, mainly in the frontal, temporal, parietal, and occipital regions (2-sided Wilcoxon rank-sum hypothesis tests, adjusted via Benjamini-Hochberg correction with a false discovery rate set at 0.05). Although there was not complete agreement between the differences found for the emotion pairs in the SEED, SEED-IV and SEED-V datasets, the observed differences suggest common trends for some emotions. For example, the sad emotion exhibited higher attention weights around the middle parietal and occipital regions of the cortex compared to other emotions. Similarly, the neutral class showed dominance over other emotions in the right frontal, temporal, and parietal regions.</p>
<p>In SEED-IV and SEED-V, the fear, disgust, and happy classes tended to have higher attention weights in the frontal and temporal areas than the neutral and sad classes. However, when comparing the attention weights for fear and happy between SEED-IV and SEED-V, an opposite pattern emerged. In SEED-IV, the fear class had higher weights than happy in the left temporal-parietal area, whereas happy had higher values in the right frontal-temporal area than fear. In contrast, in SEED-V, the fear class exhibited higher weights in the right frontal-temporal area than happy, while happy showed higher weights in the left temporal-parietal area.</p>
</sec>
</sec>
<sec id="s4" sec-type="discussion">
<label>4</label>
<title>Discussion</title>
<sec id="s4_1">
<label>4.1</label>
<title>Main findings</title>
<p>Our findings indicate that the EEG channels that provide the most relevant features for emotion prediction across individuals are those located along the head circumference. Specifically, features extracted from channels <italic>Fp</italic>
<sub>1</sub>, <italic>Fp</italic>
<sub>2</sub>, <italic>F</italic>
<sub>7</sub>, <italic>F</italic>
<sub>8</sub>, <italic>FT</italic>
<sub>7</sub>, <italic>FT</italic>
<sub>8</sub>, <italic>T</italic>
<sub>7</sub>, <italic>T</italic>
<sub>8</sub>, <italic>TP</italic>
<sub>7</sub>, <italic>TP</italic>
<sub>8</sub>, <italic>P</italic>
<sub>7</sub>, <italic>P</italic>
<sub>8</sub>, <italic>PO</italic>
<sub>7</sub>, <italic>PO</italic>
<sub>8</sub>, <italic>O</italic>
<sub>1</sub>, and <italic>O</italic>
<sub>2</sub> contribute the most to emotion prediction throughout stimuli exposure. The attention weights from the channels show significant variations across different emotional states, demonstrating their ability to distinguish between different emotional responses. Thus, capturing electrical activity from this region is essential for enhancing the prediction of emotions elicited by audiovisual stimuli in subject-independent methodologies.</p>
<p>Regarding the emotion recognition performance, the attention network-based model achieved an average accuracy of 79.3%, 69.5% and 60.7 for SEED, SEED-IV and SEED-V, respectively. These accuracy rates are comparable to those of previous studies using SEED-IV and SEED-IV (see <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>), thus showing that the proposed deep learning architecture was able to extract common patterns shared between different subjects. The low performance for some subjects is also consistent with Li et&#xa0;al. (<xref ref-type="bibr" rid="B19">19</xref>), who reported that subjects 5 and 10 in SEED-V resulted in the lowest accuracy performance compared to the remaining subjects.</p>
<p>The ablation study (refer to <xref ref-type="table" rid="T8">
<bold>Table&#xa0;8</bold>
</xref>) highlighted the significance of spatial and temporal processing components in emotion recognition. This relevance arises from the use of video clips to elicit emotions. Given that the EEG signal responds dynamically to the varying scenes within the video, it is crucial to incorporate components that effectively capture this information from the EEG channels, along with its progression over time.</p>
<p>The importance of EEG channels located in the frontal, parietal, temporal, and occipital regions, as indicated by the attention mechanism weights, aligns with existing psychological literature on brain function (<xref ref-type="bibr" rid="B44">44</xref>). Specifically, since the stimuli were audiovisual, features extracted from EEG channels in sensory brain areas (temporal and parietal for audio and occipital for visual) played a relevant role in emotion prediction (<xref ref-type="bibr" rid="B44">44</xref>&#x2013;<xref ref-type="bibr" rid="B46">46</xref>). When viewing videos, the temporal, parietal, and occipital regions are activated to process audiovisual content, including facial expressions, body language, speech, and sounds that convey emotions (<xref ref-type="bibr" rid="B47">47</xref>). Moreover, the shift of activation weights from temporal and occipital regions to frontal regions (see <xref ref-type="fig" rid="f2">
<bold>Figures&#xa0;2</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f4">
<bold>4</bold>
</xref>) suggests that once relevant audiovisual information is captured by sensory areas, it is subsequently processed in the frontal and prefrontal regions (<xref ref-type="bibr" rid="B48">48</xref>).</p>
<p>By comparing the identified EEG channels with those from commercial EEG systems designed for emotion monitoring, such as the EMOTIV EPOC X 14-channel wireless headset (<xref ref-type="bibr" rid="B49">49</xref>), we observe a notable overlap among the channels. Specifically, the 14 EEG channels included in the EPOC X system are primarily located along the head circumference (<italic>AF</italic>
<sub>3</sub>, <italic>AF</italic>
<sub>4</sub>, <italic>F</italic>
<sub>3</sub>, <italic>F</italic>
<sub>4</sub>, <italic>F</italic>
<sub>7</sub>, <italic>F</italic>
<sub>8</sub>, <italic>FC</italic>
<sub>5</sub>, <italic>FC</italic>
<sub>6</sub>, <italic>P</italic>
<sub>7</sub>, <italic>P</italic>
<sub>8</sub>, <italic>T</italic>
<sub>7</sub>, <italic>T</italic>
<sub>8</sub>, <italic>O</italic>
<sub>1</sub>, and <italic>O</italic>
<sub>2</sub>). Thus, our study offers evidence supporting the reliability of these lower-density EEG channel systems for recognizing emotions evoked by audiovisual stimuli.</p>
<p>Identifying relevant EEG channels enables the development of EEG-based emotion recognition systems with fewer channels. Such systems can be more usable, such as a headset with fewer EEG channels, which is more convenient and comfortable to wear. This could be beneficial for individuals with neurological diseases or older adults, which require frequent neural monitoring for early diagnosis, intervention, and treatment.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Comparison with previous studies</title>
<p>Similar to Apicella et&#xa0;al. (<xref ref-type="bibr" rid="B23">23</xref>), our study also indicates that prefrontal and frontal EEG channels are relevant for predicting emotions. Additionally, consistent with previous research that analyzed entropy distribution differences by emotion, our results highlight the lateral temporal lobe and prefrontal lobe as critical regions for extracting features for emotion prediction. However, unlike these earlier studies, we are, to the best of our knowledge, the first to analyze learned patterns of a deep learning model to provide evidence on the specific EEG channels that contribute most significantly to emotion prediction. Furthermore, we conduct our analysis using a subject-independent approach across two different datasets, supporting the reproducibility and generalizability of our findings. These results underscore the importance of incorporating features from EEG channels located along the head circumference to enhance emotion prediction in subject-independent scenarios for emotions evoked by audiovisual stimuli.</p>
<p>Regardless of the emotion type, the attention weights reveal that features extracted from both brain hemispheres are relevant for predicting emotions (see <xref ref-type="fig" rid="f8">
<bold>Figures&#xa0;8</bold>
</xref>&#x2013;<xref ref-type="fig" rid="f10">
<bold>10</bold>
</xref>). This is in contrast to previous studies (<xref ref-type="bibr" rid="B50">50</xref>, <xref ref-type="bibr" rid="B51">51</xref>) that suggested brain lateralization in emotion processing, where negative emotions are primarily processed in the right hemisphere and positive emotions in the left. In our findings, we did not observe distinct roles for each hemisphere in emotion prediction. Instead, the predictive model relied on features extracted from EEG channels located in the frontal, parietal, temporal, and occipital regions along the head circumference from both hemispheres, underscoring the importance of both the left and right hemispheres in predicting any emotion type.</p>
<p>Although the predictive model did not rely too much on features extracted from the central EEG channels, the central and central-parietal channels (<italic>C<sub>Z</sub>
</italic>, <italic>CP<sub>Z</sub>
</italic>) were found to be relevant for the sad emotion in both datasets. Given that the sad class is the only emotion categorized as low arousal according to the valence-arousal model of emotions (<xref ref-type="bibr" rid="B52">52</xref>), this finding suggests that the temporal-spatial features extracted from central EEG channels may be particularly important for predicting emotions with low arousal.</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Limitations and future work</title>
<p>We note that our experiments were conducted using datasets (SEED, SEED-IV and SEED-V) that encompass subjects from a similar population (20-to 24-year-old undergraduate students at Shanghai Jiao Tong University). Given that EEG data vary among individuals due to factors such as culture, language, and genetics (<xref ref-type="bibr" rid="B4">4</xref>, <xref ref-type="bibr" rid="B53">53</xref>), our findings may not be universally applicable to individuals from different backgrounds. For instance, studies have shown that cultural differences between Western and Asian populations can affect the performance of emotion recognition methods (<xref ref-type="bibr" rid="B54">54</xref>). However, despite the fact that the SEED, SEED-IV and SEED-V datasets were collected at the same location, the 46 subjects in each dataset were mutually exclusive, ensuring fair validation of our study results. Moreover, the 95% confidence interval for the average accuracy suggests potential generalizability to other datasets. Future research should validate these results across diverse datasets encompassing broader emotional states and subjects.</p>
<p>We also recognize that the current study focused on emotion datasets featuring discrete emotions (e.g., happy, sad), and our model has not yet been evaluated on datasets utilizing the arousal-valence model. Therefore, future research should consider extending our work to classify emotions based on their arousal and valence levels, which may offer valuable insights into the neuronal patterns associated with these emotional dimensions.</p>
</sec>
</sec>
<sec id="s5" sec-type="conclusions">
<label>5</label>
<title>Conclusion</title>
<p>This study presents a deep learning model with attention mechanism layers to identify the EEG channels most relevant to emotion prediction. The attention weights revealed that the model predominantly relied on features extracted from EEG channels located along the head circumference, which cover sensorimotor areas (temporal, parietal, and occipital) as well as the frontal regions. Additionally, the attention weights of these channels varied significantly across emotions, demonstrating their potential for distinguishing emotional states. Thus, EEG channels along the head circumference are crucial for capturing the relevant electrical activity that aids in predicting emotions evoked by audiovisual stimuli in subject-independent approaches.</p>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="supplementary-material" rid="SM1">
<bold>Supplementary Material</bold>
</xref>. Further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s7" sec-type="ethics-statement">
<title>Ethics statement</title>
<p>Ethical approval was not required for the study involving humans in accordance with the local legislation and institutional requirements. Written informed consent to participate in this study was not required from the participants or the participants&#x2019; legal guardians/next of kin in accordance with the national legislation and the institutional requirements.</p>
</sec>
<sec id="s8" sec-type="author-contributions">
<title>Author contributions</title>
<p>CV: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Software, Supervision, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. AS: Investigation, Methodology, Software, Validation, Writing &#x2013; review &amp; editing.</p>
</sec>
<sec id="s9" sec-type="funding-information">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This work was supported by the NSERC under Discorvery Grant RGPIN-2024-05575.</p>
</sec>
<sec id="s10" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s11" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s12" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fpsyt.2025.1494369/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fpsyt.2025.1494369/full#supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Image1.jpeg" id="SM1" mimetype="image/jpeg">
<label>SUPPLEMENTARY FIGURE 1</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im63">
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula>
<italic>
<sub>k,s</sub>
</italic>) for the 62 EEG channels across the 15 subjects of the SEED for each emotion and each of the 66 four-second windows.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Image2.jpeg" id="SM2" mimetype="image/jpeg">
<label>SUPPLEMENTARY FIGURE 2</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im64">
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula>
<italic>
<sub>k,s</sub>
</italic>) for the 62 EEG channels across the 15 subjects of the SEED-IV for each emotion and each of the 63 four-second windows.</p>
</caption>
</supplementary-material>
<supplementary-material xlink:href="Image3.jpeg" id="SM3" mimetype="image/jpeg">
<label>SUPPLEMENTARY FIGURE 3</label>
<caption>
<p>Average spatial attention weights (<inline-formula>
<mml:math display="inline" id="im65">
<mml:mover accent="true">
<mml:mi>&#x3d5;</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula>
<italic>
<sub>k,s</sub>
</italic>) for the 62 EEG channels across the 16 subjects of the SEED-V for each emotion and each of the 74 four-second windows.</p>
</caption>
</supplementary-material>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>X-W</given-names>
</name>
<name>
<surname>Nie</surname> <given-names>D</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B-L</given-names>
</name>
</person-group>. <article-title>Emotional state classification from EEG data using machine learning approach</article-title>. <source>Neurocomputing</source>. (<year>2014</year>) <volume>129</volume>:<fpage>94</fpage>&#x2013;<lpage>106</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.neucom.2013.06.046</pub-id>
</citation>
</ref>
<ref id="B2">
<label>2</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>J</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>M</given-names>
</name>
</person-group>. <article-title>Review of the emotional feature extraction and classification using EEG signals</article-title>. <source>Cogn Robotics</source>. (<year>2021</year>) <volume>1</volume>:<fpage>29</fpage>&#x2013;<lpage>40</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cogr.2021.04.001</pub-id>
</citation>
</ref>
<ref id="B3">
<label>3</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Valderrama</surname> <given-names>CE</given-names>
</name>
<name>
<surname>Ulloa</surname> <given-names>G</given-names>
</name>
</person-group>. (<year>2012</year>). <article-title>Spectral analysis of physiological parameters for emotion detection</article-title>, in: <conf-name>2012 XVII Symposium of Image, Signal Processing, and Artificial Vision (STSIVA)</conf-name>, (<publisher-loc>Medellin, Colombia</publisher-loc>: <elocation-id>IEEE</elocation-id>). pp. <page-range>275&#x2013;80</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/STSIVA21213.2012</pub-id>
</citation>
</ref>
<ref id="B4">
<label>4</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>X</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Tiwari</surname> <given-names>P</given-names>
</name>
<name>
<surname>Song</surname> <given-names>D</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>B</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>M</given-names>
</name>
<etal/>
</person-group>. <article-title>EEG based emotion recognition: A tutorial and review</article-title>. <source>ACM Comput Surveys</source>. (<year>2022</year>) <volume>55</volume>:<fpage>1</fpage>&#x2013;<lpage>57</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1145/3524499</pub-id>
</citation>
</ref>
<ref id="B5">
<label>5</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Samek</surname> <given-names>W</given-names>
</name>
<name>
<surname>Meinecke</surname> <given-names>FC</given-names>
</name>
<name>
<surname>M&#xfc;ller</surname> <given-names>K-R</given-names>
</name>
</person-group>. <article-title>Transferring subspaces between subjects in brain&#x2013;computer interfacing</article-title>. <source>IEEE Trans Biomed Eng</source>. (<year>2013</year>) <volume>60</volume>:<page-range>2289&#x2013;98</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TBME.2013.2253608</pub-id>
</citation>
</ref>
<ref id="B6">
<label>6</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Arevalillo-Herr&#xe1;ez</surname> <given-names>M</given-names>
</name>
<name>
<surname>Cobos</surname> <given-names>M</given-names>
</name>
<name>
<surname>Roger</surname> <given-names>S</given-names>
</name>
<name>
<surname>Garc&#xed;a-Pineda</surname> <given-names>M</given-names>
</name>
</person-group>. <article-title>Combining inter-subject modeling with a subject-based data transformation to improve affect recognition from EEG signals</article-title>. <source>Sensors</source>. (<year>2019</year>) <volume>19</volume>:<fpage>2999</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/s19132999</pub-id>
</citation>
</ref>
<ref id="B7">
<label>7</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Suhaimi</surname> <given-names>NS</given-names>
</name>
<name>
<surname>Mountstephens</surname> <given-names>J</given-names>
</name>
<name>
<surname>Teo</surname> <given-names>J</given-names>
</name>
<etal/>
</person-group>. <article-title>EEG-based emotion recognition: A state-of-the-art review of current trends and opportunities</article-title>. <source>Comput Intell Neurosci</source>. (<year>2020</year>) <volume>2020</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.1155/2020/8875426</pub-id>
</citation>
</ref>
<ref id="B8">
<label>8</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Maswanganyi</surname> <given-names>RC</given-names>
</name>
<name>
<surname>Tu</surname> <given-names>C</given-names>
</name>
<name>
<surname>Owolawi</surname> <given-names>PA</given-names>
</name>
<name>
<surname>Du</surname> <given-names>S</given-names>
</name>
</person-group>. <article-title>Statistical evaluation of factors influencing inter-session and inter-subject variability in eeg-based brain computer interface</article-title>. <source>IEEE Access</source>. (<year>2022</year>) <volume>10</volume>:<page-range>96821&#x2013;39</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ACCESS.2022.3205734</pub-id>
</citation>
</ref>
<ref id="B9">
<label>9</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Quinonero-Candela</surname> <given-names>J</given-names>
</name>
<name>
<surname>Sugiyama</surname> <given-names>M</given-names>
</name>
<name>
<surname>Schwaighofer</surname> <given-names>A</given-names>
</name>
<name>
<surname>Lawrence</surname> <given-names>ND</given-names>
</name>
</person-group>. <source>Dataset shift in machine learning</source>. <publisher-loc>Cambridge, Massachusetts, USA</publisher-loc>: <publisher-name>Mit Press</publisher-name> (<year>2008</year>).</citation>
</ref>
<ref id="B10">
<label>10</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ganin</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Ustinova</surname> <given-names>E</given-names>
</name>
<name>
<surname>Ajakan</surname> <given-names>H</given-names>
</name>
<name>
<surname>Germain</surname> <given-names>P</given-names>
</name>
<name>
<surname>Larochelle</surname> <given-names>H</given-names>
</name>
<name>
<surname>Laviolette</surname> <given-names>F</given-names>
</name>
<etal/>
</person-group>. <article-title>Domainadversarial training of neural networks</article-title>. <source>J Mach Learn Res</source>. (<year>2016</year>) <volume>17</volume>:<fpage>1</fpage>&#x2013;<lpage>35</lpage>. Available at: <uri xlink:href="http://jmlr.org/papers/v17/15-239.html">http://jmlr.org/papers/v17/15-239.html</uri>.</citation>
</ref>
<ref id="B11">
<label>11</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>&#xd6;zdenizci</surname> <given-names>O</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Koike-Akino</surname> <given-names>T</given-names>
</name>
<name>
<surname>Erdo&#x11f;mu&#x15f;</surname> <given-names>D</given-names>
</name>
</person-group>. <article-title>Learning invariant representations from eeg via adversarial inference</article-title>. <source>IEEE Access</source>. (<year>2020</year>) <volume>8</volume>:<page-range>27074&#x2013;85</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/Access.6287639</pub-id>
</citation>
</ref>
<ref id="B12">
<label>12</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Barmpas</surname> <given-names>K</given-names>
</name>
<name>
<surname>Panagakis</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Bakas</surname> <given-names>S</given-names>
</name>
<name>
<surname>Adamos</surname> <given-names>DA</given-names>
</name>
<name>
<surname>Laskaris</surname> <given-names>N</given-names>
</name>
<name>
<surname>Zafeiriou</surname> <given-names>S</given-names>
</name>
</person-group>. <article-title>Improving generalization of cnn-based motor-imagery eeg decoders via dynamic convolutions</article-title>. <source>IEEE Trans Neural Syst Rehabil Eng</source>. (<year>2023</year>) <volume>31</volume>:<fpage>1997</fpage>&#x2013;<lpage>2005</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TNSRE.2023.3265304</pub-id>
</citation>
</ref>
<ref id="B13">
<label>13</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Arrieta</surname> <given-names>AB</given-names>
</name>
<name>
<surname>D&#xed;az-Rodr&#xed;guez</surname> <given-names>N</given-names>
</name>
<name>
<surname>Del Ser</surname> <given-names>J</given-names>
</name>
<name>
<surname>Bennetot</surname> <given-names>A</given-names>
</name>
<name>
<surname>Tabik</surname> <given-names>S</given-names>
</name>
<name>
<surname>Barbado</surname> <given-names>A</given-names>
</name>
<etal/>
</person-group>. <article-title>Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible ai</article-title>. <source>Inf Fusion</source>. (<year>2020</year>) <volume>58</volume>:<fpage>82</fpage>&#x2013;<lpage>115</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.inffus.2019.12.012</pub-id>
</citation>
</ref>
<ref id="B14">
<label>14</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Yang</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>D</given-names>
</name>
<name>
<surname>Dyer</surname> <given-names>C</given-names>
</name>
<name>
<surname>He</surname> <given-names>X</given-names>
</name>
<name>
<surname>Smola</surname> <given-names>A</given-names>
</name>
<name>
<surname>Hovy</surname> <given-names>E</given-names>
</name>
</person-group>. (<year>2016</year>). <article-title>Hierarchical attention networks for document classification</article-title>, in: <conf-name>Proceedings of the 2016 conference of the North American chapter of the association for computational linguistics: human language technologies</conf-name> held in <publisher-loc>San Diego, CA, USA </publisher-loc>. pp. <page-range>1480&#x2013;9</page-range>.</citation>
</ref>
<ref id="B15">
<label>15</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Arjun</surname> <given-names>A</given-names>
</name>
<name>
<surname>Rajpoot</surname> <given-names>AS</given-names>
</name>
<name>
<surname>Panicker</surname> <given-names>MR</given-names>
</name>
</person-group>. (<year>2021</year>). <article-title>Introducing attention mechanism for EEG signals: Emotion recognition with vision transformers</article-title>, in: <conf-name>2021 43rd Annual International Conference of the IEEE Engineering in Medicine &amp; Biology Society (EMBC)</conf-name>, (<publisher-loc>Guadalajara, Mexico</publisher-loc>: <publisher-name>IEEE</publisher-name>). pp. <page-range>5723&#x2013;6</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/EMBC46164.2021</pub-id>
</citation>
</ref>
<ref id="B16">
<label>16</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>C</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>B</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>S</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Song</surname> <given-names>R</given-names>
</name>
<name>
<surname>Cheng</surname> <given-names>J</given-names>
</name>
<etal/>
</person-group>. <article-title>Emotion recognition from EEG based on multi-task learning with capsule network and attention mechanism</article-title>. <source>Comput Biol Med</source>. (<year>2022</year>) <volume>143</volume>:<fpage>105303</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.compbiomed.2022.105303</pub-id>
</citation>
</ref>
<ref id="B17">
<label>17</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Feng</surname> <given-names>L</given-names>
</name>
<name>
<surname>Cheng</surname> <given-names>C</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>M</given-names>
</name>
<name>
<surname>Deng</surname> <given-names>H</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y</given-names>
</name>
</person-group>. <article-title>EEG-based emotion recognition using spatial-temporal graph convolutional LSTM with attention mechanism</article-title>. <source>IEEE J Biomed Health Inf</source>. (<year>2022</year>) <volume>26</volume>:<page-range>5406&#x2013;17</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/JBHI.2022.3198688</pub-id>
</citation>
</ref>
<ref id="B18">
<label>18</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yan</surname> <given-names>X</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W-L</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>W</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B-L</given-names>
</name>
</person-group>. <article-title>Identifying gender differences in multimodal emotion recognition using bimodal deep autoencoder</article-title>. In: <source>Neural Information Processing: 24th International Conference, ICONIP 2017, Guangzhou, China, November 14&#x2013;18, 2017, Proceedings, Part IV 24</source>. <publisher-loc>Guangzhou, China</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2017</year>). p. <page-range>533&#x2013;42</page-range>.</citation>
</ref>
<ref id="B19">
<label>19</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>T-H</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>W</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W-L</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B-L</given-names>
</name>
</person-group>. (<year>2019</year>). <article-title>Classification of five emotions from EEG and eye movement signals: Discrimination ability and stability over time</article-title>, in: <conf-name>2019 9th International IEEE/EMBS Conference on Neural Engineering (NER)</conf-name>, (<publisher-loc>San Francisco, CA, USA</publisher-loc>: <publisher-name>IEEE</publisher-name>). pp. <page-range>607&#x2013;10</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/NER43920.2019</pub-id>
</citation>
</ref>
<ref id="B20">
<label>20</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Guo</surname> <given-names>J-Y</given-names>
</name>
<name>
<surname>Cai</surname> <given-names>Q</given-names>
</name>
<name>
<surname>An</surname> <given-names>J-P</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>P-Y</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>C</given-names>
</name>
<name>
<surname>Wan</surname> <given-names>J-H</given-names>
</name>
<etal/>
</person-group>. <article-title>A transformer based neural network for emotion recognition and visualizations of crucial eeg channels</article-title>. <source>Physica A: Stat Mechanics its Appl</source>. (<year>2022</year>) <volume>603</volume>:<fpage>127700</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.physa.2022.127700</pub-id>
</citation>
</ref>
<ref id="B21">
<label>21</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Peng</surname> <given-names>D</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W-L</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>L</given-names>
</name>
<name>
<surname>Jiang</surname> <given-names>W-B</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>Y</given-names>
</name>
<etal/>
</person-group>. <article-title>Identifying sex differences in EEG-based emotion recognition using graph convolutional network with attention mechanism</article-title>. <source>J Neural Eng</source>. (<year>2023</year>) <volume>20</volume>:<fpage>066010</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1088/1741-2552/ad085a</pub-id>
</citation>
</ref>
<ref id="B22">
<label>22</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>C</given-names>
</name>
<name>
<surname>Bian</surname> <given-names>N</given-names>
</name>
<name>
<surname>Zhao</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>H</given-names>
</name>
<name>
<surname>Schuller</surname> <given-names>BW</given-names>
</name>
</person-group>. <article-title>Multi-view domain-adaptive representation learning for EEG-based emotion recognition</article-title>. <source>Inf Fusion</source>. (<year>2024</year>) <volume>104</volume>:<fpage>102156</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.inffus.2023.102156</pub-id>
</citation>
</ref>
<ref id="B23">
<label>23</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Apicella</surname> <given-names>A</given-names>
</name>
<name>
<surname>Arpaia</surname> <given-names>P</given-names>
</name>
<name>
<surname>Isgro</surname> <given-names>F</given-names>
</name>
<name>
<surname>Mastrati</surname> <given-names>G</given-names>
</name>
<name>
<surname>Moccaldi</surname> <given-names>N</given-names>
</name>
</person-group>. <article-title>A survey on EEG-based solutions for emotion recognition with a low number of channels</article-title>. <source>IEEE Access</source>. (<year>2022</year>) <volume>10</volume>:<page-range>117411&#x2013;28</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/ACCESS.2022.3219844</pub-id>
</citation>
</ref>
<ref id="B24">
<label>24</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Valderrama</surname> <given-names>CE</given-names>
</name>
</person-group>. (<year>2024</year>). <article-title>Using attentive network layers for identifying relevant eeg channels for subjectindependent emotion recognition approaches</article-title>, in: <conf-name>2024 46th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</conf-name>, (<publisher-loc>Orlando, FL, USA</publisher-loc>: <publisher-name>IEEE</publisher-name>). pp. <fpage>1</fpage>&#x2013;<lpage>5</lpage>.</citation>
</ref>
<ref id="B25">
<label>25</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname> <given-names>W-L</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B-L</given-names>
</name>
</person-group>. <article-title>Investigating critical frequency bands and channels for EEG-based emotion recognition with deep neural networks</article-title>. <source>IEEE Trans Autonomous Ment Dev</source>. (<year>2015</year>) <volume>7</volume>:<page-range>162&#x2013;75</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TAMD.2015.2431497</pub-id>
</citation>
</ref>
<ref id="B26">
<label>26</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>W</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B</given-names>
</name>
<name>
<surname>Cichocki</surname> <given-names>A</given-names>
</name>
</person-group>. <article-title>Emotionmeter: A multimodal framework for recognizing human emotions</article-title>. <source>IEEE Trans Cybernetics</source>. (<year>2018</year>) <volume>49</volume>(<issue>3</issue>):<fpage>1</fpage>&#x2013;<lpage>13</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TCYB.2018.2797176</pub-id>
</citation>
</ref>
<ref id="B27">
<label>27</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname> <given-names>W</given-names>
</name>
<name>
<surname>Qiu</surname> <given-names>J-L</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W-L</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>B-L</given-names>
</name>
</person-group>. <article-title>Comparing recognition performance and robustness of multimodal deep learning models for multimodal emotion recognition</article-title>. <source>IEEE Trans Cogn Dev Syst</source>. (<year>2021</year>) <volume>14</volume>:<page-range>715&#x2013;29</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TCDS.2021.3071170</pub-id>
</citation>
</ref>
<ref id="B28">
<label>28</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Valderrama</surname> <given-names>CE</given-names>
</name>
</person-group>. (<year>2021</year>). <article-title>A comparison between the Hilbert-Huang and discrete wavelet transforms to recognize emotions from electroencephalographic signals</article-title>, in: <conf-name>2021 43rd Annual International Conference of the IEEE Engineering in Medicine &amp; Biology Society (EMBC)</conf-name>, (<publisher-loc>Guadalajara, Mexico</publisher-loc>: <publisher-name>IEEE</publisher-name>). pp. <page-range>496&#x2013;9</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/EMBC46164.2021</pub-id>
</citation>
</ref>
<ref id="B29">
<label>29</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Benjamini</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Hochberg</surname> <given-names>Y</given-names>
</name>
</person-group>. <article-title>Controlling the false discovery rate: a practical and powerful approach to multiple testing</article-title>. <source>J R Stat Society: Ser B (Methodological)</source>. (<year>1995</year>) <volume>57</volume>:<fpage>289</fpage>&#x2013;<lpage>300</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/j.2517-6161.1995.tb02031.x</pub-id>
</citation>
</ref>
<ref id="B30">
<label>30</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Suykens</surname> <given-names>JA</given-names>
</name>
<name>
<surname>Vandewalle</surname> <given-names>J</given-names>
</name>
</person-group>. <article-title>Least squares support vector machine classifiers</article-title>. <source>Neural Process Lett</source>. (<year>1999</year>) <volume>9</volume>:<fpage>293</fpage>&#x2013;<lpage>300</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1023/A:1018628609742</pub-id>
</citation>
</ref>
<ref id="B31">
<label>31</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kendall</surname> <given-names>A</given-names>
</name>
<name>
<surname>Gal</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Cipolla</surname> <given-names>R</given-names>
</name>
</person-group>. (<year>2018</year>). <article-title>Multi-task learning using uncertainty to weigh losses for scene geometry and semantics</article-title>, in: <conf-name>Proceedings of the IEEE conference on computer vision and pattern recognition</conf-name>, <publisher-loc>Salt Lake City, UT, USA</publisher-loc>. pp. <page-range>7482&#x2013;91</page-range>.</citation>
</ref>
<ref id="B32">
<label>32</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>T</given-names>
</name>
<name>
<surname>Zong</surname> <given-names>Y</given-names>
</name>
</person-group>. (<year>2018</year>). <article-title>A novel neural network model based on cerebral hemispheric asymmetry for eeg emotion recognition</article-title>, in: <conf-name>IJCAI</conf-name>, . pp. <page-range>1561&#x2013;7</page-range>.</citation>
</ref>
<ref id="B33">
<label>33</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>X-h</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>T</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>X-m</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>L</given-names>
</name>
<name>
<surname>Xing</surname> <given-names>X-f</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>CP</given-names>
</name>
</person-group>. (<year>2018</year>). <article-title>Eeg emotion recognition using dynamical graph convolutional neural networks and broad learning system</article-title>, in: <conf-name>2018 IEEE International Conference on Bioinformatics and Biomedicine (BIBM)</conf-name>, (<publisher-loc>Stockholm, Sweden</publisher-loc>: <publisher-name>IEEE</publisher-name>). pp. <page-range>1240&#x2013;4</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/BIBM44415.2018</pub-id>
</citation>
</ref>
<ref id="B34">
<label>34</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname> <given-names>T</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Song</surname> <given-names>P</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
</person-group>. <article-title>EEG emotion recognition using dynamical graph convolutional neural networks</article-title>. <source>IEEE Trans Affect Comput</source>. (<year>2018</year>) <volume>11</volume>:<page-range>532&#x2013;41</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/T-AFFC.5165369</pub-id>
</citation>
</ref>
<ref id="B35">
<label>35</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname> <given-names>T</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Lu</surname> <given-names>C</given-names>
</name>
<name>
<surname>Zong</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>X</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
</person-group>. <article-title>MPED: A multi-modal physiological emotion database for discrete emotion recognition</article-title>. <source>IEEE Access</source>. (<year>2019</year>) <volume>7</volume>:<page-range>12177&#x2013;91</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/Access.6287639</pub-id>
</citation>
</ref>
<ref id="B36">
<label>36</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Tong</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Heng</surname> <given-names>X</given-names>
</name>
</person-group>. <article-title>Phase-locking value based graph convolutional neural networks for emotion recognition</article-title>. <source>IEEE Access</source>. (<year>2019</year>) <volume>7</volume>:<page-range>93711&#x2013;22</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/Access.6287639</pub-id>
</citation>
</ref>
<ref id="B37">
<label>37</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Song</surname> <given-names>T</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>S</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Zong</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
</person-group>. (<year>2020</year>). <article-title>Instance-adaptive graph for EEG emotion recognition</article-title>, in: <conf-name>Proceedings of the AAAI Conference on Artificial Intelligence</conf-name>, <publisher-loc>New York, NY, USA</publisher-loc>. Vol. <volume>34</volume>. pp. <page-range>2701&#x2013;8</page-range>.</citation>
</ref>
<ref id="B38">
<label>38</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhong</surname> <given-names>P</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>D</given-names>
</name>
<name>
<surname>Miao</surname> <given-names>C</given-names>
</name>
</person-group>. <article-title>Eeg-based emotion recognition using regularized graph neural networks</article-title>. <source>IEEE Trans Affect Comput</source>. (<year>2020</year>) <volume>13</volume>:<page-range>1290&#x2013;301</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TAFFC.2020.2994159</pub-id>
</citation>
</ref>
<ref id="B39">
<label>39</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Zong</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Qi</surname> <given-names>L</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
<etal/>
</person-group>. <article-title>A novel bi-hemispheric discrepancy model for eeg emotion recognition</article-title>. <source>IEEE Trans Cogn Dev Syst</source>. (<year>2020</year>) <volume>13</volume>:<page-range>354&#x2013;67</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TCDS.2020.2999337</pub-id>
</citation>
</ref>
<ref id="B40">
<label>40</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yin</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>X</given-names>
</name>
<name>
<surname>Hu</surname> <given-names>B</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>X</given-names>
</name>
</person-group>. <article-title>EEG emotion recognition using fusion model of graph convolutional neural networks and lstm</article-title>. <source>Appl Soft Comput</source>. (<year>2021</year>) <volume>100</volume>:<fpage>106954</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.asoc.2020.106954</pub-id>
</citation>
</ref>
<ref id="B41">
<label>41</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Song</surname> <given-names>T</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>S</given-names>
</name>
<name>
<surname>Zong</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>Z</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y</given-names>
</name>
</person-group>. <article-title>Graph-embedded convolutional neural network for image-based EEG emotion recognition</article-title>. <source>IEEE Trans Emerging Topics Comput</source>. (<year>2021</year>) <volume>10</volume>:<page-range>1399&#x2013;413</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TETC.2021.3087174</pub-id>
</citation>
</ref>
<ref id="B42">
<label>42</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>J</given-names>
</name>
<name>
<surname>Li</surname> <given-names>F</given-names>
</name>
<name>
<surname>Fu</surname> <given-names>B</given-names>
</name>
<name>
<surname>Wu</surname> <given-names>H</given-names>
</name>
<name>
<surname>Ji</surname> <given-names>Y</given-names>
</name>
<etal/>
</person-group>. <article-title>GMSS: Graph-based multi-task self-supervised learning for EEG emotion recognition</article-title>. <source>IEEE Trans Affect Comput</source>. (<year>2022</year>) <volume>14</volume>:<page-range>2512&#x2013;25</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TAFFC.2022.3170428</pub-id>
</citation>
</ref>
<ref id="B43">
<label>43</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Li</surname> <given-names>F</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Ji</surname> <given-names>Y</given-names>
</name>
<name>
<surname>Shi</surname> <given-names>G</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>W</given-names>
</name>
<etal/>
</person-group>. <article-title>Progressive graph convolution network for EEG emotion recognition</article-title>. <source>Neurocomputing</source>. (<year>2023</year>) <volume>544</volume>:<fpage>126262</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.neucom.2023.126262</pub-id>
</citation>
</ref>
<ref id="B44">
<label>44</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Saarim&#xe4;ki</surname> <given-names>H</given-names>
</name>
<name>
<surname>Gotsopoulos</surname> <given-names>A</given-names>
</name>
<name>
<surname>J&#xe4;&#xe4;skel&#xe4;inen</surname> <given-names>IP</given-names>
</name>
<name>
<surname>Lampinen</surname> <given-names>J</given-names>
</name>
<name>
<surname>Vuilleumier</surname> <given-names>P</given-names>
</name>
<name>
<surname>Hari</surname> <given-names>R</given-names>
</name>
<etal/>
</person-group>. <article-title>Discrete neural signatures of basic emotions</article-title>. <source>Cereb Cortex</source>. (<year>2016</year>) <volume>26</volume>:<page-range>2563&#x2013;73</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1093/cercor/bhv086</pub-id>
</citation>
</ref>
<ref id="B45">
<label>45</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Calvert</surname> <given-names>GA</given-names>
</name>
<name>
<surname>Hansen</surname> <given-names>PC</given-names>
</name>
<name>
<surname>Iversen</surname> <given-names>SD</given-names>
</name>
<name>
<surname>Brammer</surname> <given-names>MJ</given-names>
</name>
</person-group>. <article-title>Detection of audio-visual integration sites in humans by application of electrophysiological criteria to the bold effect</article-title>. <source>Neuroimage</source>. (<year>2001</year>) <volume>14</volume>:<page-range>427&#x2013;38</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1006/nimg.2001.0812</pub-id>
</citation>
</ref>
<ref id="B46">
<label>46</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kandel</surname> <given-names>ER</given-names>
</name>
<name>
<surname>Schwartz</surname> <given-names>JH</given-names>
</name>
<name>
<surname>Jessell</surname> <given-names>TM</given-names>
</name>
<name>
<surname>Siegelbaum</surname> <given-names>SA</given-names>
</name>
<name>
<surname>Hudspeth</surname> <given-names>AJ</given-names>
</name>
</person-group>. <source>Principles of Neural Science</source>. <edition>5th edn</edition>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>McGraw-Hill Education</publisher-name> (<year>2013</year>).</citation>
</ref>
<ref id="B47">
<label>47</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Daly</surname> <given-names>I</given-names>
</name>
<name>
<surname>Williams</surname> <given-names>D</given-names>
</name>
<name>
<surname>Hwang</surname> <given-names>F</given-names>
</name>
<name>
<surname>Kirke</surname> <given-names>A</given-names>
</name>
<name>
<surname>Miranda</surname> <given-names>ER</given-names>
</name>
<name>
<surname>Nasuto</surname> <given-names>SJ</given-names>
</name>
</person-group>. <article-title>Electroencephalography reflects the activity of sub-cortical brain regions during approach-withdrawal behaviour while listening to music</article-title>. <source>Sci Rep</source>. (<year>2019</year>) <volume>9</volume>:<fpage>9415</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s41598-019-45105-2</pub-id>
</citation>
</ref>
<ref id="B48">
<label>48</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Phan</surname> <given-names>KL</given-names>
</name>
<name>
<surname>Wager</surname> <given-names>T</given-names>
</name>
<name>
<surname>Taylor</surname> <given-names>SF</given-names>
</name>
<name>
<surname>Liberzon</surname> <given-names>I</given-names>
</name>
</person-group>. <article-title>Functional neuroanatomy of emotion: a meta-analysis of emotion activation studies in pet and fMRI</article-title>. <source>Neuroimage</source>. (<year>2002</year>) <volume>16</volume>:<page-range>331&#x2013;48</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1006/nimg.2002.1087</pub-id>
</citation>
</ref>
<ref id="B49">
<label>49</label>
<citation citation-type="web">
<person-group person-group-type="author">
<collab>Emotiv Inc</collab>
</person-group>. <source>Epoc x - 14 channel wireless EEG headset</source> (<year>2024</year>). Available online at: <uri xlink:href="https://www.emotiv.com/epoc/">https://www.emotiv.com/epoc/</uri> (accessed December 15, 2024).</citation>
</ref>
<ref id="B50">
<label>50</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pane</surname> <given-names>ES</given-names>
</name>
<name>
<surname>Wibawa</surname> <given-names>AD</given-names>
</name>
<name>
<surname>Purnomo</surname> <given-names>MH</given-names>
</name>
</person-group>. <article-title>Improving the accuracy of EEG emotion recognition by combining valence lateralization and ensemble learning with tuning parameters</article-title>. <source>Cogn Process</source>. (<year>2019</year>) <volume>20</volume>:<page-range>405&#x2013;17</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10339-019-00924-z</pub-id>
</citation>
</ref>
<ref id="B51">
<label>51</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mouri</surname> <given-names>FI</given-names>
</name>
<name>
<surname>Valderrama</surname> <given-names>CE</given-names>
</name>
<name>
<surname>Camorlinga</surname> <given-names>SG</given-names>
</name>
</person-group>. <article-title>Identifying relevant asymmetry features of EEG for emotion processing</article-title>. <source>Front Psychol</source>. (<year>2023</year>) <volume>14</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fpsyg.2023.1217178</pub-id>
</citation>
</ref>
<ref id="B52">
<label>52</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Russell</surname> <given-names>JA</given-names>
</name>
</person-group>. <article-title>A circumplex model of affect</article-title>. <source>J Pers Soc Psychol</source>. (<year>1980</year>) <volume>39</volume>:<fpage>1161</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1037/h0077714</pub-id>
</citation>
</ref>
<ref id="B53">
<label>53</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hamann</surname> <given-names>S</given-names>
</name>
</person-group>. <article-title>Sex differences in the responses of the human amygdala</article-title>. <source>Neuroscientist</source>. (<year>2005</year>) <volume>11</volume>:<page-range>288&#x2013;93</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1177/1073858404271981</pub-id>
</citation>
</ref>
<ref id="B54">
<label>54</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bradley</surname> <given-names>MM</given-names>
</name>
<name>
<surname>Codispoti</surname> <given-names>M</given-names>
</name>
<name>
<surname>Cuthbert</surname> <given-names>BN</given-names>
</name>
<name>
<surname>Lang</surname> <given-names>PJ</given-names>
</name>
</person-group>. <article-title>Emotion and motivation I: defensive and appetitive reactions in picture processing</article-title>. <source>Emotion; Emotion</source>. (<year>2001</year>) <volume>1</volume>:<fpage>276</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1037/1528-3542.1.3.276</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>