Abstract
Individuals differ in their physiological responsiveness to stressful challenges, and stress potentiates the development of many diseases. Heart rate variability (HRV), a measure of cardiac vagal break, is emerging as a strong index of physiological stress vulnerability. Thus, it is important to develop tools that identify predictive markers of individual differences in HRV responsiveness without exposing subjects to high stress. Here, using machine learning approaches, we show the strong predictive power of high-dimensional locomotor responses during novelty exploration to predict HRV responsiveness during stress exposure. Locomotor responses are collected in two ecologically valid virtual reality scenarios inspired by the animal literature and stress is elicited and measured in a third threatening virtual scenario. Our model’s predictions generalize to other stressful challenges and outperforms other stress prediction instruments, such as anxiety questionnaires. Our study paves the way for the development of behavioral digital phenotyping tools for early detection of stress-vulnerable individuals.
Subject terms: Human behaviour, Predictive markers
People differ in their susceptibility to stressors, but it is difficult to know a priori who has a higher vulnerability. Here, the authors show that machine learning algorithms applied to locomotor data from people’s exploration of virtual reality scenarios predicts heart rate variability to stress.
Introduction
Exposure to psychogenic stressors is associated with the development of numerous diseases1, including psychopathologies2–5 and cardiovascular disorders (CVD)6–10. Through coordinated actions of the autonomic nervous system (ANS) and the hypothalamic–pituitary–adrenal (HPA) axis under the regulation of limbic circuits, acute stress responses support organisms’ adaptation to environmental demands11, but repeated activation of these physiological effectors can be highly detrimental to health12,13. However, not all individuals are equally vulnerable to the development of psychopathologies1,14 or CVDs6,10,15 following stress exposure. Thus, the identification of stress-susceptible individuals is a critical objective in the establishment of effective disease prevention strategies. Importantly, given that experimental exposure to highly stressful conditions may be detrimental to health in susceptible individuals, it is paramount to develop diagnostic tools that can identify biomarkers predicting variation in stress vulnerability without the need to expose subjects to strong challenges.
The discovery of noninvasive biomarkers for disease is a main goal in contemporary biomedicine16. A key emerging question is whether high-dimensional behavioral data can be used for clinical diagnosis17,18, particularly in the domain of mental health19–22. Instead of relying on the use of ratings by clinicians or self-reports from patients, the goal is to use objective and quantifiable behavioral data combined with artificial intelligence analyses to predict disease vulnerability or progression. Passively acquired daily locomotor data (i.e., not involving manual annotation) through room sensing technologies or wearables (i.e., digital phenotyping) have been started to be used to predict disease progression in elderly populations23–25 or in individuals at risk for self-reported anxiety, depression or stress (for a review see ref. 21). However, to our knowledge, no study has demonstrated the prognostic value of behavioral data as a predictor of stress vulnerability using objective (i.e., not self-reported) stress measurements.
Given the heterogeneity of life challenges and conditions among human subjects, establishing a diagnostic value of real-life behavioral data from passive digital phenotyping approaches to predict stress vulnerability is still extremely challenging. As an a priori step, substantial progress can be made by probing subjects under experimentally controlled situations, such as immersion in virtual reality (VR) environments. Immersive VR is increasingly used in research and clinics because it is effective in eliciting relevant behavioral, emotional, and physiological responses to different scenarios26–28, including stressful ones29–31. Rodents’ locomotor responses in mildly arousing exploration tasks can predict their future vulnerability to stress exposure32–35. Inspired by these behavioral phenotyping tasks from the rodent literature, here we aimed to develop immersive virtual environments (IVEs) to predict physiological stress susceptibility.
To define stress vulnerability, we focused on heart rate variability (HRV)36–38, a surrogate index of cardiac vagal break that yields information about flexibility of the ANS39. HRV is a measure of fluctuations over time in cardiac interbeat intervals due to the interaction of the two ANS branches: sympathetic (SNS) and parasympathetic (PNS). In addition, tonic HRV reflects the degree of flexible control exerted by the prefrontal cortex over the periphery39. In recent assessments of the literature, high HRV levels during resting conditions have been identified as a top biomarker for stress resilience40,41. Conversely, tonic low HRV values—which are indicative of reduced vagal cardiac control—are associated with increased risk of developing psychopathologies36,42, a broad range of CVDs8,43 and, more generally, all-cause mortality44,45 (see Supplementary Notes for further details on the mechanisms underlying HRV and the effectiveness of HRV as a biomarker in stress-related psychopathologies). Stress-related cardiovascular reactivity values elicited in the laboratory setting have been shown to outperform the predictive capacity of resting assessments in studying disease development6,46–48 and also found to be rather stable personal characteristics that are fairly consistent across time and between stressors6,49. However, in the long-term, the prognostic value of stress reactivity studies has proven to be quite modest50–52, typically based on exposure to short and non-ecologically relevant laboratory stressors, and relying on a handful of variables. Although these limitations have been overcome by exposure to more complex challenges and performing ambulatory cardiovascular measurements53,54, these approaches are rather expensive, time-consuming and not easy to standardize for interindividual comparisons.
In this work, in order to address these issues, we design three IVEs to which participants are subsequently exposed. The first two IVEs are inspired by classical behavioral phenotyping tasks from the rodent literature (i.e., open field and elevated plus maze), whereas the third IVE engenders persistent threat with the aim to elicit sustained parasympathetic withdrawal (i.e., low HRV). We also compute a robust HRV index devoid of contamination from respiration. By applying machine learning methods, first to a training data set and then to a testing data set, we show that we can predict participants’ HRV responses to the third (stressful) scenario from high-dimensional locomotor data obtained during participants’ exposure to the first two exploratory IVEs. Importantly, our model is not only validated in a different cohort but it also generalizes across different stressful situations.
Results
VR scenarios for behavioral and physiological phenotyping
Participants, equipped with a head-mounted display and wireless sensors for motion capture and physiology, were asked to explore three consecutive VR scenarios (see Methods). Our goal was to obtain high-density behavioral data from the first two phenotyping scenarios (scenarios 1 and 2) and then feed these data into a gradient tree boosting regression model to predict participants’ cardiovascular reactivity when they were subsequently exposed to the persistently threatening scenario (scenario 3). Thus, scenarios 1 (empty room) and 2 (elevated alley) were designed with ecological validity to reveal variance in participants’ locomotor responses while they explored mildly arousing conditions, whereas scenario 3 represented a stressful situation with the aim to elicit heightened physiological responses.
The two phenotypic scenarios consisted of an empty room (Fig. 1a) and an elevated alley raised at the level of roofs in a virtual city (Fig. 1b). Although both mimicked key aspects of tests from the rodent literature (see below), our goal was to adapt the scenarios to standard laboratory room dimensions (i.e., 3.5 m × 6 m), which determined that large spaces or redundant aspects of the rodent tests were simplified to their gist. Specifically, the first scenario mimicked the open-field test55, and the second scenario the open arms aversive elements of the elevated plus maze test56 and the elevated successive alleys test57. High-dimensional behavioral data were obtained from each participant’s locomotor responses while exploring scenarios 1 and 2 via the VR headset’s position tracking (allowing computation of parameters related to positioning in the virtual space across time, velocity and acceleration for vertical and horizontal movements and trajectory features; Fig. 1c, d) and a lower body motion capture suit (allowing computation of gait variables; Fig 1d, e). In addition, data from both channels allowed us to compute movement burst features and immobility features. A detailed list of all behavioral features used to train our model is included in the Supplementary Information, section “Behavioral feature description”, Supplementary Tables 1–5, comprising a complete description of all behavioral parameters. The third scenario, a dark maze corridor in which startling stimuli were occasionally presented (Fig. 2a), was designed to elicit feelings of persistent threat and, potentially, heightened cardiovascular responses. As shown in Fig. 2b (see also Supplementary Tables 6, 7 for statistics), participants’ HRV indeed decreased and their heart rate (HR) increased over time during dark maze exploration, representing marked parasympathetic withdrawal. This lack of cardiovascular adaptation during immersion confirmed the efficiency of this virtual scenario in triggering escalating cardiovascular reactivity. These data support the relevance of this scenario for studying physiological reactions under stress. The reactivity elicited in this scenario clearly differed from that elicited by the phenotyping scenarios, in which participants’ HRV root mean square of successive differences (RMSSD) and HR responses progressively habituated during immersion in each VR scenario (Supplementary Fig. 1 and Supplementary Tables 8–11).
Creation of an integrated HRV index
From the range of cardiorespiratory markers available [e.g., HR, respiration rate (RR), HRV], we selected HRV as the predictive biomarker to focus on in our study given the importance of HRV to predict vulnerability to disease (see Introduction and Supplementary Information “Cardiorespiratory variables” for exhaustive details on HRV measurements). Several formulas have been developed to calculate HRV58, and each formula involves a different degree of breathing influence59. Therefore, instead of choosing a single formula for model training, we aimed to produce a generalizable and more robust measure of HRV-related parasympathetic prevalence with the most widely used time-domain formulas for parasympathetic activity60: the RMSSD, the standard deviation of the normal-to-normal intervals (SDNN) and the HRV triangular index (HRVTi). To this end, we computed an integrated HRV index (iHRV) using these three HRV formulas together with HR and RR (see Methods and Supplementary Information) obtained while subjects explored the VR scenarios. Specifically, by applying principal component analysis (PCA), we identified a principal component (PC1; hereafter iHRV) that explained most of the variance in our data. Importantly, iHRV loaded positively on all HRV formulas used but negatively on HR, indicating an excellent representation of HRV-related parasympathetic prevalence (Supplementary Fig. 2). In addition, RR loaded on a principal component other than PC1, indicating that PC1 was devoid of contamination from potential differences in participants’ respiration. Therefore, using PC1 as the iHRV for model training ensured that our model would not be affected by differences in breathing patterns across subjects or time.
Using machine learning to predict HRV to stress from behavior
To develop a gradient tree boosting regression model to predict iHRV from behavioral phenotyping data, we first applied feature selection to 172 behavioral features from scenarios 1 and 2 (i.e., the empty room and the elevated alley, respectively). As a result, we obtained 18 features (see Table S12). To avoid overfitting and to estimate the association between our model’s predictions and iHRV, we used a train/test analysis design. Data were split into training/discovery (N = 66 subjects, age: 21.00 ± 1.93 years) and testing/replication (N = 69 subjects, age: 20.19 ± 2.10 years) data sets. Given that trait anxiety (as measured with the Trait questionnaire from the State-Trait Anxiety Inventory (STAI-T)) can be associated with HRV61, the training/discovery set contained participants who presented low (STAI-T < 35) and moderately high (STAI-T > 45) scores to ensure that we had a good representation of participants’ iHRV in each of the two data sets, and to prevent biasing HRV prediction on trait anxiety. The test/replication set contained participants with moderate (35 > STAI-T > 45) scores. To fit a linear response function to iHRV, we used a method based on extreme gradient boosting trees (XGBoost)62. The hyperparameters of the XGBoost algorithm were tuned with Bayesian optimization using the Python package hyperopt63 (for more details on XGBoost and hyperparameter search, see Supplementary Information).
Following training, our model’s predictions also showed high correlations with the iHRV values from (i) the training/discovery data set (r = 0.91, p < 0.001; for a 10-fold validation performance of the model on the training data set, see Supplementary Fig. 3); (ii) the test/replication data set (r = 0.54, p < 0.001; Fig. 2c); and (iii) the training and test data sets together (r = 0.72, p < 0.001; Fig. 2d). These results confirmed our expectation that rich behavioral data from individuals’ reactivity to novelty challenges would predict variation in a physiological measurement of stress vulnerability, such as vagal-mediated HRV.
Understanding key behavioral features for model prediction
To understand the impact of each behavioral feature in the model’s iHRV prediction, we examined the Shapley additive explanation (SHAP) values64,65 for each individual feature (Fig. 2e). The most discriminating features included positioning and gait parameters, with the largest contribution from the former category, including minimum distance to the corners of the empty room [Corner dist (er)], vertical acceleration in the elevated alley [Vert acc (ea)], and ratio between time in the center and time in the periphery of the empty room. Specifically, the model predicted a lower iHRV (i.e., a larger parasympathetic withdrawal value) for subjects who stayed closer to the corners of the empty room and had higher vertical acceleration in the elevated alley. In addition, the model predicted that these subjects would spend less time in the center of the empty room and on the narrowest ledge of the elevated alley; they would also show a more focused exploratory trajectory, less variability in stride speed and fewer head scans while walking in the empty room.
As expected, the model’s predictions were positively correlated with HRV computed with the formulas, RMSSD (r = 0.60, p < 0.001), SDNN (r = 0.48, p < 0.001) and HRVTi (r = 0.34, p < 0.001), and negatively correlated with HR (r = −0.52, p < 0.001) (Fig. 3a). Importantly, iHRV did not correlate with RR (r = −0.11, p = 0.199). This suggests that the computation of an iHRV for model training was successful in providing a surrogate measure of HRV for model learning that allows good generalization.
The correlation between the model’s prediction and iHRV (r = 0.72, p < 0.001) was markedly higher than that of other possible explanatory variables for parasympathetic influence (Fig. 3b). Self-reported trait anxiety, state anxiety, and anxiety felt during scenario 3 were not correlated with iHRV (−0.1< all rs < 0.1, all ps > 0.386). Time spent in the center of the empty room [Time in center (er), see Supplementary Information section “Behavioral feature description”, Table S2] correlated significantly (r = 0.23, p = 0.008) but with a low coefficient compared with the model’s prediction.
Model generalization to other stressful challenges
To further validate our model’s prognostic power and explore whether it would generalize to other situations, we compared its predictions with the cardiac response of a generalization set comprising 107 out of the initial 135 participants (age = 20.48 ± 2.19 years) who were exposed to another stressful challenge in VR for 10 min (Fig. 4a, b). As iHRV was computed to train and test the model, the model’s predictions were directly compared with markers of HRV (the RMSSD) and HR. We found significant correlations between the predictions and HRV (RMSSD) and HR (r = 0.38, p < 0.001 and r = −0.40, p < 0.001, respectively; see Fig. 4c, d). Furthermore, the predictions were also significantly correlated with HRV (RMSD) and HR measured from pulse data—the pulse rate variability (r = 2.4, p = 0.016; Fig. 4e) and pulse rate (PR; r = −0.32, p < 0.001; Fig. 4f) obtained during a sustained anticipatory anxiety paradigm (elicited by shock anticipation) performed on a separate day by subjects in the generalization set. See Supplementary Information for further details. Altogether, these results support the view that the model predictions can generalize to other stressful challenges and anticipatory anxiety situations.
Discussion
In this study, we demonstrate the strong predictive value of behavior to forecast individual differences in HRV responsiveness to stress. Specifically, we show that high-dimensional locomotor data obtained during novelty exploration can be used to predict interindividual differences in the parasympathetic index of HRV (iHRV) during stress exposure. Notably, our model was validated in a different cohort and generalized across different stressful situations.
Novelty exploration is one of the most frequently studied behavioral manifestations in laboratory animals and is a remarkable way to reveal the complexity of behavior and its links to psychopathology56,66. Following a reverse-translational approach, we designed two VR scenarios for human behavioral phenotyping (the empty room and the elevated alley) inspired by classical rodent exploration tests; i.e., the open field and the elevated plus maze, respectively. Both rodent tests exploit the tradeoff between exploratory tendencies and natural aversion for open spaces. Although they were originally designed to assess anxiety-like responses, ambulatory parameters can also provide information regarding activity and decision-making processes67,68. Notably, segregation of animals according to anxiety-like behaviors and novelty reactivity in these tests identified differential susceptibility to the development of stress-induced depressive behaviors32,33,35,69.
Of a number of variables collected from each participant’s locomotor responses, the most discriminating variables contributing to our iHRV predictive model include features (e.g., minimum distance to the corners of the empty room, ratio between time in the center and time in the periphery of the empty room, and time spent on the narrowest ledge of the elevated alley) that are classically interpreted as anxiety-like behaviors in rodents. These features relate to the tradeoff between boldly exploring all areas, including more anxiogenic ones, versus predominantly staying in more protected areas. On the high-anxiety side of the spectrum, these variables (e.g., thigmotactic movements around the perimeter of the empty room or staying on the starting platform in the elevated alley) define variation in behaviors related to establishing a “home base” from which spatial exploration may occur70. Other variables (e.g., vertical acceleration in the elevated alley, time spent on the starting board in the elevated alley, and number of head scans while walking in the empty room) also relate to features defined as anxiety-like behaviors in rodents67,68. In addition, other discriminating variables were indicative of decision-making processes (e.g., movement focus in the empty room and variability in the stride speed in the empty room) and activity (e.g., maximal longitudinal distance reached in the elevated alley). Although anxiety disorders are frequently accompanied by alterations in HRV71,72, in our nonclinical population, none of the trait or state anxiety or threat anxiety measures predicted iHRV. Self-reported anxiety measurements, as obtained with the STAI inventory, typically explain a lower percentage of the variance in stress reactivity (see, e.g.,73) than the one achieved by our machine learning model. Therefore, the lack of correlation between anxiety measures and our model predictions supports the view that our model has achieved a high level of precision in capturing specific physiological reactivity (as opposed to other non-related behavioral predispositions), further supporting its specificity in predicting stress-induced iHRV/cardiovascular responses.
A few studies have used human versions of the open field and elevated plus maze tests. They were based in real-life contexts70,74,75, computer-based contexts70 or mixed reality combining VR and real world elements76. Although these studies confirmed the validity of the tests in identifying individual differences in anxiety, including clinical cases, their approaches differ from ours in several ways. First, the goals are different. We used VR phenotyping tests not to define personality traits or states as in previous studies, but to gather meaningful locomotor data to feed a machine learning model that could predict physiological vulnerability to stress. Second, the methods are different. As opposed to computer-based approaches with low immersive capacity or real-life mazes and scenarios that lack reproducibility power and are time consuming, our VR resource probes individuals’ novelty reactivity at high efficiency (i.e., the space requirements for our VR scenarios are of a standard room size, and the sampling times are short). Third, and most importantly, the approaches are different. Previous studies have relied on a restricted number of classical variables, remaining confirmatory as to the enhanced prevalence of thigmotactic behavior and avoidance of open spaces in highly anxious individuals. However, limited sets of behavioral readouts can result in noisy and inconsistent outcomes. Instead, high-throughput behavioral readouts are desirable, as they provide high dimensionality, which can then be explored by mathematical frameworks to find the key parameters whose consideration optimizes the identification of interindividual differences77. In fact, the prognostic capacity of the the model using information from multiple behavioral features outperforms a single behavioral feature such as time spent in the center of the empty room, which is the prototypical parameter relating to anxiety in human open-field tests74,75.
Thus, a key advantage of our model is that instead of relying on individual variables to discriminate behavior, it integrates behavior across a number of highly discriminating variables, each of them providing a different weight to the decision-making embedded in the prediction process. Similar approaches have been successfully applied in recent studies on laboratory animals to link specific behaviors and traits from high-density locomotor data to neural substrates77–79.
Most biomarkers of stress vulnerability that research currently considers rely on biological measurements that frequently involve invasive approaches, such as blood extraction, or low-throughput neuroimaging technologies37,80–82 that deter from their systematic use. Although HRV measures are easier to collect and are emerging as particularly relevant36–38, establishing when and how phasic HRV predicts physiological vulnerability to stress requires standardized and validated conditions. Resting HRV has been associated with health, but ensuring its reliability requires long recordings49,58. Importantly, our model’s predictive capacity outperformed that of individual baseline HRV values obtained in the empty room.
Although wearable and other digital technologies can provide valuable real-life cardiovascular data, the interpretation of these data is not straightforward, particularly owing to the overwhelming diversity of human experiences and constraints. Although HRV can be computed from ECG or pulse data, the reliability of these measures when extracted from wearable device data is still unconfirmed for brief short non-rest recordings83,84, which is typically how stress occurs. Meaningfully, short-term cardiovascular reactivity, including HRV, elicited by emotional challenges in the laboratory has been shown to provide a fairly accurate representation of HRV responses to real-life stressors49 and to outperform the predictive capacity of resting assessments in studying disease development6,46–48. Thus, our approach using controlled experimental VR conditions represents a major step forward in identifying key behavioral features. Accordingly, it can be adapted in the future to develop diagnostic tools for biomarker discovery and guide implementation in predictive analyses of physiological stress susceptibility on data from digital technologies. In addition, our model allows incremental training by iterative training with new observations, which allows us to encompass a larger representation of different traits. Furthermore, approaches based on transfer learning can also enable the adaptation of our model to other target domains such as clinical settings or even, in a similar fashion to mapping biological relationships from mouse to human85, to facilitate translational approaches mapping animal behavioral/physiological interplay to human models or vice-versa.
On the other hand, as compared with non-VR based laboratory stress challenges, such as the trier stress test (TSST86) or the socially evaluated cold pressor test (SECPT87), our IVEs constitute a more standardized procedure allowing for more reproducible and controlled conditions across subjects and laboratories. In the future, it will be important to benchmark the capacity of our IVEs to both, trigger physiological responses and predict stress vulnerability against procedures such as the TSST or SECPT.
Importantly, our study included only males given that our prediction linking behavioral and physiological responses to stress vulnerability was inspired in previous studies involving male rodents33,88 and, therefore, future work is warranted to assess the validity of our model to predict iHRV responses in females. In addition, although our results indicate a potential high predictive capacity of our model for later psychopathology than existing tools/questionnaires, it will be important to benchmark it in both longitudinal studies and clinical populations.
In conclusion, the present study emphasizes the power of behavior to predict HRV responsiveness to a subsequent stressful challenge. Thus, in addition to highlighting behavior as a potential stress vulnerability marker, our study contributes a relevant approach to develop diagnostic tests based on VR immersion and machine learning modeling. In the future, our approach could be implemented to identify stress-susceptible individuals in longitudinal cohorts using recent advances in clinical digital phenotyping19,21. Considering how readily locomotion features can be extracted from mobile phones89 or in-home radiofrequency tracking90, we hope our work will pave the way for new technological implementations aimed at far-reaching personalized prevention of the negative outcomes of stress.
Methods
Participants
These results are part of a larger study aimed at investigating behavioral and physiological predictors of aggressive behaviors. Here, in order to specifically addressed the main question of our study, we only analyzed a subset of all collected variables, with respect to locomotor features and parasympathetic responses. One hundred thirty-five (135) male participants between the ages of 18 and 38 (age: 20.58 ± 2.05 years) were recruited. Participants reported that they had not been diagnosed with psychiatric disorders and did not use psychotropic medication. The study was approved by the Cantonal Ethics Committee of Vaud, Switzerland. Participants were asked to refrain from eating or drinking (except water) one hour before the experiment took place. Informed written consent was obtained from all participants. Days before the experiment, participants were asked to complete the Spielberger Trait Anxiety Inventory (STAI-T, form Y91) and other personality questionnaires. After the experiment participants also completed the Igroup Presence Questionnaire92. For further information about participants and recruitment, see Supplementary Information.
For the purposes of model learning and testing, we split these 135 participants into training/discovery (N = 66 subjects, age: 21.00 ± 1.93 years) and testing/replication (N = 69 subjects, age: 20.19 ± 2.10 years) data sets. The training/discovery set contained participants who presented low (STAI-T < 35) and moderately high (STAI-T > 45) scores. The test/replication set contained participants with moderate (35 > STAI-T > 45) scores. Furthermore, 107 out of the 135 participants (age: 20.48 ± 2.19 years) additionally participated in a stressful task and a sustained anticipatory anxiety task; this sample served as the generalization sample.
Experimental procedure
Participants were asked to explore three different virtual scenarios for 90 s each (see Figs. 1a, b and 2a), separated by two short transitions. At the beginning of each trial, participants were instructed to explore the current scenario, all starting from the same initial position. After participants agreed to continue, 90 s were left for exploration. At the end of the 90-s period, participants were instructed to return to the starting point. The subgroup of participants who participated in the stress task did so after the exploration scenarios, which were also in VR. Several days prior to the VR tasks, the same subgroup of participants was invited to perform a sustained anticipatory anxiety paradigm.
Scenario 1: Empty room: In the first trial, the participants started at the edge of an empty room (Fig. 1a) on top of a small red step, facing one of the walls. Participants were briefly instructed to explore the empty room. The room’s dimensions were the same as our room’s physical dimensions; hence, if a participant touched the virtual walls, he would feel the real walls. After 90 s, participants were instructed to return to the red step and wait for further experiments. The scene faded to black until the next scenario was loaded. After a brief transition, the new scene was a street in a virtual city. After being briefly instructed not to move away from the red step, the participants began being lifted towards the elevated alley in Scenario 2.
Scenario 2: Elevated alley: In this trial, participants were exposed to an elevated virtual alley several meters above the ground in a virtual city. The alley was wider on the starting side (3.50 m) and became narrower on the opposite side (0.50 m). At the edges next to the starting point, there were two walls so that participants were not exposed to the height at the starting point. Participants were asked to explore the alley, and after 90 s, they were asked to return to the red step. After a transition, participants were standing on top of the red step; the elevated alley was no longer present. After participants listened to a brief information statement and agreed to continue, the step started descending with accelerated movement until it reached the ground level. The scene faded to black until the next scenario was loaded.
Scenario 3: Persistent threat: The scene faded into a completely dark room. In this trial, participants were asked to explore a darkened maze corridor. The hand controller served a flashlight and as the only source of light in this scenario. Four human-like static Fig.s were placed in corner areas, and three bursts of white noise were delivered to the participant’s headphones at t = 20 s, t = 40 s and t = 60 s. After 90 s, participants were instructed to return to the red step to end the exploration experiment.
Stress test: This test exposed participants to an uncontrollable social-evaluative task and timed problem solving with negative feedback in a challenge in VR (Fig. 4a). The design of this test followed the recommendations presented in ref. 93 for successful stress induction and activation of the HPA axis by posing a threat to central goals. The task comprised a motivated performance task, relative uncontrollability of task outcomes, and the presence of social evaluation. Similar to the Montreal Imaging Stress Test94, participants had to solve quick arithmetic tasks, and their responses were recorded as correct or incorrect. Incorrect responses caused a tile on the floor to break and disappear, which could cause a fall if it were stepped on. If participants fell, they would fall into a new room with full tiles on the floor. Before the test started, participants had 3 min to read the instructions, which informed them about the ensuing task and objectives (get as many correct responses as possible and avoid falling) and indicated that they would be recorded by video. Two minutes of training preceded the 10-minute session. The test titrated participants’ performance to be below a supposed “average of the other participants” (63%) by reducing the response time limit. This supposed average was shown above the participant’s score, which turned red or green if it was below or above the hypothetic average, respectively. There was a 5% chance that correct responses were recorded as incorrect to increase the feeling of uncontrollability. A prerecorded voice asked the participants to perform better 2.5 and 7.5 min after the start of the test. Five minutes after the test started, the same prerecorded voice informed the participants that their performance was not good enough and that the test would restart.
Baseline physiology was also recorded inside VR in equivalent conditions but without the stressful elements. Participants were immersed in a nature setting, and no video recording was mentioned. In addition, for the first 7.5 min, they were prompted to respond to similar arithmetic tasks as in the stress challenge, but the tasks were easier and had a longer time limit. During the last 2.5 min, participants were told they could control the passage of time in the virtual world by pressing the controller’s trigger. Baselines were taken during this part.
Sustained anticipatory anxiety paradigm: This paradigm was based on a classical differential delayed fear conditioning paradigm95 during the 2 min of the habituation phase (see Supplementary Information for further details). Several days prior to the tasks in VR, participants were invited to our laboratory to participate in the sustained anticipatory anxiety paradigm. We used Psychlab Contact Precision Instruments SHK1 to present shocks. Shocks were administered to the top of the right wrist using 2 Ag/AgCl electrodes (6 mm). Shock intensity was determined individually during a workup procedure performed before the sustained anticipatory anxiety paradigm96. Pulse and skin conductance were measured from participants’ left hand, which was resting on a cushion on the table. Before the start of the paradigm, participants were informed they would be presented with two images and that electric shocks would be delivered occasionally. During the first two minutes (habituation phase), no electric shocks were actually delivered, and only the images were presented. As participants had been informed that electric shocks could be delivered, we used this block to induce a sustained anxious state97. Four subjects were excluded due to missing data in this experiment.
Experimental setup
VR was performed using a commercial VR system developed by HTC and Valve (HTC Vive). The head-mounted display (HMD) presents stereoscopic images of the virtual scene to the participant with a resolution of 1080 × 1200 pixels per eye and a refresh rate of 90 Hertz. The tracking relies on two lighthouse stations sweeping structured light lasers into the testing room. The HMD uses several sensors (laser position sensors, microelectromechanical sensors, gyroscope and accelerometer) to reliable infer their position and orientation in 3D space in real-time and with sub-millimeter precision. The different 3D scenes were rendered in Unity3D (www.unity3d.com) running on a computer dedicated for VR and motion capture, equipped with a Core i7 CPU clocked at 4.0 GHz, 16GB of main memory and a GeForce GTX TITAN X graphics card. 3D scenes were modeled in Blender (https://www.blender.org) and imported into Unity3D. The experimental logic was programmed in C# within Unity3D. The app-to-display latency for the HTC Vive running Unity3D apps in a computer with a similar configuration to the one used in this experiment has been determined to be on average 31.33 ms with a standard deviation of 1.41 ms98.
The dimensions of the testing room are 3.50 m (width), 6.00 m (length), and 3.50 m (height). Within this range, participants could move around freely. We ensured that participants could never see the physical room to increase immersion and the sense of novelty when exploring the virtual scenarios.
Motion capture was performed using the MVN XSENS Awinda system on participants’ lower body (pelvis, legs, and feet sensors) and recorded using MVN Studio Animate Pro. The gait and center of mass displacement were computed from the motion capture data.
Experiments in VR were performed with a wireless physiology recording system (Biopac Bionomadix) recording data at a 1000 Hz sampling rate with AcqKnowledge Data Acquisition and Analysis Software 5.0. We recorded respiration and electrocardiogram (ECG) data. ECG was decimated to 500 Hz and breathing to 100 Hz using the MATLAB function decimate with the default FIR filtering prior to down sampling. For the sustained anticipatory anxiety paradigm, we recorded pulse and skin conductance with a wired Biopac MP150 unit collected at 250 Hz with AcqKnowledge Data Acquisition and Analysis Software 5.0.
HR and PR were computed from AcqKnowledge’s default functions. ECG R peak detection was performed with the Pan Tompkins algorithm. The resulting RR time series was filtered with a 3-standard-deviation filter and visually inspected for artifacts. Linear interpolation was used for the identified artifactual beats. HRV formulas were computed from the resulting RR time series.
RR was computed using the MATLAB function findpeaks after filtering the respiration signal with a bandpass FIR of 0.17–0.73 Hz. We identified peaks above at least one standard deviation (robustified) of the filtered respiration time series, separated by at least 0.8 s and with a minimum width of 0.4 s.
For the VR exploration scenarios, cardiorespiratory variables were computed for the entire length of the 90 s intervals of exploration. For the stress task and for the sustained anticipatory anxiety paradigm, we computed rate and variability variables for the entire length of the tasks (10 and 2 min, respectively).
HRV analysis
HRV analysis was performed on the filtered R to R time series. Among the vast number of available HRV formulas, we decided to use the most widely used time-domain formulas for parasympathetic activity60: RMSSD, SDNN, and HRVTi. Details concerning these formulas can be found in58. Further information regarding HRV can be found in the Supplementary Information.
RMSSD is highly correlated with high frequency power45, another widely used measure of the parasympathetic (vagal) nervous system58,99, which is known to be influenced by respiration99. Controlled breathing has been shown to have an effect on RMSSD compared with uncontrolled breathing100. However, to obtain a more generalizable parasympathetic metric that was resilient to breathing, we performed PCA on the HR, HRV (RMSSD, SDNN, and HRVTi) and RR variables and chose the principal component that loaded onto the HRV and HR variables but not onto RR.
Behavioral measurements
Behavior was assessed via position tracking and motion capture. More specifically, with position tracking, we computed several features regarding where participants positioned themselves in the virtual space, velocity and acceleration of movement, and other trajectory features obtained from101. With motion capture, we computed gait variables. A detailed list of all behavioral features can be obtained in the Supplementary Information.
Feature selection
Feature selection is an important step when building predictive models. Removing redundant features can simplify the generated model, prevent overfitting, and enhance the generalization ability. In this study, feature selection was performed on the training set. Zero variation features were removed, as were features with a Spearman correlation coefficient below 0.1 with the parasympathetic PC during the persistent threat scenario. The resulting features were separated into three different tables: gait, movement burst and position tracking. For each table, cross-validated Lasso regularization of the generalized linear model with MATLAB’s lassoGLM function was used to predict the iHRV during the persistent threat scenario. The resulting unshrunk variables for each table were then taken together as the selected feature for statistical model learning.
Extreme gradient boosting trees (XGBoost)
XGBoost62 is a new implementation of the gradient tree boosting technique that has been tested in different data sets; it achieves high accuracy and requires much less computation time than deep neural nets102. It is known for obtaining winning solutions in various data competitions. It is authors reported that “among the 29 challenge-winning solutions published on Kaggle’s blog during 2015, 17 winning solutions used XGBoost.”62. XGBoost has also been applied to the medical field103–105. Here, we used XGBoost to predict iHRV during the persistent threat scenario with the set of selected behavioral features. We used the XGBRegressor function from the Python XGBoost package to fit our model. There are several adjustable hyperparameters in XGBoost. In this study, the step size shrinkage (eta), maximum depth of tree (max.depth), minimum sum of instance weight (min.child.weight), and maximum number of iterations (nrounds) were optimized with Bayesian optimization106 using the Python package hyperopt. The performance of our model’s predictions was evaluated by correlating the predicted with the true value of the parasympathetic PC on a holdout sample (not used in model learning). Train and test data sets were loaded into data frames using the pandas Python package, processed with datacleaner Python package and model evaluation metrics computed with the Python package numpy. SHAP values were computed with the Python package shap.
Statistics
Statistical analyses were performed using MATLAB, R, or JASP. All tests were two-sided and normality of the underlying data distributions was assumed when parametric tests were used (for example, analysis of variance in Supplementary Information). For correlations, normality was tested with the Shapiro–Wilk normality test and Spearman correlations were used, instead of Pearson, if data were not normal. All correction for multiple comparisons were performed using the Holm procedure. Correlation confidence intervals are depicted in the corresponding Figures.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Supplementary information
Acknowledgements
This work was supported by grants from The Oak Foundation, the Swiss National Science Foundation (SNSF; NCCR Synapsy grant nos. 158776 and 185897; Sinergia no. 183564;) and intramural funding from the EPFL to C.S. and an SNSF SPARK grant to J.R. The funders had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.
Source data
Author contributions
J.R., E.S., S.S., and C.S. designed the experiments; J.R., E.S., S.S., and N.M. performed experiments; J.R. and E.S. analyzed the physiological data; J.R. analyzed the motion capture data and applied machine learning analyses; J.R. and C.S. wrote the manuscript; C.S. supervised and supported the project.
Data availability
The data that support the findings of this study are available from the corresponding author upon request (note that the data analyzed here is part of a longer undergoing study with a different aim and not yet published; as soon as the remaining parts of the data/study are completed, we will make our data available in a public repository). Source data are provided with this paper.
Code availability
The code used to train and test the classifier in Python will be made available upon request. Likewise, the feature selection, gait analysis, and HRV implemented in MATLAB will be made available upon request (note that the data analyzed here is part of a longer undergoing study with a different aim and not yet published; as soon as the remaining parts of the data/study are completed, we will make our code available in a public repository.
Competing interests
The authors declare no competing interests.
Footnotes
Peer review information Nature Communications thanks Cristina Ottaviani, Lars Schwabe and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
João Rodrigues, Email: joao.rodrigues@epfl.ch.
Carmen Sandi, Email: carmen.sandi@epfl.ch.
Supplementary information
Supplementary information is available for this paper at 10.1038/s41467-020-19736-3.
References
- 1.Schneiderman N, Ironson G, Siegel SD. Stress and health: psychological, behavioral, and biological determinants. Annu. Rev. Clin. Psychol. 2005;1:607–628. doi: 10.1146/annurev.clinpsy.1.102803.144141. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Larrieu T, Sandi C. Stress-induced depression: is social rank a predictive risk factor? BioEssays. 2018;40:1–10. doi: 10.1002/bies.201800012. [DOI] [PubMed] [Google Scholar]
- 3.De Kloet ER, Joëls M, Holsboer F. Stress and the brain: from adaptation to disease. Nat. Rev. Neurosci. 2005;6:463–475. doi: 10.1038/nrn1683. [DOI] [PubMed] [Google Scholar]
- 4.Caspi A, et al. Influence of life stress on depression: moderation by a polymorphism in the 5-HTT gene. Science. 2003;301:386–389. doi: 10.1126/science.1083968. [DOI] [PubMed] [Google Scholar]
- 5.Sandi C, Haller J. Stress and the social brain: behavioural effects and neurobiological mechanisms. Nat. Rev. Neurosci. 2015;16:290–304. doi: 10.1038/nrn3918. [DOI] [PubMed] [Google Scholar]
- 6.Treiber FA, et al. Cardiovascular reactivity and development of preclinical and clinical disease states. Psychosom. Med. 2003;65:46–62. doi: 10.1097/00006842-200301000-00007. [DOI] [PubMed] [Google Scholar]
- 7.Song H, et al. Stress related disorders and risk of cardiovascular disease: population based, sibling controlled cohort study. BMJ. 2019;365:1–10. doi: 10.1136/bmj.l1255. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Guan L, Collet JP, Mazowita G, Claydon VE. Autonomic nervous system and stress to predict secondary ischemic events after transient ischemic attack or minor stroke: possible implications of heart rate variability. Front. Neurol. 2018;9:1–16. doi: 10.3389/fneur.2018.00090. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Guan L, et al. Autonomic parameter and stress profile predict secondary ischemic events after transient ischemic attack or minor stroke. Stroke. 2019;50:2007–2015. doi: 10.1161/STROKEAHA.118.022844. [DOI] [PubMed] [Google Scholar]
- 10.Kivimäki M, Steptoe A. Effects of stress on the development and progression of cardiovascular disease. Nat. Rev. Cardiol. 2018;15:215–229. doi: 10.1038/nrcardio.2017.189. [DOI] [PubMed] [Google Scholar]
- 11.Ulrich-Lai YM, Herman JP. Neural regulation of endocrine and autonomic stress responses. Nat. Rev. Neurosci. 2009;10:397–409. doi: 10.1038/nrn2647. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.McEwen BS. Stress, adaptation, and disease: allostasis and allostatic load. Ann. N. Y. Acad. Sci. 1998;840:33–44. doi: 10.1111/j.1749-6632.1998.tb09546.x. [DOI] [PubMed] [Google Scholar]
- 13.Juster RP, McEwen BS, Lupien SJ. Allostatic load biomarkers of chronic stress and impact on health and cognition. Neurosci. Biobehav. Rev. 2010;35:2–16. doi: 10.1016/j.neubiorev.2009.10.002. [DOI] [PubMed] [Google Scholar]
- 14.Weger M, Sandi C. High anxiety trait: a vulnerable phenotype for stress-induced depression. Neurosci. Biobehav. Rev. 2018;87:27–37. doi: 10.1016/j.neubiorev.2018.01.012. [DOI] [PubMed] [Google Scholar]
- 15.Steptoe A, Marmot M. Socioeconomic status and coronary heart disease: a psychobiological perspective. Popul. Dev. Rev. 2004;30:133–150. [Google Scholar]
- 16.Seyhan AA, Carini C. Are innovation and new technologies in precision medicine paving a new era in patients centric care? J. Transl. Med. 2019;17:1–28. doi: 10.1186/s12967-019-1864-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Fisher EB, et al. Behavior matters. Am. J. Prev. Med. 2011;40:e15–e30. doi: 10.1016/j.amepre.2010.12.031. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Jethwani K, Kvedar J, Kvedar J. Behavioral phenotyping: a tool for personalized medicine. Per. Med. 2010;7:689–693. doi: 10.2217/pme.10.62. [DOI] [PubMed] [Google Scholar]
- 19.Insel TR. Digital phenotyping: technology for a new science of behavior. JAMA. 2017;318:1215–1216. doi: 10.1001/jama.2017.11295. [DOI] [PubMed] [Google Scholar]
- 20.Barrigon, M. L., Courtet, P., Oquendo, M. & Baca-García, E. Precision medicine and suicide: an opportunity for digital health. Curr. Psychiatry Rep. 21, 131 (2019). [DOI] [PubMed]
- 21.Huckvale, K., Venkatesh, S. & Christensen, H. Toward clinical digital phenotyping: a timely opportunity to consider purpose, quality, and safety. npj Digit. Med. 2, 88 (2019). [DOI] [PMC free article] [PubMed]
- 22.McLean SA, et al. The AURORA Study: a longitudinal, multimodal library of brain biology and function after traumatic stress exposure. Mol. Psychiatry. 2020;25:283–296. doi: 10.1038/s41380-019-0581-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Li P, et al. More random motor activity fluctuations predict incident frailty, disability, and mortality. Sci. Transl. Med. 2019;11:1–10. doi: 10.1126/scitranslmed.aax1977. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Li P, et al. Fractal regulation and incident Alzheimer’s disease in elderly individuals. Alzheimer’s Dement. 2018;14:1114–1125. doi: 10.1016/j.jalz.2018.03.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Vahia I, et al. Identification and evaluation of behavioral symptoms in dementia using passive radio sensing and machine learning. Am. J. Geriatr. Psychiatry. 2019;27:S167–S168. doi: 10.1016/j.jagp.2019.01.078. [DOI] [Google Scholar]
- 26.Riva G, et al. Affective interactions using virtual reality: the link between presence and emotions. Cyberpsychol. Behav. 2007;10:45–56. doi: 10.1089/cpb.2006.9993. [DOI] [PubMed] [Google Scholar]
- 27.Macedonio MF, Parsons TD, Digiuseppe RA, Weiderhold BA, Rizzo AA. Immersiveness and physiological arousal within panoramic video-based virtual reality. CyberPsychol. Behav. 2007;10:508–515. doi: 10.1089/cpb.2007.9997. [DOI] [PubMed] [Google Scholar]
- 28.Han K, et al. Measurement of expression characteristics in emotional situations using virtual reality. IEEE Virtual Reality Conference. 2009;39:265–266. doi: 10.1016/j.compbiomed.2008.12.002. [DOI] [PubMed] [Google Scholar]
- 29.Bergström I, Kilteni K, Slater M. First-person perspective virtual body posture influences stress: a virtual reality body ownership study. PLoS ONE. 2016;11:1–21. doi: 10.1371/journal.pone.0148060. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Bullinger AH, et al. Stimulation of cortisol during mental task performance in a provocative virtual environment. Appl. Psychophysiol. Biofeedback. 2005;30:205–216. doi: 10.1007/s10484-005-6378-y. [DOI] [PubMed] [Google Scholar]
- 31.Cornwell BR, Johnson L, Berardi L, Grillon C. Anticipation of public speaking in virtual reality reveals a relationship between trait social anxiety and startle reactivity. Biol. Psychiatry. 2006;59:664–666. doi: 10.1016/j.biopsych.2005.09.015. [DOI] [PubMed] [Google Scholar]
- 32.Sandi C, et al. Chronic stress-induced alterations in amygdala responsiveness and behavior - modulation by trait anxiety and corticotropin-releasing factor systems. Eur. J. Neurosci. 2008;28:1836–1848. doi: 10.1111/j.1460-9568.2008.06451.x. [DOI] [PubMed] [Google Scholar]
- 33.Castro JE, et al. Personality traits in rats predict vulnerability and resilience to developing stress-induced depression-like behaviors, HPA axis hyper-reactivity and brain changes in pERK1/2 activity. Psychoneuroendocrinology. 2012;37:1209–1223. doi: 10.1016/j.psyneuen.2011.12.014. [DOI] [PubMed] [Google Scholar]
- 34.Nasca C, Bigio B, Zelli D, Nicoletti F, McEwen BS. Mind the gap: glucocorticoids modulate hippocampal glutamate tone underlying individual differences in stress susceptibility. Mol. Psychiatry. 2015;20:755–763. doi: 10.1038/mp.2014.96. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Larrieu T, et al. Hierarchical status predicts behavioral vulnerability and nucleus accumbens metabolic profile following chronic social defeat stress. Curr. Biol. 2017;27:2202–2210. doi: 10.1016/j.cub.2017.06.027. [DOI] [PubMed] [Google Scholar]
- 36.Carnevali L, Thayer JF, Brosschot JF, Ottaviani C. Heart rate variability mediates the link between rumination and depressive symptoms: a longitudinal study. Int. J. Psychophysiol. 2018;131:131–138. doi: 10.1016/j.ijpsycho.2017.11.002. [DOI] [PubMed] [Google Scholar]
- 37.Walker FR, Pfingst K, Carnevali L, Sgoifo A, Nalivaiko E. In the search for integrative biomarker of resilience to psychological stress. Neurosci. Biobehav. Rev. 2017;74:310–320. doi: 10.1016/j.neubiorev.2016.05.003. [DOI] [PubMed] [Google Scholar]
- 38.Perna G, et al. Heart rate variability: can it serve as a marker of mental health resilience? J. Affect. Disord. 2019;263:754–761. doi: 10.1016/j.jad.2019.10.017. [DOI] [PubMed] [Google Scholar]
- 39.Ottaviani C. Brain-heart interaction in perseverative cognition. Psychophysiology. 2018;55:1–14. doi: 10.1111/psyp.13082. [DOI] [PubMed] [Google Scholar]
- 40.Walker SE, Zanoletti O, Guillot de Suduiraut I, Sandi C. Constitutive differences in glucocorticoid responsiveness to stress are related to variation in aggression and anxiety-related behaviors. Psychoneuroendocrinology. 2017;84:1–10. doi: 10.1016/j.psyneuen.2017.06.011. [DOI] [PubMed] [Google Scholar]
- 41.Carnevali L, Koenig J, Sgoifo A, Ottaviani C. Autonomic and brain morphological predictors of stress resilience. Front. Neurosci. 2018;12:1–13. doi: 10.3389/fnins.2018.00228. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Beauchaine TP, Thayer JF. Heart rate variability as a transdiagnostic biomarker of psychopathology. Int. J. Psychophysiol. 2015;98:338–350. doi: 10.1016/j.ijpsycho.2015.08.004. [DOI] [PubMed] [Google Scholar]
- 43.Sessa F, et al. Heart rate variability as predictive factor for sudden cardiac death. Aging (Albany NY). 2018;10:166–177. doi: 10.18632/aging.101386. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Thayer JF, Yamamoto SS, Brosschot JF. The relationship of autonomic imbalance, heart rate variability and cardiovascular disease risk factors. Int. J. Cardiol. 2010;141:122–131. doi: 10.1016/j.ijcard.2009.09.543. [DOI] [PubMed] [Google Scholar]
- 45.Thayer JF, Åhs F, Fredrikson M, Sollers JJ, Wager TD. A meta-analysis of heart rate variability and neuroimaging studies: Implications for heart rate variability as a marker of stress and health. Neurosci. Biobehav. Rev. 2012;36:747–756. doi: 10.1016/j.neubiorev.2011.11.009. [DOI] [PubMed] [Google Scholar]
- 46.Steptoe A, Marmot M. Impaired cardiovascular recovery following stress predicts 3-year increases in blood pressure. J. Hypertens. 2005;23:529–536. doi: 10.1097/01.hjh.0000160208.66405.a8. [DOI] [PubMed] [Google Scholar]
- 47.Matthews KA, Salomon K, Brady SS, Allen MT. Cardiovascular reactivity to stress predicts future blood pressure in adolescence. Psychosom. Med. 2003;65:410–415. doi: 10.1097/01.PSY.0000057612.94797.5F. [DOI] [PubMed] [Google Scholar]
- 48.Wood DL, Sheps SG, Elveback LR, Schirger A. Cold pressor test as a predictor of hypertension. Hypertension. 1984;6:301–306. doi: 10.1161/01.HYP.6.3.301. [DOI] [PubMed] [Google Scholar]
- 49.Dikecligil GN, Mujica-Parodi LR. Ambulatory and challenge-associated heart rate variability measures predict cardiac responses to real-world acute emotional stress. Biol. Psychiatry. 2010;67:1185–1190. doi: 10.1016/j.biopsych.2010.02.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Gerin W, et al. An historical context for behavioral models of hypertension. J. Psychosom. Res. 2000;48:369–377. doi: 10.1016/S0022-3999(99)00095-1. [DOI] [PubMed] [Google Scholar]
- 51.Carroll D, et al. Blood pressure reactions to acute psychological stress and future blood pressure status: a 10-year follow-up of men in the whitehall II study. Psychosom. Med. 2001;63:737–743. doi: 10.1097/00006842-200109000-00006. [DOI] [PubMed] [Google Scholar]
- 52.Kamarck TW, Lovallo WR. Cardiovascular reactivity to psychological challenge: conceptual and measurement considerations. Psychosom. Med. 2003;65:9–21. doi: 10.1097/01.PSY.0000030390.34416.3E. [DOI] [PubMed] [Google Scholar]
- 53.Ottaviani C, Shapiro D, Goldstein IB, James JE, Weiss R. Hemodynamic profile, compensation deficit, and ambulatory blood pressure. Psychophysiology. 2006;43:46–56. doi: 10.1111/j.1469-8986.2006.00378.x. [DOI] [PubMed] [Google Scholar]
- 54.Bailey T, Shahabi L, Tarvainen M, Shapiro D, Ottaviani C. Moderating effects of the valence of social interaction on the dysfunctional consequences of perseverative cognition: an ecological study in major depression and social anxiety disorder. Anxiety, Stress Coping. 2019;32:179–195. doi: 10.1080/10615806.2019.1570821. [DOI] [PubMed] [Google Scholar]
- 55.Walsh RN, Cummins RA. The open-field test: a critical review. Psychol. Bull. 1976;83:482–504. doi: 10.1037/0033-2909.83.3.482. [DOI] [PubMed] [Google Scholar]
- 56.Crawley JN. Exploratory behavior models of anxiety in mice. Neurosci. Biobehav. Rev. 1985;9:37–44. doi: 10.1016/0149-7634(85)90030-2. [DOI] [PubMed] [Google Scholar]
- 57.Deacon, R. M. J. The successive alleys test of anxiety in mice and rats. J. Vis. Exp.2013, 2705 (2013). [DOI] [PMC free article] [PubMed]
- 58.Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology. Heart rate variability: Standards of measurement, physiological interpretation, and clinical use. Circulation. 1996;93:1043–1065. doi: 10.1161/01.CIR.93.5.1043. [DOI] [PubMed] [Google Scholar]
- 59.Acharya UR, Joseph KP, Kannathal N, Lim CM, Suri JS. Heart rate variability: a review. Med. Biol. Eng. Comput. 2006;44:1031–1051. doi: 10.1007/s11517-006-0119-0. [DOI] [PubMed] [Google Scholar]
- 60.Chalmers JA, Quintana DS, Abbott MJA, Kemp AH. Anxiety disorders are associated with reduced heart rate variability: a meta-analysis. Front. Psychiatry. 2014;5:1–11. doi: 10.3389/fpsyt.2014.00080. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Williams DP, et al. Resting heart rate variability, facets of rumination and trait anxiety: Implications for the perseverative cognition hypothesis. Front. Hum. Neurosci. 2018;11:1–10. doi: 10.3389/fnhum.2017.00520. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Chen, T. & Guestrin, C. XGBoost: a scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 785–794 (2016).
- 63.Bergstra J, Yamins D, Cox DD. Making a science of model search: hyperparameter optimization in hundreds of dimensions for vision architectures. 30th International Confeence Machine Learning. 2013;28:115–123. [Google Scholar]
- 64.Lundberg SM, Lee SI. A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems. 2017;2017-Decem:4766–4775. [Google Scholar]
- 65.Lundberg SM, et al. Explainable machine-learning predictions for the prevention of hypoxaemia during surgery. Nat. Biomed. Eng. 2018;2:749–760. doi: 10.1038/s41551-018-0304-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Nasca, C., Davis, E., Bigio, B., Sandi, C. & McEwen, B. S. Effects of Stress Throughout the Lifespan on the Brain and Behavior. In Hormones, Brain and Behavior. 3rd edn (eds. Pfaff, D. W. & Joëls, M.) 5, 443–463 (Academic Press, 2017).
- 67.Cruz APM, Frei F, Graeff FG. Ethopharmacological analysis of rat behavior on the elevated plus-maze. Pharmacol. Biochem. Behav. 1994;49:171–176. doi: 10.1016/0091-3057(94)90472-3. [DOI] [PubMed] [Google Scholar]
- 68.Rodgers RJ, Johnson NJT. Factor analysis of spatiotemporal and ethological measures in the murine elevated plus-maze test of anxiety. Pharmacol. Biochem. Behav. 1995;52:297–303. doi: 10.1016/0091-3057(95)00138-M. [DOI] [PubMed] [Google Scholar]
- 69.Stedenfeld KA, et al. Novelty-seeking behavior predicts vulnerability in a rodent model of depression. Physiol. Behav. 2011;103:210–216. doi: 10.1016/j.physbeh.2011.02.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Kallai J, et al. Cognitive and affective aspects of thigmotaxis strategy in humans. Behav. Neurosci. 2007;121:21–30. doi: 10.1037/0735-7044.121.1.21. [DOI] [PubMed] [Google Scholar]
- 71.Friedman BH, Thayer JF. Autonomic balance revisited: panic anxiety and HRV. J. Psychosom. Res. 1998;44:133–151. doi: 10.1016/S0022-3999(97)00202-X. [DOI] [PubMed] [Google Scholar]
- 72.Thayer JF, Friedman BH, Borkovec TD. Autonomic characteristics of generalized anxiety disorder and worry. Biol. Psychiatry. 1996;39:255–266. doi: 10.1016/0006-3223(95)00136-0. [DOI] [PubMed] [Google Scholar]
- 73.Goette L, Bendahan S, Thoresen J, Hollis F, Sandi C. Stress pulls us apart: anxiety leads to differences in competitive confidence under stress. Psychoneuroendocrinology. 2015;54:115–123. doi: 10.1016/j.psyneuen.2015.01.019. [DOI] [PubMed] [Google Scholar]
- 74.Perry W, et al. A reverse-translational study of dysfunctional exploration in psychiatric disorders: from mice to men. Arch. Gen. Psychiatry. 2009;66:1072–1080. doi: 10.1001/archgenpsychiatry.2009.58. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Walz N, Mühlberger A, Pauli P. A human open field test reveals thigmotaxis related to agoraphobic fear. Biol. Psychiatry. 2016;80:390–397. doi: 10.1016/j.biopsych.2015.12.016. [DOI] [PubMed] [Google Scholar]
- 76.Biedermann SV, et al. An elevated plus-maze in mixed reality for studying human anxiety-related behavior. BMC Biol. 2017;15:125. doi: 10.1186/s12915-017-0463-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 77.Forkosh O, et al. Identity domains capture individual differences from across the behavioral repertoire. Nat. Neurosci. 2019;22:2023–2028. doi: 10.1038/s41593-019-0516-y. [DOI] [PubMed] [Google Scholar]
- 78.Abbas, W. & Rodo, D. M. Computer methods for automatic locomotion and gesture tracking in mice and small animals for neuroscience applications: a survey. Sensors (Switzerland)19, 3274 (2019). [DOI] [PMC free article] [PubMed]
- 79.Robie AA, et al. Mapping the neural substrates of behavior. Cell. 2017;170:393–406. doi: 10.1016/j.cell.2017.06.032. [DOI] [PubMed] [Google Scholar]
- 80.Hodes GE, et al. Individual differences in the peripheral immune system promote resilience versus susceptibility to social stress. Proc. Natl. Acad. Sci. USA. 2014;111:16136–16141. doi: 10.1073/pnas.1415191111. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 81.Chen RJ, et al. MicroRNAs as biomarkers of resilience or vulnerability to stress. Neuroscience. 2015;305:36–48. doi: 10.1016/j.neuroscience.2015.07.045. [DOI] [PubMed] [Google Scholar]
- 82.Swartz JR, Knodt AR, Radtke SR, Hariri AR. A neural biomarker of psychological vulnerability to future life stress. Neuron. 2015;85:505–511. doi: 10.1016/j.neuron.2014.12.055. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 83.Georgiou K, et al. Can wearable devices accurately measure heart rate variability? A systematic review. Folia Med. (Plovdiv.). 2018;60:7–20. doi: 10.2478/folmed-2018-0012. [DOI] [PubMed] [Google Scholar]
- 84.Jeyhani V, Mahdiani S, Peltokangas M, Vehkaoja A. Comparison of HRV parameters derived from photoplethysmography and electrocardiography signals. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. 2015;2015:5952–5955. doi: 10.1109/EMBC.2015.7319747. [DOI] [PubMed] [Google Scholar]
- 85.Stumpf, P. S. et al. Mapping biology from mouse to man using transfer learning. bioRxiv10.1101/2019.12.26.888842 (2019).
- 86.Kirschbaum C, Pirke KM, Hellhammer DH. The’Trier Social Stress Test’–a tool for investigating psychobiological stress responses in a laboratory setting. Neuropsychobiology. 1993;28:76–81. doi: 10.1159/000119004. [DOI] [PubMed] [Google Scholar]
- 87.Schwabe L, Haddad L, Schachinger H. HPA axis activation by a socially evaluated cold-pressor test. Psychoneuroendocrinology. 2008;33:890–895. doi: 10.1016/j.psyneuen.2008.03.001. [DOI] [PubMed] [Google Scholar]
- 88.Huzard D, et al. Low vagal tone in two rat models of psychopathology involving high or low corticosterone stress responses. Psychoneuroendocrinology. 2019;101:101–110. doi: 10.1016/j.psyneuen.2018.11.003. [DOI] [PubMed] [Google Scholar]
- 89.Sprager, S. & Juric, M. B. Inertial sensor-based gait recognition: a review. Sensors (Switzerland)15, 22089–22127 (2015). [DOI] [PMC free article] [PubMed]
- 90.Hsu, C. Y., Hristov, R., Lee, G. H., Zhao, M. & Katabi, D. Enabling identification and behavioral sensing in homes using radio reflections. CHI Conference on Human Factors in Computing Systems Proceedings. 1–13 (2019)
- 91.Spielberger, C. Manual for the State-Trait Anxiety Inventory (STAI). 4–26 (Consulting Psychologists Press, Palo Alto, CA, 1983).
- 92.Schubert T. The sense of presence in virtual environments: a three-component scale measuring spatial presence, involvement, and realness. Z. f.ür. Medienpsychol. 2003;15:69–71. doi: 10.1026//1617-6383.15.2.69. [DOI] [Google Scholar]
- 93.Dickerson SS, Kemeny ME. Acute stressors and cortisol responses: a theoretical integration and synthesis of laboratory research. Psychol. Bull. 2004;130:355–391. doi: 10.1037/0033-2909.130.3.355. [DOI] [PubMed] [Google Scholar]
- 94.Dedovic K, et al. The Montreal Imaging Stress Task: using functional imaging to investigate the effects of perceiving and processing psychosocial stress in the human brain. J. Psychiatry Neurosci. 2005;30:319–325. [PMC free article] [PubMed] [Google Scholar]
- 95.Veit R, et al. Deficient fear conditioning in psychopathy as a function of interpersonal and affective disturbances. Front. Hum. Neurosci. 2013;7:1–12. doi: 10.3389/fnhum.2013.00706. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 96.Schmitz A, Grillon C. Assessing fear and anxiety in humans using the threat of predictable and unpredictable aversive events (the NPU-threat test) Nat. Protoc. 2012;7:527–532. doi: 10.1038/nprot.2012.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 97.Vytal KE, Overstreet C, Charney DR, Robinson OJ, Grillon C. Sustained anxiety increases amygdala-dorsomedial prefrontal coupling: A mechanism for maintaining an anxious state in healthy adults. J. Psychiatry Neurosci. 2014;39:321–329. doi: 10.1503/jpn.130145. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 98.Chénéchal, M. Le & Goldman, J. C. HTC Vive Pro Time Performance Benchmark for Scientific Research. International Conference on Artificial Reality and Telexistence and Eurographics Symposium on Virtual Environments. 81–84 (2018).
- 99.GG B, et al. Heart rate variability: origins, methods, and interpretive caveats. Psychophysiology. 1997;34:623–648. doi: 10.1111/j.1469-8986.1997.tb02140.x. [DOI] [PubMed] [Google Scholar]
- 100.Koenig J, Williams DP, Kemp AH, Thayer JF. Vagally mediated heart rate variability in headache patients - a systematic review and meta-analysis. Cephalalgia. 2016;36:265–278. doi: 10.1177/0333102415583989. [DOI] [PubMed] [Google Scholar]
- 101.Vouros A, et al. A generalised framework for detailed classification of swimming paths inside the Morris Water Maze. Sci. Rep. 2018;8:1–15. doi: 10.1038/s41598-018-33456-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 102.Sheridan RP, Wang WM, Liaw A, Ma J, Gifford EM. Extreme gradient boosting as a method for quantitative structure-activity relationships. J. Chem. Inf. Model. 2016;56:2353–2360. doi: 10.1021/acs.jcim.6b00591. [DOI] [PubMed] [Google Scholar]
- 103.Gao C, et al. Model-based and model-free machine learning techniques for diagnostic prediction and classification of clinical outcomes in Parkinson’s disease. Sci. Rep. 2018;8:1–21. doi: 10.1038/s41598-017-17765-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 104.Nishio M, et al. Computer-aided diagnosis of lung nodule using gradient tree boosting and Bayesian optimization. PLoS ONE. 2018;13:1–13. doi: 10.1371/journal.pone.0195875. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 105.Qiao Z, et al. Using machine learning approaches for emergency room visit prediction based on electronic health record data. Stud. Health Technol. Inform. 2018;247:111–115. [PubMed] [Google Scholar]
- 106.Shahriari B, Swersky K, Wang Z, Adams RP, De Freitas N. Taking the human out of the loop: a review of Bayesian optimization. Proc. IEEE. 2016;104:148–175. doi: 10.1109/JPROC.2015.2494218. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon request (note that the data analyzed here is part of a longer undergoing study with a different aim and not yet published; as soon as the remaining parts of the data/study are completed, we will make our data available in a public repository). Source data are provided with this paper.
The code used to train and test the classifier in Python will be made available upon request. Likewise, the feature selection, gait analysis, and HRV implemented in MATLAB will be made available upon request (note that the data analyzed here is part of a longer undergoing study with a different aim and not yet published; as soon as the remaining parts of the data/study are completed, we will make our code available in a public repository.