1. Introduction
The Brain-Computer Interface (BCI) has subdomain of Human-Computer Interaction (HCI). The BCI allows the connection between electronic devices (e.g. computer, mobile phones) and the human brain [1]. The BCI has provided support to impaired people. The BCI model builds the interaction of users with the device, which utilizes EEG signals and so on. The several processing stages in the BCI center focus on understanding the intentions of the brain signals and converting them into activities [2]. From a subject's brain, the BCI system acquires signals, extraction of information from the obtained signals, and uses this information to specify the intentions of the subject that may have produced those signals. EEG signals are also applied in non-medical conditions namely supervision, games, and entertainment education [3]. Emotions have performed a crucial role in human cognizance, specifically in perception, human interaction, human intelligence, and reasonable decision-making. Researching and understanding human feelings are essential to existence [4]. Categorization of automatic emotion utilizing Machine Learning (ML) and Artificial Intelligence (AL) newly glowed curiosity, as it might be used in variety of HCI applications. To be efficacious, an artificial sensitive intelligence method should have comprehensive understanding of human sentimental perception and link among emotions and sentimental expression [5]. HCI and collaboration might be established in types of domains, comprising, gaming, therapy, medicine, etc. With the aim of achieving higher levels of user satisfaction, regularly researchers are working to enhance efficiency and the flexibility of HCI [6]. Consequently, HCI methods should be proficient in obtaining a total perception of different human sensations and emotive expressions. Human thoughts and feelings would be communicated in verbal and non-verbal [7]. Hence, HCI techniques should be capable to interpret, identify and estimate the human non-verbal expressions. Human emotion identification or detection is a main technological complication affecting computation, which majorly resolves the issues of computer systems accurately understanding, processing, and detecting the sensitive data communicated by human beings [8]. As emotion acts a key role in the domain of HCI and AL, it has newly obtained wide-ranging consideration in the domains of engineering research. Lately, numerous development of EEG-based BCI emotion identification methods are used. Moreover, quick developments in ML and DL have allowed computers or machines for understanding, recognize, and analyse feelings [9]. This research examines the emotional identification techniques that depend on multi-channelled EEG signal-based BCIs and offers a summary of what achieved in this domain. It also offers outline of databases and techniques applied to prompted expressive conditions [10]. As reported by the traditional emotional detection pathway, reviews numerous EEGs, namely Feature Selection/Reduction (FS/FR), Feature Extraction (FE), Artificial Neural Networks (ANNs), ML technique and DL technique. This study presents an Automated EEG-based Emotion Detection utilizing Bonobo Optimizer with Deep Learning (AEEGED-BODL) technique on HCI applications. The goal of the study is to inspect the EEG signals for the classification of numerous kinds of emotions in HCI applications. To achieve this, the AEEGED-BODL technique uses Higuchi fractal dimension (HFD) approach for extracting features in the EEG signals. Besides, the AEEGEDBODL technique makes use of the quasi-recurrent neural network (QRNN) approach for the detection and classification of distinct kinds of emotions. Furthermore, the BO system was employed for optimal hyperparameter selection of QRNN model that helps in attaining improved recognition rate. The simulation validation of AEEGEDBODL technique simulated on EEG signal dataset.
2. Related Works
Wu et al. [11] presented emotion detection method was dependent upon the hierarchical LSTM-NN for Video-EEG signal communication. An input is facial-video and EEG signals in subjects if it can be observing emotion-stimulated video. The outcomes equivalent to emotion detection results. Facial-video features and equivalent EEG feature extraction depends on FCN at every time point. Algarni et al. [12] present a DL-based method for emotion detection by EEG signs that contains features extraction, data selection, classification, and feature selection (FS) phases. The Binary GWO has executed the FS task. At the classification phase, the stacked BiLSTM approach has been employed for recognizing human emotions. Zhang [13] examined an expression-EEG interaction multi-modal emotion detection approach utilizing a deep automatic encoder. Primarily, the DT was carried out as an objective FS approach. Afterwards, bimodal deep automatic encoder implemented to fuse facial expression and EEG indications. The third layer of BDAE feature extraction is to train supervised learning. Eventually, the LIBSVM approach has been employed for completing classifier tasks. Hwang et al. [14] introduce a novel emotion detection approach employing a CNN but avoiding the loss of local data. The presented technique comprises 2 phases. An initial phase creates topology-preserving variance entropy features but keeps distance from center electrode to other electrodes. Next phase studies presented CNN for estimating 3-class emotional states (negative, neutral, positive).
Choi et al. [15] introduce a multi-modal fusion network that combines video and EEG modality networks. Eventually, continuous domain valence values can be calculated by employing 2 modality network outputs and attention weight. Gao et al. [16] present a novel DL structure called a channel-fused dense convolution system, for EEG-based emotion detection. Primary, the authors utilize a 1D convolutional layer for receiving weighted integration of contextual features besides temporal dimensional in EEG signals. Afterwards, simulated by recent object classification approaches, the authors utilize 1D dense infrastructures for capturing electrode correlations along the spatial size. Iyer et al. [17] suggest a new approach for human emotion detection utilizing EEG signals. The authors are assumed that 3 emotions like positive, neutral, and negative. These EEG indications can be divided into 5 frequency bands based on EEG rhythms as well as difference entropy was calculated on distinct frequency band modules. The CNN and LSTM-based hybrid approach was established to correct emotion recognition. In [18], a model that depends on Deep CNNs (DCNNs) was proposed that is categorize 3 emotions such as neutral, positive, and negative in EEG signals dependent upon musical stimuli with maximum reliability. Therefore, a widespread dataset of EEG signals is gathered but volunteers are listening to positive and negative music for stimulating the emotional state. This structure of the presented method comprises a group of 6 convolutional layers and 2 FC layers.
3. The Proposed Model
In this paper, we projected unique AEEGED-BODL technique for identification and categorization of different sentiments in HCI applications. The drive of research is to inspect the EEG signals for the classification of several kinds of emotions in HCI applications. To achieve this, the AEEGED-BODL technique follows three major phases of operations namely HFD feature extraction, QRNN-based emotion recognition, and BO-based hyperparameter tuning. Fig. 1 depicts workflow of AEEGED-BODL methodology.
A. HFD Feature Extraction
In this research, HFD employed to derive feature from input EEG signals. FD was extremely utilized and is a role vital play in several fields [19]. Related research demonstrated that the FD can differentiate various emotional states of the brain. Thus, the FD is employed for expressing the difficulty of equivalent EEG signals.
The details of the HFD are expressed as follows. To provide a time sequences {𝑥(𝑖), 𝑖= 1,2, 𝑛}, a reconstructed order is shown as:
whereas 𝑚 refers to the primary time and 𝑘 represents interval time. 𝑘 sets of 𝐿𝑚(𝑘) are developed as:
〈𝐿(𝑘)〉whereas 〈𝐿(𝑘)〉 signifies the average value of 𝐿𝑚(𝑘) and one connection occurs as follows.
〈𝐿(𝑘)〉∝𝑘−𝐹𝐷𝑥. (3) Afterwards, 𝐹𝐷𝑥 is attained by logarithmic interpolation among distinct 𝑘 (ranging from 1 to 𝑘𝑚𝑎𝑥) and its connected 𝐿𝑚(𝑘).
B. Emotion Recognition using QRNN Model
For recognition and classification of emotions, QRNN model is utilized. A QRNN model was used for capturing the representing features in the input dataset with deep network architecture [20]. QRNN incorporates the benefits of CNN and LSTM as a kind of RNN. Not unlike LSTM, QRNN enables the processing of time sequence datasets with long‐term temporal dependency. QRNN could deal with the task by parallel calculation to speed up the training model Similar to CNN. Various features extracted in the multi‐sensor signals can be collected to set up training datasets {Rt, 𝐿𝜏}𝑡=1
𝑇−1, whereas 𝑅𝑡∈ℝ𝑛′ shows the dataset of 𝑛′ hidden extraction features at 𝑟 time, 𝑇 shows length of an input signal. 𝐿𝜏 represents the respective class label at 𝑡 time. The QRNN layer contains two subcomponents, vi., pooling convolutional and components. The convolution component captures the representation of the input dataset, where different filters on the processed input dataset can implement parallel processing. The pooling element was performed for reducing the representation size of a feature. The working procedure in QRNN has four different steps. Firstly, the masked convolution operator converts input series 𝐼∈𝑅(𝑇−1)×𝑛′ for producing a series 𝑍∈ 𝑅(𝑇−1)×𝑚 of 𝑚‐dimension candidate vector 𝑍𝜏 by the bank of 𝑚 filters with width of 𝑘 from convolution module. Furthermore, convolution was adopted Quasi‐Recurrent Pooling for producing a series of tensors 𝐹 and 0 for input of gating architecture from pooling module. The tanh non-linearity was applied for processing the candidate tensor, the additional convolution uses a component-wise sigmoid. Each procedure in the convolution module was formulated as follows:
In Eq. (5), 𝑊𝑍, 𝑊𝑓, 𝑊𝑜∈ℝ𝑘×𝑛′×𝑚 denotes the convolution filter bank, and ∗represents the masked convolutional operator. 𝜑 and 𝜎 indicate tanh and element-wise sigmoid, correspondingly. Next, attained candidate tensor, 𝐹, and 0 are split for producing a sequence of 𝑧𝑡, 𝑓𝑡 and o𝑡(𝑡= 1,2, … , 𝑛), and this state was transmitted to the pooling module. During pooling module of QRNN, this states 𝑧𝜏, 𝑓𝜏 and 0𝜏 are consecutively provided as the semi‐circular function quasi-recurrent pooling that can be handled by the output and forget gates that might mix states across time steps, as follows:
ℎ𝑡= o𝑡⊙𝐶𝑡 (7) In which, ⊙ implies the element-wise multiplication. The forget gate 𝑓𝑡 control the prior state data 𝐶𝑡−1 for entering the present computation procedure, and keeping the weighted balance among the existing candidate 𝑧𝑡 and recurrent data 𝐶𝑡−1. The output gate o𝑡 manages existing state data 𝐶𝑡 to outcome of QRNN. Lastly, as quasi‐recurrent pooling was always conducted from the loop, a massive amount of pooled outcomes ℎ𝑡(𝑡= 1,2, … , 𝑛) is produced. This hidden state was concatenated with the procedure of the outcome of QRNN. The FC dense layer has been used as a resultant layer from the QRNN model, whereas the outcome of QRNN layer ℎ𝑡 was provided and finally, the multisensory signals are combined into the predictive class 𝐿̂𝑡, as follows:
𝐿̂t = 𝑊𝑜ℎ𝑡 (8) In Eq. (8), 𝑊𝑜 represents the weighted vector of the dense layer and 𝐿̂𝑡 denotes the predicted RUL.
C. Hyperparameter Tuning using BO Algorithm
In this work, BO algorithm utilized for hyperparameter selection of QRNN technique. BO is a novel intelligent heuristic optimizer system stimulated by the interesting aspects of the reproductive and social strategies of bonobos, frequently called pygmy chimpanzees [21]. In the case of the fission type, it can be separated into various groups with different sizes and compositions and move through the territory. In the case of fusion type, it again combines with members of a group to implement certain actions. Bonobos have four dissimilar approaches to reproduction namely restrictive mating, consortship mating, promiscuous mating, and extra‐group mating to retain perfect social harmony. The search method with a self‐adjusting parameter was introduced so that it could effectively handle various states while resolving the problem. In addition, fusion is a new technique in meta‐heuristic approaches that select the mating partner. This natural technique was modelled mathematically in BO for resolving optimizer problems. Fig. 2 depicts the flowchart of the BO algorithm. At first, BO involves two conditions: positive and negative situations. The negative state represents the lack of the above mentioned conditions for comfortable and well living. At the same time, the positive state was suitable for comfortable living circumstances. In all the iterations, BO begins with the initialization of the parameter. BO parameter comprises user‐defined and non user‐defined parameters. The user‐defined parameter is the size of populations (𝑁), and iteration count (𝑖𝑡). BO works with 2 sizes of populations like random population initialization and constant population size. Whereas, non user‐defined parameters of BO, including extra‐group mating probability(𝑃𝑥𝑔𝑚), phase probability(𝑃𝑝), negative phase count of all bonobos, and positive phase count(𝑃𝑃𝐶)are evaluated for identifying the alpha bonobo(𝛼𝐵𝑜) that is the better solution amongst directional probability (𝑃𝑑), each bonobo in(𝑛𝑝𝑐), and temporary sub‐group size factor(𝑡𝑠𝑔𝑠 actor). Then, objective values of population are at their existing state. While the ending condition is not accomplished, other bonobos are chosen by fission-fusion social approach of bonobos, which participate during mating. Based on situation type, the mating strategy implemented is that distinct. Initially, the 𝑃𝑑 value is fixed as 0.5 to give equivalent significance to both varieties of mating approaches in a specific situation. But based on the current situation its value was updated and phase count number. In the case of the negative situation, 𝑃𝑝 values are between 0 and 0.5. For positive situations, The 𝑃𝑝 value is between 1 and 0.5. If a random integer (r) ranges within in [0,1], is equivalent to or lesser than 𝑝𝑝, the newest bonobo is produced by promiscuous or restrictive mating using the following expression:
𝑝) Where 𝐵𝑜−𝑛𝑒𝑤𝑗 and 0𝑖̇ denote the 𝑗𝑡ℎ variable of the spring and alpha bonobos, correspondingly, 𝑗 changed from 1 to 𝑑, where 𝑑 shows the overall amount of parameters for the optimization problems. 𝐵𝑜𝑗 𝑖 and 𝐵𝜃𝑗 denote the 𝑗𝑡ℎ dimension of the 𝑖𝑡ℎ and 𝑝𝑡ℎbonobos, correspondingly. 𝑟1 indicates the random value produced within [0,1]. 𝑠𝑐𝑠𝑏 and 𝑠𝑐𝑎𝑏 are sharing coefficients for selected 𝑝𝑡ℎ bonobo and 𝛼𝐵𝑜, correspondingly. 𝑔 only proceeds 2 values 1 or −1. If 𝑟 is higher than or equivalent to 𝑝𝑝, the newest bonobo can be produced by the extra‐group or consortship mating method. If another random number (𝑟2) ranges from zero to one and is both equivalent to and lesser than 𝑃𝑥𝑔𝑚, a novel bonobo was produced by the extra‐group mating process.
Where 𝜏1 and 𝜏2 denote the two intermediate values measured for defining 𝑡ℎ𝑒 𝐵𝑜−𝑛𝑒𝑤𝑗 value. 𝑟3, 𝑟4, 𝑟5 and 𝑟6 indicate the random integer between 0 and 1 and is not equivalent to 0. 𝑉𝑎𝑟−min𝑗 and 𝑉𝑎𝑟−max𝑗 show value of lower and upper bounds equivalent to the 𝑗𝑡ℎ dimension When the fitness value of 𝐵𝑜−𝑛𝑒𝑤 is greater than 𝐵𝑜𝑖 or a random number ranging from zero to one is equivalent to or lesser than 𝑃𝑥𝑔𝑚, then 𝐵𝑜−𝑛𝑒𝑤 is accepted. Furthermore, 𝐵𝑜𝑖 is exchanged for the newest one in the bonobo population. But when the 𝐵𝑜−𝑛𝑒𝑤 fitness value is better than 𝛼𝐵𝑜, then 𝐵𝑜−𝑛𝑒𝑤 is recognized as 𝛼𝐵𝑜. Lastly, when 𝛼𝐵𝑜 of the existing iteration takes the best fitness value than the prior iteration, and then the parameter of BO was changed. Fitness choice is an essential feature of BO system. An encoding solution employed to progress better candidate performances. Presently, accuracy value is main condition utilized in a strategy of FF.
In which, 𝑇𝑃 and 𝐹𝑃 stands for true and false positive values.
4. Results and Discussion
The simulation outcome of AEEGED-BODL algorithm verified on GAMEEMO database [22]. Table 1 exemplifies the comprehensive explanation of database.
Figure 3: Confusion matrices of (a-b) 80:20 of TRAS/ TESS and (c-d) 70:30 of TRAS/ TESS The confusion matrices of AEEGED-BODL algorithm on EEG-based emotion recognition process demonstrated in Fig. 3. The result inferred that AEEGED-BODL approach recognized four distinct types of emotions accurately. In Table 2 and Fig. 4, emotion classifier consequence of AEEGED-BODL system clearly depicted at 80:20 of TRAS/TESS. The consequences represented that AEEGED-BODL approach recognizes four distinct class labels.
Figure 5: 𝐴𝑐𝑐𝑢𝑦 curve of AEEGED-BODL algorithm on 80:20 of TRAS/TESS Fig. 5 displays 𝑇𝑅𝐴_𝑎𝑐𝑐𝑢𝑦 and 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 of AEEGED-BODL method on 80:20 of TRAS/TESS. 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 determined by evaluation of AEEGED-BODL technology on TRA dataset whereas the 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 intended by calculating outcome on a distinct TES database. The outcomes exhibit that 𝑇𝑅𝐴_𝑎𝑐𝑐𝑢𝑦 and 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 rise with an increase in epochs. Consequently, the solution of AEEGED-BODL methodology acquires improvement on TRA and TES dataset with a growth in count of epochs. In Fig. 6, 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 results of AEEGED-BODL approach at 80:20 of TRAS/TESS are exposed. The 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 determines error among predictive result and new values on TRA data. The 𝑉𝑅_𝑙𝑜𝑠𝑠 exemplifies the measure of the solution of the AEEGED-BODL technique on individual validation data. The outcomes referred that 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 tend to reduction with increasing epochs. It portrayed the enhanced performance of AEEGEDBODL system and its capability to form correct classification. The decreased value of 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 reveals better performance of the AEEGED-BODL approach on taking patterns and relationships.
Figure 6: Loss curve of AEEGED-BODL algorithm on 80:20 of TRAS/TESS In Table 3 and Fig. 7, emotion classification outcome of AEEGED-BODL algorithm clearly portrayed at 70:30 of TRAS/TESS. The simulation values represented that AEEGED-BODL methodology knows 4 several classes. On 70% of TRAS, AEEGED-BODL model obtains average 𝑎𝑐𝑐𝑢𝑦, 𝑝𝑟𝑒𝑐𝑛, 𝑟𝑒𝑐𝑎𝑙, 𝐹𝑠𝑐𝑜𝑟𝑒, and 𝐺𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 94.82%, 89.78%, 89.57%, 89.57%, and 89.62% correspondingly. In meantime, on 30% of TESS, AEEGED-BODL algorithm reaches average 𝑎𝑐𝑐𝑢𝑦, 𝑝𝑟𝑒𝑐𝑛, 𝑟𝑒𝑐𝑎𝑙, 𝐹𝑠𝑐𝑜𝑟𝑒, and 𝐺𝑚𝑒𝑎𝑠𝑢𝑟𝑒 of 95.08%, 90.25%, 90.42%, 90.21%, and 90.27% correspondingly.
Figure 7: Average outcome of AEEGED-BODL algorithm on 70:30 of TRAS/TESS Fig. 8 demonstrating 𝑇𝑅𝐴_𝑎𝑐𝑐𝑢𝑦 and 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 of AEEGED-BODL methodology at 70:30 of TRAS/TESS. 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 determined by estimation of AEEGED-BODL model on TRA database but 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 calculated by estimating value on a distinct TES database. The outcomes exhibit that 𝑇𝑅𝐴_𝑎𝑐𝑐𝑢𝑦 and 𝑉𝐿_𝑎𝑐𝑐𝑢𝑦 increase with a gain in epochs. Therefore, the performance of AEEGED-BODL technology is improved on TRA and TES database with a growth in count of epochs.
Figure 8: 𝐴𝑐𝑐𝑢𝑦 curve of AEEGED-BODL algorithm at 70:30 of TRAS/TESS In Fig. 9, 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 outcomes of AEEGED-BODL algorithm on 70:30 of TRAS/TESS are depicted. 𝑇𝑅_𝑙𝑜𝑠𝑠 demonstrates error among predictive result and new values on TRA data. The 𝑉𝑅_𝑙𝑜𝑠𝑠 represents measure of outcome of AEEGED-BODL algorithm on individual validation data. The outcomes inferred that 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 tend to be lesser with rising epochs. It described higher solution of AEEGED-BODL methodology and its ability to create an exact classification. The lesser value of 𝑇𝑅𝐴_𝑙𝑜𝑠𝑠 and 𝑉𝑅_𝑙𝑜𝑠𝑠 establishes greater outcome of AEEGED-BODL algorithm on taking patterns and relationships.
Figure 9: Loss curve of AEEGED-BODL system on 70:30 of TRAS/TESS The comparative outcome of AEEGED-BODL technique with other DL models is in Table 4 and Fig. 10 [23-25]. The simulation values specify that EfficientNetB7 model exhibits poor results whereas the InceptionResNetV2, MobileNet, DenseNet201, and NASNetMobile models have reached considerably closer performance. However, the AEEGED-BODL technique has exhibited effectual outcomes with a maximum 𝑎𝑐𝑐𝑢𝑦 of 95.08%, 𝑝𝑟𝑒𝑐𝑛 of 90.25%, 𝑟𝑒𝑐𝑎𝑙 of 90.42%, and 𝐹𝑠𝑐𝑜𝑟𝑒 of 90.21%.
Figure 10: Comparative analysis of AEEGED-BODL algorithm with other DL methods The data execution time (ET) analysis of AEEGED-BODL model with other DL approaches arises in Table 5 and Fig. 11. The simulation values specified that AEEGED-BODL approach gains the least ET of 8.10m. At the same time, the Inception ResNetv2, MobileNet, DenseNet201, NASNetMobile, and EfficientNetB7 models obtain increasing ET values of 15.35m, 13.59m, 14.18m, 14.54m, and 19.06m correspondingly. These outcomes demonstrated the improvised solutions of the AEEGED-BODL system.
5. Conclusion
In this research, we projected a unique AEEGED-BODL model for recognition and classification of different emotions in HCI applications. The drive of the study is to analyze the EEG signals for the classification of numerous kinds of emotions in HCI applications. To achieve this, the AEEGED-BODL technique follows three major phases of operations namely HFD feature extraction, QRNN-based emotion detection, and BO-based hyperparameter tuning. In this work, BO system can be exploited for optimal hyperparameter selection of the QRNN system helps in attaining amended detection rate. The simulation result of the AEEGED-BODL approach can be examined on EEG signal dataset. The comprehensive results stated best efficiency of AEEGED-BODL system over other recent systems. In future, the performance of the AEEGED-BODL methodology has been tested on real-time EEG database.
Funding: “This research received no external funding”
Conflicts of Interest: “The authors declare no conflict of interest.”