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.
Exposure to psychogenic stressors is associated with the development of numerous diseases1, including psychopathologies2,3,4,5 and cardiovascular disorders (CVD)6,7,8,9,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,20,21,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,24,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,27,28, including stressful ones29,30,31. Rodents’ locomotor responses in mildly arousing exploration tasks can predict their future vulnerability to stress exposure32,33,34,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,37,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,47,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,51,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.
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.
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,78,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,81,82 that deter from their systematic use. Although HRV measures are easier to collect and are emerging as particularly relevant36,37,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,47,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.
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.
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.
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 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.
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 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,104,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.
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.
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
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.
Schneiderman, N., Ironson, G. & Siegel, S. D. Stress and health: psychological, behavioral, and biological determinants. Annu. Rev. Clin. Psychol. 1, 607–628 (2005).
Larrieu, T. & Sandi, C. Stress-induced depression: is social rank a predictive risk factor? BioEssays 40, 1–10 (2018).
De Kloet, E. R., Joëls, M. & Holsboer, F. Stress and the brain: from adaptation to disease. Nat. Rev. Neurosci. 6, 463–475 (2005).
Caspi, A. et al. Influence of life stress on depression: moderation by a polymorphism in the 5-HTT gene. Science 301, 386–389 (2003).
Sandi, C. & Haller, J. Stress and the social brain: behavioural effects and neurobiological mechanisms. Nat. Rev. Neurosci. 16, 290–304 (2015).
Treiber, F. A. et al. Cardiovascular reactivity and development of preclinical and clinical disease states. Psychosom. Med. 65, 46–62 (2003).
Song, H. et al. Stress related disorders and risk of cardiovascular disease: population based, sibling controlled cohort study. BMJ 365, 1–10 (2019).
Guan, L., Collet, J. P., Mazowita, G. & Claydon, V. E. 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. 9, 1–16 (2018).
Guan, L. et al. Autonomic parameter and stress profile predict secondary ischemic events after transient ischemic attack or minor stroke. Stroke 50, 2007–2015 (2019).
Kivimäki, M. & Steptoe, A. Effects of stress on the development and progression of cardiovascular disease. Nat. Rev. Cardiol. 15, 215–229 (2018).
Ulrich-Lai, Y. M. & Herman, J. P. Neural regulation of endocrine and autonomic stress responses. Nat. Rev. Neurosci. 10, 397–409 (2009).
McEwen, B. S. Stress, adaptation, and disease: allostasis and allostatic load. Ann. N. Y. Acad. Sci. 840, 33–44 (1998).
Juster, R. P., McEwen, B. S. & Lupien, S. J. Allostatic load biomarkers of chronic stress and impact on health and cognition. Neurosci. Biobehav. Rev. 35, 2–16 (2010).
Weger, M. & Sandi, C. High anxiety trait: a vulnerable phenotype for stress-induced depression. Neurosci. Biobehav. Rev. 87, 27–37 (2018).
Steptoe, A. & Marmot, M. Socioeconomic status and coronary heart disease: a psychobiological perspective. Popul. Dev. Rev. 30, 133–150 (2004).
Seyhan, A. A. & Carini, C. Are innovation and new technologies in precision medicine paving a new era in patients centric care? J. Transl. Med. 17, 1–28 (2019).
Fisher, E. B. et al. Behavior matters. Am. J. Prev. Med. 40, e15–e30 (2011).
Jethwani, K., Kvedar, J. & Kvedar, J. Behavioral phenotyping: a tool for personalized medicine. Per. Med. 7, 689–693 (2010).
Insel, T. R. Digital phenotyping: technology for a new science of behavior. JAMA 318, 1215–1216 (2017).
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).
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).
McLean, S. A. et al. The AURORA Study: a longitudinal, multimodal library of brain biology and function after traumatic stress exposure. Mol. Psychiatry 25, 283–296 (2020).
Li, P. et al. More random motor activity fluctuations predict incident frailty, disability, and mortality. Sci. Transl. Med. 11, 1–10 (2019).
Li, P. et al. Fractal regulation and incident Alzheimer’s disease in elderly individuals. Alzheimer’s Dement. 14, 1114–1125 (2018).
Vahia, I. et al. Identification and evaluation of behavioral symptoms in dementia using passive radio sensing and machine learning. Am. J. Geriatr. Psychiatry 27, S167–S168 (2019).
Riva, G. et al. Affective interactions using virtual reality: the link between presence and emotions. Cyberpsychol. Behav. 10, 45–56 (2007).
Macedonio, M. F., Parsons, T. D., Digiuseppe, R. A., Weiderhold, B. A. & Rizzo, A. A. Immersiveness and physiological arousal within panoramic video-based virtual reality. CyberPsychol. Behav. 10, 508–515 (2007).
Han, K. et al. Measurement of expression characteristics in emotional situations using virtual reality. IEEE Virtual Reality Conference 39, 265–266 (2009).
Bergström, I., Kilteni, K. & Slater, M. First-person perspective virtual body posture influences stress: a virtual reality body ownership study. PLoS ONE 11, 1–21 (2016).
Bullinger, A. H. et al. Stimulation of cortisol during mental task performance in a provocative virtual environment. Appl. Psychophysiol. Biofeedback 30, 205–216 (2005).
Cornwell, B. R., 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 59, 664–666 (2006).
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. 28, 1836–1848 (2008).
Castro, J. E. 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 37, 1209–1223 (2012).
Nasca, C., Bigio, B., Zelli, D., Nicoletti, F. & McEwen, B. S. Mind the gap: glucocorticoids modulate hippocampal glutamate tone underlying individual differences in stress susceptibility. Mol. Psychiatry 20, 755–763 (2015).
Larrieu, T. et al. Hierarchical status predicts behavioral vulnerability and nucleus accumbens metabolic profile following chronic social defeat stress. Curr. Biol. 27, 2202–2210 (2017). e4.
Carnevali, L., Thayer, J. F., Brosschot, J. F. & Ottaviani, C. Heart rate variability mediates the link between rumination and depressive symptoms: a longitudinal study. Int. J. Psychophysiol. 131, 131–138 (2018).
Walker, F. R., Pfingst, K., Carnevali, L., Sgoifo, A. & Nalivaiko, E. In the search for integrative biomarker of resilience to psychological stress. Neurosci. Biobehav. Rev. 74, 310–320 (2017).
Perna, G. et al. Heart rate variability: can it serve as a marker of mental health resilience? J. Affect. Disord. 263, 754–761 (2019).
Ottaviani, C. Brain-heart interaction in perseverative cognition. Psychophysiology 55, 1–14 (2018).
Walker, S. E., 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 84, 1–10 (2017).
Carnevali, L., Koenig, J., Sgoifo, A. & Ottaviani, C. Autonomic and brain morphological predictors of stress resilience. Front. Neurosci. 12, 1–13 (2018).
Beauchaine, T. P. & Thayer, J. F. Heart rate variability as a transdiagnostic biomarker of psychopathology. Int. J. Psychophysiol. 98, 338–350 (2015).
Sessa, F. et al. Heart rate variability as predictive factor for sudden cardiac death. Aging (Albany NY). 10, 166–177 (2018).
Thayer, J. F., Yamamoto, S. S. & Brosschot, J. F. The relationship of autonomic imbalance, heart rate variability and cardiovascular disease risk factors. Int. J. Cardiol. 141, 122–131 (2010).
Thayer, J. F., Åhs, F., Fredrikson, M., Sollers, J. J. & Wager, T. D. 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. 36, 747–756 (2012).
Steptoe, A. & Marmot, M. Impaired cardiovascular recovery following stress predicts 3-year increases in blood pressure. J. Hypertens. 23, 529–536 (2005).
Matthews, K. A., Salomon, K., Brady, S. S. & Allen, M. T. Cardiovascular reactivity to stress predicts future blood pressure in adolescence. Psychosom. Med. 65, 410–415 (2003).
Wood, D. L., Sheps, S. G., Elveback, L. R. & Schirger, A. Cold pressor test as a predictor of hypertension. Hypertension 6, 301–306 (1984).
Dikecligil, G. N. & Mujica-Parodi, L. R. Ambulatory and challenge-associated heart rate variability measures predict cardiac responses to real-world acute emotional stress. Biol. Psychiatry 67, 1185–1190 (2010).
Gerin, W. et al. An historical context for behavioral models of hypertension. J. Psychosom. Res. 48, 369–377 (2000).
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. 63, 737–743 (2001).
Kamarck, T. W. & Lovallo, W. R. Cardiovascular reactivity to psychological challenge: conceptual and measurement considerations. Psychosom. Med. 65, 9–21 (2003).
Ottaviani, C., Shapiro, D., Goldstein, I. B., James, J. E. & Weiss, R. Hemodynamic profile, compensation deficit, and ambulatory blood pressure. Psychophysiology 43, 46–56 (2006).
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 32, 179–195 (2019).
Walsh, R. N. & Cummins, R. A. The open-field test: a critical review. Psychol. Bull. 83, 482–504 (1976).
Crawley, J. N. Exploratory behavior models of anxiety in mice. Neurosci. Biobehav. Rev. 9, 37–44 (1985).
Deacon, R. M. J. The successive alleys test of anxiety in mice and rats. J. Vis. Exp. 2013, 2705 (2013).
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 93, 1043–1065 (1996).
Acharya, U. R., Joseph, K. P., Kannathal, N., Lim, C. M. & Suri, J. S. Heart rate variability: a review. Med. Biol. Eng. Comput. 44, 1031–1051 (2006).
Chalmers, J. A., Quintana, D. S., Abbott, M. J. A. & Kemp, A. H. Anxiety disorders are associated with reduced heart rate variability: a meta-analysis. Front. Psychiatry 5, 1–11 (2014).
Williams, D. P. et al. Resting heart rate variability, facets of rumination and trait anxiety: Implications for the perseverative cognition hypothesis. Front. Hum. Neurosci. 11, 1–10 (2018).
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).
Bergstra, J., Yamins, D. & Cox, D. D. Making a science of model search: hyperparameter optimization in hundreds of dimensions for vision architectures. 30th International Confeence Machine Learning 28, 115–123 (2013).
Lundberg, S. M. & Lee, S. I. A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems 2017-Decem, 4766–4775 (2017).
Lundberg, S. M. et al. Explainable machine-learning predictions for the prevention of hypoxaemia during surgery. Nat. Biomed. Eng. 2, 749–760 (2018).
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).
Cruz, A. P. M., Frei, F. & Graeff, F. G. Ethopharmacological analysis of rat behavior on the elevated plus-maze. Pharmacol. Biochem. Behav. 49, 171–176 (1994).
Rodgers, R. J. & Johnson, N. J. T. Factor analysis of spatiotemporal and ethological measures in the murine elevated plus-maze test of anxiety. Pharmacol. Biochem. Behav. 52, 297–303 (1995).
Stedenfeld, K. A. et al. Novelty-seeking behavior predicts vulnerability in a rodent model of depression. Physiol. Behav. 103, 210–216 (2011).
Kallai, J. et al. Cognitive and affective aspects of thigmotaxis strategy in humans. Behav. Neurosci. 121, 21–30 (2007).
Friedman, B. H. & Thayer, J. F. Autonomic balance revisited: panic anxiety and HRV. J. Psychosom. Res. 44, 133–151 (1998).
Thayer, J. F., Friedman, B. H. & Borkovec, T. D. Autonomic characteristics of generalized anxiety disorder and worry. Biol. Psychiatry 39, 255–266 (1996).
Goette, L., Bendahan, S., Thoresen, J., Hollis, F. & Sandi, C. Stress pulls us apart: anxiety leads to differences in competitive confidence under stress. Psychoneuroendocrinology 54, 115–123 (2015).
Perry, W. et al. A reverse-translational study of dysfunctional exploration in psychiatric disorders: from mice to men. Arch. Gen. Psychiatry 66, 1072–1080 (2009).
Walz, N., Mühlberger, A. & Pauli, P. A human open field test reveals thigmotaxis related to agoraphobic fear. Biol. Psychiatry 80, 390–397 (2016).
Biedermann, S. V. et al. An elevated plus-maze in mixed reality for studying human anxiety-related behavior. BMC Biol. 15, 125 (2017).
Forkosh, O. et al. Identity domains capture individual differences from across the behavioral repertoire. Nat. Neurosci. 22, 2023–2028 (2019).
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).
Robie, A. A. et al. Mapping the neural substrates of behavior. Cell 170, 393–406 (2017). e28.
Hodes, G. E. et al. Individual differences in the peripheral immune system promote resilience versus susceptibility to social stress. Proc. Natl. Acad. Sci. USA 111, 16136–16141 (2014).
Chen, R. J. et al. MicroRNAs as biomarkers of resilience or vulnerability to stress. Neuroscience 305, 36–48 (2015).
Swartz, J. R., Knodt, A. R., Radtke, S. R. & Hariri, A. R. A neural biomarker of psychological vulnerability to future life stress. Neuron 85, 505–511 (2015).
Georgiou, K. et al. Can wearable devices accurately measure heart rate variability? A systematic review. Folia Med. (Plovdiv.). 60, 7–20 (2018).
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, 5952–5955 (2015).
Stumpf, P. S. et al. Mapping biology from mouse to man using transfer learning. bioRxiv https://doi.org/10.1101/2019.12.26.888842 (2019).
Kirschbaum, C., Pirke, K. M. & Hellhammer, D. H. The’Trier Social Stress Test’–a tool for investigating psychobiological stress responses in a laboratory setting. Neuropsychobiology 28, 76–81 (1993).
Schwabe, L., Haddad, L. & Schachinger, H. HPA axis activation by a socially evaluated cold-pressor test. Psychoneuroendocrinology 33, 890–895 (2008).
Huzard, D. et al. Low vagal tone in two rat models of psychopathology involving high or low corticosterone stress responses. Psychoneuroendocrinology 101, 101–110 (2019).
Sprager, S. & Juric, M. B. Inertial sensor-based gait recognition: a review. Sensors (Switzerland) 15, 22089–22127 (2015).
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)
Spielberger, C. Manual for the State-Trait Anxiety Inventory (STAI). 4–26 (Consulting Psychologists Press, Palo Alto, CA, 1983).
Schubert, T. The sense of presence in virtual environments: a three-component scale measuring spatial presence, involvement, and realness. Z. f.ür. Medienpsychol. 15, 69–71 (2003).
Dickerson, S. S. & Kemeny, M. E. Acute stressors and cortisol responses: a theoretical integration and synthesis of laboratory research. Psychol. Bull. 130, 355–391 (2004).
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. 30, 319–325 (2005).
Veit, R. et al. Deficient fear conditioning in psychopathy as a function of interpersonal and affective disturbances. Front. Hum. Neurosci. 7, 1–12 (2013).
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. 7, 527–532 (2012).
Vytal, K. E., Overstreet, C., Charney, D. R., Robinson, O. J. & Grillon, C. Sustained anxiety increases amygdala-dorsomedial prefrontal coupling: A mechanism for maintaining an anxious state in healthy adults. J. Psychiatry Neurosci. 39, 321–329 (2014).
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).
GG, B. et al. Heart rate variability: origins, methods, and interpretive caveats. Psychophysiology 34, 623–648 (1997).
Koenig, J., Williams, D. P., Kemp, A. H. & Thayer, J. F. Vagally mediated heart rate variability in headache patients - a systematic review and meta-analysis. Cephalalgia 36, 265–278 (2016).
Vouros, A. et al. A generalised framework for detailed classification of swimming paths inside the Morris Water Maze. Sci. Rep. 8, 1–15 (2018).
Sheridan, R. P., Wang, W. M., Liaw, A., Ma, J. & Gifford, E. M. Extreme gradient boosting as a method for quantitative structure-activity relationships. J. Chem. Inf. Model. 56, 2353–2360 (2016).
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. 8, 1–21 (2018).
Nishio, M. et al. Computer-aided diagnosis of lung nodule using gradient tree boosting and Bayesian optimization. PLoS ONE 13, 1–13 (2018).
Qiao, Z. et al. Using machine learning approaches for emergency room visit prediction based on electronic health record data. Stud. Health Technol. Inform. 247, 111–115 (2018).
Shahriari, B., Swersky, K., Wang, Z., Adams, R. P. & De Freitas, N. Taking the human out of the loop: a review of Bayesian optimization. Proc. IEEE 104, 148–175 (2016).
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.
The authors declare no competing interests.
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.
About this article
Cite this article
Rodrigues, J., Studer, E., Streuber, S. et al. Locomotion in virtual environments predicts cardiovascular responsiveness to subsequent stressful challenges. Nat Commun 11, 5904 (2020). https://doi.org/10.1038/s41467-020-19736-3
This article is cited by
Molecular Psychiatry (2022)
Molecular Psychiatry (2022)