Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2020 Apr 23;15(4):e0231659. doi: 10.1371/journal.pone.0231659

A mixed filter algorithm for sympathetic arousal tracking from skin conductance and heart rate measurements in Pavlovian fear conditioning

Dilranjan S Wickramasuriya 1, Rose T Faghih 1,*
Editor: Alberto Greco2
PMCID: PMC7179889  PMID: 32324756

Abstract

Pathological fear and anxiety disorders can have debilitating impacts on individual patients and society. The neural circuitry underlying fear learning and extinction has been known to play a crucial role in the development and maintenance of anxiety disorders. Pavlovian conditioning, where a subject learns an association between a biologically-relevant stimulus and a neutral cue, has been instrumental in guiding the development of therapies for treating anxiety disorders. To date, a number of physiological signal responses such as skin conductance, heart rate, electroencephalography and cerebral blood flow have been analyzed in Pavlovian fear conditioning experiments. However, physiological markers are often examined separately to gain insight into the neural processes underlying fear acquisition. We propose a method to track a single brain-related sympathetic arousal state from physiological signal features during fear conditioning. We develop a state-space formulation that probabilistically relates features from skin conductance and heart rate to the unobserved sympathetic arousal state. We use an expectation-maximization framework for state estimation and model parameter recovery. State estimation is performed via Bayesian filtering. We evaluate our model on simulated and experimental data acquired in a trace fear conditioning experiment. Results on simulated data show the ability of our proposed method to estimate an unobserved arousal state and recover model parameters. Results on experimental data are consistent with skin conductance measurements and provide good fits to heartbeats modeled as a binary point process. The ability to track arousal from skin conductance and heart rate within a state-space model is an important precursor to the development of wearable monitors that could aid in patient care. Anxiety and trauma-related disorders are often accompanied by a heightened sympathetic tone and the methods described herein could find clinical applications in remote monitoring for therapeutic purposes.

Introduction

Human emotions represent complex processes within the nervous system. Changes in emotion manifest themselves through a number of physiological means. For instance, the human fear response, which can be activated when the brain interprets external environmental stimuli as posing a threat to survival, can cause an elevation in blood pressure, heart rate and sweating, preparing the body for action [1]. Emotions play an important role in our everyday lives as well, and are essential to self-expression, social interaction and decision-making. Much work throughout the years has aided our understanding of the neural correlates of emotion and the hemodynamic and electrical responses that accompany changes thereof [25]. High-level neural processes such as cognition, emotion, motivation etc. are, however, not directly observed. Nevertheless, the physiological and biochemical changes that accompany these neural processes are observable, and provide a means for their estimation. This window to neural state estimation is one that can have important implications for wearable monitoring. To illustrate, anxiety disorders often include symptoms of excessive fear and worry [6], and there is a heightened level of sympathetic nervous system activation in these patients [7]. The elevated sympathetic activation in trauma-related disorders such as post-traumatic stress disorder (PTSD) has also been noted in the literature [8, 9]. Increased sympathetic drive gives rise to measurable biosignal changes, particularly in response to certain stimuli/cues (e.g. elevated heart rate and facial electromyography [EMG] responses to trauma-related cues in PTSD patients [10]). An index of sympathetic arousal extracted conveniently from physiological signals could aid in the management of neuropsychiatric disorders involving pathological fear and anxiety.

Anxiety disorders are among the most prevalent form of mental disorder [11]. They involve high costs both to the individual patient and to society in general [12, 13]. Anxiety disorders are often accompanied by behavioral symptoms such as difficulty concentrating, situational avoidance, irritability and restlessness [6]. While fear and anxiety are part of the normal human experience, they nonetheless have the potential to grow disproportionately to the perceived threat and persist over time; this necessitates medical intervention. The neural circuitry underlying fear acquisition and the mechanisms involved thereof have long been considered crucial to the understanding of anxiety disorders and the development of treatment options [14, 15]. Of particular interest in fear learning and extinction has been the study of Pavlovian conditioning. Here, a subject learns an association between a biologically-relevant stimulus and a neutral cue through repeated pairing [16]. The paradigm originated with experiments conducted by the Russian scientist Ivan Pavlov in the early part of the 20th century [16]. In his classic experiment, Pavlov repeatedly paired the ringing of a bell with food, eventually causing a dog to salivate merely at the ringing of the bell [17]. In this particular case, the food was named as the unconditioned stimulus (US) and the ringing of the bell as the conditioned stimulus (CS). Learning the association between the CS and US lies at the heart of Pavlovian conditioning; eventually the CS alone will begin to elicit the biological response typically associated with the US. In fear conditioning experiments, the US is unpleasant. It can take the form of a mild electric shock, a loud sound, an aversive image or a blast of air to the throat [17, 18]. Pavlovian fear conditioning has been examined in both human subjects and animal models. Additional forms of fear conditioning experiments arose later. These include differential conditioning and the use of more complex stimuli. In differential conditioning, there are two types of conditioned stimuli—CS+ and CS-. The CS- is never associated with the US. The CS+ may be associated fully or partially with the US. The CS+ can also be chosen to reinforce the threat of the US (e.g. the image of a fearful face may be used as the CS+ and a neutral face as the CS-). Anxiety disorders and PTSD are thought to involve a pathological dysregulation of the individual fear response and its related neural circuitry—particularly with regard to fear extinction [19]. Pavlovian fear conditioning experiments conducted on these patient populations have also helped shed light on the specific brain regions that may be involved in this dysregulation (e.g. [2022]).

Skin conductance (or equivalently skin resistance or potential) has been the most commonly measured physiological signal in human fear conditioning experiments [18]. Changes in the conductivity of the skin occur due to salty sweat secretions and can be easily measured with electrodes placed on the fingers or palms of a subject. Skin conductance increases with sympathetic nervous system activation and is responsive to emotional arousal [17]. A skin conductance signal comprises of both a slow-varying tonic component and a faster varying phasic component [23]. The phasic component comprises of a series of individual skin conductance responses (SCRs). Each SCR occurs due to the expulsion of sweat in response to a burst of sudomotor neural activity [24, 25] which in turn may occur due to arousing stimuli [26]. In a typical fear conditioning experiment, the CS+ cues increasingly begin to elicit SCRs (which are typically elicited by the US) causing a rise in the skin conductance signal [27]. Heart rate is yet another measure of autonomic activity commonly used in Pavlovian fear conditioning [17], and several studies have examined the heart rate response in these experiments (e.g. [2831]). Differences in these autonomic responses have also been noted between healthy subjects and neuropsychiatric patients (e.g. PTSD [32]). The fear-potentiated startle reflex is yet another measurement commonly acquired in fear conditioning experiments [3335]. This is usually measured with the aid of EMG sensors placed around the eye to capture blinks. The startle reflex is more responsive to negative valence US than it is to neutral or positive valence stimuli [18, 36] (valence refers to the pleasure-displeasure or positive-negative axis of emotion [37]). Direct measures of the central nervous system have also been analyzed in fear conditioning experiments. Examples include cerebral blood flow from functional magnetic resonance imaging [27] and electroencephalography (EEG) [38].

While many different signals have been examined during fear conditioning, their responses have largely been analyzed separately. Here we seek to extract a single underlying sympathetic arousal state that gives rise to the observed variations in autonomic responses. We use a state-space formulation to do so. The arousal state that gives rise to the measurable changes in skin conductance and heart rate is unobserved. Now sympathetic nerve fibers innervate the sweat glands [39], and we select three commonly used skin conductance features of arousal that are generated by the tiny sweat secretions [40]. We also use heart rate which is related to arousal [41]. We relate these physiological markers to the unobserved sympathetic arousal state probabilistically and derive a Bayesian filter for state estimation. The filter is applied within an expectation-maximization (EM) framework that simultaneously estimates arousal and recovers unknown model parameters.

In a recent work [42], we developed a state-space model and corresponding Bayesian filter for estimating sympathetic arousal from the three skin conductance features just referred to. Here we extend the model to include a spiking-type observation from electrocardiography (ECG) signals. The current method therefore combines information from both the skin and the heart for estimating arousal. Our work can also be seen as a contribution from a state-space modeling viewpoint since it is an extension to [43]. Coleman et al. [43] developed a state-space model to estimate a cognitive learning state based on observing a binary correct/incorrect response variable, a continuous-valued reaction time variable and a neural spiking signal (characterized by a conditional intensity function [CIF]) in each trial of a multi-trial behavioral experiment involving a non-human primate. Our current state-space model incorporates one binary variable, two continuous-valued variables and a different form of the CIF—one which is more suited to heart rate. The following section describes our methodology. We thereafter provide results on both simulated and experimental data. We finally conclude with a discussion of our results and note future directions of research. State-space methodologies to track internal brain dynamics could ultimately lead to the development of convenient wearable monitors for long-term patient care. PTSD, for instance, is often accompanied by symptoms of hyperarousal [44], and a wearable device for estimating arousal may be helpful in tracking the status of a patient over time [45].

Materials and methods

Data

We used the “PsPM-TC: SCR, ECG, EMG and respiration measurements in a discriminant trace fear conditioning task with visual CS and electrical US” data set [46]. The data set is described in detail in [28, 47, 48], and is publicly available through the Zenodo repository. The original experiment involved 23 subjects (13 males, 10 females, age 23.8±3.0 years) from whom four subjects were discarded [28]. The data set that is available online contains physiological signal measurements from the other 19 healthy subjects who participated in the trace fear conditioning task. In trace fear conditioning, as opposed to delay fear conditioning, there is a time gap between the termination of the CS+ cue and the US onset [17]. Blue and red rectangles on a computer screen were used as the CS+ and CS- visual cues. The US was a series of 0.2 ms square electrical pulses applied at a frequency of 10 Hz for a duration of 0.5 s to the subject’s forearm using a pin-cathode/ring-anode electrode configuration. The stimulation intensity was set to approximately 90% of each subject’s pain threshold following a two-step procedure. Skin conductance was recorded from Ag/AgCl cup electrodes placed on the thenar/hypothenar of each subject’s non-dominant hand and ECG was likewise recorded using Ag/AgCl electrodes placed on the limbs. Only 50% of the CS+ trials were accompanied by the US. The general layout of a trace fear conditioning experiment is shown in Fig 1. Skin conductance and ECG can be contaminated by various sources of noise including motion artifacts and powerline noise. We analyzed data from 12 subjects for whom information could be extracted from the signals where low to moderate noise contamination was present. We relabeled the original subject numbers with participant numbers.

Fig 1. General layout of a trace fear conditioning experiment.

Fig 1

A typical fear conditioning experiment consists of two types of cues (CS+ and CS-) and a US. The CS- is never accompanied by the US. In the data set used here, the CS+ was accompanied by the US (electric shock) only 50% of the time, and blue and red rectangles were used as the CS+ and CS- cues. Other experimental paradigms are also possible (for instance, where the CS+ is always accompanied by the US or where the CS+ reinforces the unpleasant US). In trace conditioning, there is a gap between the time when the CS+ stimulus ends and when the US begins. The figure was adapted from [17].

Preprocessing

Skin conductance is a low-bandwidth signal and we first lowpass filtered the data at 0.5 Hz and then downsampled to 4 Hz. Cut-off frequencies as low as 0.4 Hz have also been used in the literature when filtering skin conductance data [49]. We next decomposed each skin conductance signal zk into its constituent tonic (sk) and phasic components (r˜k) using cvxEDA [50]. We also detected ECG R-peaks using MATLAB’s findpeaks function and manually corrected erroneous heartbeats.

State-space model

Random walks and first-order autoregressive (AR) models have frequently been used to capture the evolution of unobservable neural states across time (e.g. learning [43, 5153], sleep [54] and neural states underlying spiking activity [55]). We assume that sympathetic arousal xk evolves with time following the model in [55].

xk=ρxk-1+αIk+εk, (1)

where εkN(0,σε2) and Ik is an indicator function representing external stimuli. ρ and α are coefficients to be determined. We take four different observations to estimate the unobserved sympathetic arousal state—three from skin conductance and one from ECG.

Skin conductance

As noted earlier, sympathetic nerve fibers in the autonomic nervous system innervate the sweat glands [39]. Consequently, skin conductance, which varies based on sweat secretions, functions as an indicator of sympathetic arousal [56]. Several different skin conductance features have been notably used in the literature as indices of arousal. Firstly, the rate at which SCRs appear has been taken as an index of arousal—the higher the arousal, the higher the rate of SCR occurrence. SCR rate has been used as a marker of arousal in experiments involving thought suppression [57], alcohol craving [58] and audio processing [59]. Secondly, SCR amplitude has been considered an index of arousal as well. This has been used in studies involving emotional visual stimuli [60] and sounds [61]. Finally the tonic level has been used as an index of arousal in several studies. Examples include biofeedback tasks [62], antisocial behavior [63] and the presentation of visual stimuli [64]. SCR rate, SCR amplitude and the tonic level have been the three most commonly reported skin conductance markers of autonomic activity in the literature [40].

We first consider the appearance of SCRs. SCRs can be detected as phasic peaks that exceed a threshold between 0.01–0.05 μS [23]. We assign mk = 1 or mk = 0 based on whether or not an SCR occurred at the kth time index using a threshold of 0.015 μS. The 0.015 μS threshold is selected similar to our previous work in [42] to provide a balance between detecting SCR peaks and avoiding the detection of noise as SCRs. The occurrence of SCRs follows a Bernoulli distribution with a density function pkmk(1-pk)1-mk where pk is the probability that mk = 1. Therefore, we relate sympathetic arousal to the occurrence of SCRs using the theory of generalized linear models. We use a logit transformation following the suggestion in [65].

log(pk1-pk)=β0+β1xkpk=11+e-(β0+β1xk), (2)

where β0 and β1 are regression coefficients to be determined. Therefore,

P(mk|xk)=pkmk(1-pk)1-mk=[11+e-(β0+β1xk)]mk[e-(β0+β1xk)1+e-(β0+β1xk)]1-mk. (3)

Secondly, we consider the continuous-valued tonic skin conductance level sk which is also known to be related to arousal [66]. Other neural state estimation methods (e.g. [43, 52]) have assumed linear relationships between continuous-valued observations and the latent state to be determined. We too take sk to be linearly related to xk.

sk=δ0+δ1xk+wk, (4)

where wkN(0,σw2) captures sensor noise and modeling error, and δ0 and δ1 are regression coefficients to be determined.

We next consider the rapidly-fluctuating phasic component r˜k. Two main aspects are to be noted regarding the phasic component. Firstly, its distribution is skewed. A logarithmic or square-root transformation is commonly suggested to correct skew in skin conductance measures [67]. Here we apply a logarithmic transformation (Fig 2). Secondly, it is the amplitudes of the SCRs that are considered to be related to sympathetic arousal [68]. Therefore, we derive an artificial signal rk by interpolating over the SCR peaks and the first and last values of the log transformed r˜k. These two steps can also be combined and expressed mathematically as follows. Taking

r*={r˜1,r˜K}{r˜k|mk=1} (5)

to denote the phasic SCR peaks along with the first and last values, rk is derived by applying a cubic interpolation over log r* (Fig 3). The positive skew of the SCR amplitudes is one that has been noted in the literature and the logarithmic transformation is often used for correction [69]. Similar to the case of sk, we assume a linear relationship between rk and xk as well.

rk=γ0+γ1xk+vk, (6)

where the coefficients γ0 and γ1 are similar to δ0 and δ1, and vkN(0,σv2) represents a noise term similar to wk. MK={m1,m2,,mK}, RK={r1,r2,,rK} and SK={s1,s2,,sK} form the complete series of skin conductance observations (Fig 4).

Fig 2. Phasic skin conductance skew correction.

Fig 2

The phasic component of a skin conductance signal fluctuates more rapidly than its tonic counterpart and has a positively skewed amplitude histogram. The upper sub-panel depicts the phasic skin conductance from participant 1 extracted using cvxEDA. The lower sub-panels show the the amplitude histograms before and after a log transformation.

Fig 3. Extraction of the phasic-derived component rk from r˜k.

Fig 3

The amplitudes of each of the SCRs are related to sympathetic arousal. Therefore, we derive an artificial phasic-related component by detecting peaks and then interpolating over the log values of the peak amplitudes. The figure shows a zoomed-in section illustrating the derivation.

Fig 4. Constituent components of a skin conductance signal.

Fig 4

The sub-panels from top to bottom respectively depict, (a) the skin conductance signal zk; (b) the phasic component with the detected SCR peaks; (c) the phasic-derived component rk; (d) the tonic component sk. mk = 1 or mk = 0 is assigned based on whether or not an SCR occurred at the kth time-point. We make use of the observations mk, rk and sk at each time point to estimate xk.

Heart rate

We next wish to extract an ECG biomarker for estimating sympathetic arousal. Now both the sympathetic and parasympathetic branches of the autonomic nervous system regulate heart rate. The sympathetic nervous system increases heart rate and the force of contraction via the neurotransmitter norepinephrine [70]. In contrast, parasympathetic activation causes the release of actylcholine at the heart and has the opposite effect. Beat-to-beat variations in RR-intervals, known as heart rate variability (HRV), reflect these changes in sympathetic and parasympathetic control on the heart. In this model, we relate sympathetic arousal to heart rate. Studies in animal models have shown that the stimulation of autonomic nerve fibers leading to the heart results in an almost linear relationship between stimulation frequency and RR-intervals [71, 72]. Based on findings in these studies, we select a linear model to capture the relationship between RR-intervals and sympathetic arousal xk.

Heartbeats occur due to the depolarization of cells in the heart’s sinoatrial (SA) node which subsequently propagates throughout the atria and ventricles. The rise in the membrane potentials in the SA node cells can be modeled as a Gaussian random walk with drift [73, 74]. Consequently, the times between successive ventricular contractions can be modeled using the inverse Gaussian probability density model. Barbieri et al. [73, 75] successfully used a history-dependent inverse Gaussian (HDIG) probability density function to model RR-intervals. If L consecutive R-peaks occur at times ul within (0, T] such that 0 < u1 < u2 < … < uLT, and hl = ulul−1 is the lth RR-interval, then the HDIG density function for RR-intervals at t > ul is,

g(t|ul)=θq+12π(t-ul)3exp{-θq+1[t-ul-μ^]222μ^(t-ul)}, (7)

where q is the model order, θq+1 is related to the variance and

μ^=θ0+i=1qθihl-i+1 (8)

is the HDIG mean [75]. The θi’s are coefficients to be determined. This model expresses the dependence of an RR-interval on its immediate history (this dependence has also led to the successful application of AR models to the analysis of HRV [76, 77]). Barbieri et al. [73] divided the time axis into bins of size Δ = 5 ms and performed local likelihood estimation to determine the θi’s every Δ ms (i.e, the θi’s were time-varying). These time-varying parameters capture part of the non-stationary nature of HRV that occurs due to underlying pathological and physiological reasons [78].

Based on our earlier assumption of linearity between sympathetic arousal xk and the RR-intervals, we re-define a new HDIG RR-interval mean μ as one which depends linearly on both the immediate history and the arousal xk, i.e.,

μ=θ0+i=1qθihl-i+1+ηxk, (9)

where η is a coefficient to be determined. Moreover, we also assume that the θi’s are fixed and that variations in sympathetic arousal account for part of the RR-interval stochasticity. According to this formulation, changes in arousal would cause the HDIG probability density function to shift to the right or to the left.

Recall that we analyze skin conductance data at a sampling frequency of 4 Hz due to its low bandwidth (sampling time ts = 250 ms). Now the bin size Δ = 5 ms proposed by Barbieri et al. [73] used for the HDIG model is much smaller. There are J = ts/Δ = 50 heart rate observation bins corresponding to the kth skin conductance sample. We index these smaller heart rate bins over j and generate a binary point process by assigning nk,j = 1 or nk,j = 0 depending on whether or not an R-peak occurred at the time. The joint density over these J observations is then [79]

P(nk,1,nk,2,,nk,J|xk)=ej=1Jlog(λk,jΔ)nk,j-λk,jΔ, (10)

where the CIF λk,j is

λk,jg(tk,j|uk,j)1-uk,jtk,jg(z|uk,j)dz, (11)

where uk,j is the time of occurrence of the last R-peak prior to time tk,j. NK={n1,1,n1,2,,n1,J,n2,1,n2,2,,n2,J,,nK,1,nK,2,,nK,J} form the set of heart rate observations.

State estimation and parameter recovery

Given the observations YK={MK,RK,SK,NK}, we wish to estimate xkk and determine the set of unknown model parameters. We perform this using Bayesian filtering applied within an EM framework. At the E-step, we use both a forward filter and a backward smoother to estimate xk. At the M-step, we use the estimated values of xk to obtain the next set of model parameters that maximizes the expected value of the complete data log likelihood. The algorithm iterates between the E-step and the M-step until convergence. We derive the forward filter equations and the M-step updates in S1 Appendix based on [43].

Expectation step

We make a Gaussian approximation to the posterior density p(xk|yk) similar to [43] to obtain the following filter equations for k = 2: K.

Predict:

xk|k-1=ρxk-1|k-1+αIk (12)
σk|k-12=ρ2σk-1|k-12+σε2 (13)

Update:

ck=σk|k-12σv2σw2+σk|k-12(γ12σw2+δ12σv2) (14)
xk|k=xk|k-1+ck[β1σv2σw2(mk-pk|k)+γ1σw2(rk-γ0-γ1xk|k-1)+δ1σv2(sk-δ0-δ1xk|k-1)+σv2σw2j=1J1λk,j|kλk,j|kxk(nk,j-λk,j|kΔ)] (15)
σk|k2={1σk|k-12+β12pk|k(1-pk|k)+γ12σv2+δ12σw2-j=1J[1λk,j|k2λk,j|kxk2(nk,j-λk,j|kΔ)-nk,jλk,j|k2(λk,j|kxk)2]}-1 (16)

These equations are similar to the Kalman filter predict and update steps. Eq (15) applies a correction to xk|k−1 based on a comparison between the skin conductance and heart rate measurements observed at time index k and their model predictions. For instance, the phasic-derived rk is compared to its model prediction γ0 + γ1 xk|k−1 and the appearance of an SCR mk is compared to its predicted probability pk|k. Eq (15) is also solved numerically using Newton’s method as xk|k appears on both sides of the equality sign [51]. The smoothed state and variance estimates xk|K and σk|K2 are [80]

Akρσk|k2σk+1|k2 (17)
xk|K=xk|k+Ak(xk+1|K-xk+1|k) (18)
σk|K2=σk|k2+Ak2(σk+1|K2-σk+1|k2). (19)

Maximization step—Model parameters related to skin conductance

The model parameters ρ,α,β0,β1,δ0,δ1,σw2,γ0,γ1,σv2 and σε2 are calculated at the M-step. Making use of the state-space covariances in [81] and defining the following

Ukxk|K2+σk|K2 (20)
Uk,k+1xk|Kxk+1|K+Akσk+1|K2, (21)

we obtain the following updates for the (n + 1)th EM iteration.

[ρ(n+1)α(n+1)]=[k=1K-1Ukk=2KIkxk-1|Kk=2KIkxk-1|Kk=1KIk2]-1[k=1K-1Uk,k+1k=2KIkxk|K] (22)
[γ0(n+1)γ1(n+1)]=[Kk=1Kxk|Kk=1Kxk|Kk=1KUk]-1[k=1Krkk=1Krkxk|K] (23)
σv2(n+1)=1K[k=1Krk2+Kγ02(n+1)+γ12(n+1)k=1KUk-2γ0(n+1)k=1Krk-2γ1(n+1)k=1Kxk|Krk+2γ0(n+1)γ1(n+1)k=1Kxk|K] (24)
σε2(n+1)=1K[k=2KUk-2ρ(n+1)k=1K-1Uk,k+1+ρ2(n+1)k=1K-1Uk-2α(n+1)k=2KIkxk|K+2α(n+1)ρ(n+1)k=2KIkxk-1|K+α2(n+1)k=1KIk2] (25)

The M-step updates are likewise obtained for δ0 and δ1 by replacing rk with sk in Eq (23). The update for σw2 can be obtained similarly by making the corresponding changes to γ0, γ1 and rk in Eq (24).

Estimating β0 and β1 requires the maximization of (S1 Appendix) [43]

Q¯1=k=1KE[mk(β0+β1xk)-log(1+eβ0+β1xk)]. (26)

Owing to the difficulty of analytically computing Q¯1, two alternate approaches (based on approximations) are commonly used in the literature for estimating β0 and β1. These are as follows:

  1. The first approach is to set β1 = 1 and calculate β0 empirically [51, 52]. This results from using the model
    log(pk1-pk)=β0+xkpk=11+e-(β0+xk). (27)
    It can be assumed that xk ≈ 0 at the very beginning. Therefore
    log(p01-p0)β0. (28)

    β0 can now be calculated from Eq (28) taking p0 as the chance probability that mk = 1. For instance, in behavioral learning experiments involving correct/incorrect responses, p0 is the probability that a subject gets an answer correct at the very outset prior to any learning occurring (i.e., the chance probability) [51, 52]. In our prior work on Bayesian filtering using skin conductance data, taking p0 as the average probability of an SCR occurring in the whole experiment provided good results [42, 45, 82, 83].

  2. The second approach is by means of a Taylor series expansion [43]. Each of the summed terms in Q¯1 can be expanded around xk|K. Thereafter, Q¯1 can be approximated by only using the first few Taylor series terms. The derivatives of the approximated Q¯1 with respect to β0 and β1 can then be taken and set to zero to find the M-step updates. These derivatives yield the following (S1 Appendix) [43]:
    k=1K[mk-pk|K-12β12(n+1)σk|K2pk|K(1-pk|K)(1-2pk|K)]0 (29)
    k=1K{mkxk|K-xk|Kpk|K-12β1(n+1)σk|K2pk|K(1-pk|K)[2+β1(n+1)xk|K(1-2pk|K)]}0. (30)

    These two equations can be numerically solved using MATLAB’s fsolve function to provide the M-step updates for β0 and β1.

Both types approximations described above provide reasonably good results in our own experience and either option can be used. Note that the β0 and β1 coefficients appear in exponents, as in Eq (2) for instance, and state estimation can be sensitive to them. Due to this sensitivity in the exponent terms, the second approximation option can cause convergence issues as it tries to iteratively estimate β0 and β1 at the M-step. In contrast, β0 and β1 are calculated using alternate means in the first option. Thus it is less likely to have difficulty converging. We use a convergence criteria similar to [52] and consider all model parameters estimated at the M-step to have converged once the mean absolute difference between successive iterations does not exceed a specified tolerance level. Here, we use a tolerance level in the order of 10−5–10−6 on simulated and experimental data.

Maximization step—Model parameters related to heart rate

Ideally, all model parameters related to both skin conductance and heart rate should be estimated at the M-step simultaneously. Recall that we have to determine θ0, θ1, …, θq+1 and η for heart rate. Calculating these values at the M-step requires the maximization of (S1 Appendix) [43]

Q¯2=k=1Kj=1JE[log(λk,jΔ)nk,j-λk,jΔ]. (31)

Maximizing Q¯2 with respect to the θi’s and η for a fixed model order q is extremely time consuming. Additionally, multiple values of q need to be evaluated for selecting the best order. Owing to the large time complexity, we resorted to an alternate two-step strategy for determining the model parameters related to heart rate.

  • Step 1: Determining the model order q and the θi coefficients

    The HDIG density function models the RR-interval mean as a weighted sum of the previous q RR-intervals. This is similar to an AR model where a value in a time series is predicted from its past values [78]. Barbieri et al. [73] used the HDIG density function to model RR-intervals in ten subjects who participated in a tilt-table experiment. They investigated different model orders q and selected q = 2 for two subjects and q = 4 for eight subjects based on goodness-of-fit and Akaike’s information criteria. Goodness-of-fit was assessed using the Kolmogorov-Smirnov (KS) plot. The KS plot is based on the time rescaling theorem [84] and provides an indication of how good a CIF fits to point process observations. The time rescaling theorem is frequently used in the analysis of neural spike trains [8587] and heartbeats [73, 75, 78, 88]. The closer the KS plot is to the 45°diagonal, the better the fit is to the observed binary point process data. Thus, the maximum distance between the KS plot and the 45°diagonal (known as the KS distance), provides a quantitative measure of goodness-of-fit. In [78], Barbieri et al. performed a partial autocorrelation analysis of RR-intervals and selected an AR(8) HDIG model order for a tilt table study. Similar to [78], we too perform a partial autocorrelation analysis of the subjects’ RR-intervals (Fig 5). For many subjects, the autocorrelation terms beyond a lag of eight tend to be small in comparison to the first few lags. We therefore chose to investigate model orders up to q = 8. For each model order q, we estimated θ0, θ1, …, θq+1 offline via maximum likelihood [73]. The best model order q and the θi coefficients were selected based on the smallest KS distance (Table 1). We performed step 1 for each participant prior to arousal estimation using EM.

  • Step 2: Determining η

    After selecting the θi’s and the model order q, we run the full EM algorithm for arousal estimation for a fixed set of values for η. Since RR-intervals would decrease (i.e., heart rate would speed up) with increased sympathetic drive, we chose to try the set of negative values {−10−6, −10−5, −10−4, −10−3, −10−2, −10−1} for η. We resorted to this two-step strategy because determining η and the θi’s simultaneously at the M-step proved to be extremely time consuming. Q¯2 in Eq (31) can be approximated by
    Q¯2k=1Kj=1Jlog(λk,j|KΔ)nk,j-λk,j|KΔ+12[1λk,j|K2λk,j|Kxk2(nk,j-λk,j|KΔ)-nk,jλk,j|K2(λk,j|Kxk)2]σk|K2. (32)

    We derive this in S1 Appendix. Ideally, the η value with the largest Q¯2 during state estimation should be selected. However, the inclusion of xk in the HDIG model causes the KS plot obtained via maximum likelihood to change. Therefore, η should be chosen to maximize Q¯2 subject to the new KS plot falling within or reasonably close to the 95% confidence bounds to the 45°diagonal (based on the time rescaling theorem, the 45°diagonal corresponds to the perfect CIF estimate for a given set of point process observations).

Fig 5. Partial autocorrelation analysis of RR-intervals.

Fig 5

For all participants, the partial autocorrelation values are large at the first few lags and then become smaller. For many participants, the dependence of the current RR-interval on a lag of beyond eight is small. Consequently, we chose to investigate model orders q = 1, 2, …, 8 for each participant and selected the value of q giving rise to the smallest KS distance.

Table 1. Model parameter selection for heart rate.
Original study subject number Participant Model order q KS distance
5 1 3 0.021327
6 2 8 0.025880
7 3 1 0.019057
10 4 6 0.063215
11 5 6 0.047393
12 6 1 0.022211
13 7 3 0.015398
14 8 2 0.030028
16 9 5 0.022618
17 10 2 0.028208
18 11 8 0.016154
19 12 4 0.019527

KS plots are frequently used to evaluate the goodness-of-fit to spiking-type observations (e.g. single neuron spiking, R-peaks). Here we selected q and the θi coefficients based on the minimum KS distances. The subject ID numbers according to the original study are also shown in the table.

Results

Simulated data

We simulated two sets of data to check the ability of our model to estimate an unobserved arousal state and recover model parameters. The model parameters were chosen based on prior experience with skin conductance and heart rate data. We used the first approximation strategy for β0 and β1 (i.e., setting β1 = 1 and calculating β0 based on an empirical approximation). We used p0 = 0.01 to generate β0 (i.e., β0 = log[p0(1 − p0)−1]). Recall that during estimation, we calculate β0 empirically by estimating p^0 as the average probability that mk = 1 in the data. The two simulated data sets correspond to two instances where p^0>0.01 and p^0<0.01. We also set the indicator function Ik = 1 at 25 arbitrary locations.

The state estimation results are shown in Figs 6 and 7. The model parameters used and their estimates are shown in Table 2. In both cases, there is a good fit to the continuous-valued observations rk and sk. In the case of p^0>0.01, the fits are better to the binary observations and to the states. The approximation with p^0<0.01 tends to underestimate the probability of the binary observations. This is likely because β0 and β1 appear in the exponents, and estimation is therefore more sensitive to them. The fits to the heartbeats are also good with the KS plot lying within the 95% confidence bounds. We calculated the θi coefficients separately using maximum likelihood and estimated η from a fixed set of values using the EM algorithm.

Fig 6. State estimation with simulated data (p^0>0.01).

Fig 6

The sub-panels respectively depict, (a) the Bernoulli trial probabilities pk (blue), their estimate (red) and the presence or absence of binary observations (light green and black dots); (b) the quantile-quantile (QQ) plot for the residual error of pk; (c) the exponent of rk (blue) and its estimate (red); (d) the QQ plot for the residual error of rk; (e) sk (blue) and its estimate (red); (f) the QQ plot for the residual error of sk; (g) the arousal state xk (blue), its estimate (red) and the presence or absence of stimuli Ik driving the state (cyan and blacks dots); (h) the QQ plot for the residual error of xk; (i) the sequence of RR-intervals rri (orange dots) and the estimated RR-interval mean μ (solid blue line); (j) the KS plot for the heartbeats.

Fig 7. State estimation with simulated data (p^0<0.01).

Fig 7

The sub-panels respectively depict, (a) the Bernoulli trial probabilities pk (blue), their estimate (red) and the presence or absence of binary observations (light green and black dots); (b) the QQ plot for the residual error of pk; (c) the exponent of rk (blue) and its estimate (red); (d) the QQ plot for the residual error of rk; (e) sk (blue) and its estimate (red); (f) the QQ plot for the residual error of sk; (g) the arousal state xk (blue), its estimate (red) and the presence or absence of stimuli Ik driving the state (cyan and blacks dots); (h) the QQ plot for the residual error of xk; (i) the sequence of RR-intervals rri (orange dots) and the estimated RR-interval mean μ (solid blue line); (j) the KS plot for the heartbeats.

Table 2. Parameter estimation with simulated data.

Parameter value Estimated value (p^0>0.01) Estimated value (p^0<0.01)
α = 0.04 0.0082 0.0281
ρ = 0.995 0.9941 0.9947
δ0 = −0.7 -0.739 -0.704
δ1 = 0.2 0.2532 0.4417
σw2=0.003 0.003 0.0031
γ0 = 0.35 0.2716 0.3422
γ1 = 0.4 0.5057 0.8848
σv2=0.002 0.0019 0.0022
β0 = −4.5951 -4.5458 -4.7015
β1 = 1 1 (set) 1 (set)
σε2=0.03 0.0188 0.0058
θ0 = 0.27432 0.24028 0.29978
θ1 = 0.83697 0.83787 0.76209
θ2 = −0.10511 -0.07417 -0.05446
θ3 = 234.22144 239.28030 237.89351
η = −0.005 -0.001 -0.001

We simulated two sets of data with the same set of parameters. For one of them, the approximation for p0 was slightly less than the true value and for the other it was slightly above.

Experimental data

We set Ik = 1 corresponding to the times at which the CS+, CS- and US stimuli were presented. Unlike in the case of simulated data, additional constraints had to be placed when running the EM algorithm on experimental data. Here, there was a tendency for the model parameters to converge to a location where there was an almost perfect fit to one of the continuous-valued observations (either rk or sk). It is likely that local extrema exist in the model parameter search space at these points and the EM algorithm can converge to them. In order to avoid xk overfitting to rk or to sk, we first divided them by their respective standard deviations and then monitored the variance terms σv2(n+1) and σw2(n+1) at each iteration. All the model parameters were only allowed to update if the absolute difference between the variance terms exceeded 0.1. Thus the EM algorithm was prevented from overfitting by driving down one of the variance terms at the expense of the other. The EM iterations were stopped once it was detected that overfitting (as measured by the variance difference criteria) to either rk or sk would occur at the next iteration. This approach is similar to the early stopping criteria used to prevent overfitting when training artificial neural networks via gradient descent [89]. We also calculated β1 and β2 at the M-step as overfitting, rather than convergence, is the major concern with experimental data. We also included an additional constraint to prevent the α coefficient from becoming negative during estimation as this would imply that the external stimuli (for instance, the electric shock) decreases arousal. The model parameter estimates are given in S1 Appendix.

Pavlovian fear conditioning experiments have often sought to examine average differences in physiological features between the trial types. Since this is similar to the study of event-related potentials (ERPs) with EEG data, we provide the ERP-like images for the three types of trials—CS-, CS+ without the US (CS+US-) and CS+ with the US (CS+US+). The state estimation results are shown in Figs 8, 9 and 10 and the KS plots for fits to the heartbeats are shown in Fig 11. The mean and standard deviation of xk within each of the 10 s periods considered for the ERP-like plots is shown in Table 3.

Fig 8. Sympathetic arousal estimation for participants 1-4 in the trace fear conditioning experiment.

Fig 8

The sub-panels from top to bottom respectively depict, (a) the skin conductance signal zk; (b) the presence or absence of SCR peaks (light green and black dots) and the smoothed Bernoulli trial probability estimates of pk (red line); (c) the exponent of the phasic derived signal rk (solid green line) and its estimate (dotted line); (d) the tonic part sk (solid light mauve line) and its estimate (dotted line); (e) the smoothed arousal state estimates of xk and the presence or absence of visual or electric stimuli (cyan and blacks dots); (f) the sequence of RR-intervals rri (orange dots) and the estimated RR-interval mean μ (solid blue line); (g) a 10 s ERP-like skin conductance plot for the CS- (green), CS+ without a shock (mauve—CS+US-) and CS+ with the shock (red—CS+US+) trials; (h) 10 s ERP-like arousal state plots along with their confidence intervals.

Fig 9. Sympathetic arousal estimation for participants 5-8 in the trace fear conditioning experiment.

Fig 9

The sub-panels from top to bottom respectively depict, (a) the skin conductance signal zk; (b) the presence or absence of SCR peaks (light green and black dots) and the smoothed Bernoulli trial probability estimates of pk (red line); (c) the exponent of the phasic derived signal rk (solid green line) and its estimate (dotted line); (d) the tonic part sk (solid light mauve line) and its estimate (dotted line); (e) the smoothed arousal state estimates of xk and the presence or absence of visual or electric stimuli (cyan and blacks dots); (f) the sequence of RR-intervals rri (orange dots) and the estimated RR-interval mean μ (solid blue line); (g) a 10 s ERP-like skin conductance plot for the CS- (green), CS+ without a shock (mauve—CS+US-) and CS+ with the shock (red—CS+US+) trials; (h) 10 s ERP-like arousal state plots along with their confidence intervals.

Fig 10. Sympathetic arousal estimation for participants 9-12 in the trace fear conditioning experiment.

Fig 10

The sub-panels from top to bottom respectively depict, (a) the skin conductance signal zk; (b) the presence or absence of SCR peaks (light green and black dots) and the smoothed Bernoulli trial probability estimates of pk (red line); (c) the exponent of the phasic derived signal rk (solid green line) and its estimate (dotted line); (d) the tonic part sk (solid light mauve line) and its estimate (dotted line); (e) the smoothed arousal state estimates of xk and the presence or absence of visual or electric stimuli (cyan and blacks dots); (f) the sequence of RR-intervals rri (orange dots) and the estimated RR-interval mean μ (solid blue line); (g) a 10 s ERP-like skin conductance plot for the CS- (green), CS+ without a shock (mauve—CS+US-) and CS+ with the shock (red—CS+US+) trials; (h) 10 s ERP-like arousal state plots along with their confidence intervals.

Fig 11. KS plots for the participants.

Fig 11

The KS plots for the participants lie close to the 45°diagonal indicating a good fit to the heartbeats (a point process). Deviations from the 45°diagonal are most prominent for participants 4 and 5.

Table 3. Mean and standard deviation of xk in different trial conditions.

Category Participant CS+US+ CS+US- CS- CS+US+ > CS+US- CS+US- > CS-
mean s.d. mean s.d. mean s.d. (p-value) (p-value)
A 3 1.9720 0.3203 1.7754 0.0499 1.5035 0.1138 0.0001* < 0.0001*
4 1.0546 0.3222 0.8771 0.0687 0.6756 0.1183 0.0005* < 0.0001*
5 1.9982 0.1939 1.9864 0.0427 1.8153 0.0794 0.3537 < 0.0001*
11 -0.4086 0.2796 -0.5008 0.0904 -0.9051 0.1477 0.0253* < 0.0001*
Overall (A) 1.1541 1.0215 1.0345 0.9846 0.7723 1.0639
B 1 -0.5490 0.1140 -0.8844 0.0248 -0.8402 0.0493 < 0.0001* > 0.9999
6 0.0515 0.1725 -0.3859 0.0321 -0.3178 0.0617 < 0.0001* > 0.9999
9 1.9902 0.1579 1.6591 0.0429 1.6319 0.0428 < 0.0001* 0.0029*
12 0.8392 0.1611 0.5776 0.0224 0.5804 0.0628 < 0.0001* 0.6034
Overall (B) 0.5830 0.9649 0.2416 0.9762 0.2636 0.9438
C 7 -1.0530 0.0416 -1.2204 0.0276 -1.0636 0.0220 < 0.0001* > 0.9999
8 -0.2820 0.0568 -0.6205 0.0398 -0.5316 0.0235 < 0.0001* > 0.9999
10 0.2368 0.1206 -0.2129 0.0382 -0.0371 0.0433 < 0.0001* > 0.9999
Overall (C) -0.3661 0.5381 -0.6846 0.4170 -0.5441 0.4221
2 3.8671 0.2012 3.4755 0.0753 3.6719 0.0546 <0.0001* > 0.9999
Overall 0.8098 1.3836 0.5438 1.3742 0.5153 1.3683

Fear conditioning experiments frequently examine physiological responses across the different types of trials. The table shows the mean and standard deviation of the averaged xk values over the 10 s period shown in Figs 8, 9 and 10 for the CS+US+, CS+US- and CS- trials. The results for the participants are shown according to the categories A, B and C, and p-values less than 0.05 are indicated with a *.

We first consider Figs 8, 9 and 10. Overall, both the skin conductance and estimated arousal states are highest in the CS+US+ trials. The participants may be divided into three categories based on their physiological responses and state estimates. Participants 3, 4, 5 and 11 have very similar averaged responses. We group them in category A. For each of the participants in category A, the average response to the CS+US+ is highest followed by the CS+US-. The CS- trials have the lowest average response. This is as expected. Clear gaps are visible between the averaged responses for each of the three types of trials. The gaps are visible for both averaged skin conductance and arousal. In category B are participants 1, 6, 9 and 12. For these participants, the gap between the CS+US- and CS- trials is very small. However, the average response for the CS+US+ is still larger. For participants 1 and 9, the averaged CS+US- and CS- curves lie almost on top of each other. For participant 6, there is a small rise in the averaged CS+US- skin conductance curve above the CS- curve while the corresponding state estimates are very close to each other. There is however, a slight upward trend in the averaged CS+US- arousal state curve curve and a corresponding downward trend in the averaged CS- curve. Participants 7, 8 and 10 are grouped into category C. Here, the general trend is that the averaged CS- curve tends to exceed the CS+US- curve. Participant 2 is an exception. Here, the averaged skin conductance and state estimates for the CS- and CS+US- are interchanged. We provide a discussion of these results in the following section. We include a separate discussion for participant 2 for whom there appears to be a mismatch between the averaged skin conductance and arousal state estimate curves. Participant 2 appears to develop a skin conductance arousal response to the CS- trials towards the end of the experiment. This is unusual as the participant should have by then learned that the CS- trials are never accompanied by the electric shock.

We next consider Table 3 which summarizes the results from the ERP-like plots in the figures. Again, consistent with Figs 8, 9 and 10, the highest xk values generally occur in the CS+US+ trials. The difference between the CS+US- and CS- trials is less distinguishable and there are differences between participants. We have grouped the participants into categories A, B and C in the table. The means and standard deviations of the arousal state xk for each category are also shown here. The responses for individual participants are generally as expected in category A. For individual participants in categories B and C, the responses are not as would be expected in a typical fear conditioning experiment since the mean values for the CS- trials sometimes exceed those of the CS+US- trials. For category A as a whole, the mean value for xk is largest in the CS+US+ trials followed by the CS+US- trials and then by the CS- trials. For category B, the mean value for the CS- trials is larger than that for the CS+US- trials. It is the same for category C, but the difference is larger. We also performed one-tailed t-tests to check if the means for CS+US+ trials were greater than those of the CS+US- trials, and if the means of the CS+US- trials were larger than those of the CS- trials for each participant. In general, the differences are significant in both cases for participants in category A. The differences are less apparent for participants in categories B and C. The weaker response to the CS+US- trials may be in part due to the use of the trace, rather than the delay, fear conditioning paradigm as we describe in the subsequent section. Other possibilities include an insufficient unpleasantness of the US on a per-subject level.

The KS plots for the participants are close to the 45°diagonal indicating a good fit to the heartbeat observations. Deviations outside the 95% confidence bounds are most prominent for participants 4 and 5. The HDIG model developed by Barbieri et al. [73, 75] uses time-varying θi coefficients that are estimated every 5 ms. The use of a fixed set of θi’s estimated via maximum likelihood together with changes in arousal may have been insufficient to account for the HRV stochasticity completely. We have discussed how time-varying HDIG parameters may be incorporated into the model in the following section.

Discussion

Simulated data

The presence of binary-valued observations requires the use of a data transformation according to the theory of generalized linear models. Here, we use the logit transform to relate mk = {0, 1} to xk similar to [51, 52]. The logit transform necessitates the estimation of two parameters that appear in exponents (β0 and β1). Estimating exponents can be challenging as a small change may have a significant effect. We earlier noted two approaches found in the literature that are based on approximations which can be used to estimate β0 and β1. One of the approaches is less likely to cause difficulties in converging to parameters. We use this approach to test the ability of our model to estimate an unobserved arousal state and estimate model parameters. While we obtain good results with simulated data, the ability to fit to the binary observations was better in one case (p^0>0.01) than in the other. This is likely due to the sensitivity of the model to the exponent terms. The need to estimate exponent terms and the sensitivity thereof are limitations of the present model. An alternate strategy would be to use a different type of data transform on the binary data and relate it to xk. For instance, the complementary log-log and the inverse normal are additional transforms that are suggested for binary data [65]. These additional methods could be investigated in future to examine sensitivity to the exponents.

Numerical issues can also arise during state estimation. This is in part due to the use of the HDIG density function and its parameters. State estimation also depends on integrals and derivatives of the HDIG CIF over very small numbers. These factors can cause numerical issues during EM. A simpler probability density function or a Gaussian approximation to the HDIG density function may be helpful in avoiding some of the numerical instabilities that may arise. Yet another alternative would be to use particle filters with Monte-Carlo sampling for state estimation [90, 91].

Experimental data

In Pavlovian fear conditioning, a neutral stimulus is paired with an unpleasant stimulus such as an electric shock. Through repeated exposure, a subject learns an association between the two types of stimuli and eventually begins to elicit a response typically associated with the unpleasant stimuli to the neutral predictor as well. Due to ethical considerations involved in causing pain to human subjects, the intensity of the electric shocks used in fear conditioning experiments is often adjusted to be “highly annoying, but not painful” [17]. In the data set used here, the shock intensity was adjusted to 90% of each subject’s pain threshold [28]. Subjects have different pain thresholds and an electric shock that is not painful enough may not cause the subject to fear the US as much. This is one of the possible reasons why variations are seen among the subjects analyzed in this data set. Ideally, we would expect to see the highest averaged responses (skin conductance and arousal) for CS+US+ and then for CS+US-. The CS- trials would be expected to have the lowest averaged responses. However, this clear difference is only visible in the four participants in category A. It appears that these four subjects learned the association between the CS+ cue and the electric shock and developed a fear response to the CS+ alone. In participants belonging to both the other categories, a clear separation with the averaged responses for CS+US- being higher than the averaged responses for CS- is not seen. There is almost no difference between the averaged responses for the CS+US- and CS- trials for participants in category B. The response is inverted for category C participants. The reason for responses such as those seen in category B and C is likely due to the participants not learning to fear the unpleasant electric shock enough. A further possibility for the lack of a response to the CS+ trials could be the type of experiment that was used. The data come from a trace fear conditioning experiment. In trace fear conditioning, there is a gap between the time the CS+ ends and the application of the US. In delay fear conditioning, the CS+ stimuli co-terminate with US without any time gap. Due to the closer pairing in time, the response to the CS+ stimuli in delay fear conditioning is usually larger than in trace fear conditioning [17]. Trace conditioning involves the hippocampus while delay conditioning predominantly involves the amygdala [17]. Finally, the experiment included the electric shock only in 50% of the CS+ trials. Therefore, a participant learns that not all CS+ trials precede a shock. The use of: (i) trace conditioning, (ii) CS+ only accompanying the US in 50% of the trials and (iii) shocks that may not have been unpleasant enough are possible reasons why only four participants had a response as expected.

Participant 2 was a notable exception as the averaged skin conductance and state estimates for CS- and CS+US- do not match each other. A total of 160 trials were included in the fear conditioning experiment—40 CS+US+, 40 CS+US- and 80 CS- trials. The trials occur in random order. Fig 12 shows how the averaged CS- responses vary during the course of the 80 CS- trials. For comparison, the CS+US- responses are shown as a reference. The CS- trials are shown in three blocks: trials 1-20, trials 21-60 and trials 61-80. Shown below each of the sub-panels are the corresponding averaged arousal states for each of those blocks. We would typically expect that the response to the CS- stimuli decreases as the subject learns that the CS- is never associated with the US. However, this is not the case for participant 2. There is a decrease followed by an increase in the CS- response. This decrease followed by an increase occurs both in skin conductance and the arousal state. Now the gap between the CS- and CS+US- responses is much larger in blocks 1 and 3. Therefore, when averaged, the skin conductance and state estimates are inverted. The use of the backward smoother during state estimation, and not just the forward filter, likely affects this as well. The smoother causes future estimates to affect past estimates. Consequently, the larger gap in block 3 affects the earlier estimates as well. If the method we present were implemented on a wearable device for emotion monitoring, the effect of the future on past values could be reduced by running the EM algorithm on smaller segments of data instead of on longer segments. The use of larger data segments however, is likely to make the estimate smoother.

Fig 12. Variation of the averaged skin conductance and state estimates across trials for participant 2.

Fig 12

Sub-panels (a) and (e) show the averaged skin conductance (zk) and arousal (xk) estimates for all CS+US- trials. Sub-panels (b)-(d) and (f)-(h) show the variation of the averaged skin conductance and arousal estimates for the CS- trials across trial blocks 1-20, 21-60 and 61-80. For zk, there is a drop from trials 1-20 to 21-60. However, there is an increase from 61-80. The same pattern is visible for xk. However, the gap is much larger for xk in trials 61-80. Therefore when averaged across all blocks, the relative positions of the CS+US- and CS- are interchanged (Fig 8).

Selection of heart rate model parameters

We select the θi coefficients and η separately. While this procedure eases computation (the θi’s no longer have to be repeatedly estimated at the M-step until convergence), it also creates the challenge of having to optimize both types of parameters simultaneously. To illustrate, the θi coefficients are calculated offline via maximum likelihood. This may give rise to a KS plot indicating a reasonably good fit to the heartbeat observations. However, the inclusion of ηxk into the HDIG mean during state estimation alters the KS plot and the KS distance. Therefore, η has to be finally selected based on a trade-off of maximizing Q¯2 subject to the KS plot remaining within or close to the 95% confidence bounds. Moreover, the separate selection of the θi’s and η can also give rise to numerical issues; this can especially occur at larger η values. As noted above, the HDIG CIF involves derivatives and integrals over small numbers. Consequently, the Newton-Raphson method used to solve Eq (15) can go into infeasible regions. The HDIG model we use here is computationally demanding. The use of a simpler probability density function to model RR-intervals may permit parameters related to heart rate to be estimated simultaneously at the M-step. This would partly eliminate issues arising due to the need to separately optimize model parameters.

Alternatively, the θi coefficients could be considered as additional states. This would permit simultaneous estimation of sympathetic arousal and the θi’s. Additionally, it would also allow the θi’s to be time-varying and account for some of the HRV stochasticity. In this case, the state vector to be estimated would consist of both xk and the time-varying θi’s. Barbieri et al. estimated a vector consisting of only the θi coefficients via Bayesian filtering in [75]. Their model could be extended to include xk.

State-space model

We have used a single indicator function to model the effect of the CS+, CS- and US stimuli. In the data set used here, the CS+ and CS- were simple shapes that appeared on a computer screen. More complex stimuli have also been used in fear conditioning (e.g. complex sounds [92]). In addition, the CS+ and CS- cues can be chosen to reinforce a particular emotion (e.g. [9395]). For instance, the CS+ stimuli could be the image of a fearful face (thus reinforcing the anticipated fear of the US) while the CS- could be a neutral face. Our current model does not distinguish between these variations in the type of stimuli as it uses a single indicator function. A further extension would be to use stimulus-specific indicator functions in the state equation, i.e.,

xk=ρxk-1+αCS+Ik,CS++αCS-Ik,CS-++αUSIk,US+εk (33)

and determine each of the α coefficients separately at the M-step. This would, however, come at the expense of added computational complexity.

Model validation and feature selection

The sympathetic arousal xk that we estimate is unobserved. Consequently, we rely on a qualitative form of validation rather than a quantitative one. Here we observe the general similarity between the averaged xk and skin conductance in different trial conditions as a means of validation on experimental data. Nerves from the sympathetic branch of the nervous system innervate a number of locations within the human body (e.g. skin, heart, bronchi, eye). We could therefore record signals/features from any location innervated by sympathetic nerve fibers, and treat them as the set of observations yk with which to estimate xk in typical state-space fashion. Thus, our choice of features here is largely based on the literature and human physiology. As we noted above, sympathetic fibers innervate the sweat glands, and the rate of SCR occurrence, the SCR amplitudes and the tonic level are the most commonly used skin conductance-related measures of sympathetic arousal [40]. Moreover, increased sympathetic drive increases heart rate. While frequency-domain features of heart rate could have been extracted, there is a lack of consensus regarding the precise interpretation of particular HRV spectral bands (the interpretation of the low frequency band, thought to reflect sympathetic activity, in particular, has been controversial [96]). There is more agreement that sympathetic drive increases heart rate (a relatively straight-forward time-domain feature).

A skin conductance signal comprises of both a slow-varying tonic component and a fast-varying phasic component. The phasic component consists of the series of SCRs which are reflections of instantaneous sympathetic nervous activity. Currently, we use both a log transformation and an interpolation over the SCR amplitudes for correcting skewness and artificially deriving a continuous-valued signal rk with which to estimate xk. This can lead to a loss in the physiological intuition underlying the phasic SCRs—namely the instantaneous sympathetic activation they represent. This can especially be seen if two large SCRs separated in time occur. The interpolation will give rise to a continuous-valued rk that remains high all throughout the region in-between the two SCRs and the decrease in sympathetic arousal in the middle is lost. Thus a better way to model the phasic SCR occurrences and their amplitudes would be to consider them as forming a marked point process, i.e., a point process where the events are associated with an amplitude. This is a future direction of research.

Application to real-world scenarios

Anxiety, stress and trauma-related disorders affect a sizeable number of people and incur significant costs to both the individual patient and to society [1113]. Disorders such as PTSD, which have a higher incidence among combat veterans [97, 98], involve a pathological condition related to a prolonged or heightened activation of the sympathetic nervous system [8, 9]. Symptoms of this elevated sympathetic arousal include irritability, an exaggerated startle response, hypervigilance and sleeping difficulties [99]. Patients diagnosed with anxiety disorders also have elevated sympathetic tones [7]. Current healthcare systems largely function in a location-centric manner, i.e., patients come to centralized locations to receive care once they are ill. Remote health monitoring reflects a gradual transition away from this model with an increased focus on the individual patient. In this model, wearable devices help keep track of a patient’s condition and provide clinical decision support, thus helping reduce healthcare costs. Our state-space algorithm, which continually tracks the level of sympathetic arousal over time, could be embedded in a wearable device and used to remotely monitor patients diagnosed with pathological fear or anxiety disorders. It could also be used to monitor patients with major depression, which is typically associated with abnormally low levels of arousal [100]. Furthermore, our approach has the advantage of being unsupervised and therefore does not require expert-labeled data for each individual patient.

Changes occur in the human body over time (e.g. due to aging, disease onset, changes in social situations). As such, models trained on data need to be updated continually. Our current state-space method functions offline due to a need to perform both forward filtering and backward smoothing, and the estimated model parameters are fixed within that particular duration of time. One possibility for adapting to the inherent stochasticity of the human body would be to re-train the models from time to time. In a real-world application, we could just run the forward filter of the E-step for providing a continual estimate of a person’s arousal level. The full EM procedure could be run in the background from time to time so that the model updates periodically. This periodic re-training would allow the model to account for intra-subject variability. Another possibility would be to combine the current Bayesian filtering approach with reinforcement learning in order to allow the model parameters to update over time. As it stands, the model is able to account for inter-subject variability since it is trained for each individual separately, but can only account for variations in time through regular re-training.

Conclusion

Pavlovian fear conditioning has been the focus of much study over the course of the past several decades. A better understanding of the neural basis of fear conditioning and associated physiological changes has the potential to provide important insights into emotional disorders involving pathological fear and anxiety. A method to estimate the level of sympathetic arousal/activation, which plays a crucial role in the fear response, could also be beneficial in treating patients diagnosed with these disorders. We present an EM-based state-space model that utilizes skin conductance and heart rate features to do so, and evaluate it on both simulated and experimental data. Results on simulated data show the ability to accurately recover an unobserved state variable xk from a binary variable, two continuous variables and a spiking-type variable. As a mathematical modeling contribution, this is an extension to [43] which estimated a cognitive learning state from one binary variable, one continuous variable and a spiking-type variable. Experimental evaluation of our model was performed on a fear conditioning experiment. Trial-averaged skin conductance values are frequently compared in fear conditioning experiments. Our algorithm’s state estimates show a general agreement with the averaged skin conductance values between different trial conditions. However, there is less separation between the CS+US- and CS- trials. This may be due to trace fear conditioning eliciting weaker responses compared to typical delay fear conditioning [17] or an insufficient US strength. Thus, the model suggests a preliminary line of evidence for estimating sympathetic arousal from binary, continuous and spiking-type observations taken from both the skin and the heart (organs which are innervated by sympathetic nerve fibers) using state-space methods. The state-space formulation presented here relates an internal brain state to observed physiological phenomena. As such it could find applications in wearable healthcare for remotely monitoring patients diagnosed with certain types of neuropsychiatric disorders or in general wellness applications such as stress management [101].

Supporting information

S1 Appendix. EM algorithm derivations and supplementary data.

(PDF)

Data Availability

The data analyzed here is publicly available through the Zenodo repository. The data may be downloaded from: https://zenodo.org/record/1404810#.XaULK1VKiUk.

Funding Statement

The work was supported in part by the National Science Foundation grant 1755780 CRII: CPS: Wearable Machine Interface Architectures to RTF. URL: https://www.nsf.gov/awardsearch/showAward?AWD_ID=1755780 The funder did not play any role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1. Hall JE. Guyton and Hall textbook of medical physiology. Elsevier Health Sciences; 2016. [Google Scholar]
  • 2. LeDoux JE. Emotion circuits in the brain. Annual Review of Neuroscience. 2000;23(1):155–184. 10.1146/annurev.neuro.23.1.155 [DOI] [PubMed] [Google Scholar]
  • 3. Rolls ET. On the brain and emotion. Behavioral and Brain Sciences. 2000;23(2):219–228. 10.1017/S0140525X00002429 [DOI] [PubMed] [Google Scholar]
  • 4. Bechara A, Damasio H, Damasio AR. Emotion, decision making and the orbitofrontal cortex. Cerebral Cortex. 2000;10(3):295–307. 10.1093/cercor/10.3.295 [DOI] [PubMed] [Google Scholar]
  • 5. García-Cabezas MÁ, Barbas H. Anterior cingulate pathways may affect emotions through orbitofrontal cortex. Cerebral Cortex. 2017;27(10):4891–4910. 10.1093/cercor/bhw284 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Diagnostic and statistical manual of mental disorders: DSM-5. Fifth edition ed. Arlington, VA: American Psychiatric Association; 2013. [Google Scholar]
  • 7. Pohjavaara P, Telaranta T, Väisänen E. The role of the sympathetic nervous system in anxiety: is it possible to relieve anxiety with endoscopic sympathetic block? Nordic Journal of Psychiatry. 2003;57(1):55–60. 10.1080/08039480310000266 [DOI] [PubMed] [Google Scholar]
  • 8. Yehuda R, Southwick SM, Giller EL, Ma X, Mason JW. Urinary catecholamine excretion and severity of PTSD symptoms in Vietnam combat veterans. Journal of Nervous and Mental Disease. 1992;. 10.1097/00005053-199205000-00006 [DOI] [PubMed] [Google Scholar]
  • 9. Pervanidou P. Biology of post-traumatic stress disorder in childhood and adolescence. Journal of Neuroendocrinology. 2008;20(5):632–638. 10.1111/j.1365-2826.2008.01701.x [DOI] [PubMed] [Google Scholar]
  • 10. Pitman RK, Rasmusson AM, Koenen KC, Shin LM, Orr SP, Gilbertson MW, et al. Biological studies of post-traumatic stress disorder. Nature Reviews Neuroscience. 2012;13(11):769–787. 10.1038/nrn3339 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Kessler RC, Berglund P, Demler O, Jin R, Merikangas KR, Walters EE. Lifetime prevalence and age-of-onset distributions of DSM-IV disorders in the National Comorbidity Survey Replication. Archives of General Psychiatry. 2005;62(6):593–602. 10.1001/archpsyc.62.6.593 [DOI] [PubMed] [Google Scholar]
  • 12. Nutt D, de Miguel BG, Davies SJ. Phenomenology of anxiety disorders. Handbook of Behavioral Neuroscience. 2008;17:365–393. 10.1016/S1569-7339(07)00017-3 [DOI] [Google Scholar]
  • 13. Leon AC, Portera L, Weissman MM. The social costs of anxiety disorders. The British Journal of Psychiatry. 1995;166(S27):19–22. 10.1192/S0007125000293355 [DOI] [PubMed] [Google Scholar]
  • 14. Dvir M, Horovitz O, Aderka IM, Shechner T. Fear conditioning and extinction in anxious and non-anxious youth: A meta-analysis. Behaviour Research and Therapy. 2019; p. 103431 10.1016/j.brat.2019.103431 [DOI] [PubMed] [Google Scholar]
  • 15. Shin LM, Liberzon I. The neurocircuitry of fear, stress, and anxiety disorders. Neuropsychopharmacology. 2010;35(1):169 10.1038/npp.2009.83 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Maren S. Neurobiology of Pavlovian fear conditioning. Annual Review of Neuroscience. 2001;24(1):897–931. 10.1146/annurev.neuro.24.1.897 [DOI] [PubMed] [Google Scholar]
  • 17. Milad MR, Igoe S, Orr SP. Fear conditioning in rodents and humans In: Animal Models of Behavioral Analysis. Springer; 2011. p. 111–132. [Google Scholar]
  • 18. Lipp OV. Human fear learning: Contemporary procedures and measurement. Fear and Learning: From Basic Processes to Clinical Implications. 2006;(2001):37–51. [Google Scholar]
  • 19. VanElzakker MB, Dahlgren MK, Davis FC, Dubois S, Shin LM. From Pavlov to PTSD: the extinction of conditioned fear in rodents, humans, and anxiety disorders. Neurobiology of Learning and Memory. 2014;113:3–18. 10.1016/j.nlm.2013.11.014 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Linnman C, Zeffiro TA, Pitman RK, Milad MR. An fMRI study of unconditioned responses in post-traumatic stress disorder. Biology of Mood & Anxiety Disorders. 2011;1(1):8 10.1186/2045-5380-1-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Milad MR, Pitman RK, Ellis CB, Gold AL, Shin LM, Lasko NB, et al. Neurobiological basis of failure to recall extinction memory in posttraumatic stress disorder. Biological Psychiatry. 2009;66(12):1075–1082. 10.1016/j.biopsych.2009.06.026 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Schneider F, Weiss U, Kessler C, Müller-Gärtner HW, Posse S, Salloum JB, et al. Subcortical correlates of differential classical conditioning of aversive emotional reactions in social phobia. Biological Psychiatry. 1999;45(7):863–871. 10.1016/s0006-3223(98)00269-8 [DOI] [PubMed] [Google Scholar]
  • 23. Benedek M, Kaernbach C. Decomposition of skin conductance data by means of nonnegative deconvolution. Psychophysiology. 2010;47(4):647–658. 10.1111/j.1469-8986.2009.00972.x [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Amin MR, Faghih RT. Sparse deconvolution of electrodermal activity via continuous-time system identification. IEEE Transactions on Biomedical Engineering. 2019;66(9):2585–2595. 10.1109/TBME.2019.2892352 [DOI] [PubMed] [Google Scholar]
  • 25.Amin MR, Faghih RT. Inferring autonomic nervous system stimulation from hand and foot skin conductance measurements. In: 52nd Asilomar Conference on Signals, Systems, and Computers. IEEE; 2018. p. 655–660.
  • 26. Jain S, Oswal U, Xu KS, Eriksson B, Haupt J. A compressed sensing based decomposition of electrodermal activity signals. IEEE Transactions on Biomedical Engineering. 2016;64(9):2142–2151. 10.1109/TBME.2016.2632523 [DOI] [PubMed] [Google Scholar]
  • 27. Baczkowski BM, Johnstone T, Walter H, Erk S, Veer IM. Sliding-window analysis tracks fluctuations in amygdala functional connectivity associated with physiological arousal and vigilance during fear conditioning. NeuroImage. 2017;153:168–178. 10.1016/j.neuroimage.2017.03.022 [DOI] [PubMed] [Google Scholar]
  • 28. Castegnetti G, Tzovara A, Staib M, Paulus PC, Hofer N, Bach DR. Modeling fear-conditioned bradycardia in humans. Psychophysiology. 2016;53(6):930–939. 10.1111/psyp.12637 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Gliner JA, Browe AC, Horvath SM. Hemodynamic changes as a function of classical aversive conditioning in human subjects. Psychophysiology. 1977;14(3):281–286. 10.1111/j.1469-8986.1977.tb01176.x [DOI] [PubMed] [Google Scholar]
  • 30. Klorman R, Ryan RM. Heart rate, contingent negative variation, and evoked potentials during anticipation of affective stimulation. Psychophysiology. 1980;17(6):513–523. 10.1111/j.1469-8986.1980.tb02290.x [DOI] [PubMed] [Google Scholar]
  • 31. Furedy JJ, Poulos CX. Heart-rate decelerative Pavlovian conditioning with tilt as UCS: Towards behavioural control of cardiac dysfunction. Biological Psychology. 1976;4(2):93–105. 10.1016/0301-0511(76)90010-7 [DOI] [PubMed] [Google Scholar]
  • 32. Orr SP, Metzger LJ, Lasko NB, Macklin ML, Peri T, Pitman RK. De novo conditioning in trauma-exposed individuals with and without posttraumatic stress disorder. Journal of Abnormal Psychology. 2000;109(2):290 10.1037/0021-843X.109.2.290 [DOI] [PubMed] [Google Scholar]
  • 33. Jovanovic T, Keyes M, Fiallos A, Myers KM, Davis M, Duncan EJ. Fear potentiation and fear inhibition in a human fear-potentiated startle paradigm. Biological Psychiatry. 2005;57(12):1559–1564. 10.1016/j.biopsych.2005.02.025 [DOI] [PubMed] [Google Scholar]
  • 34. Norrholm SD, Jovanovic T, Vervliet B, Myers KM, Davis M, Rothbaum BO, et al. Conditioned fear extinction and reinstatement in a human fear-potentiated startle paradigm. Learning & Memory. 2006;13(6):681–685. 10.1101/lm.393906 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Orr SP, Metzger LJ, Lasko NB, Macklin ML, Hu FB, Shalev AY, et al. Physiologic responses to sudden, loud tones in monozygotic twins discordant for combat exposure: association with posttraumatic stress disorder. Archives of General Psychiatry. 2003;60(3):283–288. 10.1001/archpsyc.60.3.283 [DOI] [PubMed] [Google Scholar]
  • 36. Sevenster D, Beckers T, Kindt M. Fear conditioning of SCR but not the startle reflex requires conscious discrimination of threat and safety. Frontiers in Behavioral Neuroscience. 2014;8:32 10.3389/fnbeh.2014.00032 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Russell JA. A circumplex model of affect. Journal of Personality and Social Psychology. 1980;39(6):1161 10.1037/h0077714 [DOI] [Google Scholar]
  • 38. Alpers GW, Ruhleder M, Walz N, Mühlberger A, Pauli P. Binocular rivalry between emotional and neutral stimuli: A validation using fear conditioning and EEG. International Journal of Psychophysiology. 2005;57(1):25–32. 10.1016/j.ijpsycho.2005.01.008 [DOI] [PubMed] [Google Scholar]
  • 39. Low PA. Chapter 51—Sweating In: Robertson D, Biaggioni I, Burnstock G, Low PA, Paton JFR, editors. Primer on the Autonomic Nervous System (Third Edition). third edition ed. San Diego: Academic Press; 2012. p. 249—251. [Google Scholar]
  • 40. Kreibig SD. Autonomic nervous system activity in emotion: A review. Biological Psychology. 2010;84(3):394–421. 10.1016/j.biopsycho.2010.03.010 [DOI] [PubMed] [Google Scholar]
  • 41. Wallentin M, Nielsen AH, Vuust P, Dohn A, Roepstorff A, Lund TE. Amygdala and heart rate variability responses from listening to emotionally intense parts of a story. Neuroimage. 2011;58(3):963–973. 10.1016/j.neuroimage.2011.06.077 [DOI] [PubMed] [Google Scholar]
  • 42. Wickramasuriya DS, Faghih RT. A Bayesian filtering approach for tracking arousal from binary and continuous skin conductance features. IEEE Transactions on Biomedical Engineering. 2019. 10.1109/TBME.2019.2945579 [DOI] [PubMed] [Google Scholar]
  • 43. Coleman TP, Yanike M, Suzuki WA, Brown EN. A mixed-filter algorithm for dynamically tracking learning from multiple behavioral and neurophysiological measures In: The dynamic brain: An exploration of neuronal variability and its functional significance. Oxford Univ. Press; 2011. p. 1–16. [Google Scholar]
  • 44. Mahan AL, Ressler KJ. Fear conditioning, synaptic plasticity and the amygdala: Implications for posttraumatic stress disorder. Trends in Neurosciences. 2012;35(1):24–35. 10.1016/j.tins.2011.06.007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Wickramasuriya DS, Amin MR, Faghih RT. Skin conductance as a viable alternative for closing the deep brain stimulation loop in neuropsychiatric disorders. Frontiers in Neuroscience. 2019;13:780 10.3389/fnins.2019.00780 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Tzovara A, Hofer N, Bach DR, Castegnetti G, Gerster S, Korn CW, et al. PsPM-TC: SCR, ECG, EMG and respiration measurements in a discriminant trace fear conditioning task with visual CS and electrical US.; 2018. Available from: 10.5281/zenodo.1404810. [DOI]
  • 47. Castegnetti G, Tzovara A, Staib M, Gerster S, Bach DR. Assessing fear learning via conditioned respiratory amplitude responses. Psychophysiology. 2017;54(2):215–223. 10.1111/psyp.12778 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Tzovara A, Korn CW, Bach DR. Human Pavlovian fear conditioning conforms to probabilistic learning. PLoS Computational Biology. 2018;14(8):e1006243 10.1371/journal.pcbi.1006243 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Sano A, Phillips AJ, Amy ZY, McHill AW, Taylor S, Jaques N, et al. Recognizing academic performance, sleep quality, stress level, and mental health using personality traits, wearable sensors and mobile phones. In: IEEE 12th International Conference on Wearable and Implantable Body Sensor Networks (BSN). IEEE; 2015. p. 1–6. [DOI] [PMC free article] [PubMed]
  • 50. Greco A, Valenza G, Lanata A, Scilingo EP, Citi L. cvxEDA: A convex optimization approach to electrodermal activity processing. IEEE Transactions on Biomedical Engineering. 2015;63(4):797–804. 10.1109/TBME.2015.2474131 [DOI] [PubMed] [Google Scholar]
  • 51. Smith AC, Frank LM, Wirth S, Yanike M, Hu D, Kubota Y, et al. Dynamic analysis of learning in behavioral experiments. Journal of Neuroscience. 2004;24(2):447–461. 10.1523/JNEUROSCI.2908-03.2004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Prerau MJ, Smith AC, Eden UT, Kubota Y, Yanike M, Suzuki W, et al. Characterizing learning by simultaneous analysis of continuous and binary measures of performance. Journal of Neurophysiology. 2009;102(5):3060–3072. 10.1152/jn.91251.2008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Deng X, Faghih RT, Barbieri R, Paulk AC, Asaad WF, Brown EN, et al. Estimating a dynamic state to relate neural spiking activity to behavioral signals during cognitive tasks. In: 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). IEEE; 2015. p. 7808–7813. [DOI] [PMC free article] [PubMed]
  • 54. Prerau MJ, Hartnack KE, Obregon-Henao G, Sampson A, Merlino M, Gannon K, et al. Tracking the sleep onset process: An empirical model of behavioral and physiological dynamics. PLoS Computational Biology. 2014;10(10):e1003866 10.1371/journal.pcbi.1003866 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. Smith AC, Brown EN. Estimating a state-space model from point process observations. Neural Computation. 2003;15(5):965–991. 10.1162/089976603765202622 [DOI] [PubMed] [Google Scholar]
  • 56. Critchley HD. Electrodermal responses: What happens in the brain. The Neuroscientist. 2002;8(2):132–142. 10.1177/107385840200800209 [DOI] [PubMed] [Google Scholar]
  • 57. Aikins DE, Johnson DC, Borelli JL, Klemanski DH, Morrissey PM, Benham TL, et al. Thought suppression failures in combat PTSD: A cognitive load hypothesis. Behaviour Research and Therapy. 2009;47(9):744–751. 10.1016/j.brat.2009.06.006 [DOI] [PubMed] [Google Scholar]
  • 58. Laberg JC, Ellertsen B. Psychophysiological indicators of craving in alcoholics: Effects of cue exposure. British Journal of Addiction. 1987;82(12):1341–1348. 10.1111/j.1360-0443.1987.tb00437.x [DOI] [PubMed] [Google Scholar]
  • 59. Kallinen K, Ravaja N. Emotion-related effects of speech rate and rising vs. falling background music melody during audio news: The moderating influence of personality. Personality and Individual Differences. 2004;37(2):275–288. 10.1016/j.paid.2003.09.002 [DOI] [Google Scholar]
  • 60. Lithari C, Frantzidis C, Papadelis C, Vivas AB, Klados M, Kourtidou-Papadeli C, et al. Are females more responsive to emotional stimuli? A neurophysiological study across arousal and valence dimensions. Brain Topography. 2010;23(1):27–40. 10.1007/s10548-009-0130-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Mella N, Conty L, Pouthas V. The role of physiological arousal in time perception: psychophysiological evidence from an emotion regulation paradigm. Brain and Cognition. 2011;75(2):182–187. 10.1016/j.bandc.2010.11.012 [DOI] [PubMed] [Google Scholar]
  • 62. Nagai Y, Critchley HD, Featherstone E, Trimble MR, Dolan RJ. Activity in ventromedial prefrontal cortex covaries with sympathetic skin conductance level: A physiological account of a “default mode” of brain function. Neuroimage. 2004;22(1):243–251. 10.1016/j.neuroimage.2004.01.019 [DOI] [PubMed] [Google Scholar]
  • 63. Gatzke-Kopp LM, Raine A, Loeber R, Stouthamer-Loeber M, Steinhauer SR. Serious delinquent behavior, sensation seeking, and electrodermal arousal. Journal of Abnormal Child Psychology. 2002;30(5):477–486. 10.1023/a:1019816930615 [DOI] [PubMed] [Google Scholar]
  • 64. Barry RJ, Sokolov EN. Habituation of phasic and tonic components of the orienting reflex. International Journal of Psychophysiology. 1993;15(1):39–42. 10.1016/0167-8760(93)90093-5 [DOI] [PubMed] [Google Scholar]
  • 65. McCullagh P, Nelder JA. Generalized linear models. vol. 37 CRC press; 1989. [Google Scholar]
  • 66. Braithwaite JJ, Watson DG, Jones R, Rowe M. A guide for analysing electrodermal activity (EDA) & skin conductance responses (SCRs) for psychological experiments. Psychophysiology. 2013;49(1):1017–1034. [Google Scholar]
  • 67. Boucsein W. Electrodermal activity. Springer Science & Business Media; 2012. [Google Scholar]
  • 68. Bach DR, Flandin G, Friston KJ, Dolan RJ. Modelling event-related skin conductance responses. International Journal of Psychophysiology. 2010;75(3):349–356. 10.1016/j.ijpsycho.2010.01.005 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69. Dawson ME, Schell AM, Filion DL. The electrodermal system. Handbook of Psychophysiology. 2007;2:200–223. [Google Scholar]
  • 70. Drew RC, Sinoway LI. Autonomic control of the heart In: Primer on the autonomic nervous system. Elsevier; 2012. p. 177–180. [Google Scholar]
  • 71. Berntson GG, Cacioppo JT, Quigley KS. The metrics of cardiac chronotropism: Biometric perspectives. Psychophysiology. 1995;32(2):162–171. 10.1111/j.1469-8986.1995.tb03308.x [DOI] [PubMed] [Google Scholar]
  • 72. Berntson GG, Thomas Bigger J Jr, Eckberg DL, Grossman P, Kaufmann PG, Malik M, et al. Heart rate variability: origins, methods, and interpretive caveats. Psychophysiology. 1997;34(6):623–648. 10.1111/j.1469-8986.1997.tb02140.x [DOI] [PubMed] [Google Scholar]
  • 73. 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. American Journal of Physiology-Heart and Circulatory Physiology. 2005;288(1):H424–H435. 10.1152/ajpheart.00482.2003 [DOI] [PubMed] [Google Scholar]
  • 74. Stanley GB, Poolla K, Siegel RA. Threshold modeling of autonomic control of heart rate variability. IEEE Transactions on Biomedical Engineering. 2000;47(9):1147–1153. 10.1109/10.867918 [DOI] [PubMed] [Google Scholar]
  • 75. Barbieri R, Brown EN. Analysis of heartbeat dynamics by point process adaptive filtering. IEEE Transactions on Biomedical Engineering. 2006;53(1):4–12. 10.1109/tbme.2005.859779 [DOI] [PubMed] [Google Scholar]
  • 76. Boardman A, Schlindwein FS, Rocha AP. A study on the optimum order of autoregressive models for heart rate variability. Physiological Measurement. 2002;23(2):325 10.1088/0967-3334/23/2/308 [DOI] [PubMed] [Google Scholar]
  • 77. Pichon A, Roulaud M, Antoine-Jonville S, de Bisschop C, Denjean A. Spectral analysis of heart rate variability: Interchangeability between autoregressive analysis and fast Fourier transform. Journal of Electrocardiology. 2006;39(1):31–37. 10.1016/j.jelectrocard.2005.08.001 [DOI] [PubMed] [Google Scholar]
  • 78. Barbieri R, Brown EN. Application of dynamic point process models to cardiovascular control. Biosystems. 2008;93(1-2):120–125. 10.1016/j.biosystems.2008.03.011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79. Eden UT, Srinivasan L, Sarma SV. Nueral signal processing tutorial II: Point process model estimation and goodness-of-fit analysis In: Mitra P, editor. Neural Signal Processing: Quantitative Analysis of Neural Activity. Washington DC: Society for Neuroscience; 2008. p. 79–87. [Google Scholar]
  • 80. Mendel JM. Lessons in estimation theory for signal processing, communications and control. Pearson Education; 1995. [Google Scholar]
  • 81. Jong PD, Mackinnon MJ. Covariances for smoothed estimates in state space models. Biometrika. 1988;75(3):601–602. 10.1093/biomet/75.3.601 [DOI] [Google Scholar]
  • 82.Wickramasuriya DS, Qi C, Faghih RT. A state-space approach for detecting stress from electrodermal activity. In: 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC); 2018. p. 3562–3567. [DOI] [PubMed]
  • 83.Wickramasuriya DS, Faghih RT. A novel filter for tracking real-world cognitive stress using multi-time-scale point process observations. In: 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC); 2019. p. 599–602. [DOI] [PubMed]
  • 84. Brown EN, Barbieri R, Ventura V, Kass RE, Frank LM. The time-rescaling theorem and its application to neural spike train data analysis. Neural Computation. 2002;14(2):325–346. 10.1162/08997660252741149 [DOI] [PubMed] [Google Scholar]
  • 85. Eden UT, Frank LM, Barbieri R, Solo V, Brown EN. Dynamic analysis of neural encoding by point process adaptive filtering. Neural Computation. 2004;16(5):971–998. 10.1162/089976604773135069 [DOI] [PubMed] [Google Scholar]
  • 86. Barbieri R, Quirk MC, Frank LM, Wilson MA, Brown EN. Construction and analysis of non-Poisson stimulus-response models of neural spiking activity. Journal of Neuroscience Methods. 2001;105(1):25–37. 10.1016/s0165-0270(00)00344-7 [DOI] [PubMed] [Google Scholar]
  • 87. Koyama S, Kass RE. Spike train probability models for stimulus-driven leaky integrate-and-fire neurons. Neural Computation. 2008;20(7):1776–1795. 10.1162/neco.2008.06-07-540 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 88. Chen Z, Brown EN, Barbieri R. Assessment of autonomic control and respiratory sinus arrhythmia using point process models of human heart beat dynamics. IEEE Transactions on Biomedical Engineering. 2009;56(7):1791–1802. 10.1109/TBME.2009.2016349 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 89. Prechelt L. Early stopping-but when? In: Neural networks: Tricks of the trade. Springer; 1998. p. 55–69. [Google Scholar]
  • 90. Malem-Shinitski N, Zhang Y, Gray DT, Burke SN, Smith AC, Barnes CA, et al. A separable two-dimensional random field model of binary response data from multi-day behavioral experiments. Journal of Neuroscience Methods. 2018;307:175–187. 10.1016/j.jneumeth.2018.04.006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 91. Yousefi A, Gillespie AK, Guidera JA, Karlsson M, Frank LM, Eden UT. Efficient decoding of multi-dimensional signals from population spiking activity using a Gaussian mixture particle filter. IEEE Transactions on Biomedical Engineering. 2019;66(12):3486–3498. 10.1109/TBME.2019.2906640 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 92. Staib M, Bach DR. Stimulus-invariant auditory cortex threat encoding during fear conditioning with simple and complex sounds. NeuroImage. 2018;166:276–284. 10.1016/j.neuroimage.2017.11.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 93. Regan M, Howard R. Fear conditioning, preparedness, and the contingent negative variation. Psychophysiology. 1995;32(3):208–214. 10.1111/j.1469-8986.1995.tb02950.x [DOI] [PubMed] [Google Scholar]
  • 94. Dunsmoor JE, Mitroff SR, LaBar KS. Generalization of conditioned fear along a dimension of increasing fear intensity. Learning & Memory. 2009;16(7):460–469. 10.1101/lm.1431609 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 95. Mueller EM, Sperl MF, Panitz C. Aversive imagery causes De Novo fear conditioning. Psychological Science. 2019; p. 0956797619842261. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 96. Rahman F, Pechnik S, Gross D, Sewell L, Goldstein DS. Low frequency power of heart rate variability reflects baroreflex function, not cardiac sympathetic innervation. Clinical Autonomic Research. 2011;21(3):133–141. 10.1007/s10286-010-0098-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 97. Kang HK, Natelson BH, Mahan CM, Lee KY, Murphy FM. Post-traumatic stress disorder and chronic fatigue syndrome-like illness among Gulf War veterans: a population-based survey of 30,000 veterans. American Journal of Epidemiology. 2003;157(2):141–148. 10.1093/aje/kwf187 [DOI] [PubMed] [Google Scholar]
  • 98. Tanielian TL, Tanielian T, Jaycox L. Invisible wounds of war: Psychological and cognitive injuries, their consequences, and services to assist recovery. vol. 1 Rand Corporation; 2008. [Google Scholar]
  • 99. Yehuda R, LeDoux J. Response variation following trauma: a translational neuroscience approach to understanding PTSD. Neuron. 2007;56(1):19–32. 10.1016/j.neuron.2007.09.006 [DOI] [PubMed] [Google Scholar]
  • 100. Moratti S, Rubio G, Campo P, Keil A, Ortiz T. Hypofunction of right temporoparietal cortex during emotional arousal in depression. Archives of General Psychiatry. 2008;65(5):532–541. 10.1001/archpsyc.65.5.532 [DOI] [PubMed] [Google Scholar]
  • 101.Azgomi HF, Wickramasuriya DS, Faghih RT. State-space modeling and Fuzzy feedback control of cognitive stress. In: 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC); 2019. p. 6327–6330. [DOI] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

S1 Appendix. EM algorithm derivations and supplementary data.

(PDF)

Data Availability Statement

The data analyzed here is publicly available through the Zenodo repository. The data may be downloaded from: https://zenodo.org/record/1404810#.XaULK1VKiUk.


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES