<?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" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Neurorobot.</journal-id>
<journal-title>Frontiers in Neurorobotics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Neurorobot.</abbrev-journal-title>
<issn pub-type="epub">1662-5218</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fnbot.2019.00037</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>SAE&#x0002B;LSTM: A New Framework for Emotion Recognition From Multi-Channel EEG</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Xing</surname> <given-names>Xiaofen</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Li</surname> <given-names>Zhenqi</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
<contrib contrib-type="author">
<name><surname>Xu</surname> <given-names>Tianyuan</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/614692/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Shu</surname> <given-names>Lin</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/619406/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Hu</surname> <given-names>Bin</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/352838/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Xu</surname> <given-names>Xiangmin</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>School of Electronic and Information Engineering, South China University of Technology</institution>, <addr-line>Guangzhou</addr-line>, <country>China</country></aff>
<aff id="aff2"><sup>2</sup><institution>School of Information Science and Engineering, Lanzhou University</institution>, <addr-line>Lanzhou</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Jan Babic, Jo&#x0017E;ef Stefan Institute (IJS), Slovenia</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Sung Chan Jun, Gwangju Institute of Science and Technology, South Korea; Oluwarotimi WIlliams Samuel, Shenzhen Institutes of Advanced Technology (CAS), China</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Lin Shu <email>shul&#x00040;scut.edu.cn</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>12</day>
<month>06</month>
<year>2019</year>
</pub-date>
<pub-date pub-type="collection">
<year>2019</year>
</pub-date>
<volume>13</volume>
<elocation-id>37</elocation-id>
<history>
<date date-type="received">
<day>26</day>
<month>09</month>
<year>2018</year>
</date>
<date date-type="accepted">
<day>24</day>
<month>05</month>
<year>2019</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2019 Xing, Li, Xu, Shu, Hu and Xu.</copyright-statement>
<copyright-year>2019</copyright-year>
<copyright-holder>Xing, Li, Xu, Shu, Hu and Xu</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><p>EEG-based automatic emotion recognition can help brain-inspired robots in improving their interactions with humans. This paper presents a novel framework for emotion recognition using multi-channel electroencephalogram (EEG). The framework consists of a linear EEG mixing model and an emotion timing model. Our proposed framework considerably decomposes the EEG source signals from the collected EEG signals and improves classification accuracy by using the context correlations of the EEG feature sequences. Specially, Stack AutoEncoder (SAE) is used to build and solve the linear EEG mixing model and the emotion timing model is based on the Long Short-Term Memory Recurrent Neural Network (LSTM-RNN). The framework was implemented on the DEAP dataset for an emotion recognition experiment, where the mean accuracy of emotion recognition achieved 81.10% in valence and 74.38% in arousal, and the effectiveness of our framework was verified. Our framework exhibited a better performance in emotion recognition using multi-channel EEG than the compared conventional approaches in the experiments.</p></abstract> <kwd-group>
<kwd>EEG</kwd>
<kwd>emotion recognition</kwd>
<kwd>neural network</kwd>
<kwd>Stack AutoEncoder</kwd>
<kwd>LSTM</kwd>
</kwd-group>
<counts>
<fig-count count="18"/>
<table-count count="3"/>
<equation-count count="6"/>
<ref-count count="45"/>
<page-count count="14"/>
<word-count count="7857"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Emotion has a great influence on human cognition (Yoo et al., <xref ref-type="bibr" rid="B42">2014</xref>), behavior and communication. Since emotion can reflect information of hobbies, personality, interests and even health, recognition of human emotions can help machines and robots in improving the reliability of human-machine interaction (Yin et al., <xref ref-type="bibr" rid="B41">2017</xref>) and also help them in action processing and social cognition (Urgen et al., <xref ref-type="bibr" rid="B39">2013</xref>). Therefore, research on EEG-based automatic emotion recognition is very important and significance for brain-inspired robots and machines, as it enables them to read people&#x00027;s interactive intentions and states through the wirelessly acquired EEG.</p>
<p>As a subjective feeling, emotion is difficult to be represented by a quantitative model. Researchers often use a two-dimensional space to model emotions (Lang, <xref ref-type="bibr" rid="B17">1995</xref>), where different emotion points can be plotted on a 2D plane consisting of a Valence axis and Arousal axis. Compared with facial expression (Zhang et al., <xref ref-type="bibr" rid="B44">2016</xref>) and speech (Mao et al., <xref ref-type="bibr" rid="B25">2014</xref>), emotion recognition based on physiological signals such as EEG, ECG (electrocardiogram), and EMG (electromyography) (Alzoubi et al., <xref ref-type="bibr" rid="B1">2012</xref>; Chen et al., <xref ref-type="bibr" rid="B6">2015a</xref>; Shu et al., <xref ref-type="bibr" rid="B35">2018</xref>) are more objective and reliable. The main component of the EEG signals are brain rhythm signals from different brain regions, which reflect the activity of the region (Niedermeyer and da Silva, <xref ref-type="bibr" rid="B27">2005</xref>).</p>
<p>The electrical activities of the cortex were propagated through the anatomical structures to the scalp. Therefore, the acquired EEG was a mixture of the source signals from different brain regions, which carried a great deal of redundant information with a low SNR (signal to noise ratio) (Korats et al., <xref ref-type="bibr" rid="B15">2012</xref>). Additionally, the asymmetry features regarding brain regions, such as DASM (differential asymmetry), RASM (rational asymmetry) and DCAU (differential causality) have been explored in the literature on emotion recognition (Zheng et al., <xref ref-type="bibr" rid="B45">2016</xref>; Li et al., <xref ref-type="bibr" rid="B18">2018</xref>), indicating that the spatial information of EEG signals is useful. Decomposing the source signals from different brain regions in the collected EEG could extract useful spatial information while reducing the redundant information in EEG signals, which was considered as one of the key issues in this paper.</p>
<p>On the other hand, the extraction of temporal correlations of spontaneous EEG signals in the context of emotion recognition referred to another key issue. Emotions were affective phenomena varying with time that are caused by a result of stimuli. The context correlation of EEG time sequence reflected the emotion variation. However, most of the commonly used classifiers could only conduct emotion recognition using independent EEG segments, like SVM (support vector machine) or kNN (k-Nearest Neighbor) (Mohammadi et al., <xref ref-type="bibr" rid="B26">2017</xref>). Although there is substantial literature on scalp ERPs, which were highly correlated temporally in the research area of motor control, only a few studies have considered the temporal correlations of spontaneous EEG signals in emotion recognition (Soleymani et al., <xref ref-type="bibr" rid="B37">2016</xref>), and their recognition rate was not adequate. Considering the context correlation of EEG time sequence, making use of the temporal correlation features might provide more effective means in automatic emotion recognition.</p>
<p>In this paper, we present a novel framework for EEG emotion recognition, where SAE is used (Hinton and Salakhutdinov, <xref ref-type="bibr" rid="B10">2006</xref>) to build the linear EEG mixing model and decompose the EEG source signals from the collected EEG signals. Then, followed by the feature extraction, feature sequences of the EEG source signals are obtained. Finally, to explore the temporal correlations in EEG source signal feature sequences, LSTM-RNN (Bengio et al., <xref ref-type="bibr" rid="B3">2002</xref>) is elected as the emotion classifier.</p></sec>
<sec id="s2">
<title>2. Related Work</title>
<p>Some recent studies have been working on emotion recognition using EEG signals.</p>
<p>Khosrowabadi et al. presented a biologically inspired feedforward neural network named ERNN to recognize human emotions from EEG. To simulate the short term memory of emotion, a serial-in/parallel-out shift register memory was used in ERNN to accumulate the EEG signals. Compared with other feature extraction methods and feedforward learning algorithms, ERNN achieved the highest accuracy when using the radial basis function (Khosrowabadi et al., <xref ref-type="bibr" rid="B13">2014</xref>).</p>
<p>Soleymani et al. studied how to explore the emotional traces of videos and presented an approach in instantaneously detecting the emotions of video viewers from EEG signals and facial expressions. They utilized LSTM-RNN and continuous conditional random fields (CCRF) to detect emotions automatically and continuously. The results showed that EEG signals and facial expressions carried adequate information for detecting emotions (Soleymani et al., <xref ref-type="bibr" rid="B37">2016</xref>).</p>
<p>Li et al. explored the influence of different frequency bands and number of channels of the EEG signals on emotion recognition. The emotional states were classified into the dimensions of valence and arousal using different combinations of EEG channels. The results showed that the gamma frequency band was preferred and increasing the number of channels could increase the recognition rate (Li et al., <xref ref-type="bibr" rid="B18">2018</xref>).</p>
<p>Independent Component Analysis (ICA) approaches for multi-channel EEG processing are popular, especially for artifact removal and source extraction.</p>
<p>You et al. presented a method of blind signal separation (BSS) for multi-channel EEG, which combined the Wavelet Transform and ICA together. The high-frequency noises were removed from the collected EEG by using the noise filtering function of wavelet transform, so that the ICA could extract the EEG source signals without regard to the problem of noise separation. The experimental results approved the effectiveness of this method in the BBS of multi-channel EEG (You et al., <xref ref-type="bibr" rid="B43">2004</xref>).</p>
<p>Brunner et al. compared three ICA methods (Informax, FastICA and SOBI) with other preprocessing methods (CSP) find out whether and to what extent spatial filtering of EEG data can improve single trial classification accuracy. The results showed that Informax outperformed the other two ICA algorithms (Brunner et al., <xref ref-type="bibr" rid="B5">2007</xref>).</p>
<p>Korats et al. compared the source separation performance of four major ICA algorithms (namely FastICA, AMICA, Extended InfoMax, and JADER) and defined a low bound of data length for robust separation results. AMICA showed an impressive performance with very short data length but required a lot of running time. FastICA took very little time but required twice the data length of AMICA (Korats et al., <xref ref-type="bibr" rid="B15">2012</xref>).</p>
<p>In recent years, autoencoder has drawn more and more attention in biological signal processing, especially in signal reconstruction and feature extraction.</p>
<p>Liu et al. presented a multimodal deep learning approach to construct affective models with the DEAP and SEED datasets to enhance the performance of affective models and reduce the cost of acquiring physiological signals for real-world applications. Using EEG and eye features, the approach achieved mean accuracies of 91.01 and 83.25% on the SEED and DEAP datasets. The experiment results demonstrated that high-level representation features extracted by the BDAE (Bimodal Deep AutoEncoder) network were effective for emotion recognition (Liu et al., <xref ref-type="bibr" rid="B23">2016</xref>).</p>
<p>Majumdar et al. proposed an autoencoder-based framework that simultaneously reconstructed and classified biomedical signals. Using an autoencoder, a new paradigm for signal reconstruction was proposed. It has the advantage of not requiring any assumption regarding the signal as long as there was a sufficient amount of training data. The experiment results showed that the method was better in reconstruction and more than an order of magnitude faster than CS (Compressed Sensing)-based methods. It was capable of providing real-time operations. The method also achieved a satisfactory classification performance (Majumdar et al., <xref ref-type="bibr" rid="B24">2016</xref>).</p>
<p>In these reviewed studies, EEG-based emotional classification has been studied extensively, and corresponding achievements have been realized in the aspects of EEG signal preprocessing, feature extractions, and classifiers. However, decomposition of EEG signals is still a challenge. The current mainly used ICA method assumes the source signals that constitute the mixed EEG signals are independent of each other and do not conform to the normal distribution. But the physiological structure of the brain does not support this hypothesis, as the interconnected cerebral cortex makes the EEG signals have a natural correlation among each other. On the other hand, feature extractions in this area have seldom considered the association and contextual relationships between frames of different EEG signals, which leads to an inadequate utilization of multi-domain information of EEG signals in space-time and the frequency domain. In this work, we tried to explore the method in decomposing EEG signals to source signals and adopt the context correlation of EEG feature sequences to improve emotion recognition.</p></sec>
<sec sec-type="methods" id="s3">
<title>3. Methodology</title>
<sec>
<title>3.1. Framework Design</title>
<p>As shown in <xref ref-type="fn" rid="fn0001"><sup>1</sup></xref><xref ref-type="fig" rid="F1">Figure 1</xref>, our new framework is made up of three sequential parts, including source signal decomposition, feature extraction and emotion classifier. The details of each part are given below.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Diagram of our framework.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0001.tif"/>
</fig>
<p>In the proposed framework, SAE was used in a linear EEG mixing model to decompose the source signals from the collected EEG signals. LSTM&#x0002B;FC was the main component that was used in the emotion timing model to recognize emotion using the correlation of the EEG feature sequence based on the EEG source signals decomposed by SAE.</p></sec>
<sec>
<title>3.2. Source Signal Decomposition</title>
<sec>
<title>3.2.1. Linear EEG Mixing Model</title>
<p>The EEG signal reflects the electrophysiological activity of the cerebral cortex. However, under existing hardware conditions, EEG signals are collected at the scalp instead of the cortex, and there is a skull barrier between the cerebral cortex and the scalp. In fact, the collected EEG signals are the mixture of the EEG source signals. Researchers proposed a linear mixing model to simulate the mixing process, which is widely acknowledged in medical areas (Sanei and Chambers, <xref ref-type="bibr" rid="B33">2013</xref>). In this work, we presented a new method to solve the EEG linear mixing model. The linear EEG mixing model is presented in <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Linear EEG mixing model.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0002.tif"/>
</fig>
<p>The mixture of EEG signals can be written as <xref ref-type="fn" rid="fn0002"><sup>2</sup></xref>(1):</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;</mml:mtext><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mi>S</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
</sec>
<sec>
<title>3.2.2. AutoEncoder</title>
<p>Autoencoder is an unsupervised neural network consisting of two components, an encoder and a decoder, whose completely symmetrical structure is given in <xref ref-type="fig" rid="F3">Figure 3</xref>. If the reconstructed data is equal to the input data, the output of the &#x0201C;encoder&#x0201D; should be the &#x0201C;code,&#x0201D; which contains all the information about the input data.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Structure of AutoEncoder.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0003.tif"/>
</fig>
<p>When using the linear activation function, the mathematical expression of the encoder is given in <xref ref-type="fn" rid="fn0003"><sup>3</sup></xref>(2) (Ignore the bias).</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M6"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;</mml:mtext><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mi>W</mml:mi><mml:mi>I</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>From (2), we observe that autoencoder network and linear EEG mixing model have similar expressions. Therefore, we have tried to build and solve the linear EEG mixing model using autoencoder.</p></sec>
<sec>
<title>3.2.3. Linear EEG Mixing Model Based on Stack AutoEncoder</title>
<p>The purpose of this work is to determine an encoder that allows us to decompose the source signals from the collected EEG signals. To achieve a better performance, an autoencoder is used that consists of multiple layers, called a stacked autoencoder (SAE). The formula of SAE has the same form as the formula of standard autoencoder. The structure and the hyper parameters for the SAE we designed are shown in <xref ref-type="fn" rid="fn0004"><sup>4</sup></xref><xref ref-type="fig" rid="F4">Figure 4</xref>.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Structure of Stack AutoEncoder.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0004.tif"/>
</fig>
<p>We assumed that the source signals came from 12 different functional brain regions based on previous research (Keil et al., <xref ref-type="bibr" rid="B12">2002</xref>). The 12 regions were formed by crossing hemispheres (left, right) with a horizontal plane (anterior, lateral, posterior) and a vertical plane (inferior, superior) based on recording sites of the international 10&#x02013;20 system. We made some investigations on the effect of a different number of source channels, such as 6 and 7 source channels. However, the results were not as good as 12 source channels, which was one of the reasons why 12 source channels was selected in our study.</p>
<p>Specifically, <italic>X</italic> is a 32-dimensional vector as a 32-channel EEG signal is used as the input and <italic>S</italic> is a 12-dimensional vector as we discussed before.</p></sec>
<sec>
<title>3.2.4. Decomposition Results</title>
<p>To conduct the training of our linear EEG mixing model, mini-batch gradient descent was used as the optimizer algorithm, which was an upgraded version of traditional stochastic gradient descent (SGD) and was generally used as the optimizer of the neural network. Mini-batch gradient descent randomly selected a mini batch of data to calculate gradient of the loss function at every step, leading to a fast convergence speed and computational efficiency. As for other optimizers, batch gradient descent needed all data samples to calculate the gradient, which was time-consuming and complicated. Stochastic gradient descent used one sample at each step to reduce the computational complexity and improve the speed, but the drawback was related to its instability and possibility in causing fluctuations. Adam optimizer was faster than SGD and exhibited the advantage of adaptive learning rate, although it might have a convergence problem due to the unstable learning rate (Reddi et al., <xref ref-type="bibr" rid="B30">2018</xref>). In this work, we applied learning rate attenuation in mini-batch gradient descent method to make the model more stable, which turned out to be better than Adam optimizer and other gradient descent methods.</p>
<p>Mean square error (MSE) was used as the loss function. Then, the training data is fed into the model, where the adjusted R-squared between the test data and its reconstructed data is calculated to validate the model. The expression of the adjusted R-square is shown in (3).</p>
<disp-formula id="E3"><label>(3)</label><mml:math id="M8"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;</mml:mtext><mml:msubsup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi><mml:mi>d</mml:mi><mml:mi>j</mml:mi><mml:mi>u</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>d</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Where <italic>R</italic><sup>2</sup> is the sample R-square and <italic>p</italic> is the number of predictors. The value of P was set to 32 in this work since the channel number of EEG signals is 32 in the database of DEAP. <italic>N</italic> is the total sample size. The expression of <italic>R</italic><sup>2</sup> is given in (4).</p>
<disp-formula id="E4"><label>(4)</label><mml:math id="M9"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='false'><mml:mo>&#x02211;</mml:mo></mml:mstyle><mml:mtext>&#x0200B;</mml:mtext></mml:msup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>X</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mover accent='true'><mml:mi>X</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:mstyle mathsize='140%' displaystyle='false'><mml:mo>&#x02211;</mml:mo></mml:mstyle><mml:mtext>&#x0200B;</mml:mtext></mml:msup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>X</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mover accent='true'><mml:mi>X</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mrow></mml:math></disp-formula>
<p>When the training data (the 32 channel EEG signals) were fed into the model, the adjusted R-square between the test data and the reconstructed data was calculated to validate the model. Once the adjusted R-square exceeded 0.9, it meant the &#x0201C;code&#x0201D; output by the encoder of our model almost retained all the information of the source EEG signals. In other words, the &#x0201C;code&#x0201D; could represent the EEG source signals successfully and the decomposition was done successfully. The process of EEG source signal extraction is shown in <xref ref-type="fig" rid="F5">Figure 5</xref>.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>The process of EEG source signal extraction.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0005.tif"/>
</fig></sec></sec>
<sec>
<title>3.3. Feature Extraction</title>
<sec>
<title>3.3.1. Signal Framing</title>
<p>As a central nervous physiological signal, EEG signal is non-stationary and chaotic. To facilitate signal processing, the EEG signals are always divided into short time frames and it is assumed that the signal within the frame is stationary (Soleymani et al., <xref ref-type="bibr" rid="B38">2014</xref>). Therefore, some signal processing methods for stationary signals are applicable for EEG signal processing. The EEG signal processing steps are shown in <xref ref-type="fig" rid="F6">Figure 6</xref>, where a 1 s window with 50% overlap is applied to the EEG source signals to divide the signals into 125 frames of data. In this work, we also tried sliding data by a 2 s window, 5 s window and so on, while the results turned out no better than the 1s window. The reason might be that the neural network required a larger amount of data, and the 1 s window with 50% overlap could obtain more data than the 2 s window and others. If different experiment settings or models were configured, the choices might be changed flexibly.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Diagram of Signal Processing.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0006.tif"/>
</fig>
<p>After signal framing, the EEG features are extracted from each frame and arranged into a feature sequence. Finally, the feature sequences with 125-frame EEG features are obtained.</p></sec>
<sec>
<title>3.3.2. Frequency Band Power Feature</title>
<p>Biologically speaking, EEG signals are composed of brain rhythm signals, event related potentials (ERP) and spontaneous electrical activity signals. Many studies (Niedermeyer and da Silva, <xref ref-type="bibr" rid="B27">2005</xref>; Whitten et al., <xref ref-type="bibr" rid="B40">2011</xref>) have proved that changes in brain states are often characterized by rhythmic signals from different brain regions. According to the frequency range from low to high, the EEG signals are divided into five frequency bands of delta waves (&#x003B4;: 0.5&#x02013;3.5 Hz), theta waves (&#x003B8;: 4&#x02013;7 Hz), alpha waves (&#x003B1;: 8&#x02013;13 Hz), beta waves (&#x003B2;: 14&#x02013;30 Hz) and gamma waves (&#x003B3;: 31&#x02013;50 Hz). As seen in <xref ref-type="fig" rid="F7">Figure 7</xref>, we applied the Hanning window to each EEG channel and the power spectral density (PSD) was calculated by Welch&#x00027;s method. Then, four frequency band powers (FBP) of the EEG signals were chosen in our experiment.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Diagram of the FBP extraction.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0007.tif"/>
</fig>
<p>The Hanning window is most often used in random signals to avoid spectrum leakage. Since EEG signals are typical random signals, the Hanning window was used in this work for data segmentation and band power feature extraction. As the reviewer commented, we plotted the amplitude responses of a rectangular window and a Hanning window for a comparison. In <xref ref-type="fig" rid="F8">Figure 8</xref>, the narrower main window of the rectangular window is more conducive to identifying the specified frequency, however the sidelobe gain is higher and the spectrum leakage is severe, resulting in amplitude information misalignment. The major advantage of the Hanning window is that the spectrum leakage is small, and the main features extracted in this paper are relevant to frequency band energy, so it is appropriate to choose the Hanning window. Of course, other window functions with small spectrum leakage can be also considered.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p>The amplitude response of rectangular window and hanning window.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0008.tif"/>
</fig>
</sec>
<sec>
<title>3.3.3. Channels&#x00027; Pearson Correlation Coefficient</title>
<p>After receiving stimuli, the brain needs to integrate information to understand correctly the emotional significance of the stimuli. According to the &#x02018;binding problem hypothesis&#x00027; (Singer and Gray, <xref ref-type="bibr" rid="B36">1995</xref>), neurons with similar feature properties will synchronize their discharges under certain specific circumstances, and the functional connectivity of the brain can be estimated using the measure of the synchrony (Gupta et al., <xref ref-type="bibr" rid="B9">2016</xref>). The Pearson correlation coefficient is a measurement on linear correlation between two signals and can be used to measure the inter-channel EEG correlations (Bonita et al., <xref ref-type="bibr" rid="B4">2014</xref>; Chen M. et al., <xref ref-type="bibr" rid="B8">2015</xref>). As seen in <xref ref-type="fig" rid="F9">Figure 9</xref>, one of the frame signals is selected as the reference signal and the Pearson correlation coefficients (PCC) between signals can be calculated by (5).</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M10"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;</mml:mtext><mml:mi>P</mml:mi><mml:mi>C</mml:mi><mml:mi>C</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x00304;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>&#x00233;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msqrt><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x00304;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:msqrt><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:msubsup></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>&#x00233;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p>Diagram of the PCCs extraction.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0009.tif"/>
</fig>
</sec></sec>
<sec>
<title>3.4. Classifier</title>
<sec>
<title>3.4.1. Emotion Timing Model</title>
<p>In emotional situations, the hippocampal complex and amygdala interact in subtle but important ways. Specifically, the hippocampal complex can influence the amygdala&#x00027;s response when emotional stimuli are encountered (Phelps, <xref ref-type="bibr" rid="B29">2004</xref>). Therefore, we assume that the present emotional status is influenced by the previous emotional status, and EEG under previous emotion status might have correlations with those under present emotion state as EEG could reflect the emotion status while EEG context information could also be adopted in emotion recognition (Li et al., <xref ref-type="bibr" rid="B20">2017b</xref>), so the EEG feature sequence was viewed as containing information on emotion changes in this paper. Based on this assumption, we then propose an emotion timing model. To simulate our emotion timing model, a classifier is needed which can take full advantage of the context correlations in EEG feature sequences.</p></sec>
<sec>
<title>3.4.2. Long Short-Term Memory Network</title>
<p>The Long Short-Term Memory network (LSTM) is applied to do the emotion classification, which is an improvement on the Recurrent Neural Network (RNN). RNN has the problem of long-term dependencies (Bengio et al., <xref ref-type="bibr" rid="B3">2002</xref>) so it is not suitable for time series analysis, while LSTM can solve the problem due to the design of its repeating module. LSTM is thus adopted in our work to calculate the context correlations of EEG feature sequence. The structure of a regular RNN and our LSTM model in this study is shown in <xref ref-type="fig" rid="F10">Figure 10</xref>.</p>
<fig id="F10" position="float">
<label>Figure 10</label>
<caption><p>The structure of regular RNN and LSTM. Reproduced with permission (Li et al., <xref ref-type="bibr" rid="B21">2018</xref>) Copyright 2018, Springer.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0010.tif"/>
</fig></sec>
<sec>
<title>3.4.3. Emotion Classifier Based on LSTM</title>
<p>To recognize emotion using the correlation of the EEG feature sequence, a deep neural network for emotion recognition based on LSTM is proposed. The first layer of the deep neural network is the LSTM layer, which is used to mine the context correlation in the input EEG feature sequence. The second layer is the full-connect layer, which is used to integrate information and act as the major role of the classifier.</p>
<p>The detailed hyper parameter settings for our neural network model are illustrated in <xref ref-type="fig" rid="F11">Figure 11</xref>. In the LSTM layer, 125 LSTM cells are set to correspond to 125 frame features in each sequence. In the full-connect layer, connection units are set with the same number. Finally, the sigmoid activation function is used in the output layer. For classifier training, the mini-batch gradient descent optimizer and the MSE loss function have been also used.</p>
<fig id="F11" position="float">
<label>Figure 11</label>
<caption><p>Emotion Classifier based on LSTM.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0011.tif"/>
</fig>
<p>&#x0201C;Dropout&#x0201D; was added in the LSTM and full-connect layers to avoid over-fitting. The training epochs of LSTM were set to a few thousand. In the first few hundred epochs, a high learning rate was set to speed up the training procedure, and then it was slowly changed to a lower rate to achieve more robust results. When the training AUC met the set goal, the training was completed.</p></sec></sec>
<sec>
<title>3.5. Model Training</title>
<sec>
<title>3.5.1. Hyper-Parameter Tuning</title>
<p>The SAE and LSTM models were trained separately, and the parameters were set or tuned according to certain rules or bases to ensure their optimization.</p>
<list list-type="order">
<list-item><p>The SAE model was an unsupervised model trained via the back propagation of the reconstruction error. The hyper-parameter setting is described below: the input layer contained 32 units determined by the number of EEG data channels in the DEAP dataset. There were 64 units in the first hidden layer which were tuned by the reconstruction error. The second hidden layer had 12 units, which was consistent with the 12 functional brain zones. To conduct the training of our linear EEG mixing model, the mini-batch gradient descent was used as the optimizer algorithm and the mean square error (MSE) was applied as the loss function.</p></list-item>
<list-item><p>The LSTM model was a supervised model. Its time step was set to 125, as 125 data segments were achieved under the conditions whereby each EEG data in DEAP had a length of 63 s, and a 1 s time window with 0.5 s step size was adopted. The hidden layer of LSTM had 125 units, which was tuned by the reconstruction error.</p></list-item>
</list>
</sec>
<sec>
<title>3.5.2. Over-Fitting Handling</title>
<p>The proposed framework could effectively solve the over-fitting issue. The SAE model was trained using the reconstruction error, and the sparse and penalty constraints were added to avoid the over-fitting problem. In the training of the LSTM&#x0002B;FC model, three aspects of work had been conducted to handle the over-fitting/over-training issues: (1) A 1 s window with 50% overlap was applied to the EEG data segmentation, which augmented the size of data samples and guaranteed the amount of data used in model training. (2) &#x0201C;Dropout&#x0201D; operations were added in the training of the LSTM and full-connect layers to avoid overfitting, which can be seen in <xref ref-type="fig" rid="F11">Figure 11</xref>. (3) Regularization items of the parameters had been added. (4) 10-fold cross validation was used to verify our approach, and the result of cross validation could be considered that these results were highly probable without over-fitting.</p></sec>
<sec>
<title>3.5.3. Training Visualization</title>
<p>To show how our proposed method handled the data during network training, the training procedure was visualized by plotting the feature clustering in different epochs. In <xref ref-type="fig" rid="F12">Figure 12</xref>, the features in connections with positive and negative emotions have been clustered into two categories which are represented by two colors. It can be observed that after a few thousand epochs, the features were clearly classified by our model.</p>
<fig id="F12" position="float">
<label>Figure 12</label>
<caption><p>The feature clustering during training: <bold>(A)</bold> Starting training; <bold>(B)</bold> at around 500 epochs; <bold>(C)</bold> almost completing the training.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0012.tif"/>
</fig>
</sec></sec></sec>
<sec id="s4">
<title>4. Experimental and Results</title>
<p>The effectiveness of our framework was evaluated on the DEAP dataset. At first, we compared our framework with other methods on a trial-oriented emotion recognition task. Then three experiment settings were designed to verify the validity of LSTM and SAE in an emotion recognition task using different EEG features.</p>
<sec>
<title>4.1. Experimental Dataset</title>
<p>We used the EEG data from the DEAP dataset to validate our framework (Koelstra et al., <xref ref-type="bibr" rid="B14">2012</xref>). DEAP is a database using different kinds of physiological signals for human affective state analysis. It contains 32-channel electroencephalogram (EEG) and 8-channel peripheral physiological signals of 32 subjects. Each subject was required to watch 40 one-minute excerpts of music videos during which their signals were recorded. Subjects rated each video in terms of valence, arousal, dominance, liking with the rating distributed from 1 to 9 in each dimension.</p>
<p>The EEG signals in the DEAP database were downsampled to 128 Hz, and a 4.0&#x02013;45 Hz band-pass filter was applied. The data were then segmented into several 63 s trials, where the 3 s pre-trials were removed and the following 60 s trials were kept for further processing. Since EEG signals might be contaminated by other signals such as EOG (Li et al., <xref ref-type="bibr" rid="B19">2017a</xref>; Samuel et al., <xref ref-type="bibr" rid="B32">2017</xref>), the EOG noise was eliminated by ICA in the DEAP dataset to ensure that EEG data can better represent the emotions of the subjects.</p>
<p>As shown in <xref ref-type="fig" rid="F13">Figure 13</xref>, the experimental datasets were selected from DEAP, where we divided the trials into two classes based on the value of valence (or arousal) and labeled &#x0201C;High&#x0201D; if the valence (or arousal) value was higher than 5.5 and &#x0201C;Low&#x0201D; if it was lower than 4.5. Then, the down-sampling method was used to balance the number of samples of both &#x0201C;High" and &#x0201C;Low&#x0201D; and we obtained the valence (or arousal) dataset.</p>
<fig id="F13" position="float">
<label>Figure 13</label>
<caption><p>Diagram of the experimental dataset selection.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0013.tif"/>
</fig></sec>
<sec>
<title>4.2. Emotion Recognition Results</title>
<p>We selected some relevant studies which had similar experimental settings for a comparison. We used the 10-fold cross validation method to validate results in our classification. The 10-fold cross-validation method applied in our work was the regular cross-validation method which was normally adopted in relevant studies (Li et al., <xref ref-type="bibr" rid="B20">2017b</xref>, <xref ref-type="bibr" rid="B18">2018</xref>). Specifically, the data samples contained with all subjects&#x00027; information were randomly split by 10-fold cross-validation method into 10 folds, where 9 folds were for training and 1 for testing. The validation process was repeated ten times to achieve an average result. The results were calculated by <xref ref-type="fn" rid="fn0005"><sup>5</sup></xref>(6).</p>
<disp-formula id="E6"><label>(6)</label><mml:math id="M12"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mtext>&#x000A0;</mml:mtext><mml:mi>A</mml:mi><mml:mi>U</mml:mi><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mi>e</mml:mi><mml:mi>a</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:munderover></mml:mstyle><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>t</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The average accuracy results of our new framework with a comparison of other conventional methods are shown in <xref ref-type="fig" rid="F14">Figure 14</xref>. The results show that our framework exhibits an effective performance.</p>
<fig id="F14" position="float">
<label>Figure 14</label>
<caption><p>The results comparison among relevant methods.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0014.tif"/>
</fig>
<p>Compared with relevant methods, our framework achieves the best performance in emotion recognition using both valence (81.10%) and arousal (74.38%). The reason might be as follows. Chen et al. used HMM to build the relationship between the present and previous emotion states (Chen et al., <xref ref-type="bibr" rid="B7">2015b</xref>). However, each step output of HMM was only related to some of the previous states, thus the classifier could not automatically learn like LSTM. Li et al. proposed a CRNN framework for emotion recognition (Li et al., <xref ref-type="bibr" rid="B20">2017b</xref>), but CNN required a large quantity of training data to extract features and the DEAP dataset cannot satisfy that. P Arnau-Gonzlez (2017) studied the method of EEG feature fusion and achieved the best accuracy using SVM (Arnau-Gonzlez et al., <xref ref-type="bibr" rid="B2">2017</xref>), but the SVM classifier was not able to explore the context correlations of the EEG feature sequence, therefore its performance was limited.</p>
<p>The main purpose of setting up this framework was for valence classification. Theoretically, the effect of EEG spatial information on valence classification was more obvious. The results in <xref ref-type="fig" rid="F14">Figure 14</xref> showed that our classification accuracy in valence (81.10%) was better than relevant studies. Meanwhile, the framework did not affect and even slightly improved the arousal classification performance. The innovative point was that this framework effectively utilized the time domain and space domain information of EEG signals by a linear EEG mixing model based on SAE and an emotion timing model based on LSTM, which significantly improved the valence classification and did not affect, or even slightly improved, the arousal classification.</p></sec>
<sec>
<title>4.3. Verification Experiment</title>
<p>In order to further verify the effectiveness of our framework, we designed three sets of experiments and made a comparison of the performance on different emotional dimensions by statistical analysis.</p>
<sec>
<title>4.3.1. First Experiment - SVM and LSTM Classifier</title>
<p>The first experiment was designed to demonstrate the validity of our LSTM classifier. The experiment settings and results are shown in <xref ref-type="fig" rid="F15">Figure 15</xref> and the significance test results are shown in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<fig id="F15" position="float">
<label>Figure 15</label>
<caption><p>First experiment: settings and results.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0015.tif"/>
</fig>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>First experiment: significance test results.</p></caption>
<graphic xlink:href="fnbot-13-00037-i0001.tif"/>
</table-wrap>
<p>The values in <xref ref-type="table" rid="T1">Table 1</xref> are p-values. The p-value in different experiment setups was the probability of paired sample <italic>t</italic>-tests for different experiment setups, which was calculated by results of the average and standard deviation of the 10-fold cross validation. The main idea of the <italic>t</italic>-test was to state recognition results under two conditions to get the approximate distribution of each condition and to calculate the probability that two distributions have significant difference. When <italic>p</italic> &#x0003C; 0.01 (or 0.05), it can generally be concluded the emotion recognition rate of our method was significantly higher than other methods by using different EEG features in both valence and arousal.</p>
<p>Compared with SVM, the emotion recognition accuracy of LSTM was significantly (<italic>p</italic> &#x0003C; 0.01) higher in both valence and arousal, which proves that exploring the correlations in the EEG feature sequence was more effective than merely integrating the recognition result of each EEG feature frame.</p>
<p>Using LSTM can model emotion in the time dimension and extract the emotion feature of each time step, so that our classifier can integrate the entire feature sequence information. This result agrees with our previous assumption that the change of emotion is continuous.</p></sec>
<sec>
<title>4.3.2. Second Experiment - ICA and SAE</title>
<p>The second experiment was designed to evaluate the performance of our SAE based model for EEG source signal decomposition, which contained two parts.</p>
<p>In the first part, we compared the classification performances among methods with EEG decomposition via SAE or ICA or without EEG decomposition. The results in <xref ref-type="fig" rid="F16">Figure 16</xref> showed that the SAE based EEG source signal decomposition method achieved better performance than the ICA methods or non-decomposing methods, especially in the case of using FBP features. The statistically significance test results in <xref ref-type="table" rid="T2">Table 2</xref> further verified the results (<italic>p</italic> &#x0003C; 0.01).</p>
<fig id="F16" position="float">
<label>Figure 16</label>
<caption><p>Second experiment: settings and results.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0016.tif"/>
</fig>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Second experiment: significance test results.</p></caption>
<graphic xlink:href="fnbot-13-00037-i0002.tif"/>
</table-wrap>
<p>Using SAE for EEG source signal decomposition, in fact, was to encode the EEG channel. The spatial characteristics of the EEG signal, in other words, EEG channel correlations, were also extracted at this time, which was the reason why using EEG source signals could improve the emotion recognition accuracy.</p>
<p>EEG source signal decomposition was an important step in our framework, which took extra time cost. Luckily, using SAE for EEG source signal decomposition would reduce the number of channels of EEG signals that need to be processed, and saved time for feature extraction.</p>
<p>In the second part, we counted the total computation time of EEG source signal decomposition and feature extractions, as can be seen in <xref ref-type="fig" rid="F17">Figure 17</xref>, where it was observed that although the decomposition process costs extra time, it reduces the time spent in feature extraction, especially for complex features. The operation speed of SAE is two orders of magnitude faster than that of ICA. The result is explained as follows:<xref ref-type="fn" rid="fn0006"><sup>6</sup></xref></p>
<fig id="F17" position="float">
<label>Figure 17</label>
<caption><p>Second experiment: Computation Time.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0017.tif"/>
</fig>
<p>According to the experimental results, using SAE for EEG source signal decomposition could improve the emotion recognition accuracy while ensuring fast recognition speed.</p>
<p>The number of parameters in both the SAE and LSTM models were recorded, where the values were 2040376 and 5804 for LSTM and SAE, respectively. We tried to estimate the parameter number of other models in the relevant literature. However, many of them did not provide the whole parameter settings, especially the parameters regarding hidden layers, so the numbers could not be calculated, and hence a comprehensive comparison on the computational complexity using the number of parameters has not been achieved.</p></sec>
<sec>
<title>4.3.3. Third Experiment - FBP and PCC</title>
<p>The third experiment was designed to compare the performance of FBP and PCC in our new framework. The experiment settings and results are illustrated in <xref ref-type="fig" rid="F18">Figure 18</xref> and the significance test results are shown in <xref ref-type="table" rid="T3">Table 3</xref>.</p>
<fig id="F18" position="float">
<label>Figure 18</label>
<caption><p>Third experiment: Settings and results.</p></caption>
<graphic xlink:href="fnbot-13-00037-g0018.tif"/>
</fig>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Third experiment: significance test results.</p></caption>
<graphic xlink:href="fnbot-13-00037-i0003.tif"/>
</table-wrap>
<p>We can see that in <xref ref-type="fig" rid="F16">Figure 16</xref> and <xref ref-type="table" rid="T3">Table 3</xref>, compared with the PCC feature, the FBP feature performs better (<italic>p</italic> &#x0003C; 0.01). The reason may be that FBP is a frequency-domain feature while PCC is a spatial-domain feature. Combining EEG source signal with FBP, &#x0201C;SAE&#x0002B;FBP" can reflect the features of EEG in the spatial-frequency domain, like DASM feature and RASM feature (Lin et al., <xref ref-type="bibr" rid="B22">2010</xref>). While &#x0201C;SAE&#x0002B;PCC" can only reflect EEG in the spatial domain. Therefore, we view the frequency-domain features more suitable for our framework.</p></sec></sec></sec>
<sec sec-type="discussion" id="s5">
<title>5. Discussion</title>
<p>In this work, we obtained EEG-based emotion recognition rates of 81.10% in valence and 74.38% in arousal. The current recognition rates of EEG-based emotion recognition methods are still not adequate for real applications. One of the major problems is related to individual differences, which can be minimized via experiment paradigm design or calibrations that can remove the effects of EEG baseline variations on different subjects. On the other hand, the emotion classification accuracies of these methods are difficult to evaluate in an objective way, since there are no universal standard test datasets in the area, and the evaluation steps of the related work in the literature are different. Eliminating individual differences and establishing standard test sets represent important future work for EEG-based emotion recognition.</p>
<p>Compared with valence, our framework does not exhibit high recognition accuracy in arousal. On the one hand, the EEG features we used might not be enough. Trying more complex features, such as the EEG spectral asymmetry index (SASI) (Orgo et al., <xref ref-type="bibr" rid="B28">2015</xref>), the derived features of bispectrum (Kumar et al., <xref ref-type="bibr" rid="B16">2016</xref>) and the wavelet entropy features (Hosseini and Naghibi-Sistani, <xref ref-type="bibr" rid="B11">2011</xref>), may be more effective. On the other hand, our classifier network may be not complex enough. Using Bidirectional recurrent neural networks (Schuster and Paliwal, <xref ref-type="bibr" rid="B34">1997</xref>), like Bidirectional LSTM (Sak et al., <xref ref-type="bibr" rid="B31">2014</xref>), as classifier may achieve better recognition performance. All of our experiments were conducted on the DEAP dataset. In order to evaluate our framework more systematically and comprehensively, an additional EEG dataset with emotional tags is needed.</p>
<p>In this work, we focused on valence and arousal based on the literature (Chen et al., <xref ref-type="bibr" rid="B7">2015b</xref>; Li et al., <xref ref-type="bibr" rid="B20">2017b</xref>; Mohammadi et al., <xref ref-type="bibr" rid="B26">2017</xref>). Since most relevant studies made the same choice, it is fairer to compare their results with ours in the valence and arousal dimensions. Of course, dominance and other dimensions would be considered in the future work.</p></sec>
<sec sec-type="conclusions" id="s6">
<title>6. Conclusions</title>
<p>In this paper, we present a novel emotion recognition framework consisting of a linear EEG mixing model and an emotion timing model. The SAE-based linear EEG mixing model can be used for decomposition of EEG source signals and extracting EEG channel correlations, and it can also improve computation efficiency in feature extraction and upgrade the emotion recognition performance. The emotion timing model is simulated by LSTM, which increased the recognition accuracy by exploring the context correlations of the EEG feature sequence. The comparison results in our experiment approved the effectiveness of our framework, especially in the valence recognition task. This work can promote the development of brain-inspired robots, especially in human-robot interaction.</p></sec>
<sec id="s7">
<title>Author Contributions</title>
<p>XfX, ZL, and LS designed the framework, conducted experiments and wrote the manuscript; ZL and TX carried out experiments; XfX, BH, and XmX analyzed the results and presented the discussion and conclusion parts.</p>
<sec>
<title>Conflict of Interest Statement</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>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alzoubi</surname> <given-names>O.</given-names></name> <name><surname>D&#x00027;Mello</surname> <given-names>S. K.</given-names></name> <name><surname>Calvo</surname> <given-names>R. A.</given-names></name></person-group> (<year>2012</year>). <article-title>Detecting naturalistic expressions of nonbasic affect using physiological signals</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>298</fpage>&#x02013;<lpage>310</lpage>. <pub-id pub-id-type="doi">10.1109/T-AFFC.2012.4</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Arnau-Gonzlez</surname> <given-names>P.</given-names></name> <name><surname>Arevalillo-Herrez</surname> <given-names>M.</given-names></name> <name><surname>Ramzan</surname> <given-names>N.</given-names></name></person-group> (<year>2017</year>). <article-title>Fusing highly dimensional energy and connectivity features to identify affective states from eeg signals</article-title>. <source>Neurocomputing</source> <volume>244</volume>, <fpage>81</fpage>&#x02013;<lpage>89</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2017.03.027</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bengio</surname> <given-names>Y.</given-names></name> <name><surname>Simard</surname> <given-names>P.</given-names></name> <name><surname>Frasconi</surname> <given-names>P.</given-names></name></person-group> (<year>2002</year>). <article-title>Learning long-term dependencies with gradient descent is difficult</article-title>. <source>IEEE Trans. Neural Netw.</source> <volume>5</volume>, <fpage>157</fpage>&#x02013;<lpage>166</lpage>. <pub-id pub-id-type="doi">10.1109/72.279181</pub-id><pub-id pub-id-type="pmid">18267787</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bonita</surname> <given-names>J. D.</given-names></name> <name><surname>Ambolode</surname> <given-names>L. C. C.</given-names> <suffix>II.</suffix></name> <name><surname>Rosenberg</surname> <given-names>B. M.</given-names></name> <name><surname>Cellucci</surname> <given-names>C. J.</given-names></name> <name><surname>Watanabe</surname> <given-names>T. A. A.</given-names></name> <name><surname>Rapp</surname> <given-names>P. E.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Time domain measures of inter-channel eeg correlations: a comparison of linear, nonparametric and nonlinear measures</article-title>. <source>Cogn. Neurodyn.</source> <volume>8</volume>, <fpage>1</fpage>&#x02013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.1007/s11571-013-9267-8</pub-id><pub-id pub-id-type="pmid">24465281</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brunner</surname> <given-names>C.</given-names></name> <name><surname>Naeem</surname> <given-names>M.</given-names></name> <name><surname>Leeb</surname> <given-names>R.</given-names></name> <name><surname>Graimann</surname> <given-names>B.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name></person-group> (<year>2007</year>). <article-title>Spatial filtering and selection of optimized components in four class motor imagery eeg data using independent components analysis</article-title>. <source>Patt. Recogn. Lett.</source> <volume>28</volume>, <fpage>957</fpage>&#x02013;<lpage>964</lpage>. <pub-id pub-id-type="doi">10.1016/j.patrec.2007.01.002</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>J.</given-names></name> <name><surname>Hu</surname> <given-names>B.</given-names></name> <name><surname>Moore</surname> <given-names>P.</given-names></name> <name><surname>Zhang</surname> <given-names>X.</given-names></name> <name><surname>Ma</surname> <given-names>X.</given-names></name></person-group> (<year>2015a</year>). <article-title>Electroencephalogram-based emotion assessment system using ontology and data mining techniques</article-title>. <source>Appl. Soft Comput.</source> <volume>30</volume>, <fpage>663</fpage>&#x02013;<lpage>674</lpage>. <pub-id pub-id-type="doi">10.1016/j.asoc.2015.01.007</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>J.</given-names></name> <name><surname>Hu</surname> <given-names>B.</given-names></name> <name><surname>Xu</surname> <given-names>L.</given-names></name> <name><surname>Moore</surname> <given-names>P.</given-names></name> <name><surname>Su</surname> <given-names>Y.</given-names></name></person-group> (<year>2015b</year>). <article-title>&#x0201C;Feature-level fusion of multimodal physiological signals for emotion recognition,&#x0201D;</article-title> in <source>IEEE International Conference on Bioinformatics and Biomedicine</source> (<publisher-loc>Washington DC</publisher-loc>), <fpage>395</fpage>&#x02013;<lpage>399</lpage>.</citation></ref>
<ref id="B8">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>M.</given-names></name> <name><surname>Han</surname> <given-names>J.</given-names></name> <name><surname>Guo</surname> <given-names>L.</given-names></name> <name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Patras</surname> <given-names>I.</given-names></name></person-group> (<year>2015</year>). <article-title>&#x0201C;Identifying valence and arousal levels via connectivity between eeg channels,&#x0201D;</article-title> in <source>International Conference on Affective Computing and Intelligent Interaction</source> (<publisher-loc>Xi&#x00027;an</publisher-loc>), <fpage>63</fpage>&#x02013;<lpage>69</lpage>.</citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gupta</surname> <given-names>R.</given-names></name> <name><surname>Laghari</surname> <given-names>K. U. R.</given-names></name> <name><surname>Falk</surname> <given-names>T. H.</given-names></name></person-group> (<year>2016</year>). <article-title>Relevance vector classifier decision fusion and eeg graph-theoretic features for automatic affective state characterization</article-title>. <source>Neurocomputing</source> <volume>174</volume>, <fpage>875</fpage>&#x02013;<lpage>884</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2015.09.085</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hinton</surname> <given-names>G. E.</given-names></name> <name><surname>Salakhutdinov</surname> <given-names>R. R.</given-names></name></person-group> (<year>2006</year>). <article-title>Reducing the dimensionality of data with neural networks</article-title>. <source>Science</source> <volume>313</volume>, <fpage>504</fpage>&#x02013;<lpage>507</lpage>. <pub-id pub-id-type="doi">10.1126/science.1127647</pub-id><pub-id pub-id-type="pmid">16873662</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hosseini</surname> <given-names>S. A.</given-names></name> <name><surname>Naghibi-Sistani</surname> <given-names>M. B.</given-names></name></person-group> (<year>2011</year>). <article-title>Emotion recognition method using entropy analysis of eeg signals</article-title>. <source>Int. J. Image Graph. Signal Process.</source> <volume>3</volume>:<fpage>30</fpage>. <pub-id pub-id-type="doi">10.5815/ijigsp.2011.05.05</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Keil</surname> <given-names>A.</given-names></name> <name><surname>Bradley</surname> <given-names>M. M.</given-names></name> <name><surname>Hauk</surname> <given-names>O.</given-names></name> <name><surname>Rockstroh</surname> <given-names>B.</given-names></name> <name><surname>Elbert</surname> <given-names>T.</given-names></name> <name><surname>Lang</surname> <given-names>P. J.</given-names></name></person-group> (<year>2002</year>). <article-title>Large-scale neural correlates of affective picture processing</article-title>. <source>Psychophysiology</source> <volume>39</volume>, <fpage>641</fpage>&#x02013;<lpage>649</lpage>. <pub-id pub-id-type="doi">10.1111/1469-8986.3950641</pub-id><pub-id pub-id-type="pmid">12236331</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khosrowabadi</surname> <given-names>R.</given-names></name> <name><surname>Chai</surname> <given-names>Q.</given-names></name> <name><surname>Kai</surname> <given-names>K. A.</given-names></name> <name><surname>Wahab</surname> <given-names>A.</given-names></name></person-group> (<year>2014</year>). <article-title>Ernn: a biologically inspired feedforward neural network to discriminate emotion from eeg signal</article-title>. <source>IEEE Trans. Neural Netw. Learn. Syst.</source> <volume>25</volume>, <fpage>609</fpage>&#x02013;<lpage>620</lpage>. <pub-id pub-id-type="doi">10.1109/TNNLS.2013.2280271</pub-id><pub-id pub-id-type="pmid">24807454</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Koelstra</surname> <given-names>S.</given-names></name> <name><surname>Muhl</surname> <given-names>C.</given-names></name> <name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Lee</surname> <given-names>J. S.</given-names></name> <name><surname>Yazdani</surname> <given-names>A.</given-names></name> <name><surname>Ebrahimi</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Deap: a database for emotion analysis ;using physiological signals</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>18</fpage>&#x02013;<lpage>31</lpage>. <pub-id pub-id-type="doi">10.1109/T-AFFC.2011.15</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Korats</surname> <given-names>G.</given-names></name> <name><surname>Le Cam</surname> <given-names>S.</given-names></name> <name><surname>Ranta</surname> <given-names>R.</given-names></name> <name><surname>Hamid</surname> <given-names>M.</given-names></name></person-group> (<year>2012</year>). <article-title>&#x0201C;Applying ica in eeg: choice of the window length and of the decorrelation method,&#x0201D;</article-title> in <source>International Joint Conference on Biomedical Engineering Systems and Technologies</source> (<publisher-loc>Vilamoura</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>269</fpage>&#x02013;<lpage>286</lpage>.</citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kumar</surname> <given-names>N.</given-names></name> <name><surname>Khaund</surname> <given-names>K.</given-names></name> <name><surname>Hazarika</surname> <given-names>S. M.</given-names></name></person-group> (<year>2016</year>). <article-title>Bispectral analysis of eeg for emotion recognition</article-title>. <source>Proced. Comput. Sci.</source> <volume>84</volume>, <fpage>31</fpage>&#x02013;<lpage>35</lpage>. <pub-id pub-id-type="doi">10.1016/j.procs.2016.04.062</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lang</surname> <given-names>P. J.</given-names></name></person-group> (<year>1995</year>). <article-title>The emotion probe. Studies of motivation and attention</article-title>. <source>Am. Psychol.</source> <volume>50</volume>, <fpage>372</fpage>&#x02013;<lpage>385</lpage>.<pub-id pub-id-type="pmid">7762889</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>M.</given-names></name> <name><surname>Xu</surname> <given-names>H.</given-names></name> <name><surname>Liu</surname> <given-names>X.</given-names></name> <name><surname>Lu</surname> <given-names>S.</given-names></name></person-group> (<year>2018</year>). <article-title>Emotion recognition from multichannel eeg signals using k-nearest neighbor classification</article-title>. <source>Tech. Health Care</source> <volume>26</volume>(<supplement>Suppl. 1</supplement>):<fpage>509</fpage>&#x02013;<lpage>519</lpage>. <pub-id pub-id-type="doi">10.3233/THC-174836</pub-id><pub-id pub-id-type="pmid">29758974</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>X.</given-names></name> <name><surname>Samuel</surname> <given-names>O. W.</given-names></name> <name><surname>Zhang</surname> <given-names>X.</given-names></name> <name><surname>Wang</surname> <given-names>H.</given-names></name> <name><surname>Fang</surname> <given-names>P.</given-names></name> <name><surname>Li</surname> <given-names>G.</given-names></name></person-group> (<year>2017a</year>). <article-title>A motion-classification strategy based on semg-eeg signal combination for upper-limb amputees</article-title>. <source>J. Neuroeng. Rehabilit.</source> <volume>14</volume>:<fpage>2</fpage>. <pub-id pub-id-type="doi">10.1186/s12984-016-0212-z</pub-id><pub-id pub-id-type="pmid">28061779</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>X.</given-names></name> <name><surname>Song</surname> <given-names>D.</given-names></name> <name><surname>Zhang</surname> <given-names>P.</given-names></name> <name><surname>Yu</surname> <given-names>G.</given-names></name> <name><surname>Hou</surname> <given-names>Y.</given-names></name> <name><surname>Hu</surname> <given-names>B.</given-names></name></person-group> (<year>2017b</year>). <article-title>&#x0201C;Emotion recognition from multi-channel eeg data through convolutional recurrent neural network,&#x0201D;</article-title> in <source>IEEE International Conference on Bioinformatics and Biomedicine</source> (<publisher-loc>Shenzhen</publisher-loc>), <fpage>352</fpage>&#x02013;<lpage>359</lpage>.</citation></ref>
<ref id="B21">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Z.</given-names></name> <name><surname>Tian</surname> <given-names>X.</given-names></name> <name><surname>Shu</surname> <given-names>L.</given-names></name> <name><surname>Xu</surname> <given-names>X.</given-names></name> <name><surname>Hu</surname> <given-names>B.</given-names></name></person-group> (<year>2018</year>). <article-title>&#x0201C;Emotion Recognition from EEG Using RASM and LSTM,&#x0201D;</article-title> in <source>Internet Multimedia Computing and Service. ICIMCS 2017</source>. Communications in Computer and Information Science, Vol. <volume>819</volume>, eds <person-group person-group-type="editor"><name><surname>Huet</surname> <given-names>B.</given-names></name> <name><surname>Nie</surname> <given-names>L.</given-names></name> <name><surname>Hong</surname> <given-names>R.</given-names></name></person-group> (<publisher-loc>Singapore</publisher-loc>: <publisher-name>Springer</publisher-name>).</citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lin</surname> <given-names>Y. P.</given-names></name> <name><surname>Wang</surname> <given-names>C. H.</given-names></name> <name><surname>Jung</surname> <given-names>T. P.</given-names></name> <name><surname>Wu</surname> <given-names>T. L.</given-names></name> <name><surname>Jeng</surname> <given-names>S. K.</given-names></name> <name><surname>Duann</surname> <given-names>J. R.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>Eeg-based emotion recognition in music listening</article-title>. <source>IEEE Trans. BioMed. Eng.</source> <volume>57</volume>:<fpage>1798</fpage>. <pub-id pub-id-type="doi">10.1109/TBME.2010.2048568</pub-id><pub-id pub-id-type="pmid">20442037</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="book"><person-group person-group-type="author"><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>2016</year>). <article-title>Emotion recognition using multimodal deep learning. in</article-title> <source>International Conference on Neural Information Processing</source> (<publisher-loc>Kyoto</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>521</fpage>&#x02013;<lpage>529</lpage>.</citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Majumdar</surname> <given-names>A.</given-names></name> <name><surname>Gogna</surname> <given-names>A.</given-names></name> <name><surname>Ward</surname> <given-names>R.</given-names></name></person-group> (<year>2016</year>). <article-title>Semi-supervised stacked label consistent autoencoder for reconstruction and analysis of biomedical signals</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>99</volume>, <fpage>1</fpage>&#x02013;<lpage>1</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2016.2631620</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mao</surname> <given-names>Q.</given-names></name> <name><surname>Dong</surname> <given-names>M.</given-names></name> <name><surname>Huang</surname> <given-names>Z.</given-names></name> <name><surname>Zhan</surname> <given-names>Y.</given-names></name></person-group> (<year>2014</year>). <article-title>Learning salient features for speech emotion recognition using convolutional neural networks</article-title>. <source>IEEE Transact. Multi.</source> <volume>16</volume>, <fpage>2203</fpage>&#x02013;<lpage>2213</lpage>. <pub-id pub-id-type="doi">10.1109/TMM.2014.2360798</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mohammadi</surname> <given-names>Z.</given-names></name> <name><surname>Frounchi</surname> <given-names>J.</given-names></name> <name><surname>Amiri</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>Wavelet-based emotion recognition system using eeg signal</article-title>. <source>Neural Comput. Appl.</source> <volume>28</volume>, <fpage>1985</fpage>&#x02013;<lpage>1990</lpage>. <pub-id pub-id-type="doi">10.1007/s00521-015-2149-8</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Niedermeyer</surname> <given-names>E.</given-names></name> <name><surname>da Silva</surname> <given-names>F. L.</given-names></name></person-group> (<year>2005</year>). <source>Electroencephalography: Basic Principles, Clinical Applications, and Related Fields</source>. <publisher-name>Lippincott Williams &#x00026; Wilkins</publisher-name>.</citation></ref>
<ref id="B28">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Orgo</surname> <given-names>L.</given-names></name> <name><surname>Bachmann</surname> <given-names>M.</given-names></name> <name><surname>Lass</surname> <given-names>J.</given-names></name> <name><surname>Hinrikus</surname> <given-names>H.</given-names></name></person-group> (<year>2015</year>). <article-title>&#x0201C;Effect of negative and positive emotions on eeg spectral asymmetry,&#x0201D;</article-title> in <source>2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</source> (<publisher-loc>Milan</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>8107</fpage>&#x02013;<lpage>8110</lpage>.</citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Phelps</surname> <given-names>E. A.</given-names></name></person-group> (<year>2004</year>). <article-title>Human emotion and memory: interactions of the amygdala and hippocampal complex</article-title>. <source>Curr. Opin. Neurobiol.</source> <volume>14</volume>, <fpage>198</fpage>&#x02013;<lpage>202</lpage>. <pub-id pub-id-type="doi">10.1016/j.conb.2004.03.015</pub-id><pub-id pub-id-type="pmid">15082325</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Reddi</surname> <given-names>S. J.</given-names></name> <name><surname>Kale</surname> <given-names>S.</given-names></name> <name><surname>Kumar</surname> <given-names>S.</given-names></name></person-group> (<year>2018</year>). <article-title>&#x0201C;On the convergence of adam and beyond,&#x0201D;</article-title> in <source>International Conference on Learning Representations</source> (<publisher-loc>Vancouver, BC</publisher-loc>).</citation></ref>
<ref id="B31">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Sak</surname> <given-names>H.</given-names></name> <name><surname>Senior</surname> <given-names>A.</given-names></name> <name><surname>Beaufays</surname> <given-names>F.</given-names></name></person-group> (<year>2014</year>). <article-title>&#x0201C;Long short-term memory recurrent neural network architectures for large scale acoustic modeling,&#x0201D;</article-title> in <source>Fifteenth Annual Conference of the International Speech Communication Association</source> (<publisher-loc>Singapore</publisher-loc>).</citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Samuel</surname> <given-names>O. W.</given-names></name> <name><surname>Geng</surname> <given-names>Y.</given-names></name> <name><surname>Li</surname> <given-names>X.</given-names></name> <name><surname>Li</surname> <given-names>G.</given-names></name></person-group> (<year>2017</year>). <article-title>Towards efficient decoding of multiple classes of motor imagery limb movements based on eeg spectral and time domain descriptors</article-title>. <source>J. Med. Syst.</source> <volume>41</volume>:<fpage>194</fpage>. <pub-id pub-id-type="doi">10.1007/s10916-017-0843-z</pub-id><pub-id pub-id-type="pmid">29080913</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Sanei</surname> <given-names>S.</given-names></name> <name><surname>Chambers</surname> <given-names>J. A.</given-names></name></person-group> (<year>2013</year>). <source>EEG Signal Processing</source>. John Wiley &#x00026; Sons.<pub-id pub-id-type="pmid">18301719</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schuster</surname> <given-names>M.</given-names></name> <name><surname>Paliwal</surname> <given-names>K. K.</given-names></name></person-group> (<year>1997</year>). <article-title>Bidirectional recurrent neural networks</article-title>. <source>IEEE Trans. Signal Process.</source> <volume>45</volume>, <fpage>2673</fpage>&#x02013;<lpage>2681</lpage>.</citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shu</surname> <given-names>L.</given-names></name> <name><surname>Xie</surname> <given-names>J.</given-names></name> <name><surname>Yang</surname> <given-names>M.</given-names></name> <name><surname>Li</surname> <given-names>Z.</given-names></name> <name><surname>Li</surname> <given-names>Z.</given-names></name> <name><surname>Liao</surname> <given-names>D.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>A review of emotion recognition using physiological signals</article-title>. <source>Sensors</source> <volume>18</volume>:<fpage>2074</fpage>. <pub-id pub-id-type="doi">10.3390/s18072074</pub-id><pub-id pub-id-type="pmid">29958457</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Singer</surname> <given-names>W.</given-names></name> <name><surname>Gray</surname> <given-names>C. M.</given-names></name></person-group> (<year>1995</year>). <article-title>Visual feature integration and the temporal correlation hypothesis</article-title>. <source>Ann. Rev. Neurosci.</source> <volume>18</volume>:<fpage>555</fpage>.<pub-id pub-id-type="pmid">7605074</pub-id></citation></ref>
<ref id="B37">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Asghari-Esfeden</surname> <given-names>S.</given-names></name> <name><surname>Fu</surname> <given-names>Y.</given-names></name> <name><surname>Pantic</surname> <given-names>M.</given-names></name></person-group> (<year>2016</year>). <article-title>Analysis of eeg signals and facial expressions for continuous emotion detection</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>7</volume>, <fpage>17</fpage>&#x02013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1109/TAFFC.2015.2436926</pub-id></citation></ref>
<ref id="B38">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Asghariesfeden</surname> <given-names>S.</given-names></name> <name><surname>Pantic</surname> <given-names>M.</given-names></name> <name><surname>Fu</surname> <given-names>Y.</given-names></name></person-group> (<year>2014</year>). <article-title>&#x0201C;Continuous emotion detection using eeg signals and facial expressions,&#x0201D;</article-title> in <source>IEEE International Conference on Multimedia and Expo</source> (<publisher-loc>Chengdu</publisher-loc>), <fpage>1</fpage>&#x02013;<lpage>6</lpage>.</citation></ref>
<ref id="B39">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Urgen</surname> <given-names>B.</given-names></name> <name><surname>Plank</surname> <given-names>M.</given-names></name> <name><surname>Ishiguro</surname> <given-names>H.</given-names></name> <name><surname>Poizner</surname> <given-names>H.</given-names></name> <name><surname>Saygin</surname> <given-names>A.</given-names></name></person-group> (<year>2013</year>). <article-title>Eeg theta and mu oscillations during perception of human and robot actions</article-title>. <source>Front. Neurorobot.</source> <volume>7</volume>:<fpage>19</fpage>. <pub-id pub-id-type="doi">10.3389/fnbot.2013.00019</pub-id><pub-id pub-id-type="pmid">24348375</pub-id></citation></ref>
<ref id="B40">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Whitten</surname> <given-names>T. A.</given-names></name> <name><surname>Hughes</surname> <given-names>A. M.</given-names></name> <name><surname>Dickson</surname> <given-names>C. T.</given-names></name> <name><surname>Caplan</surname> <given-names>J. B.</given-names></name></person-group> (<year>2011</year>). <article-title>A better oscillation detection method robustly extracts eeg rhythms across brain state changes: the human alpha rhythm as a test case</article-title>. <source>Neuroimage</source> <volume>54</volume>:<fpage>860</fpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2010.08.064</pub-id><pub-id pub-id-type="pmid">20807577</pub-id></citation></ref>
<ref id="B41">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yin</surname> <given-names>Z.</given-names></name> <name><surname>Wang</surname> <given-names>Y.</given-names></name> <name><surname>Liu</surname> <given-names>L.</given-names></name> <name><surname>Zhang</surname> <given-names>W.</given-names></name> <name><surname>Zhang</surname> <given-names>J.</given-names></name></person-group> (<year>2017</year>). <article-title>Cross-subject eeg feature selection for emotion recognition using transfer recursive feature elimination</article-title>. <source>Front. Neurorobot.</source> <volume>11</volume>:<fpage>19</fpage>. <pub-id pub-id-type="doi">10.3389/fnbot.2017.00019</pub-id><pub-id pub-id-type="pmid">28443015</pub-id></citation></ref>
<ref id="B42">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yoo</surname> <given-names>J.</given-names></name> <name><surname>Kwon</surname> <given-names>J.</given-names></name> <name><surname>Choe</surname> <given-names>Y.</given-names></name></person-group> (<year>2014</year>). <article-title>Predictable internal brain dynamics in eeg and its relation to conscious states</article-title>. <source>Front. Neurorobot.</source> <volume>8</volume>:<fpage>18</fpage>. <pub-id pub-id-type="doi">10.3389/fnbot.2014.00018</pub-id><pub-id pub-id-type="pmid">24917813</pub-id></citation></ref>
<ref id="B43">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>You</surname> <given-names>R.</given-names></name> <name><surname>Xu</surname> <given-names>S.</given-names></name> <name><surname>Chen</surname> <given-names>Z.</given-names></name></person-group> (<year>2004</year>). <article-title>Blind signal separation of multi-channel eeg</article-title>. <source>Acta Biophys. Sinica</source> <volume>20</volume>, <fpage>77</fpage>&#x02013;<lpage>82</lpage>.</citation></ref>
<ref id="B44">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>Y. D.</given-names></name> <name><surname>Yang</surname> <given-names>Z. J.</given-names></name> <name><surname>Lu</surname> <given-names>H. M.</given-names></name> <name><surname>Zhou</surname> <given-names>X. X.</given-names></name> <name><surname>Phillips</surname> <given-names>P.</given-names></name> <name><surname>Liu</surname> <given-names>Q. M.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Facial emotion recognition based on biorthogonal wavelet entropy, fuzzy support vector machine, and stratified cross validation</article-title>. <source>IEEE Access</source> <volume>99</volume>, <fpage>1</fpage>&#x02013;<lpage>1</lpage>. <pub-id pub-id-type="doi">10.1109/ACCESS.2016.2628407</pub-id></citation></ref>
<ref id="B45">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname> <given-names>W. L.</given-names></name> <name><surname>Zhu</surname> <given-names>J. Y.</given-names></name> <name><surname>Lu</surname> <given-names>B. L.</given-names></name></person-group> (<year>2016</year>). <article-title>Identifying stable patterns over time for emotion recognition from eeg</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>4</volume>, <fpage>8375</fpage>&#x02013;<lpage>8385</lpage>. <pub-id pub-id-type="doi">10.1109/TAFFC.2017.2712143</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn id="fn0001"><p><sup>1</sup><italic>x</italic><sub>1</sub>&#x0007E;<italic>x</italic><sub><italic>n</italic></sub> represent the <italic>n</italic>th-channel EEG signals, <italic>s</italic><sub>1</sub>&#x0007E;<italic>s</italic><sub><italic>m</italic></sub> represent the <italic>m</italic>th-channel EEG source signals, <inline-formula><mml:math id="M1"><mml:mi>F</mml:mi><mml:mi>B</mml:mi><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M2"><mml:mi>F</mml:mi><mml:mi>B</mml:mi><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B1;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math id="M3"><mml:mi>F</mml:mi><mml:mi>B</mml:mi><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B2;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M4"><mml:mi>F</mml:mi><mml:mi>B</mml:mi><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B3;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the frequency band power of theta, alpha, beta and gamma band in the <italic>i</italic>th frame, respectively, <italic>PCCs</italic><sub><italic>i</italic></sub> represent the Pearson correlation coefficient of each channel in the <italic>i</italic>th frame, <italic>I</italic><sub>1</sub>&#x0007E;<italic>I</italic><sub><italic>t</italic></sub> represent each frame of the feature sequence, <italic>L</italic><sub>1</sub>&#x0007E;<italic>L</italic><sub><italic>t</italic></sub> represent each step of the unrolled LSTM layer, <italic>F</italic><sub>1</sub>&#x0007E;<italic>F</italic><sub><italic>t</italic></sub> represent each unit of the Full-Connect layer, <italic>O</italic> represents the output layer of the classifier.</p></fn>
<fn id="fn0002"><p><sup>2</sup><italic>X</italic> refers to the collected EEG signals, <italic>A</italic> refers to the mixing matrix and <italic>S</italic> denotes the EEG source signals.</p></fn>
<fn id="fn0003"><p><sup>3</sup><italic>I</italic> is the input data, <italic>H</italic> is the output of the hidden layer, <italic>W</italic> is the transformation matrix of the encoder.</p></fn>
<fn id="fn0004"><p><sup>4</sup><italic>X</italic> refers to the collected EEG signals, <italic>H</italic> refers to the output signals of the first hidden layer, <italic>S</italic> refers to the EEG source signals, <inline-formula><mml:math id="M7"><mml:mover accent="true"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> and &#x00124; refers to the reconstructed data of <italic>X</italic> and <italic>H</italic>.</p></fn>
<fn id="fn0005"><p><sup>5</sup><italic>AUC</italic><sub><italic>mean</italic></sub> represents the average recognition accuracy, <italic>N</italic><sub><italic>test</italic></sub> represents the number of the testing samples, <inline-formula><mml:math id="M11"><mml:msubsup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the number of samples that have been classified correctly.</p></fn>
<fn id="fn0006"><p><sup>6</sup><italic>FBP</italic>_32 represents the FBP feature extraction of 32-channel collect EEG signals, <italic>PCC</italic>_12 represents the PCC feature extraction of 12-channel EEG source signals, <italic>SAE</italic> represents the EEG source signal decomposition using SAE based approach and <italic>ICA</italic> represents the EEG source signal decomposition using an ICA-based approach.</p>
<p>When using ICA to decompose EEG source signals, the EEG data needed to be whitened. Since there existed significant variations in EEG amplitudes among different subjects or among different trials under the same subject, it was necessary to resolve the ICA model when decomposing different EEG data records. However, the SAE method required only one solution, therefore its time consumption was much lower than ICA.</p></fn>
</fn-group>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> This work was supported by the Natural Science Foundation of China (Nos. U180120050, 61702192 and U1636218), Science and Technology Program of Guangzhou (201704020043), Natural Science Foundation of Guangdong Province of China (2018A030310407) and the Fundamental Research Funds for the Central Universities (2018ZD11).</p></fn>
</fn-group>
</back>
</article>