Abstract
Evading imminent predator threat is critical for survival. Effective defensive strategies can vary, even between closely related species. However, the neural basis of such species-specific behaviours is still poorly understood. Here we find that two sister species of deer mice (genus Peromyscus) show different responses to the same looming stimulus: P. maniculatus, which occupy densely vegetated habitats, predominantly dart to escape, while the open field specialist, P. polionotus, pause their movement. This difference arises from species-specific escape thresholds, is largely context-independent, and can be triggered by both visual and auditory threat stimuli. Using immunohistochemistry and electrophysiological recordings, we find that although visual threat activates the superior colliculus in both species, the role of the dorsal periaqueductal gray (dPAG) in driving behaviour differs. While dPAG activity scales with running speed and involves both excitatory and inhibitory neurons in P. maniculatus, the dPAG is largely silent in P. polionotus, even when darting is triggered. Moreover, optogenetic activation of excitatory dPAG neurons reliably elicits darting behaviour in P. maniculatus but not P. polionotus. Together, we trace the evolution of species-specific escape thresholds to a central circuit node, downstream of peripheral sensory neurons, localizing an ecologically relevant behavioural difference to a specific region of the complex mammalian brain.
To survive in the wild, animals must respond to external sensory stimuli with actions appropriate for their local environment. Variation in behavioural responses may arise through learning, behavioural plasticity, or evolve through heritable changes of the underlying neural circuitry. For the latter, changes in sensory detection and/or processing have been shown to underlie behavioural evolution (e.g., host preference in mosquitos [McBride et al. 2014]; food preference in birds [Baldwin et al. 2014], cockroaches [Wada-Katsumata et al. 2013] and fruit flies [Auer et al. 2020]). When known, these sensory changes are most often due to genetic changes in peripheral sensory systems (e.g., odor or taste receptors, opsins [Tierney 1995; Cande et al. 2013], but see Seeholzer et al. 2018). By contrast, how evolution modifies central neural circuits to alter the innate behavioural responses of animals is less well understood (Roberts et al. 2022).
Visual stimuli have long been used to study defensive behaviours. Perhaps most famously, Tinbergen recorded the behaviour of birds exposed to cardboard models of aerial predators (Tinbergen 1948; Tinbergen 1951). This paradigm has since been modified to study naturalistic antipredator response to overhead visual stimuli under controlled conditions (Schiff et al. 1962; Ball and Tronick 1971; Holmqvist 1994; Hatsopoulos et al. 1995; Yamamoto et al. 2003; Yilmaz and Meister 2013; Temizer et al. 2015; De Franceschi et al. 2016). In this assay, laboratory mice (genus Mus) tend to freeze when exposed to a gliding overhead predator (“sweeping” stimulus), and most often flee or escape when exposed to an attacking predator (“looming” stimulus). Robust behavioural responses, such as these, have been used to uncover the underlying neural circuits, including a key role for the superior colliculus (SC) in translating visual stimuli into appropriate defensive reactions (Westby et al. 1990; Basso and May 2017; Wheatcroft et al. 2022), with projections from the retinorecipient superficial SC (sSC) to, for example, the deep layers of the SC (dSC) and on to the dorsal periaqueductal gray (dPAG; May 2006; Gale and Murphy 2014; Evans et al. 2018; Gale and Murphy 2018; Xie et al. 2021). Notably, dPAG neurons have been shown to command the initiation of escape actions (Lefler et al. 2020).
These defensive behaviours, and their underlying neural circuits, may diverge in species that have evolved in distinct environments, in which different defensive strategies may be more or less effective (Abrams 2000). Deer mice (genus Peromyscus) occupy diverse habitats across North America (Bedford and Hoekstra 2015), including species living in the underbrush of densely vegetated habitats (P. maniculatus) or those specialized for life in exposed, open fields with little to no vegetation (P. polionotus). Using these two ecologically divergent sister species, we show that they differ in behavioural response to the same visual threat and then identify a locus in the neural circuit where evolution has likely acted.
Ecologically distinct Peromyscus species show contrasting defensive strategies
To test if defensive behaviours differ among mice from distinct habitats, we selected two closely related species of Peromyscus: the open field specialist P. polionotus subgriseus, and densely vegetated prairie inhabitant, P. maniculatus bairdii. A third species, P. leucopus, which is largely sympatric with P. maniculatus, was included as an outgroup to determine along which lineage any observed differences evolved (Fig. 1A). To quantify defensive behaviours, we placed wild-derived, laboratory-born adult mice in a large, open arena that included a refuge (i.e., a hut; Fig. S1A) and measured their response to an overhead “sweep-looming” stimulus, which resembles an aerial predator searching for (sweep), and then rapidly descending upon (loom), its prey. During the stimulus’s sweeping phase, mice from all three species generally decelerated and largely remained immobile (Fig. 1B–C; Fig. S1B–C; Fig. S2A–B; Supplemental Movies 1–2). Similarly, we did not observe any species-specific differences in behaviour when mice were exposed to either no stimulus (Fig. S2C) or an innocuous dimming stimulus (Fig. S2D). Conversely, the response to a looming stimulus revealed striking differences between species (Fig. 1B–C; Fig. S1B–C; Supplemental Movies 1–2). Both P. maniculatus and P. leucopus mice accelerated and ran rapidly across the arena (i.e., “darting”), often towards the refuge. By contrast, the open-field specialist, P. polionotus, tended to remain immobile (i.e., “pausing”). Phylogenetic comparison of these behaviours suggests that pausing in response to a looming stimulus is derived, and therefore the change in defensive response likely evolved along the P. polionotus lineage. Because the largest behavioural difference observed was in response to looming, we focused on this threat stimulus for subsequent experiments.
Figure 1. Evolution of defensive behaviour in ecologically distinct Peromyscus species.
(A) Phylogenetic relationship of three focal Peromyscus species with representative photos of their natural habitat. (B) Movement trajectories of individual mice of P. polionotus (n=26), P. maniculatus (n=29) and P. leucopus (n=28) during 0.4 s before stimulus onset (left), sweeping (middle), and looming (right). Speed is indicated by a color gradient. (C) Raster plot of mouse speed during the sweep-looming stimulus (100% contrast). Rows represent individual mice. Trials are sorted by escape onset during the looming stimulus, with earliest on top. Speed color gradient is the same as in (B), with grey indicating the mouse is in the hut. Three grey bars above each raster plot indicate the time period of the trajectories shown in (B), and for looming are centered on the peak mean speed of each species. Line plots represent mean speed ± 95% confidence limit; horizontal shaded lines represent the 95% confidence interval of mean speed averaged across the 60 s before stimulus onset. Sample sizes are the same as (B).
Escape threshold differences underlie the species-specific behaviours
With increasing threat intensity, prey animals often switch from immobility to rapid escape (De Franceschi et al. 2016; Branco and Redgrave 2020). To determine whether P. maniculatus and P. polionotus show similar changes in behaviour, we exposed a new cohort of mice from each species to five repetitions of a looming-only stimulus that varied in contrast (i.e., threat intensity; Fig. 2A; Fig. S2–S3). At low contrast (32%), most individuals of both species paused (14/20 P. maniculatus, 14/18 P. polionotus), while only a few mice darted (5/20 and 4/18, respectively). As the contrast level increased, the proportion of darting animals increased in both species, but the rate of change differed significantly between the species (Fig 2A). For example, at intermediate contrast (72%), most P. maniculatus (24/25) but few P. polionotus (4/23) darted, whereas, at high contrast (100%), the proportion of mice that darted was not significantly different between species (24/27 P. maniculatus, 19/27 P. polionotus). However, even at high contrast, the onset of darting was significantly delayed in P. polionotus (Fig. 2B; Supplemental Movie 3). Notably, contrast sensitivity curves obtained from single neuron recordings in the sSC did not differ between the two species, suggesting that a difference in stimulus detection does not explain the species-specific behavioural responses (Fig. 2C, Fig. S4). Together, we find that both species are more likely to pause at low and dart at high threat levels, but that the threat level (“threshold”) at which each species switches from pausing to darting differs: P. maniculatus transition to escape behaviour at an approximately two-fold lower threat intensity than P. polionotus.
Figure 2. Escape threshold differences underlie species-specific behaviour.
(A) Behavioural response to visual threat of varying intensity (looming contrast: 32%, 72%, 100%). Rows represent individual mice of P. polionotus (left) and P. maniculatus (right). Trials are sorted by latency to darting threshold. Proportion of individual mice of P. polionotus (gold) and P. maniculatus (blue) showing darting (top) and pausing (bottom) across these and additional contrast levels (far right). (B) Cumulative proportion of individual mice showing darting during 100% contrast looming stimulus. (C) Normalized peak firing rates of sSC neurons in head-fixed mice exposed to looming stimulus at different contrasts (n=3 animals for each species). Medians and 25–75% quantile ranges are indicated for each species. Firing rates are normalized to 0 for background firing and 1 for maximal response. (D-F) Raster plots and cumulative proportion of individual mice showing darting and pausing during a single looming stimulus (100% contrast) in the presence of hut (D), in the absence of hut (E), and during a sound frequency upsweep (F). Chi-Squared test (proportion, cumulative proportion), Kolmogorov-Smirnov test (darting onset distribution), Wilcoxon rank-sum test (firing rate). n.s. not significant; * P < 0.05; ** P < 0.01; *** P < 0.001; **** P < 0.0001.
We next asked if spatial context and/or stimulus modality affect the observed differences in defensive behaviour. First, we compared the response to the looming stimulus of two new cohorts of mice that either had access to a refuge or not. In the absence of a hut, the species-specific responses were recapitulated (darting with hut: 21/28 P. maniculatus, 6/26 P. polionotus; darting without hut: 17/23 P. maniculatus, 1/20 P. polionotus) (Fig. 2D–E; Supplemental Movies 4–5), suggesting that differences in the perception of safety afforded by the refuge is not driving the species-specific response. To determine if the observed behavioural differences are specific to visual stimuli, we exposed a new cohort of mice to an aversive ultrasound frequency upsweep (Mongeau et al. 2003; Vale et al. 2017). Again, we observed remarkably similar species-specific behaviour: many P. maniculatus accelerated and some darted (12/24 darted, 5/24 paused), while P. polionotus primarily paused (1/19 darted; 15/19 paused) (Fig. 2F; Supplemental Movies 6–7). Collectively, these data suggest that the species-specific behaviour is consistent with context- and modality-independent differences in escape threshold.
Differential activation of dPAG during escape behaviour
We next sought to identify the neural circuit component(s) where evolution acted to generate the observed differences in defensive behaviour. Our electrophysiological recordings in head-fixed mice suggest that visual threat information is faithfully relayed to the retinorecipient sSC in both species (Fig. 2C). Moreover, we found that an aversive auditory stimulus can recapitulate the visually triggered behaviour, suggesting the neural mechanism is likely located downstream of visual and auditory inputs (Fig. 2F). Because the medial dSC and dPAG play a central role in mediating escape behaviours in response to both visual and auditory stimuli in rodents (Sahibzada et al. 1986; Coimbra et al. 1989; Vargas et al. 2000; Bittencourt et al. 2005; Shang et al. 2015; Wei et al. 2015; Deng et al. 2016; Evans et al. 2018), we hypothesized that differences in the recruitment of the dSC-dPAG pathway could explain the species-specific responses at the behavioural level.
To test this hypothesis, we characterized neural activation in the dSC and dPAG during a darting response, using the immediate-early gene c-Fos as a proxy (Bullitt 1990). We first confirmed that prolonged exposure to high contrast looming stimuli triggered repeated darting in both species (as in Fig. 2). After dark adaptation, we exposed individuals to 25 sets of 5 looming stimuli and recorded their behavioural responses (Fig. 3A). As expected, P. maniculatus darted more often and faster than P. polionotus, but darting mice (with more and faster darts than control animals) could be identified in both species (Fig. 3B). In a subset of these mice (Fig. S5A), representing the species-typical responses, we counted the number of c-Fos+ cells (Fig. 3C). First, in looming-exposed mice of both species, we found higher numbers of c-Fos+ cells, compared to control mice, in the medial dSC, but not the lateral dSC, which view the upper and lower visual field, respectively (Dräger and Hubel 1975), consistent with the overhead position of the looming stimulus (Fig. 3D; Fig. S5B–E). In the medial dSC, the number of c-Fos+ cells correlated with mean speed during darting but not species identity (Fig. S5F). Thus, the dSC was active in looming-exposed mice, but levels of neural activation did not differ between species.
Figure 3. Differential activation of dPAG neurons during escape behaviour.
(A) Behavioural setup and schematic of assay to measure neural activation during escape. Two focal midbrain regions are shown: dmSC (orange) and dPAG (green). (B) Number of darts (left) and mean speed during darting (right) of P. maniculatus (blue) and P. polionotus (gold). Data from mice that were included in the c-Fos experiment are indicated with filled circles (looming, P. maniculatus, n=9; P. polionotus, n=15; control, n=6 for both species). (C) Representative images of c-Fos expression in dmSC and dPAG. Scale bar, 500 μm. Dashed white boxes indicate regions that are enlarged in (D-E). (D-E) Images (left) and quantification (right) of c-Fos+ cells in the dmSC (D) and dPAG (E) of control and looming-exposed mice. Sample sizes are reported in (B). (F) Quantification of c-Fos+ cells in dPAG as a function of number of c-Fos+ cells in dmSC of looming-exposed mice. (G) Number of c-Fos+ cells in dPAG as a function of mean speed during darting in looming-exposed mice. (H) Representative images of c-Fos (top), Gad1 (middle) and merged (bottom) staining in the dPAG. Yellow arrows indicate positively (or double) stained cells. Scale bar, 50 μm. (I) Proportion of c-Fos+ excitatory (VGluT2; top) and inhibitory (Gad1; bottom) dPAG neurons in control and strongly escaping mice. Model fit and 95% confidence interval are shown. Points represent tissue sections (n=6–9 sections from 3 mice per species). (J) Enrichment index [proportion of excitatory/inhibitory neurons that co-express c-Fos divided by the overall proportion of c-Fos+ neurons] for excitatory (top) and inhibitory (bottom) neurons in dPAG of strongly escaping mice. Statistical significance evaluated with mixed effects models. n.s. not significant; * P < 0.05; ** P < 0.01; *** P < 0.001; **** P < 0.0001.
In contrast, the dPAG showed species-specific differences in neural activation. Overall, the number of c-Fos+ cells was high in looming-exposed P. maniculatus, but low in P. polionotus, similar to control animals (Fig. 3E; Fig. S5G–H). Variation in dPAG activation across looming-exposed mice correlated with dSC activation and mean speed during darting, but not with the number of darts (Fig. 3F–G; Fig. S5I; see also Fig. S6). However, dPAG activation in P. maniculatus was consistently ~1.5-fold higher compared to P. polionotus across dSC activation levels or darting speeds (Fig. 3F–G). Thus, exposure to visual threat and resulting escape movement does not lead to an increase in c-Fos+ levels in the dPAG of P. polionotus to the same extent as in P. maniculatus.
In Mus, excitatory neurons in the dPAG can initiate rapid escape (Deng et al. 2016; Evans et al. 2018). Using single-molecule fluorescent in situ hybridization, we examined the transmitter identity of c-Fos+ neurons in mice with the strongest escape responses and c-Fos+ levels (Fig. 3H). We found that both species possess comparable numbers of excitatory and inhibitory neurons in the dSC and dPAG, and both classes are activated in the dSC of the same animals during visually evoked escape (Fig. S7). However, while excitatory dPAG neurons were activated in both species, a greater number of c-Fos+ inhibitory neurons was detected in the dPAG of looming-exposed P. maniculatus, but not in P. polionotus, compared to control animals (Fig. 3I). In addition, inhibitory neurons in looming-exposed P. maniculatus were approximately 1.5-fold more frequently activated than dPAG neurons in general (Fig. 3J). Together, these immunohistochemistry results suggest that visually-evoked darting in P. polionotus does not recruit the same ensemble of dPAG neurons that is activated in P. maniculatus.
To measure neural activity directly and to disentangle the effects of visual threat exposure and behavioural response, we next used Neuropixels probes to record from the SC and dPAG in head-fixed mice that were running on a spherical treadmill and intermittently exposed to looming stimuli (Fig. 4A and S8). Visual responses to looming stimuli were found in the SC and dPAG of both species (Fig. 4B), and both the neural responses (Fig. 4C and S9) and behavioural reactions (Fig. S2D) to looming were stronger than responses to an innocuous dimming stimulus, consistent with results in Mus (Yilmaz and Meister 2013; Lee et al. 2020). To explore the relationship of dPAG activity and motor behaviour, we examined time periods when mice initiated running, in the absence of visual stimulation, after a period of slow walking or immobility (Fig. 4D, top row). Single neurons (Fig. 4D bottom) as well as the population of dPAG neurons (Fig. 4E) increased their activity during these running periods in P. maniculatus but not in P. polionotus. Consistent with results from immunohistochemistry, neural activity correlated with movement only in P. maniculatus (Fig. 4F; Fig. S10). Furthermore, a comparison of running speed and neural firing patterns revealed that neural activity in the dPAG of P. maniculatus precedes the onset of running (Fig. 4G; Fig. S10).
Figure 4. Species-specific encoding of locomotion in the dPAG.

(A) Schematic of setup to record neural activity and running speed. Mice were head-fixed on a floating ball and presented with looming/dimming stimuli. (B) Representative responses to dimming (left) and looming (right) stimuli of one cell in the dPAG for P. maniculatus (blue) and P. polionotus (gold). (C) Looming selectivity of neurons in the SC and PAG for looming and dimming stimuli. Indices for sSC, dSC and dPAG are similar for both species (P > 0.1 for each, two-sample Kolmogorov-Smirnov test). Bottom: Distributions indicate looming selectivity indices for each tested mouse (P. maniculatus, n=4; P. polionotus, n=3). Dashed vertical line represents selectivity index = 0. (D) Speed and neural activity during onset of running. Mean ± STD of running speed (top row) around running onset (n=3 animals for each species). Raster plot (middle row) and mean ± STD (bottom row) of an example neuron in the dPAG. Scale bar: 10 spks/s. (E) Mean z-score of all dPAG neurons in all mice (P. maniculatus, blue; P. polionotus, gold), overlayed with the speed trace (black). Scale bar: 0.1. Inset shows neural activation precedes behaviour. (F) Correlation coefficient of speed with z-score of mean neural activity in the dPAG. Mean (horizontal line) and estimated 95% confidence intervals (vertical line) are shown relative to zero (dashed line) (see also Fig. S10C). (G) Difference in z-score in 600 ms before running onset. Mean (horizontal line) and estimated 95% confidence intervals (vertical line) are shown relative to zero (dashed line) (see also Fig. S10D). * P < 0.05 unpaired median difference Gardner-Altman estimation.
Taken together, results from immunohistochemistry and electrophysiology indicate that visual threat can trigger neural activity in the dSC and dPAG of both species. However, while dPAG neurons encode running events and darting in P. maniculatus, dPAG activity does not correlate with the initiation of running or escape behaviour in P. polionotus, suggesting the dPAG may contain the neural circuits on which evolution has acted.
Optogenetic activation of excitatory dPAG neurons recapitulates species differences
To investigate the causal role of the dPAG in mediating behaviours, we optogenetically activated neurons in the dPAG of both P. maniculatus and P. polionotus. An AAV2 vector was injected bilaterally into the dPAG to express channelrhodopsin in excitatory neurons, under the control of the CamKII promoter (Fig 5A; Fig. S11, Fig. S12). Using a centrally implanted optic fiber (Fig. 5B), we stimulated the dPAG as mice moved freely in a circular arena. The trajectory and speed of mice was extracted, and each trial was classified as forward movement, slowing or “other” based on the behaviour of the animal during the stimulation (Fig. 5C–E, Fig. S12, Suppl. Movies 8–12; see Methods). Similar to our observations during visual stimulation, we found that while P. maniculatus exhibited more forward movement during the optogenetic stimulation compared to controls, P. polionotus did not (Fig. 5F). Instead, P. polionotus tended to slow or pause during stimulation (Fig. 5G). These species-specific differences in evoked behaviours were also evident when comparing the distribution of speed change (Fig. 5H, Fig. S13). Consistent with c-Fos+ levels (Fig 3), increasing laser power during optogenetic stimulation triggered faster forward movement events in P. maniculatus, while the speed of both forward accelerations and slowing events decreased in P. polionotus (Fig. 5I–J and S13). These findings, together with the c-Fos analysis and in vivo electrophysiological recordings, demonstrate that while the dPAG plays an important role in mediating forward acceleration, including running behaviours, in P. maniculatus, it does not play the same role in P. polionotus.
Figure 5. Optogenetic activation of excitatory dPAG neurons recapitulates species differences.
(A) Experimental paradigm for optogenetic activation of the dPAG. (B) YFP-ChR2+ neurons (green) and optic fiber tract (blue) in the dPAG. Scale bar: 400 μm (top image), 200 μm (bottom image). (C) Example trajectories of individual mice showing forward movement (i and ii; see Suppl. Movie 8 and 9) and slowing (iii and iv; see Suppl. Movie 10 and 11). Color indicates time before (greens) and during (reds) laser stimulation. (D) Speed traces of mice corresponding to example trajectories in C. (E) Raster plot of normalized speed of all trials classified as ‘forward movement’ (left) or ‘slowing’ (right). Speed was normalized to the 0.37 s before laser stimulation (‘pre’) and is indicated by a color gradient. (F-G) Percentage of trials with forward movement (F) and slowing (G) behaviour for P. maniculatus (left; triggered, n = 7; control, n = 6) and P. polionotus (right; triggered, n = 8; control, n = 5). Means (horizontal lines) for control and triggered mice and estimation statistics (unpaired mean difference Gardner-Altman estimation) are shown; distribution represents 5000 bootstrapped samples. Mean difference (black dot) and confidence intervals (vertical black line) are provided. (H) Cumulative distribution of speed index (SI; see Suppl. Fig. 13) for SI>0 (left) and SI<0 (right) for P. maniculatus (blue; triggered: n = 706 trials [n = 7 mice], control: n = 138 [n = 6]) and P. polionotus (gold; triggered: n = 568 trials [n = 8 mice], control: n = 215 [n = 5]). Individual mice are shown as thin lines; cumulative distributions of all trials as thick lines (triggered) or thick dashed lines (control). (I) Cumulative distribution of maximum speeds for trials with SI>0 at three different ranges of laser power (0–4, 4–10, 10–25 mW) for P. maniculatus (blue) and P. polionotus (gold), separately. (J) Cumulative distribution of minimum speeds for trials with SI<0. * P < 0.05, ** P < 0.01, **** P < 0.0001, two-sample Kolmogorov-Smirnov test.
DISCUSSION
Here we show that ecologically distinct, yet closely related, species of deer mice evolved species-specific differences in defensive behaviour. Specifically, when exposed to a looming stimulus, P. polionotus requires a higher threat intensity to reliably trigger a darting response relative to both P. maniculatus and P. leucopus.
It is possible that the observed species-specific behaviour evolved via natural selection. In dense fields or forests, escape (e.g., darting to a refuge) may increase survival probability, whereas in open environments, with fewer refuges, movement may be conspicuous and pausing/freezing could minimize predator detection. However, when exposed to an intense threat (i.e., imminent attack), escape may be the only survival option. This explanation is consistent with the observation that Mus are more likely to freeze in the absence of a refuge (Vale et al. 2017), and more broadly with the distinct strategies observed in other species to avoid predator detection in different environments (Wywialowski 1987; Lima and Dill 1990; Wheatley et al. 2020).
A central question remains: where are these ecologically relevant behavioural differences encoded in the brain? Two observations suggest that the neural mechanism is located centrally. First, visual looming stimuli trigger similar patterns of neural activity across the entire depth of the SC. Second, both visual and auditory stimuli evoked similar species-specific behavioural responses. Together, these data indicate that the key neural mechanism lies downstream of both the retina and the confluence of sensory inputs in the dSC. This is different from the many studies (Seehausen et al. 2008; Montgomery et al. 2021; Lloyd et al. 2022) that link behavioural evolution to peripheral sensory systems. Indeed, we find differences – in both neural activity and optogenetic manipulation – that point to the dPAG, a subregion of the PAG specifically implicated in driving escape behaviour (Branco and Redgrave 2020), as the likely locus of evolution.
There are several hypotheses for how the dPAG may differ between Peromyscus species. First, the dPAG may receive different input (e.g., in the number or strength of projections from the SC). However, we found that the dPAG is similarly activated in both species when animals were head-fixed and exposed to a visual looming stimulus, suggesting the dPAG receives the same input from the SC. Second, the two species may differ in the number of excitatory cells in the dPAG; in Mus, activation of excitatory cells leads to an escape response (Evans et al. 2018). However, we do not find a measurable difference in the number of excitatory (or inhibitory) neurons in the dSC or dPAG. Third, the properties of excitatory neurons or their circuit connections may be different in the two species. For example, the intrinsic excitability of neurons could differ (Burnett et al. 2022), or be held at different levels through long-range inhibitory projections from other brain regions (Tovote et al. 2016; Fadok et al. 2017; Fratzl et al. 2021; Salay and Huberman 2021; Li et al. 2022). Alternatively, the role of the dPAG in the circuit could be reversed, for example, through changes in local wiring or in long-range projections, such that exposure to the same threat triggers distinct neural computations and defensive responses. Future work is aimed at determining the molecular mechanisms that explain why incoming threat information is not sufficient to engage the ensemble of excitatory and inhibitory dPAG neurons in P. polionotus, unlike P. maniculatus, to initiate escape behaviour.
Here we show that ecologically distinct deer mice evolved species-specific defensive behaviours and trace this difference to a central brain region, the dPAG. Together our data suggest that evolution can tinker with a behaviour dial by shifting the threshold between two conserved behaviours – pausing and darting – to fine-tune defensive response in different environments, providing a rare example of a central brain region linked to natural variation in a sensory-driven behaviour.
MATERIAL & METHODS
Mouse strains & husbandry
Colony founders of P. maniculatus bairdii (strain BW), P. polionotus subgriseus (strain PO), and P. leucopus (strain LL) were originally obtained from the Peromyscus Genetic Stock Center at the University of South Carolina and then established and maintained at Harvard University. Behaviour, c-Fos and RNAscope experiments were performed at Harvard and, later, optogenetics and in vivo recording experiments at Neuro-Electronics Research Flanders (NERF).
Housing at Harvard University: We housed all animals on Bed-o’Cobs 1/4” bedding (The Andersons, Maumee, Ohio) in ventilated standard rodent cages (Allentown Inc., Allentown, NJ) on a 16 hr light: 8 hr dark cycle at 23°C. We provided animals with a red translucent polycarbonate hut, Enviro-Dri nesting material, and a cotton nestlet. All animals were given ad libitum access to irradiated Prolab Isopro RMH 3000 5P74 (LabDiet) and water.
Housing at NERF: Animals were housed on Lignocel 3–4 bedding (J. Rettenmaier & Söhne GmbH, Germany) in ventilated standard rodent cages on a 12 hr light:12 hr dark cycle at 23°C. Animals were provided with cotton nesting material. All animals were given ad libitum access to chow diet (ssniff, Soest, Germany) and water.
After weaning litters at 23 days of age, we kept same sex animals in groups of up to five individuals by strain, unless otherwise indicated.
Behaviour experiments
Experimental setup
To assay behavioural response to a visual stimulus, we constructed a rectangular behavioural arena from plexiglass that measured 45 cm (W) × 30 cm (D) × 30 cm (H), adapted from (Yilmaz and Meister 2013). We attached a triangular prism-shaped hut (24 cm [W] × 18 cm [D] × 12 cm [H]) to one corner of arena floor. To reduce reflection, we covered the arena walls and floor with Matte Finish (Krylon). To illuminate the arena, we lined the outside base of the walls with infrared light (IR) LED strips. To record behaviour from below the arena, we made the ground floor of IR-transmissive black plexiglass and used an IR-sensitive camera (Flea3 FL3-FW, monochrome, Point Grey Research) to record at 30 fps. We programmed visual stimuli with Psychtoolbox-3 for Matlab (Brainard 1997; Kleiner et al. 2007) and displayed them on an LCD monitor from above the arena. Finally, we triggered an LED (invisible to the mouse) simultaneous to the visual stimulus through an Arduino Uno connected to the computer, which we used to synchronize individual frames with the stimulus. We generated sound stimuli with a power amplifier (TB10A, Fosi Audio) connected to a tweeter (Pro-TW120, DS18).
Experimental procedure
Before each behavioural experiment, animals were left undisturbed in their cage for 24 hrs. We conducted all experiments within the first 4 hrs of the dark period (Zeitgeber time) and in red light. We habituated animals to the experiment room for 30 mins, and then transferred a single individual to the behavioural arena, where it habituated for 10 mins. We triggered the stimulus manually when the mouse moved away from the walls towards the center of the arena and recorded the behaviour of the mouse for 2–3 mins before and after the stimulus was triggered. Once testing was complete, we moved the individual to an empty cage and wiped out the arena with 70% ethanol. We then assayed the remaining individuals in the cage following the same protocol.
For the contrast experiment, we randomly assigned a new cohort of mice and exposed each mouse once to a contrast level. Approximately 1 week (range of 5–11 days) after the first exposure, we again randomly assigned the same individuals to a different contrast level and exposed them once. We employed this approach to both minimize habituation from repeated testing and to reduce the number of animals needed for the experiment.
For all other experiments (sweep-looming, looming with hut, looming without hut, dimming, auditory), we used new cohorts of naïve animals and exposed individuals to the stimulus only once.
To determine which brain region(s) show activity correlated with behavioural response, we collected the brains of animals following their exposure to the overhead stimulus. To this end, we single-housed animals in a new cage the day before the experiment. On the test day, we dark habituated the animals by moving their cage in the test room for 4 hrs. We then gently transferred animals to the arena, with the hut closed off. After 10 mins of habituation, we triggered the stimulus. We recorded the behaviour of animals during the complete trial. We then transferred animals back into the cage and transcardially perfused them after 90 mins in the dark (see below).
Stimuli
To quantify response to a visual stimulus, we first conducted an assay with a combined sweep-looming stimulus (De Franceschi et al. 2016). The stimulus was a black disc on gray background with a diameter of ~4° visual angle (approximately 2.2 cm) that first appeared in one corner of the computer screen and slowly moved diagonally at a speed of 10°/s. Once the disc reached the center of the screen, it rapidly expanded to a diameter of 40° visual angle (approximately 22 cm) at a linear speed of 36°/s. The disc then remained at full diameter for 2 s before disappearing. We chose these parameters because preliminary experiments revealed that they maximized the difference in behavioural response between the two focal species.
To measure the behavioural response of animals to different levels of threat, we altered the contrast of the looming disc by changing its intensity against the standard gray background. Intensity is indicated as a positive percentage, converted from the negative Weber fraction (Evans et al. 2018). We used different contrast levels of the looming disc: 32%, 55%, 72%, 86%, 100%, with one additional contrast level for each species within its dynamic range (P. maniculatus: 45%; P. polionotus: 97%). Contrast values were validated with a digital illuminance meter (LX1330B, Dr. Meter). The stimulus is comprised of 5 repeats of the standard looming stimulus, with a remain time at full diameter of 0.5 s and an inter-stimulus period of 0.5 s (Evans et al. 2018).
To test the behavioural response to an aversive auditory stimulus, we exposed animals in the looming arena to an ultrasound frequency upsweep (17–20 kHZ over 1.3 seconds, repeated five times; 80 dB at arena floor), while the visual screen displayed a gray background (Mongeau et al. 2003; Vale et al. 2017).
To test the effect of a refuge on behavioural response, we exposed animals to a single looming stimulus (black disc on gray background) in the presence of the hut. As before, the stimulus remained at full diameter for 2 s before disappearing. To test the effect of the absence of a refuge, we closed off the hut and exposed animals to the same single looming stimulus.
To test the behavioural response to a non-moving, innocuous visual stimulus, we used a disc of fixed size (diameter of 40°) that appeared in the center of the screen, initially matching the gray background but then changing to black over 1 s and remaining black for 2 s before disappearing.
To quantify c-Fos levels after defensive behaviour, we exposed animals to 125 repeats of the standard looming stimulus, structured into 25 sets of 5 repeats, with a remain time at full diameter of 0.5 s, an inter-stimulus period of 0.5 s within sets, and an inter-set period of 3 s. Control animals were exposed to only the standard gray background.
Analysis
To characterize the behavioural response of an animal to the stimulus, we used a custom Matlab code to retrieve centroid coordinates of the animal and the status of the stimulus from the video recordings. We calculated the speed of each animal from these coordinates and smoothed the data using a mean filter with a width of 5 frames.
We defined and automatically annotated “darting” behaviour as a speed ≥ 56 cm/s, and “pausing” behaviour as a speed of ≤ 3.28 cm/s for at least 0.4 s while the animal was outside the hut (see Fig. S2). We arrived at these definitions by comparing behaviour during exposure to a single looming stimulus to baseline behaviour. Specifically, we analysed a video segment for each animal with a duration of 1 s that preceded stimulus exposure by 1–2 mins. We selected video segments that matched our criterion for triggering a stimulus (see above; i.e., when the animal moved away from the walls towards the center of the arena). We recorded escape speed as the maximum speed during the darting event.
For the sweep-looming experiment, trials in which the animal was in the hut at the onset of the looming stimulus were removed (P. maniculatus, N=1; P. polionotus, N=3; P. leucopus, N=8); we compared only animals that were exposed to the full stimulus.
For the contrast looming experiment, we removed trials for which two independent observers did not unanimously confirm a discernible response (i.e., interruption or commencement of body movement) during the first looming repeat from the dataset (P. maniculatus, N=18; P. polionotus, N=50) to compare only animals that detected the stimulus. We detected a significant effect of both species and contrast level on the probability of a discernible response (logistic regression; species: z = −4.65, P = 3.36*e−6; contrast level, z = 5.56, P = 2.75*e−8; see Fig. S3A for % discernible response by contrast for each species).
To test for the effect of the presence/absence of a hut, we removed animals that did not show evidence of detecting the stimulus (hut present: P. maniculatus, N=1; P. polionotus, N=1; hut absent: P. maniculatus, N=0; P. polionotus, N=2).
c-Fos experiments
Immunohistochemistry and imaging
To measure neuronal activity of animals exposed to a looming stimulus, we used the immediate early gene, c-Fos, as a marker of neuronal activity. Following the behaviour experiment described above, we transcardially perfused mice with ice-cold 1x phosphate-buffered saline and then with 4% paraformaldehyde. Brains were dissected out, postfixed for 24 hrs at 4°C, cryopreserved in 30% sucrose, and stored at −70°C until subsequent use. To stain for c-Fos protein, we sectioned brains at 40 μm, blocked tissue for 1 hr, and incubated sections for 2 days with rabbit anti-c-Fos antibody (1:4000, Synaptic Systems, 226003). We used donkey anti-rabbit Alexa 647 antibody (1:1000, Invitrogen, A31573) for secondary detection and mounted tissues with DAPI Fluoromount-G (SouthernBiotech, 0100–20). Slides were imaged on an AxioScan.Z1 slide scanner (Zeiss).
Analysis
Following imaging, we exported images to .tif format and arranged sections into anterior-posterior order with the ImageJ plugin TrakEM2 (Cardona et al. 2012). We manually outlined ROIs with custom Fiji (Schindelin et al. 2012) macros based on landmark structures identified using autofluorescence patterns and DAPI staining. To segment images, we used the ImageJ plugin StarDist (Schmidt et al. 2018) with default parameters (model – versatile, normalize image – yes, percentile low – 1, percentile high – 99.8, probability – 0.5, overlap threshold – 0.4), which automatically detects cells using neural network models with star-convex shape priors. For each identified cell in the dataset, we retrieved the area, X/Y coordinates, and mean intensity. We filtered out large artefacts that were incorrectly identified as cells by removing objects with an area of > 180 μm2. For each ROI and section separately, we then counted cells with mean intensities larger than the mode of the density function of mean intensities as c-Fospositive. We chose this approach to remove cells with low c-Fos expression and to make cell counts robust against batch effects (e.g., different baseline c-Fos expression levels across experiments).
Single-molecule fluorescent in situ hybridization (smFISH)
Experimental procedure
To determine if c-Fos+ cells were excitatory or inhibitory neurons, we selected, from our previous c-Fos experiment, three individuals of each species that showed the most extreme darting behaviour in response to the 5 min looming stimulus as well as three control animals for combined smFISH-IHC processing. We obtained six sections (thickness 14 μm) from each animal, and then used half to detect NeuN, Gad1, and c-Fos, and the other half to detect NeuN, VGluT2, and c-Fos. Seven of the 72 sections did not have reliable staining and were excluded from the dataset. To determine if AAV2+ cells were primarily excitatory or inhibitory, we injected three animals of either species with the viral vector (see ‘Virus injection and fiber implantation’ under ‘Optogenetic activation experiments’) and then obtained six sections (thickness 14 μm) from each animal and used half to detect Gad1 and YFP, and the other half to detect VGluT2 and YFP.
smFISH protocol
We used the RNAscope Multiplex Fluorescent Reagent Kit v2 with the RNA-Protein Co-Detection Ancillary Kit for co-detection of mRNA and protein. For smFISH, we used custom-made RNAscope probes for Gad1, VGluT2 (Slc17a6), and NeuN (Rbfox3). Probes were based on the coding sequence of each gene, and single-nucleotide polymorphisms were included by alternating between species (P. maniculatus, P. polionotus). For IHC, we used the rabbit anti-c-Fos (1:100, Synaptic Systems, 226003) and rabbit anti-GFP (1:100, Thermo Fisher, A-11122) antibodies to detect c-Fos protein and the YFP tag in the viral vector, respectively, and HRP-labeled goat anti-rabbit antibody (1:500, PerkinElmer, NEF812001EA) for secondary detection. We visualized RNA probes and antibodies with Opal 520, Opal 570, and Opal 690 dyes (1:1000, Akoya Biosciences, FP1487001KT, FP1488001KT, FP1497001KT), and counterstained with DAPI. Regions of interest (mSC, dPAG) were imaged on a LSM 700 laser scanning confocal microscope (Zeiss), with Z-stacks of 21 slices spaced at 0.99 μm. We then used QuPath v0.2.3 to quantify the overlap of FISH and IHC signals in the maximum projection images.
Analysis
For the c-Fos/RNAscope experiment, we assigned neuron and transmitter identity to cells by defining section-specific cutoffs as the mode of the density function of the log-transformed distribution of RNA punctae number minus half (for NeuN) or one time (for VGluT2, Gad1) the standard deviation of the distribution of RNA punctae number. We defined cells as neurons or as excitatory/inhibitory when they had at least three NeuN or VGluT2/Gad1 punctae, respectively, and exceeded the section-specific cutoffs. From this dataset, we then calculated the following three variables: percent of neurons that co-express a given transmitter, percent of transmitter-positive neurons that co-express c-Fos, and enrichment ratio (percent of transmitter-positive neurons that co-express c-Fos, divided by percent of neurons that co-express c-Fos). For the complete dataset, we then generated a mixed-effects linear model [response ~ (variable + species + stimulus + transmitter + brain region)5 + section ID] using the R package lme {lme4}, and evaluated the model by contrasting stimulus (percent of transmitter-positive neurons that co-express c-Fos) or species (percent of neurons that co-express a given transmitter, enrichment ratio) with emmeans {emmeans} and contrast {emmeans}. We adjusted P-values with the Benjamini-Hochberg method.
In vivo Neuropixels probe recordings
Head-post surgery
Three animals of each species (2–4 months old) were anesthetized with isoflurane (Iso-vet; 3% for induction, 1–3% during surgery), placed into a stereotaxic system (Narishige, SR-5N), and given dura tear (Novartis, 288/28062–7) to protect their eyes. After removing the hair on the head with depilation creme, we injected lidocaine (Xylocaine 0.5%, 0.007mg/g) under the skin above the skull and then incised the scalp along the midline to reveal the skull. A metal headpost was fixed on the skull using dental cement (Superbond C&B, Prestige-dental). The animals received a single injection of buprenorphine (0.2 mg/kg I.P.) and Emdotrim in the drinking water for the next 3–5 days.
Experimental procedure
After at least 3 days of recovery, the animals were anesthetized briefly and a craniotomy above the SC was performed using a dental drill. Still under anesthesia, we transported the animals to the recording setup, where they were fixed with their headpost on a ball floating on air (polystyrene white ball, 20 cm diameter). In some cases, we repeated recordings again on later days; in these cases, we briefly anesthetized the animal in its cage and transported it to the recording setup.
A Neuropixels probe phase 3A (imec, Belgium (JUN et al. 2017)) coated with a fluorescent dye (DiD, DiI or DIO, Thermofisher) was lowered slowly into the right SC and dPAG. We targeted the center of the SC based on anterior-posterior coordinates and the midline to detect responses to the upper visual field and in the dPAG. We then covered the exposed brain and skull with artificial cerebrospinal fluid (150mM NaCl, 5mM K, 10mM D-glucose, 2mM NaH2PO4, 2.5mM CaCl2, 1mM MgCl2, 10mM HEPES adjusted to pH 7.4 with NaOH).
This setup allowed animals to walk and run on the ball, with tight control over their field of view. After 20 mins, we presented visual stimuli on a 32-inch LCD monitor (Samsung S32E590C, 1920×1080 pixel resolution, 60 Hz refresh rate, average luminance of 2.6 cd/m2) placed 35 cm in front of the animal’s left eye (covering 90° of azimuth and 70° of altitude) while recording the neural activity and the movement of the animal on the ball with two motion sensors (Tindie, PMW3360). We recorded the 384 electrodes (16 μm lateral spacing, 20 μm vertical spacing) at the tip of the probe, covering 3840 μm in depth. Signals were recorded at 30 kHz using the Neuropixels headstage (imec), base station (imec), and a Kintex-7 KC705 FPGA (Xilinx). High frequencies (>300 Hz) and low frequencies (<300 Hz) were acquired separately. To select the recording electrodes, adjust gain corrections, observe online recordings, and save data, we used SpikeGLX software (https://billkarsh.github.io/SpikeGLX). We simultaneously recorded the timing of visual stimulation using digital ports of the base station.
Following these recordings, the animals were euthanized, and the probe location was verified by confocal images of the fluorescent dye in 200 μm thick slices stained with DAPI. We included recordings only in cases in which the probe went through the sSC and dSC as well as the dPAG, and in which we could detect clear light responses in the SC.
Visual stimuli
Visual stimuli were presented on a gray background and were controlled by Octave (GNU Octave) and Psychtoolbox (http://psychtoolbox.org; (Brainard 1997; Pelli 1997)). Here, we analysed visual responses to 10 repetitions of a black looming disk (from 4° to 50° visual angle in 0.3 s; the disk stayed at full size for 0.5 s before a 3 s gray background) and a dimming disk that stayed at a size of 50° visual angle and changed from gray to black within 0.3 s. All animals were tested under dim daylight conditions (normal screen brightness or 1 log unit darker). For some animals, we conducted additional recordings under moonlight conditions (3–4 log units darker). We used all light conditions to test for a correlation between running speed and neural activity; however, we used only daylight conditions for visual response analysis. To measure contrast response curves, we displayed looming disks of different contrasts in a randomized order with randomized inter-stimulus times of 3–7 s, resulting in 8–12 repetitions of each contrast (5, 15, 25, 35, 45, 60, 75, 90, 97% Weber contrast).
Analysis
Spike sorting.
We sorted the high-pass filtered neural data using Kilosort2 (Stringer et al. 2019) https://github.com/MouseLand/Kilosort/releases/tag/v2.0), followed by manual curation in phy2 (https://github.com/cortex-lab/phy). Units were labelled as a real unit based on their waveform shape and auto-correlogram. We used cross-correlograms to identify spikes in different units that belong to the same cell. For subsequent analysis, we used only single unit data. We identified borders between the sSC and dSC as well as the dSC and dPAG using histological sections, local field potentials, and spiking activity.
Contrast response curves.
To calculate contrast response curves, we used looming responses of neurons in the sSC. First, we calculated firing rates during each contrast in 100 ms bins and the subtracted background activity before stimulus onset. Then, we averaged firing rates at each contrast and normalized the data by setting peak firing rates to no stimulation (0% contrast) to 0 and the maximal firing rate at any other contrast to 1. We identified responding neurons as cells with (a) at least 10 significant responses at any contrast (out of 90 total stimulations), (b) responses to the highest presented contrasts, and (c) no sudden response drop at intermediate contrasts, while responding to lower and higher contrasts.
Looming selectivity index.
We calculated preferences for looming or dimming stimuli from full-contrast stimuli. We calculated firing rates as the number of spikes in 20 ms bins and extracted average peak firing rate (Pl for looming and Pd for dimming) during multiple repetitions of the stimuli. We defined the looming selectivity index (LSI) as: LSI = (Pl − Pd)/ (Pl + Pd).
Locomotion events.
To analyse neural activity during different movement events, we binned the measured running speed to achieve the same temporal resolution as the neural activity (100 ms bins) and normalized it such that “no movement” is set to 0, maximal forward running speed set to 1, and maximal backward running speed to −1. Then, we identified time points of onset of forward running and stopping from running. We defined the onset of forward running as: an acceleration of >0.2 within 200 ms after a speed of <0.05. We defined stopping as: a deceleration (negative speed difference of >0.1) from a speed of >0.1 to a speed of <0.05. For analysis of locomotion, we included only events that were not preceded by a visual stimulus onset in the previous 1s.
Neural activity during locomotion.
We calculated the z-score of neural activity of sorted single units in the dPAG in the 7 s before and after each event onset. The z-score was calculated as the firing rate binned in 100 ms bins minus the mean firing rate and divided by the standard deviation across the entire recording. For representative neurons, the firing rate was calculated in 20 ms bins. We calculated firing rates and z-scores around the onset of each looming stimulus in the same way.
Locomotion/activity correlation.
To correlate movement events and the corresponding neural activity, we calculated the mean neural activity during each event (onset of forward running or stopping). We then calculated the correlation coefficient of the speed trace and the average neural activity using ‘corr’ in Matlab. We estimated the 95% confidence intervals per species as well as for a Gaussian distribution with mean 0 and the same variance using DABEST (Ho et al. 2019). Similarly, we estimated the cross-correlation of events and mean neural activity using the ‘xcorr’ function in Matlab.
Pre-running activity.
We calculated residuals to extract neural activity that is not explained by the running speed. To achieve this, we normalized both the running speed and the z-scored neural activity in the 2 s before running event onset. Then, we subtracted the running speed from the neural activity to obtain residual spiking activity that does not follow the changes in running speed. Finally, we calculated the change in z-score between the 0.6 s before running onset and 5 to 1 s before running onset to quantify the increase in neural activity right before running. As described above, we estimated intervals and Gaussian distributions with mean 0 using DABEST.
Optogenetic activation experiments
Virus injection and fiber implantation
To optogenetically activate dPAG neurons, we injected a viral vector into the dPAG, followed by implantation of an optic fiber. We followed the same procedure as for Head-post surgery. Following the craniotomy, we injected 50–100 nl of viral vector (AAV2/CamkII-hChR2(E123T/T159C)-p2A-EYFP-WPRE, UNC vector core, AV5456B or AVV2/CamkII-EYFP for control animals) bilaterally into the dPAG (P. maniculatus, lambda: +0.9 mm, midline: ±0.2 mm, depth: −2.9–3.2 mm; P. polionotus, lambda: +0.8 mm, midline: ±0.2 mm, depth: −2.6–2.9 mm) with a micropipette (Warner Instrument, G100–4) with an open tip of 30 μm attached to a microinjector IM-9B (Narishige). In two animals (one of each species), a modified injection protocol was used in which the virus was injected into the same location but at an angle of 30 degrees. In both cases, we lowered the micropipette to a position 0.1–0.2 mm below the targeted depth for 2 min, and then brought it up to the injection depth. After 1 min, we slowly injected the virus with a hand-wheel. After 5 min, we retracted the micropipette and closed the skin using Vetbond tissue adhesive (3M, 1469). After surgery, we provided antibiotics (Emdotrim, ecuphar, BE-V235523) via drinking water.
Either during or approximately 3 weeks after the viral injection, we anesthetized animals as described above and implanted an optic fiber (200 μm diameter, length 3.5mm, NA 0.39, Doric Lenses, B280-2304-3.5) above the injection sites (P. maniculatus depth: −2.5–3.1 mm, P. polionotus depth: −2.4–2.6 mm). Due to the large blood vessels at the midline, we first lowered the fiber into the brain lateral adjacent to the central blood vessel and then gently pushed it towards the midline and lowered it to the target depth by alternating steps of moving 100–200 μm down and up until the target depth was reached. We affixed the fiber with dental cement (Sun Medical LTD). After surgery, we injected animals with one dose of buprenorphine (0.2 mg/kg I.P.) and provided antibiotics (Emdotrim) in their drinking water for 3–5 days. We single-housed animals following surgery and gave them 7–20 days to recover before behavioural testing.
Experimental procedure
To test the effects of optogenetic dPAG activation on behaviour, we briefly anesthetized animals in their home cage with isoflurane, transferred them to a round arena (diameter: 43 cm) and connected them to a patch-cord with a rotatory joint (Thorlabs, RJPFL2). Animals typically woke up within 1–2 mins and started exploring the arena. We illuminated the arena with dim red light and video recorded behaviour with a camera (Point Grey Research, FMVU-03MTM-CS or Basler, acA1300–60gmNIR) positioned 53 cm above the center of the arena. We then used a DPSS laser system (Laserglow Technologies, R471003GX) or a diode laser (Laserglow Technologies, D4B2003FX) to deliver 50 Hz light pulses (10 ms on, 10 ms off) of 473 or 470 nm over 1 s through an optical fiber attached to the optic implant while the animals were freely moving in the arena. We verified laser power at the output of the patchcord without a fiber before and after recording sessions with a power meter (Thorlabs, PM100D with S130C sensor). Laser powers ranged from 0.3 to 24.1 mW.
We began experiments with low laser powers (< 1 mW output at the patch-cord) and increased laser power in steps of 1–5 mW to find a regime producing consistent behaviour. We then further investigated the effects of differing power levels below and above. Optogenetic triggers were sent manually using an Arduino when the animal was moving spontaneously through or along the walls of the arena. The session was terminated when the animals stopped cooperating (i.e., sat still for a prolonged time or started running erratically); most animals required more than one session to complete the measurements. We recorded videos at 30 Hz using pylon software (Basler) or Bonsai (Lopes et al. 2015). After optogenetic experiments, animals were anesthetized with isoflurane and decapitated.
Analysis of virus expression and fiber location
To analyse viral expression and confirm the location of the fiber, we fixed the brains of test and control animals overnight in 4% paraformaldehyde and then sliced them coronally into 200 μm thick slices with a vibratome. We washed the slices three times in PBS - 0.5% Triton and then incubated them with primary antibody chicken-anti-GFP (Thermo Fisher, A-10262 1:200) to stain for YFP that was co-expressed with Chr2 or YFP for control animals overnight at 4 °C. After washing with PBS – 0.5% Triton, we incubated slices with the secondary antibody (Alexa 488 donkey-anti-chicken, Immuno Jackson, 703–545-155) and DAPI (Roche, 10236276001) for 2h at room temperature. After washing with PBS, we mounted slices on coverslips, covered them with mounting medium (Dako, C0563), and imaged them using 10x and 63x objectives on a confocal microscope.
Using this approach, we were able to exclude animals with no or little YFP staining in the dPAG or with incorrect fiber placements (inside the dPAG or >250 μm above the dPAG). For the remaining animals, we then analysed the extent and location of the Chr2 expression and the fiber placement. First, we took confocal images of the 200 μm slice where the fiber was most visible (z-stack, 10x Objective). We then loaded raw images into Fiji (Schindelin et al. 2012) and identified the slice with the brightest YFP staining and with a clear fiber tract. We split the imaged channels (Chr2 and DAPI) and ran the StarDist 2D plugin (Schmidt et al. 2018) on the Chr2 channel (parameters: model – versatile, normalize image – yes, percentile low – 10, percentile high – 99, probability – 0.2, overlap threshold – 0.4). We measured and saved the area and X/Y position of each detected, labelled cell with an area < 1000 pixels. We loaded png versions of the maximal projections into Matlab to manually label the extent of the dPAG, the fiber tip, the outline of the ventricle and a control area without detected cells. We quantified the extent of viral infection as the number of detected cells within the dPAG below the fiber tip. Further, we quantified the area of dPAG with viral expression as % of the dPAG area with an intensity value above the mean + 2 STD control area intensity. We analysed the relationship between YFP-expression, fiber location, and running behaviour by calculating the correlation (‘corr’ in Matlab) between % running trials with number of YFP-cells, distance between fiber and dPAG surface, and % of dPAG area with labelling.
Analysis of optogenetically induced behaviour
We extracted the head position of animals from each video with DeepLabCut (Mathis et al. 2018) and used this to estimate the movement speed of each animal during optogenetic stimulation. We excluded trials (i.e., laser triggers) for which the animal moved less than 10 cm/s on average during the 0.5 s before the laser trigger.
We classified each trial as “forward movement”, “slowing” or “other”. Forward movement was defined by a forward acceleration during the 1 s period of optogenetic stimulation, as determined by observing both a sharp increase in speed during the stimulus and visual inspection to ensure the movement was forwards. Slowing was defined as a continuous time period (>400 ms) with speeds below 70% of the baseline speed, confirmed by visual inspection. All remaining trials were classified as “other”. We used these classifications to calculate the percentage of forward movement and slowing trials (Fig. 5F–G).
In addition, we computed a Speed Index (SI) to calculate the mean speed during the main behaviour (11 video frames, 0.37 s) relative to a baseline:
For all behaviours, the main behaviour (“Behaviour”) was centred around the maximum for forward movement trials and minimum for slowing trials. The baseline period (“Baseline”) was defined as the 0.37 s (11 frames) before the behaviour event. The SI computation resulted in positive values for forward movements and negative values for trials in which the animal slowed down.
To compare triggered and control animals as well as different laser powers, we performed two statistical tests: the two-sample Kolmogorov-Smirnov test (kstest2 in MATLAB) and estimation of effects size and confidence intervals using DABEST (Ho et al. 2019). Briefly, for effect size estimation, unpaired mean difference Gardner-Altman estimation was performed, in which 5000 bootstrap samples were taken and the mean difference between two groups was calculated together with the confidence interval. The p value reported is the likelihood of observing the effect size if the null hypothesis of no difference is true.
Supplementary Material
ACKNOWLEDGEMENTS
We thank Melis Yilmaz, Markus Meister, Max Joesch, and Tiago Branco for advice on the behavioural experiments; Catherine Dulac, Vassilis Bitsikas, Erin Diel, and Jenny Chen for advice on the immunohistochemistry and RNAscope experiments; Joel Greenwood and Ed Soucy for technical and engineering help; Arnau Sans Dublanc and Anna Chrzanowska for help and advice on optogenetic experiments; Bram Nuttin for help with DeepLabCut; Steven Worthington for statistical advice; and Renate Hellmiss for figure design. Bernardo Sabatini, Vanessa Stempel, Kelsey Tyssowski, and Nacho Sanguinetti gave helpful feedback on the manuscript. Yu Man Lee and Aimee Tomcho kindly provided the habitat pictures of P. maniculatus and P. leucopus, respectively, in Fig. 1. Brain silhouettes in Figs. 3 and 5 were adapted from the Allen Mouse Brain Reference Atlas. FB was supported by an HHMI International Student Research Fellowship, a Grant-in-Aid of the American Society of Mammalogy, a Herchel Smith Graduate Fellowship, a Robert A. Chapman Memorial Scholarship, and a Joan Brockman Williamson Fellowship. This project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 665501 and by the FWO (12S7917N and 12S7920N) to KR. VT was supported by a Harvard PRISE fellowship and a Harvard Museum of Comparative Zoology grant for undergraduate research. KF is supported by the FWO (G094616N and G091719N) and the NIH (1R01EY032101). HEH is an Investigator of the Howard Hughes Medical Institute.
Footnotes
COMPETING INTERESTS
The authors declare no competing interests.
CODE AVAILABILITY
The code used for the analyses will be available from GitHub.
DATA AVAILABILITY
All relevant source data will be included upon publication.
REFERENCES (for Main Document)
- Abrams P. A., 2000. The evolution of predator-prey interactions: Theory and evidence. Annual Review of Ecology and Systematics 31: 79–105. [Google Scholar]
- Auer T. O., Khallaf M. A., Silbering A. F., Zappia G., Ellis K. et al. , 2020. Olfactory receptor and circuit evolution promote host specialization. Nature 579: 402–408. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Baldwin M. W., Toda Y., Nakagita T., O’Connell M. J., Klasing K. C. et al. , 2014. Evolution of sweet taste perception in hummingbirds by transformation of the ancestral umami receptor. Science 345: 929–933. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ball W., and Tronick E., 1971. Infant responses to impending collision: Optical and real. Science 171: 818–820. [DOI] [PubMed] [Google Scholar]
- Basso M. A., and May P. J., 2017. Circuits for action and cognition: A view from the superior colliculus. Annual Review of Vision Science 3: 197–226. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bedford N. L., and Hoekstra H. E., 2015. Peromyscus mice as a model for studying natural variation. eLife 4: e06813. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bittencourt A. S., Nakamura-Palacios E. M., Mauad H., Tufik S. and Schenberg L. C., 2005. Organization of electrically and chemically evoked defensive behaviors within the deeper collicular layers as compared to the periaqueductal gray matter of the rat. Neuroscience 133: 873–892. [DOI] [PubMed] [Google Scholar]
- Branco T., and Redgrave P., 2020. The neural basis of escape behavior in vertebrates. Annual Review of Neuroscience 43: 417–439. [DOI] [PubMed] [Google Scholar]
- Bullitt E., 1990. Expression of C-fos-like protein as a marker for neuronal activity following noxious stimulation in the rat. Journal of Comparative Neurology 296: 517–530. [DOI] [PubMed] [Google Scholar]
- Burnett L. E., Koppensteiner P., Symonova O., Masson T., Vega-Zuniga T. et al. , 2022. Subcortical circuit dysfunctions delay perceptual decision-making in autism models. bioRxiv: 2022.2010.2011.511691. [Google Scholar]
- Cande J., Prud’homme B. and Gompel N., 2013. Smells like evolution: the role of chemoreceptor evolution in behavioral change. Current Opinion in Neurobiology 23: 152–158. [DOI] [PubMed] [Google Scholar]
- Coimbra N. C., Leão-Borges P. C. and Brandão M. L., 1989. GABAergic fibers from substantia nigra pars reticulata modulate escape behavior induced by midbrain central gray stimulation. Brazilian Journal of Medical and Biological Research 22: 111–114. [PubMed] [Google Scholar]
- De Franceschi G., Vivattanasarn T., Saleem Aman B. and Solomon Samuel G., 2016. Vision guides selection of freeze or flight defense strategies in mice. Current Biology 26: 2150–2154. [DOI] [PubMed] [Google Scholar]
- Deng H., Xiao X. and Wang Z., 2016. Periaqueductal gray neuronal activities underlie different aspects of defensive behaviors. Journal of Neuroscience 36: 7580–7588. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dräger U. C., and Hubel D. H., 1975. Responses to visual stimulation and relationship between visual, auditory, and somatosensory inputs in mouse superior colliculus. Journal of Neurophysiology 38: 690–713. [DOI] [PubMed] [Google Scholar]
- Evans D. A., Stempel A. V., Vale R., Ruehle S., Lefler Y. et al. , 2018. A synaptic threshold mechanism for computing escape decisions. Nature 558: 590–594. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fadok J. P., Krabbe S., Markovic M., Courtin J., Xu C. et al. , 2017. A competitive inhibitory circuit for selection of active and passive fear responses. Nature 542: 96–100. [DOI] [PubMed] [Google Scholar]
- Fratzl A., Koltchev A. M., Vissers N., Tan Y. L., Marques-Smith A. et al. , 2021. Flexible inhibitory control of visually evoked defensive behavior by the ventral lateral geniculate nucleus. Neuron 109: 3810–3822.e3819. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gale S. D., and Murphy G. J., 2014. Distinct representation and distribution of visual information by specific cell types in mouse superficial superior colliculus. Journal of Neuroscience 34: 13458–13471. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Gale S. D., and Murphy G. J., 2018. Distinct cell types in the superficial superior colliculus project to the dorsal lateral geniculate and lateral posterior thalamic nuclei. Journal of Neurophysiology 120: 1286–1292. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hatsopoulos N., Gabbiani F. and Laurent G., 1995. Elementary computation of object approach by a wide-field visual neuron. Science 270: 1000–1003. [DOI] [PubMed] [Google Scholar]
- Holmqvist M. H., 1994. A visually elicited escape response in the fly that does not use the giant fiber pathway. Visual Neuroscience 11: 1149–1161. [DOI] [PubMed] [Google Scholar]
- Lee K. H., Tran A., Turan Z. and Meister M., 2020. The sifting of visual information in the superior colliculus. eLife 9: e50678. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lefler Y., Campagner D. and Branco T., 2020. The role of the periaqueductal gray in escape behavior. Current Opinion in Neurobiology 60: 115–121. [DOI] [PubMed] [Google Scholar]
- Li C., Kühn N. K., Alkislar I., Dublanc A. S., Zemmouri F. et al. , 2022. Pathway-specific inputs to the superior colliculus support flexible triggering of innate behaviors. bioRxiv: 2022.2007.2008.499294. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lima S. L., and Dill L. M., 1990. Behavioral decisions made under the risk of predation: a review and prospectus. Canadian Journal of Zoology 68: 619–640. [Google Scholar]
- Lloyd E., McDole B., Privat M., Jaggard J. B., Duboué E. R. et al. , 2022. Blind cavefish retain functional connectivity in the tectum despite loss of retinal input. Current Biology 32: 3720–3730. [DOI] [PubMed] [Google Scholar]
- May P. J., 2006. The mammalian superior colliculus: laminar structure and connections. Progress in Brain Research 151: 321–378. [DOI] [PubMed] [Google Scholar]
- McBride C. S., Baier F., Omondi A. B., Spitzer S. A., Lutomiah J. et al. , 2014. Evolution of mosquito preference for humans linked to an odorant receptor. Nature 515: 222–227. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mongeau R., Miller G. A., Chiang E. and Anderson D. J., 2003. Neural correlates of competing fear behaviors evoked by an innately aversive stimulus. Journal of Neuroscience 23: 3855–3868. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Montgomery S. H., Rossi M., McMillan W. O. and Merrill R. M., 2021. Neural divergence and hybrid disruption between ecologically isolated Heliconius butterflies. Proceedings of the National Academy of Sciences 118: e2015102118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Roberts R. J. V., Pop S. and Prieto-Godino L. L., 2022. Evolution of central neural circuits: state of the art and perspectives. Nature Reviews Neuroscience 23: 725–743. [DOI] [PubMed] [Google Scholar]
- Sahibzada N., Dean P. and Redgrave P., 1986. Movements resembling orientation or avoidance elicited by electrical stimulation of the superior colliculus in rats. Journal of Neuroscience 6: 723–733. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Salay L. D., and Huberman A. D., 2021. Divergent outputs of the ventral lateral geniculate nucleus mediate visually evoked defensive behaviors. Cell Reports 37: 109792. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schiff W., Caviness J. A. and Gibson J. J., 1962. Persistent fear responses in rhesus monkeys to the optical stimulus of “looming”. Science 136: 982–983. [DOI] [PubMed] [Google Scholar]
- Seehausen O., Terai Y., Magalhaes I. S., Carleton K. L., Mrosso H. D. J. et al. , 2008. Speciation through sensory drive in cichlid fish. Nature 455: 620–626. [DOI] [PubMed] [Google Scholar]
- Seeholzer L. F., Seppo M., Stern D. L. and Ruta V., 2018. Evolution of a central neural circuit underlies Drosophila mate preferences. Nature 559: 564–569. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Shang C., Liu Z., Chen Z., Shi Y., Wang Q. et al. , 2015. A parvalbumin-positive excitatory visual pathway to trigger fear responses in mice. Science 348: 1472–1477. [DOI] [PubMed] [Google Scholar]
- Temizer I., Donovan Joseph C., Baier H. and Semmelhack Julia L., 2015. A visual pathway for looming-evoked escape in larval zebrafish. Current Biology 25: 1823–1834. [DOI] [PubMed] [Google Scholar]
- Tierney A. J., 1995. Evolutionary implications of neural circuit structure and function. Behavioural Processes 35: 173–182. [DOI] [PubMed] [Google Scholar]
- Tinbergen N., 1948. Social releasers and the experimental method required for their study. The Wilson Bulletin 60: 6–51. [Google Scholar]
- Tinbergen N., 1951. The Study of Instinct. Clarendon Press/Oxford University Press, New York, NY, USA. [Google Scholar]
- Tovote P., Esposito M. S., Botta P., Chaudun F., Fadok J. P. et al. , 2016. Midbrain circuits for defensive behaviour. Nature 534: 206–212. [DOI] [PubMed] [Google Scholar]
- Vale R., Evans D. A. and Branco T., 2017. Rapid spatial learning controls instinctive defensive behavior in mice. Current Biology 27: 1342–1349. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vargas L. C., de Azevedo Marques T. and Schenberg L. C., 2000. Micturition and defensive behaviors are controlled by distinct neural networks within the dorsal periaqueductal gray and deep gray layer of the superior colliculus of the rat. Neuroscience Letters 280: 45–48. [DOI] [PubMed] [Google Scholar]
- Wada-Katsumata A., Silverman J. and Schal C., 2013. Changes in taste neurons support the emergence of an adaptive behavior in cockroaches. Science 340: 972–975. [DOI] [PubMed] [Google Scholar]
- Wei P., Liu N., Zhang Z., Liu X., Tang Y. et al. , 2015. Processing of visually evoked innate fear by a non-canonical thalamic pathway. Nature Communications 6: 6756. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Westby G. W. M., Keay K. A., Redgrave P., Dean P. and Bannister M., 1990. Output pathways from the rat superior colliculus mediating approach and avoidance have different sensory properties. Experimental Brain Research 81: 626–638. [DOI] [PubMed] [Google Scholar]
- Wheatcroft T., Saleem A. B. and Solomon S. G., 2022. Functional organisation of the mouse superior colliculus. Frontiers in Neural Circuits 16: 792959. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wheatley R., Pavlic T. P., Levy O. and Wilson R. S., 2020. Habitat features and performance interact to determine the outcomes of terrestrial predator–prey pursuits. Journal of Animal Ecology 89: 2958–2971. [DOI] [PubMed] [Google Scholar]
- Wywialowski A. P., 1987. Habitat structure and predators: choices and consequences for rodent habitat specialists and generalists. Oecologia 72: 39–45. [DOI] [PubMed] [Google Scholar]
- Xie Z., Wang M., Liu Z., Shang C., Zhang C. et al. , 2021. Transcriptomic encoding of sensorimotor transformation in the midbrain. eLife 10: e69825. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yamamoto K., Nakata M. and Nakagawa H., 2003. Input and output characteristics of collision avoidance behavior in the frog Rana catesbeiana. Brain, Behavior and Evolution 62: 201–211. [DOI] [PubMed] [Google Scholar]
- Yilmaz M., and Meister M., 2013. Rapid innate defensive responses of mice to looming visual stimuli. Current Biology 23: 2011–2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
REFERENCES (for Materials and Methods)
- Brainard D. H., 1997. The psychophysics toolbox. Spatial Vision 10: 433–436. [PubMed] [Google Scholar]
- Cardona A., Saalfeld S., Schindelin J., Arganda-Carreras I., Preibisch S. et al. , 2012. TrakEM2 software for neural circuit reconstruction. PLoS ONE 7: e38011. [DOI] [PMC free article] [PubMed] [Google Scholar]
- De Franceschi G., Vivattanasarn T., Saleem Aman B. and Solomon Samuel G., 2016. Vision guides selection of freeze or flight defense strategies in mice. Current Biology 26: 2150–2154. [DOI] [PubMed] [Google Scholar]
- Evans D. A., Stempel A. V., Vale R., Ruehle S., Lefler Y. et al. , 2018. A synaptic threshold mechanism for computing escape decisions. Nature 558: 590–594. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ho J., Tumkaya T., Aryal S., Choi H. and Claridge-Chang A., 2019. Moving beyond P values: data analysis with estimation graphics. Nature Methods 16: 565–566. [DOI] [PubMed] [Google Scholar]
- Jun J. J., Steinmetz N. A., Siegle J. H., Denman D. J., Bauza M. et al. , 2017. Fully integrated silicon probes for high-density recording of neural activity. Nature 551: 232–236. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kleiner M., Brainard D., Pelli D., Ingling A., Murray R. et al. , 2007. What’s new in psychtoolbox-3. Perception 36: 1–16. [Google Scholar]
- Lopes G., Bonacchi N., Frazão J., Neto J. P., Atallah B. V. et al. , 2015. Bonsai: an event-based framework for processing and controlling data streams. Frontiers in Neuroinformatics 9: 7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mathis A., Mamidanna P., Cury K. M., Abe T., Murthy V. N. et al. , 2018. DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nature Neuroscience 21: 1281–1289. [DOI] [PubMed] [Google Scholar]
- Mongeau R., Miller G. A., Chiang E. and Anderson D. J., 2003. Neural correlates of competing fear behaviors evoked by an innately aversive stimulus. Journal of Neuroscience 23: 3855–3868. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Pelli D. G., 1997. The VideoToolbox software for visual psychophysics: transforming numbers into movies. Spatial Vision 10: 437–442. [PubMed] [Google Scholar]
- Schindelin J., Arganda-Carreras I., Frise E., Kaynig V., Longair M. et al. , 2012. Fiji: an open-source platform for biological-image analysis. Nature Methods 9: 676–682. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schmidt U., Weigert M., Broaddus C. and Myers G., 2018. Cell Detection with Star-Convex Polygons, pp. 265–273 in Medical Image Computing and Computer Assisted Intervention - 21st International Conference, Granada, Spain, September 16–20, 2018, Proceedings, Part (II). [Google Scholar]
- Stringer C., Pachitariu M., Steinmetz N., Carandini M. and Harris K. D., 2019. High-dimensional geometry of population responses in visual cortex. Nature 571: 361–365. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vale R., Evans D. A. and Branco T., 2017. Rapid spatial learning controls instinctive defensive behavior in mice. Current Biology 27: 1342–1349. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yilmaz M., and Meister M., 2013. Rapid innate defensive responses of mice to looming visual stimuli. Current Biology 23: 2011–2015. [DOI] [PMC free article] [PubMed] [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
All relevant source data will be included upon publication.




