- Open Access
Classification of emotional states from electrocardiogram signals: a non-linear approach based on hurst
BioMedical Engineering OnLine volume 12, Article number: 44 (2013)
Identifying the emotional state is helpful in applications involving patients with autism and other intellectual disabilities; computer-based training, human computer interaction etc. Electrocardiogram (ECG) signals, being an activity of the autonomous nervous system (ANS), reflect the underlying true emotional state of a person. However, the performance of various methods developed so far lacks accuracy, and more robust methods need to be developed to identify the emotional pattern associated with ECG signals.
Emotional ECG data was obtained from sixty participants by inducing the six basic emotional states (happiness, sadness, fear, disgust, surprise and neutral) using audio-visual stimuli. The non-linear feature ‘Hurst’ was computed using Rescaled Range Statistics (RRS) and Finite Variance Scaling (FVS) methods. New Hurst features were proposed by combining the existing RRS and FVS methods with Higher Order Statistics (HOS). The features were then classified using four classifiers – Bayesian Classifier, Regression Tree, K- nearest neighbor and Fuzzy K-nearest neighbor. Seventy percent of the features were used for training and thirty percent for testing the algorithm.
Analysis of Variance (ANOVA) conveyed that Hurst and the proposed features were statistically significant (p < 0.001). Hurst computed using RRS and FVS methods showed similar classification accuracy. The features obtained by combining FVS and HOS performed better with a maximum accuracy of 92.87% and 76.45% for classifying the six emotional states using random and subject independent validation respectively.
The results indicate that the combination of non-linear analysis and HOS tend to capture the finer emotional changes that can be seen in healthy ECG data. This work can be further fine tuned to develop a real time system.
The expression and understanding of emotions play a major role in human communication facilitating mutual sympathy [1, 2]. Extending this to machines and computers is one of the important issues that researchers in human-computer interaction (HCI) are trying to address . Providing such sympathy would help humans to interact naturally with computers or machines improving the quality of service offered . Though machines may never need all the emotional skills of people, equipping them with some of the skills will make them appear intelligent when interacting with people . Such a system which can understand human emotions is also helpful in medical applications for treating patients with intellectual disabilities and autism [5, 6].
Emotions can be defined as a mental state that occurs spontaneously without any conscious effort and is accompanied by physiological changes. It is systematically produced by cognitive process, subjective feelings, physiological arousal, motivational tendencies, and behavioral reactions . They are believed to interact with the mathematical, verbal and perceptual intelligence associated with the human brain . Researchers have widely focused on two models of emotions – discrete and dimensional. The discrete model includes six basic emotions (happiness, sadness, fear, surprise, disgust, anger) that are universally accepted. All other emotions are considered to be a part of these basic emotions . The dimensional model, as in Figure 1, plots emotions on two scales – valance and arousal. Valance denotes the polarity of emotion and arousal denotes the intensity of emotion. All emotions can be plotted on the valance-arousal plot . Researchers have also proposed a three dimensional model of emotions which takes into account the attention-rejection property in addition to the two-dimensional model .
The approaches used for automatic emotion recognition, focus mainly on the audiovisual channels of emotion expression such as facial expression, speech and gestures . Though these modalities are researched widely and have produced higher results, they are all prone to social masking. Emotions that are not expressed, emotions expressed differently (an angry person may smile) or minor emotional changes that are invisible to the natural eye cannot be tracked by these modalities [2, 9–11]. Physiological signals being an activity of the autonomous nervous system (ANS) overcome these limitations as they reflect the inherent emotional state of the person. However, not much work has been done because of its complex nature and inability to visually perceive the emotion from the signal . Physiological signal based emotion recognition also provides an opportunity to track minute emotional changes which cannot be perceived visually or by hearing .
Physiological measures such as Electroencephalogram (EEG), Electrocardiogram (ECG), Electromyogram (EMG), Galvanic Skin Response (GSR), Blood Volume Pressure (BVP), and Skin Temperature (ST) have been used to evaluate the emotional states of a person. QRS complex, an activity of the ANS that is derived from ECG provides information of the myocardial conduction system and can be used to understand the emotions experienced by a person . This research being in the infancy stages, the performance of the different systems developed to recognize human emotions varies from 37% to 100%, depending on factors such as the number of emotions, the number of subjects, type of processing and types of emotion elicitation [2, 3, 14, 15]. Some of the works are done in a subject dependent way where the training and testing data belong to the same subject [4, 15].
Researchers have been using non-linear analysis in diverse areas of bio-signal processing for evaluating heart rate, renal activity, renal blood flow, arterial pressure, muscle activity and stress using signals such as Electrocardiogram (ECG), Heart Rate Variability (HRV), Electroencephalogram (EEG), Electromyogram (EMG) and Respiration Rate [16–18]. Non-linear analysis based on chaos theory helps in identifying the apparently irregular behaviors that are present in the system . Non-linear features such as approximate entropy (APEN), largest Lyapunov exponent (LLE), correlation dimension (CD), Hurst exponent (H) and non-linear prediction error has been learned widely [16, 20]. These features convey information related to properties such as similarity, predictability, reliability and sensitivity of the signal.
Hurst exponent analyzes the smoothness of a time series and is based on self similarity and correlation properties. It also evaluates the presence or absence of long-range dependence and its degree on a time series [16, 21]. Emotions being transient the momentary variations that occur in the physiological signals can be evaluated by understanding the degree of similarity and short term correlations that can be measured using the Hurst parameter. Different methodologies based on rescaled range statistics, finite variance scaling (FVS), wavelet transform (WT) and empirical mode decomposition (EMD) are used to obtain the value of Hurst [20, 22]. Previously, Hurst analysis has been done on various Biosignals for applications involving premature heart beat detection, coronary heart disease, sleep apnea and identification of mental state using EEG, HRV and ECG signals. Tommaso Costa et al., has examined Hurst exponent for cardiac signals in response to positive and negative stimuli . However, not much work has been done to find the emotional content in the Hurst parameter.
Higher Order Statistics (HOS) refers to functions of orders three or more in contrast to the conventional statistics which are of orders one and two. The non-linear and non-Gaussian characteristics of the signal can be obtained by using HOS features and are widely used in the analysis of physiological signals [24, 25]. Recently in , researchers achieved an 82% accuracy in recognizing emotions from EEG signals using HOS . Their works indicate that HOS can also be used to seek emotional information from other physiological signals.
HOS features namely skewness and kurtosis measure the presence of transients in the signal and are robust to noise. Hurst measures the degree of self-similarity in the time series. In , the authors merged HOS with wavelets in order to compress ECG data and proved the merged method to efficiently exploit the inter beat correlations of the ECG data in noisy environments. In a similar way merging HOS with Hurst would enhance the variations in transient, thereby helping to effectively measure the short term correlations or the sudden physiological changes that occur during emotions.
In this work, we try to (1) understand the emotional information in ECG signals for the six basic and universal emotional states worked by Ekman et al., (happiness, sadness, fear, surprise, disgust and neutral) and (2) identify new non-linear features combining HOS and Hurst that can capture better emotional information from the physiological data . Hurst and the proposed features were extracted from the QRS complex of emotional ECG signals using two widely used methods - Rescaled Range Statistics (RRS) and Finite Variance Scaling (FVS). The methodology, including emotion induction and data acquisition for the six emotional states (happiness, disgust, sadness, fear, surprise and neutral) is discussed in detail. Two new Hurst features based Higher Order Statistics (HOS) such as skewness based hurst and kurtosis based hurst are derived. These features were found to contain better emotional information compared to the Hurst derived in the traditional way. The performance, advantages and pitfalls are also discussed.
Emotional data acquisition
Gathering good and meaningful data is necessary in any signal processing application. In works related to emotion recognition using physiological signals, acquiring emotional physiological data is challenging because of the subjective nature of emotions and cognitive dependence of physiological signals. This necessitates the six emotional states to be elicited internally in the subject unlike other modalities of facial action or speech where the emotions can be enacted. The intensity of emotion induced varies among subjects and depends on psychological factors such as attention, orientation, social interaction and appraisal [2, 4].
Researchers have used different methods to elicit the target emotions. Visual based elicitation using images, audio based elicitation using music and audio-visual elicitation using short film video clips are commonly used [2, 15, 28, 29]. Other modalities such as recall paradigm where the subject is asked to repeatedly recall emotional instances from their life and dyadic interaction where a facilitator helps in inducing the various emotions are also used by researchers [30, 31]. Audio-visual elicitation using short film clips is found to elicit the target emotion better [32, 33] compared to the other modalities. Hence, in this work emotions were induced by using short video clips.
One of the major tasks in inducing emotions using short audio-visual clips is to identify video clips that would elicit the target emotions better. For this, around 20 video clips per emotional state were collected from various sources on the internet, and a pilot study was conducted. Fifteen volunteers in the mean age of 25 years participated in the pilot study to rate the emotions they experienced when watching the video clips. Sixty audio visual clips (ten for each emotion) with the highest rating were chosen for data collection. The emotional state ‘anger’ was excluded for further study because of poor rating, which points back to the local culture.
Emotion induction protocol
The protocol used for data acquisition is as shown in Figure 2. There were two sessions with five trials in each section. Video clips pertaining to all the six emotional states (neutral, happiness, sadness, fear, surprise and disgust) were played in each trial in a predetermined random fashion. Care was taken not to play dimensionally opposite emotional video clips consecutively. Each of the emotional video clips lasted from 15 to 40 seconds, and was sandwiched between neutral images for 10 seconds. The neutral images between the video clips provided a small time gap for smooth transition between the emotional states. The entire protocol lasted for an hour with a break of 15 to 20 minutes between the two sessions. The participants were allowed to relax and refresh during the break.
Sixty healthy volunteers, inclusive of thirty under graduate students from the university (18 to 25 years old), fifteen school children (9 to 16 years old) and fifteen adults (39 to 68 years old) participated in the data collection experiment. Each group had equal number of male and female participants. The participants of the pilot study did not take part in the data collection experiment.
The participants signed a consent form, after getting to know the purpose and procedure of the experiment. For children under the age of eighteen, consent was obtained from their parents or teacher. The experiment process complied with the recommendations of the AMA’s Declaration of Helsinki for human studies and the institutional policies.
In this work, ECG and EMG data were acquired simultaneously as the subjects watched the emotional video clips displayed on the screen using a self guided protocol. However, in this work we focus only on ECG signals. Power Lab data Acquisition System developed by AD Instruments, Australia was used to collect the emotional ECG data. Three electrodes were used; two active electrodes were placed on the hands (left and right) and one reference electrode on the left leg. The sampling frequency was set to 1000 Hz.
The subjects were requested to relax, minimize movement and concentrate on the audio-visual clips before starting the experiment. The set-up of the experiment is shown in Figure 3. The subjects watched the video clips on the LCD screen placed at a distance of seven meters in front of them. The video clips were played in the same order for all the subjects. After the experiment, they filled a self assessment questionnaire identifying the emotional state they experienced during the experiment. They also rated the intensity of their emotional state on a five point scale (1-very low to 5-very high). These ratings were then used to understand the intensity of the emotional state they experienced. However, despite the intensity levels, all the emotional data was taken into consideration and were randomized during processing.
The raw ECG data was split as per the emotional states and the noises that occur due to power line interference, muscle and movement artifacts were removed. Baseline wander that occurs at low frequency was removed by using the wavelet based algorithm proposed by Bunluechokchai et al., . High frequency noises and power line interference were removed by using a 6th order Butterworth filter with a cut off frequency of 45 Hz. The reliability of the acquired signals was measured using the NN/RR ratio, where NN refers to the number of normal to normal beat intervals and RR refers to the total number of RR intervals in the ECG signal. Records with ratio less than 90% were excluded from further processing . The QRS complex was derived by performing a non-linear transformations on the first derivative of the filtered ECG signal . Figure 4 depicts the various stages in obtaining the QRS complex. The QRS peaks are distinctly seen after the second non-linear transformation. Hurst exponent and the proposed HOS features were computed from the QRS complex using two methods – Rescaled Range Statistics (RRS) and Finite Variance Scaling (FVS). It should be noted that the features were extracted from the QRS complex and not from HRV signals.
Rescaled range statistics
This method analyzes the smoothness of a fractal time series based on the asymptotic pattern of the rescaled range of the process. First, the accumulated deviation of mean of time series over time is computed. The rescaled range R/S follows a power law relationship with time T as,
R is the difference between the maximum and minimum deviation from the mean and S represents the standard deviation. Hurst, H is then derived as,
where T is the length of sample data and R/S represents the corresponding value of rescaled range .
Finite variance scaling
Finite variance scaling method is also known as standard deviation analysis and is based on the standard deviation D(t) of the variable x(t).
Considering the time series x(t) to be of length n, the standard deviation is computed as,
for j = 1,2,….,n.
where H is the Hurst exponent. It is evaluated by finding the gradient of the best fitted log-log plot of D(t) and t .
Proposed higher order statistics (HOS) based hurst features
HOS descriptors of order greater than two  retain finer information from the data and are appropriate for non-Gaussian and non-linear data [37, 38]. Skewness and Kurtosis are normalized versions of third and fourth order cummulants respectively. Skewness measures the symmetry of a distribution around its mean and Kurtosis measures the relative heaviness of the tail of a distribution with respect to its normal distribution .
Subtracting the mean μs and standard deviation σs of S(t) on both sides of the equation, cubing them and normalizing with length N, we get,
This equation can also be rephrased as,
Now, Skewness based Hurst,
A relation for Kurtosis similar to equation 8 can be constructed in the same way but for order 4 as,
Now, Kurtosis based Hurst,
Skewness based Hurst and Kurtosis based Hurst are non-linear, higher order features that can be easily computed.
Classification of emotional states
Sixty subjects with six emotions and ten trials per emotion resulted in a total of 3600 samples. However, four trials of one subject had loose electrode contact because of which the data was ignored. Data from four kids and three young adults were also ignored because of unreliability captured using the NN/RR ratio. This resulted in a total of 3300 samples, which were processed. All the six features were extracted from these samples.
The performance of the different features as analyzed by four classifiers – Regression tree, naïve Bayes, K- Nearest Neighbour (KNN) and fuzzy KNN (FKNN). Regression tree classifier creates a decision tree for predicting the classes based on Gini’s diversity index whereas bayesian classifier is a probabilistic classifier based on Bayes theorem with strong independence assumptions. KNN and FKNN assigns a class based on the predominant class among the k nearest neighbors. The value of k was chosen to vary from six to fifteen as the number of classes used for classification here is six. Euclidean distance was used as the metric in KNN and FKNN allocates fuzzy class membership before making decisions.
In this work, random-cross validation was done to test the performance of the classifiers. The features derived from all the subjects were permutated and then categorized into 70% and 30% for all the six emotional states. Then the 70% features were used for training the classifier and 30% features were used for testing. The testing and training features belonged to random subjects and varied in each run of the program. However, they were mutually exclusive. Subject independent validation (also called leaving-one-person-out) was also performed for the RRS and FVS based combined analysis . The features derived from 38 subjects were used for training the system and the other 16 subjects were used for testing adhering to the 70–30 rule. The classification accuracy is computed for the different emotional states as,
where Emotion refers to the six emotional states namely happiness, sadness, fear, surprise, disgust and neutral. The average accuracy was computed by taking the mean of the accuracies of all the six emotional states.
Statistical data analysis
Hurst was computed using RRS and FVS methods for high (0.15 to 0.4 Hz), low (0.04-0.15 Hz) and very low frequency ranges (<0.04 Hz). These frequency ranges were chosen as they are widely used in emotion recognition algorithms using physiological signals . Furthermore, researchers have also identified the impact of the QRS complex on low frequency oscillations which makes it important to analyze the low frequency range [41, 42]. ANOVA indicated statistically significant (p < 0.001) changes among the six emotional states for Hurst computed in very low frequency range. The mean value of Hurst, in a very low frequency range for all the emotional states is as shown in Figure 5. We can observe that the value of Hurst ranges from 0.0002 to 0.0018 for all the features, which is similar to the work in  where the scaling exponent α is close to 0 for healthy heart beat data on a very low frequency range. Also in , the Hurst exponent of short term ECG series is close to 0 in the low frequency range during normalcy (pre- anesthetic stage).
We can observe from Figure 5 that the values of Hurst computed using RRS and FVS were very small in contrast to skewness based Hurst and kurtosis based Hurst which has larger values in both methods. Also, from Figure 5, significant differences cannot be perceived visually among all the emotional states. Happiness and neutral state seem to coincide in most of the cases whereas disgust and neutral state show disparity. The values of Hurst computed using RRS and FVS based methods for subject 1 are as shown in Figures 6 and 7 respectively. We can see that Hurst computed using RRS based method overlaps among the different emotional states. The range of variation is very large which leads to poor prediction of emotional states. In the case of FVS (Figure 7), a vague demarcation can be seen in the values of Hurst among the different emotional states. The emotions neutral and happiness overlap at many trials. Similar to disgust and surprise only a little variation can be seen among the emotional states sadness and fear. However, as the values of Hurst are not wide spread among all the emotional states, which may lead to better prediction.
The statistical significance of all the three features computed using both methods was studied using Analysis of Variance (ANOVA). The threshold was set to (p = 0.05) and all the three features for both RRS and FVS showed statistical significance (p < 0.001) indicating that the six emotional states have significant difference among them in the feature values. This also ensures the probability of achieving better classification accuracy.
The correlation among the different emotional states for the three features in both methods was studied using post hoc test of ANOVA. Least Significant Difference (LSD) was used to explore pair-wise comparisons of the six emotional states. In the case of RRS, the emotions sadness, surprise and disgust were significant with all the other emotional states (p < 0.001) for hurst and skewness based hurst. Kurtosis based hurst showed non-significance (p > 0.5) among the emotional states happiness, disgust and fear. In accordance with Figure 5, the emotional state neutral had non-significant correlations with happiness (p > 0.5) for all the features. Similarly, happiness and fear were not significant (p > 0.5). The pair wise combination of all other emotional states showed significance (p < 0.05) for all the features.
The features hurst and HOS based hurst computed using FVS showed significance (p < 0.001) in all the cases except the emotional states surprise and disgust (p > 0.3). The traditional hurst also lacked significance between the emotional states sadness and fear (p > 0.08). However, the pair wise comparisons of FVS based features were significant in almost all the emotional states.
The results of the three features extracted from the QRS complex using RRS based method is tabulated in Table 1. We can observe that the average accuracy of 82.88% is the highest for Skewness based Hurst classified using FKNN classifier. In general, the maximum average accuracy of all the features varied from 60.44% to 82.88% depending on the classifier used. Skewness based hurst showed better results with a maximum average accuracy of 82.88% compared to kurtosis based hurst which has a maximum average accuracy of 60.44%. However all the features computed by RRS did not suit the Bayesian classifier which shows very less results for all the features and all the emotional states, more specifically for the emotion disgust which lies in the fourth quadrant of the valance-arousal plot (Figure 1).
Table 2 shows the classification results of FVS based analysis. The accuracy of hurst is similar to the RRS based method with the maximum average accuracy of 65.33% using the FKNN classifier. Here, kurtosis based hurst performs better with a maximum average accuracy of 81.72% compared to hurst and skewness based Hurst for which the values are 65.33% and 74.66% respectively. HOS features show improved performance compared to the RRS based method.
Skewness based Hurst and Kurtosis based Hurst, being features extracted using higher order statistical methods retain finer emotional information in the signal. Hence, they show better performance compared to the normal Hurst which is very much obvious in the FVS method. Also, the FVS based features coped up with all the classifiers.
The results obtained by combining all the features of RRS and FVS based methods using random validation are shown in Table 3 and Table 4 respectively. We can see improved results in the case of FVS compared to RRS. The combined analysis of RRS performed similar to the individual analysis having a maximum average accuracy of only 65.45%. The FVS based combined analysis shows a maximum classification accuracy of 92.87% using the FKNN classifier. In general, the accuracy of the individual emotional states is also higher in the FVS combined analysis compared all other analysis.
Also, from Table 4, we can also observe that the emotional state disgust belonging to negative valance (quadrants 4 of Figure 1) was correctly classified for most of the test samples. The accuracy is less for the emotional states neutral and happiness.
The comparison chart of the RRS and FVS based combined analysis is illustrated in Figure 8. The traces show the accuracy values of all the emotional states classified using FKNN classifiers which are from the last rows of Table 3 and Table 4 for the RRS and FVS based analysis respectively. The figure shows that FVS based analysis works better for all the emotional states with an overall higher performance. The performance of the emotion disgust is contrasting with the least performance in the RRS combined analysis (55.70%) and the best performance in FVS based analysis (98.63%). These results indicate that the features obtained by combining FVS and HOS are able to retain more emotional information without varying the value of Hurst.
Tables 5 and 6 show the performance of the subject independent classification for the RRS based combined analysis and FVS based combined analysis. We can observe that the RRS based combined analysis performs almost similar with a maximum average accuracy of 65.45% and 66.71% for both random validation and subject independent validation respectively. However, the FVS based combined analysis shows differing results. The maximum average accuracy of the random validation method is 92.87% in contrast to the maximum average accuracy of the subject independent validation which is 76.45%. In both cases, the FVS based combined analysis performs better compared to RRS based methods. However, the performance of the emotion recognition system needs to be further improved in subject independent analysis.
Necessity of non-linear analysis
A number of research works have been done to recognize emotional states using one or more physiological signals. Many researchers have worked on identifying two, three or four emotional states mainly dealing with the valance scale or the four quadrants of the valance-arousal diagram (Figure 1). So far, a maximum mean classification rate of 95% and 70% has been achieved on recognizing four emotions (joy, anger, sadness, pleasure) in user dependent and user independent approach, respectively . Similarly, 86% and 45% accuracy has been obtained for detecting two (joy, sadness) and six (amusement, contentment, disgust, fear, neutrality, sadness) emotions respectively in a user independent approach [15, 45].
The accuracy of the various methods differs because of a number of factors such as: type and number of physiological signals used, placement of electrodes, number of subjects, age range of subjects, attention and orientation of subjects, number of emotions considered, type of emotion induction, familiarity of protocol and type of signal analysis. So far, there is no standard set up in recognizing emotions from physiological signals .
Furthermore, most of these works use the statistical features proposed by Picard and linear or non-linear classifiers. Non-linear analysis using empirical mode decomposition for classifying four emotions has resulted in an accuracy of 76% for user-independent approach . Valenza et al., in their work proved nonlinear methods to identify four different valance levels with an accuracy higher than 80%. The neutral state was captured with 96.78% and valance 3 with 100% accuracy  Nonlinear dynamics has also been found powerful in estimating the instantaneous heart beat dynamics involved in autonomic control [48–51]. All these works indicate that non-linear methods can be used to extract emotional features from physiological signals in a better way. This work uses the non-linear feature Hurst which provides a higher accuracy of 92.87% and 76.45% in random and subject independent validations respectively compared to previous research works on classifying six emotions in a user independent way.
The tables also indicate that the higher results were obtained for the FKNN classifier which works on membership functions assigned to the different test features. KNN and regression tree classifiers also performed better with almost similar results. The Bayesian classifier did not perform well in almost all the classes indicating that the independent probabilistic assumptions made by the classifier did not suit the classification of emotional states.
By trying to utilize the advantage of HOS in retaining minute information of the signal, we can observe that a maximum average accuracy of 92.87% is obtained for classifying six emotional states in using random validation. The classifiers also performed better than the existing methods with a maximum average accuracy of 76.45% when validated in a subject independent way. Though the value of Hurst was similar to the traditionally obtained results, HOS based methods were able to capture emotional variation in the ECG signals compared to the traditional analysis. Furthermore ECG signals being complex, non-linear and non-stationary, non-linear analysis would pave a better way to capture minute and infinitesimal changes that are prone to occur during emotional changes.
Real time emotion recognition
Emotions that are expressed in a controlled laboratory environment may not be similar to how they are expressed in the natural world . Also the intensity of emotions and changes in physiological signals associated with emotions varies from person to person. The age and gender of a person also play a role in the emotions experienced . K. H. Kim et al., worked on children with ages ranging from five to eight years to classify three and four emotional states . Furthermore emotions also depend on the culture. Our pilot study showed that most of the subjects hardly felt angry, which is common in this region.
Emotions are transient and they occur only for a small instant of time though they influence the way we process information through attentional or perceptual biases . Though the emotion felt is not really visible, the consequences or action lead by the emotion is visible.
A real time system should be able to tackle the subjective dependency of emotions and also track the transient changes in emotional levels of the physiological signal. This would require a more generalized and authentic system with robust and reliable signal processing algorithms that could be fast enough in deciphering the short-lived emotional state of the subject. The robust algorithm should also be simple enough to be computed in real time.
Furthermore, analysis needs to be done with data from different age groups, ethnicities and backgrounds. Experiments need to be carried out by using the different modalities of emotion recognition and the variations among the modalities need to be studied. The intensity of emotion experienced by the subject should be considered when analyzing the data. An extensive data collection considering all the issues and developing a robust algorithm would help in developing a reliable real-time system.
Limitations of the study
Emotions are also dependant on a number of variables such as room temperature, time of day, circadian rhythm, position, activity level of the subject before recording, medication, hormone levels, verbalization and breathing condition. Though much care was taken to eliminate these issues by allowing the subject to choose their own free time for participating in the experiment and relax by means of some breathing exercise before the start of the experiment, more care should be taken to consider these differences as well when developing a real time emotion recognition system. The impact of these differences on the emotional state of the person also needs to be studied.
This study indicates that ECG signals are reliable in identifying the true emotional state of a person. The design of data acquisition protocol for eliciting the six emotional states (happiness, sadness, fear, surprise, disgust and neutral) and the data acquisition methodology are explained in detail. Two new methods to compute the non-linear feature Hurst by combining the normalized HOS parameters and the traditional Hurst computation methods are proposed. The performances of the different features were analyzed using four classifiers namely regression tree, naive bayes, k-nearest neighbor (KNN) and fuzzy k-nearest neighbor (FKNN). The Hurst computed using FVS and HOS yields better results of 92.87% and 76.45% for random and subject independent validation respectively using FKNN classifier. Computing Hurst by combining HOS with traditional methods retains the advantage of both HOS and non linear method, enabling to identify the minute emotional changes that occur in any healthy ECG data. This algorithm can be studied further by trying to combine HOS with other non linear features. Also, an extensive data analysis is required towards the development of a real trime and robust emotion recognition system.
Autonomous nervous system
Heart rate variability
Galvanic skin response
Blood volume pressure
Analysis of variance
Finite variance scaling
Rescaled range statistics
Higher order statistics
Largest lyapunov exponent
Empirical mode decomposition
K nearest neighbor
Fuzzy K nearest neighbor
American medical association.
Fred A, Filipe J, Gamboa H, Kim J, André E: Four-Channel Biosignal Analysis and Feature Extraction for Automatic Emotion Recognition. In Biomedical Engineering Systems and Technologies. Volume 25. Berlin: Springer Berlin Heidelberg; 2009:265–277. Communications in Computer and Information Science
Jonghwa K, Ande E: Emotion Recognition Based on Physiological Changes in Music Listening. Pattern Anal. Mach. Intell., IEEE Transact 2008 2008, 30: 2067–2083.
Cong Z, Chetouani M: Hilbert-Huang transform based physiological signals analysis for emotion recognition. In IEEE International Symposium on Signal Processing and Information Technology (ISSPIT). Ajaman, UAE: IEEE; 2009:14–17. Dec. 2009. 2009: 334–339
Picard RW, Vyzas E, Healey J: Toward machine emotional intelligence: analysis of affective physiological state. IEEE Trans Pattern Anal Machine Intel 2001, 23: 1175–1191. 10.1109/34.954607
Bal E, Harden E, Lamb D, Van Hecke A, Denver J, Porges S: Emotion Recognition in Children with Autism Spectrum Disorders: Relations to Eye Gaze and Autonomic State. J Autism Dev Disord 2010, 40: 358–370. 10.1007/s10803-009-0884-3
Demazeau Y, Dignum F, Corchado J, Bajo J, Corchuelo R, Corchado E, Fernández-Riverola F, Julián V, Pawlewski P, Campbell A: Emotion Elicitation Oriented to the Development of a Human Emotion Management System for People with Intellectual Disabilities. In Trends in Practical Applications of Agents and Multiagent Systems. Volume 71. Springer, Berlin, Heidelberg: Springer Berlin/Heidelberg; 689–696. Advances in Soft Computing
Ekman P, Friesen WV: Universals and Cultural Differences in the Judgments of Facial Expressions of Emotion. J Pers Soc Psychol 1987, 53: 712–714.
Lang PJ: The Emotion Probe: Studies of Motivation and Attention. Am Psychol 1995, 50: 372–385.
Bailenson JN, Pontikakis ED, Mauss IB, Gross JJ, Jabon ME, Hutcherson CAC, Nass C, John O: Real-time classification of evoked emotions using facial feature tracking and physiological responses. Int J Human-Computer Studies 2008, 66: 303–317. 10.1016/j.ijhcs.2007.10.011
Kessous L, Castellano G, Caridakis G: Multimodal emotion recognition in speech-based interaction using facial expression, body gesture and acoustic analysis. J Multimodal User Interfaces 2009, 3: 33–48.
Kim J: Bimodal Emotion Recognition using Speech and Physiological Changes. In Robust Speech Recognition and Understanding. Edited by: Kristian K. Rijeka, Croatia: ITech Education and Publishing; 2007.
Rani P, Sarkar N: A New Approach to Implicit Human-Robot Interaction Using Affective Cues. In Mobile Robots: towards New Applications. Edited by: Aleksandar L. : I-Tech Education and Publishing; 2006.
Risk MR, Bruno JS, Llamedo Soria M, Arini PD, Taborda RAM: Measurement of QT interval and duration of the QRS complex at different ECG sampling rates. Computers in Cardiology
Rattanyu K, Mizukawa M, Jacko J: Emotion Recognition Using Biological Signal in Intelligent Space. Human-Com Int 2011, 6763: 586–592.
Maaoui C, Pruski A: Book Emotion Recognition through Physiological Signals for Human-Machine Communication. In Book Emotion Recognition through Physiological Signals for Human-Machine Communication. 2010. (Editor ed.^eds.). City
Natarajan K, RA U, Alias F, Tiboleng T, Puthusserypady SK: Nonlinear analysis of EEG signals at different mental states. BioMed Eng Online 2004, 3(1):7. 10.1186/1475-925X-3-7
Melillo P, Bracale M, Pecchia L: Nonlinear Heart Rate Variability features for real-life stress detection. Case study: students under stress due to university examination. BioMed Eng Online 2011, 10(1):2011.
Desok K, Seo Y, Jaegeol C, Chul-Ho C: Detection of subjects with higher self-reporting stress scores using heart rate variability patterns during the day. In 30th Annual International Conference of the IEEE Engineering in Medicine and Biology Society. Vancouver BC Canada: EMBS 2008; 2008:682–685. 20–25 Aug. 2008
Gao J, Hu J, Tung W-w: Facilitating Joint Chaos and Fractal Analysis of Biosignals through Nonlinear Adaptive Filtering. San Francisco, CA: Plos one; 2011:6.
Acharya UR, Chua EC-P, Faust O, Lim T-C, Lim LFB: Automated detection of sleep apnea from electrocardiogram signals using nonlinear parameters. Physiol Meas 2011, 32: 287–303. 10.1088/0967-3334/32/3/002
Balli T, Palaniappan R: Classification of biological signals using linear and nonlinear features. Physiol Meas 2010, 31: 903–920. 10.1088/0967-3334/31/7/003
Das C, Khondekar MH: Statistical Investigation of ECG Signal of Sleep Apnea Patient. Cambridge: Global Journal of Researches in Engineering Global Journals Inc. (USA); 2011.
Costa T, Galati D, Rognoni E: The Hurst exponent of cardiac response to positive and negative emotional film stimuli using wavelet. Auton Neurosci 2009, 151: 183–185. 10.1016/j.autneu.2009.08.011
Panoulas KI, Hadjileontiadis LJ, Panas SM: Enhancement of R-wave detection in ECG data analysis using higher-order statistics. Engineering in Medicine and Biology Society, 2001 Proceedings of the 23rd Annual International Conference of the IEEE; 2001 2001, 344–347. vol.341
CK C, Acharya R, LC M: Higher Order Spectral (HOS) Analysis Of Epileptic EEG Signals. In 2007 Proceedings of the 29th Annual International Conference of the IEEE. Lyon, France: Engineering in Medicine and Biology Society; 2007:6495–6498.
Hosseini SA: Classification of Brain Activity in Emotional States Using HOS Analysis. Int J Image Graphics Signal Proc 2012, 4: 21–27.
Istepanian RSH, Hadjileontiadis LJ, Panas SM: ECG data compression using wavelets and higher order statistics methods. Info Technol Biomed IEEE Trans 2001, 5: 108–115. 10.1109/4233.924801
Kim K, Bang S, Kim S: Emotion recognition system using short-term monitoring of physiological signals. Med Biol Eng Comput 2004, 42: 419–427. 10.1007/BF02344719
Nater UM, Abbruzzese E, Krebs M, Ehlert U: Sex differences in emotional and psychophysiological responses to musical stimuli. Int J Psychophysiol 2006, 62: 300–308. 10.1016/j.ijpsycho.2006.05.011
Chanel G, Kierkels JJM, Soleymani M, Pun T: Short-term emotion assessment in a recall paradigm. Int J Human-Computer Studies 2009, 67: 607–627. 10.1016/j.ijhcs.2009.03.005
Roberts N, Coan JTJ, Roberts N, Coan JTJ: Emotion Elicitation Using Dyadic Interaction Tasks. In The Handbook of Emotion Elicitation and Assessment. Edited by: Coan JA, Allen JJB. New York, NY: Oxford University Press; 2005. Affective Science
Gross JJ, Levenson RW: Emotion Elicitation using Films. Cogn Emot 1995, 9: 87–108. 10.1080/02699939508408966
Chen LS, Huang TS, Miyasato T, Nakatsu R: Multimodal human emotion/expression recognition. Automatic Face and Gesture Recognition, 1998 Proceedings Third IEEE International Conference on; 14–16 Apr 1998 1998, 366–371.
Bunluechokchai C, Leeudomwong T: Discrete Wavelet Transform -based Baseline Wandering Removal for High Resolution Electrocardiogram. Int J Applied Biomed Eng 2010, 3: 26–31.
Wan-Hui W, Yu-Hui Q, Guang-Yuan L: Electrocardiography Recording, Feature Extraction and Classification for Emotion Recognition. Los Angeles, CA: In Proceedings of 2009 WRI World Congress on Computer Science and Information Engineering; 2009:168–172.
Tsolis G, Xenos TD: Signal Denoising Using Empirical Mode Decomposition and Higher Order Statistics. Int J Signal Proc Image Proc Pattern Recog 2011, 4: 91–106.
Ferreira DD, Cerqueira AS, Duque CA, Ribeiro MV: HOS-based method for classification of power quality disturbances. Electron Lett 2009, 45: 183–185. 10.1049/el:20092969
Naik GR, Kumar DK: Evaluation of higher order statistics parameters for multi channel sEMG using different force levels. Engineering in Medicine and Biology Society,EMBC, 2011 Annual International Conference of the IEEE 2011, 3869–3872.
Gu WF, Venkatesh YV, Xiang C: A novel application of self-organizing network for facial expression recognition from radial encoded contours. Soft Comput 2010, 14: 113–122. 10.1007/s00500-009-0441-1
Jonghwa K, Ande E: Emotion Recognition Based on Physiological Changes in Music Listening. IEEE Trans Pattern Anal Machine Int 2008, 30: 2067–2083.
Romero D, Ringborn M, Laguna P, Pahlm O, Pueyo E: Depolarization Changes During Acute Myocardial Ischemia by Evaluation of QRS Slopes: Standard Lead and Vectorial Approach. IEEE Trans Biomed Eng 2011, 58: 110–120.
Lin C-H: Frequency-domain features for ECG beat discrimination using grey relational analysis-based classifier. Comput Math Appl 2008, 55: 680–690. 10.1016/j.camwa.2007.04.035
Peng CK, Mietus J, Hausdorff JM, Havlin S, Stanley HE, Goldberger AL: Long-Range Anticorrelations and Non-Gaussian Behavior of the Heartbeat. Phys. Rev Lett 1993, 70: 1343–1346. 10.1103/PhysRevLett.70.1343
Yum M-K, Kim J-T, Kim H-S: Increased non-stationarity of heart rate during general anaesthesia with sevoflurane or desflurane in children. Br J Anaesth 2008, 100: 772–779. 10.1093/bja/aen080
Wen W-H, Qiu Y-H, Liu G-Y: Electrocardiography Recording, Feature Extraction and Classification for Emotion Recognition. WRI World Congress on Computer Science and Information Engineering, 2009 March 31 2009, 168–172. 2009-April 2 2009
Arroyo-Palacious J, Romano DM: Towards a Standardization in the Use of Physiological Signals for Affective Recognition Systems. Maastricht,The Netherlands: Measuring Behaviour; 2008:121–114.
Valenza G, Lanata A, Scilingo EP: The Role of Nonlinear Dynamics in Affective Valence and Arousal Recognition. Affect Computing IEEE Trans 2012, 3: 237–249.
Zhe C, Brown EN, Barbieri R: Assessment of Autonomic Control and Respiratory Sinus Arrhythmia Using Point Process Models of Human Heart Beat Dynamics. Biomed Eng IEEE Trans 2009, 56: 1791–1802.
Zhe C, Brown EN, Barbieri R: Characterizing Nonlinear Heartbeat Dynamics Within a Point Process Framework. Biomed Eng IEEE Trans 2010, 57: 1335–1347.
Barbieri R, Matten EC, Alabi AA, Brown EN: A point-process model of human heartbeat intervals: new definitions of heart rate and heart rate variability. Am J Physiol Heart Cir Physiol 2005, 288: H424.
Barbieri R, Brown EN: Analysis of heartbeat dynamics by point process adaptive filtering. Biomed Eng IEEE Trans 2006, 53: 4–12. 10.1109/TBME.2005.859779
Eryilmaz H, Van De Ville D, Schwartz S, Vuilleumier P: Impact of transient emotions on functional connectivity during subsequent resting state: A wavelet correlation approach. Neuroimage 2011, 54: 2481–2491. 10.1016/j.neuroimage.2010.10.021
This research is supported by the Fundamental Research Grant Scheme (FRGS), Ministry of Higher Education (MOHE), Malaysia. Grant number: 9003–00341 and Ministry of Science, Technology and Innovation (MOSTI), Malaysia. Grant number: 9005-00053.
We are thankful to the members of ‘Intelligent Signal Processing’ and ‘Automav’ research cluster who participated in the pilot study. We also thank the volunteers, friends, teachers and parents who participated and helped in getting subjects for data collection.
The authors declare that they have no competing interests.
JS carried out the data acquisition and analysis, participated in the sequence alignment and drafted the manuscript. MM conceived of the study, and participated in its design and coordination and helped to draft the manuscript . KW and SY participated in the design of the study and data analysis methods. All authors read and approved the final manuscript.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Selvaraj, J., Murugappan, M., Wan, K. et al. Classification of emotional states from electrocardiogram signals: a non-linear approach based on hurst. BioMed Eng OnLine 12, 44 (2013). https://doi.org/10.1186/1475-925X-12-44
- Emotional State
- Video Clip
- Emotion Recognition
- Empirical Mode Decomposition
- Hurst Exponent