Abstract
Rodent spatial navigation is a key model system for studying mammalian cognition and its neural mechanisms. Of particular interest is how animals memorize the structure of their environments and compute multi-step routes to a goal. Previous work on multi-step spatial reasoning has generally involved placing rodents at the start of a maze until they learn to navigate to a reward without making wrong turns. It thus remains poorly understood how animals rapidly learn about the structure of naturalistic open environments with goals and obstacles. Here we present an assay in which mice spontaneously memorize two-step routes in an environment with a shelter and an obstacle. We allow the mice to explore this environment for 20 min, and then we remove the obstacle. We then present auditory threat stimuli, causing the mouse to escape to the shelter. Finally, we record each escape route and measure whether it targets the shelter directly (a ‘homing-vector’ escape) or instead targets the location where the obstacle edge was formerly located (an ‘edge-vector’ escape). Since the obstacle is no longer there, these obstacle-edge-directed escape routes provide evidence that the mouse has memorized a subgoal location, i.e., a waypoint targeted in order to efficiently get to the shelter in the presence of an obstacle. By taking advantage of instinctive escape responses, this assay probes a multi-step spatial memory that is learned in a single session without pretraining. The subgoal learning phenomenon it generates can be useful not only for researchers working on navigation and instinctive behavior, but also for neuroscientists studying the neural basis of multi-step spatial reasoning.
Keywords: Spatial memory, Mouse, Behavior, Navigation, Escape, Defensive behavior, Subgoals, Neuroscience
Background
In previous work, rodent escape behavior has been used to study goal-directed spatial navigation in the context of obstacle-free environments. In the standard Barnes Maze assay (Barnes, 1979; Harrison et al., 2006), rodents are placed in an open-field arena with an underground shelter and presented with an ongoing aversive stimulus such as a bright light. Rodents locate the enclosed space in the environment (the shelter), instinctively adopt it as their home base, and run to it when faced with threatening stimuli such as loud sounds. Over multiple sessions, animals learn to navigate efficiently to the shelter using spatial memory. Work from our laboratory has provided three updates to this protocol (Vale et al., 2017, 2018): the learning period and escape testing all occur within a single session; the mouse’s self-motivated exploratory behavior proceeds without having to remove the mouse from the arena; and sudden-onset threat stimuli are used to evoke robust, shelter-directed escape paths. Our new protocol builds on that assay by adding (and dynamically modifying) structure in the environment. In this environment with an obstacle, mice learn a hierarchy of goals: the ultimate goal (the shelter) and two subgoal locations (the sides of the obstacle) that the animal uses to plan efficient routes to the ultimate goal. Thus, our protocol can allow researchers to investigate how animals rapidly learn multi-step routes to a shelter during a single session of self-motivated exploration.
Unlike this approach, prior work on multi-step spatial reasoning has focused on repeatedly placing an animal at the start of a constrained maze environment and testing how it learns to reach a food reward while minimizing erroneous turns (Tolman and Honzik, 1930; Sharma et al., 2010). These assays have several advantages: they assess long-term memory over multiple sessions/days; they induce stereotyped paths across animals; and they rely on a particularly stable and controllable source of motivation, i.e., hunger. However, they also leave out several key aspects of spatial reasoning. For one, they disregard how animals explore and rapidly compute routes in natural environments, which include both open space (allowing a much wider range of possible actions) and obstacles (necessitating multi-step reasoning). In addition, they lack a stimulus that can trigger immediate, goal-directed behavior. Thus, it is unclear if the animal’s ‘errors’ reflect a lack of understanding or merely a decision not to exploit a known route to the goal. Our assay—escape to shelter in the presence of obstacles—complements previous work on maze learning by incorporating these elements into the study of multi-step route learning.
Finally, escape to shelter in the presence of obstacles has been studied before, with gerbils (Ellard and Eller, 2009). Our protocol differs from this work primarily in its methods for evoking immediate and robust escape responses, ruling out visual-guided strategies, and quantitatively measuring subgoal learning. Our protocol was initially developed in Shamash et al. (2021) and then improved upon in Shamash and Branco (2021), which includes the automated threat presentation and removable obstacle panel features described below.
Materials and Reagents
Paper towels
C57BL/6J adult male or female mice, purchased from Charles River, 8–12 weeks of age. Animals were tested during the light phase of a 12-h light/dark cycle and had been singly housed for ≥5 days by the time of testing (see Note 1). No pretraining or habituation is necessary.
70% ethanol
Equipment
-
Behavioral arenas
A 92 cm diameter circular arena, made of 5 mm thick white acrylic, with a 10 cm × 50 cm rectangular hole cut from the middle; and a similar 92 cm diameter circular arena without a hole in it, to be placed beneath the platform with the hole (Figure 1).
-
Panel with obstacle
50 cm long × 10 cm wide panel with a 50 cm-long × 12.5 cm tall obstacle attached along the central axis, made of 5 mm thick white acrylic (Figure 1).
-
Flat panel
An identical 50 cm long × 10 cm wide panel (Figure 1B).
-
Stand to support the elevated behavioral arena, ≥20 cm tall
The stand should stably support the 92 cm diameter arena without sticking out beyond the perimeter of the arena. For example, a 62.5 cm cubic base would work (Figure 1A).
-
Shelter
10 cm long × 10 cm wide × 15 cm tall cube of transparent red acrylic (opaque to the mouse). It includes a mouse-hole-shaped entrance at the front (Figure 1).
-
Video camera
acA1300-60gmNIR, Basler, with a near-infrared selective filter, positioned 1 m above the behavioral arena (Figure 1A).
Amplifier (Topaz AM10, Cambridge Audio) and speaker (L60, Pettersson) hooked up to the computer used to control the experiment.
Infrared LED illuminators (TV6700, Abus; 850 nm light) distributed above the platform for infrared video recording (we use six illuminators).
Sound level meter (Castle GA213)
Auditory stimulus sound files ( Supplementary Audio 1-2 ). Two sounds were downloaded from soundbible.com (‘smashing’ and ‘crackling fireplace’). They were then edited manually in Audacity 2.3.0, such that they were 1.5 s long and continuously loud.
Recommended: Infrared LED (850 nm OSLON PowerStar IR LED), hooked up to the auditory threat signal coming from the amplifier and therefore flashing infrared light toward the video camera whenever an auditory stimulus occurs.
Optional: A large, sound-proof box (160 cm wide × 165 cm deep × 190 cm tall). Alternatively, surround the arena with any dark material such as thin black plastic, at least 30 cm above the height of the arena, to make the environment less exposed and so less stressful for the mice.
Optional: Projector (BenQ) and projector screen (Xerox). We used a projector to illuminate the arena, because we also perform experiments with visual stimuli in the same arena. However, illuminating the arena with a lamp should be sufficient. During experiments, the screen was illuminated with uniform, gray light at 5 cd m-2 (this measures the incoming light from the projector coming onto the projector screen). A rectangular hole was cut in the projector screen, and the video camera and speaker were placed just above this hole, 1 m above the center of the behavioral arena.
Software
Video recording and automated stimulus presentation program, written using Bonsai 2.4.1. Online mouse tracking was based on the mouse being darker than the white acrylic platform (sample code available at github.com/philshams/bonsai-behavior).
Post-hoc animal tracking, DeepLabCut (Mathis et al., 2018)
Procedure
Perform two types of experiments, in two groups of mice: a baseline-escape experiment in which escapes are triggered in an arena with no obstacle present, and an obstacle removal experiment in which mice explore the arena with an obstacle present for 20 min, and then the obstacle is removed and escapes are triggered. We recommend performing these experiments in two separate groups of mice. If it is necessary to reuse mice, allow 3–7 days in-between experimental sessions.
-
Set up and test the behavioral rig
Place the acrylic arena with no hole on top of the stand and the arena with the rectangular hole on top of that. Obstacle removal experiment: Place the panel with the obstacle in the hole. Baseline-escape experiment: Place the flat panel in the hole.
Test the auditory stimuli through the overhead speaker by placing the sound level meter on the perimeter of the arena, pointing towards the speaker. Ensure that it is playing at a volume of 84 dB.
Test the video and automated stimulus presentation program, by moving a black, mouse-sized object into the threat zone and ensuring that an auditory stimulus is triggered.
Ensure that the arena is lit just well enough for the mouse to easily see and target the obstacle (~5 cd m-2; see Equipment 12 and Notes).
Clean the arena, shelter, and obstacle by wiping them with 70% ethanol, and then wait at least 5 min before beginning an experiment.
-
Begin the behavioral session with a spontaneous exploration period
Place the mouse in the arena in a consistent location across sessions, e.g., in between the obstacle and shelter, and initiate the behavioral program. Mice were picked up by the base of the tail, with a hand positioned to support their body as they were placed onto the arena. Previous handling of mice was limited to routine animal husbandry.
The mouse should spontaneously enter the shelter within the first 7 min, and henceforth treat it as its preferred location. If this does not consistently occur, see the Notes below for help.
Obstacle removal experiment: Allow the mouse to spontaneously explore the arena for 20 min total. Baseline-escape experiment: Allow the mouse to spontaneously explore the arena for 7 min total.
Throughout the session: if the mouse does not leave the shelter for 5 min or does not enter the threat zone for 10 min, scatter one pinch (1 g) of bedding from its home cage in the threat area, for a maximum of once per session.
-
Obstacle removal experiment: Remove the obstacle from the arena
After 20 min, as soon as the mouse enters the shelter, quietly lift and remove the obstacle panel and replace it with the flat panel. If this is not done stealthily, it could frighten the mouse, causing it to stay in the shelter for most of the experiment. Details will depend on the layout of the experimental room, but typically, this should be done with 15 s. If the mouse starts to leave the shelter after the panel switch was already initiated, we recommend calmly completing the switch.
-
Trigger auditory threat stimuli
Use an automated software program (we use custom software in Bonsai) to track the mouse location online and trigger a threat stimulus in the following conditions: the mouse is currently in the threat zone, the mouse was in the threat zone 1.5 s prior, and the mouse has positive velocity in the direction opposite of the shelter.
The threat stimulus consists of 1.5-s sounds, automatically played on repeat until the mouse gets within 20 cm of the shelter, or for a maximum of 9 s. A ‘crash’ sound and a ‘smash’ sound (Supplementary Audio 1-2) are alternated every other trial, to prevent stimulus habituation.
If the mouse does not successfully escape during the stimulus, increase the stimulus volume by 2 dB, up to a maximum of 88 dB.
End the experiment after one hour or six successful escape trials, whichever comes first.
Data analysis
-
Post-hoc tracking
Use DeepLabCut to track the position of the mouse at each frame in the video. We find that averaging across multiple tracked body parts leads to more robust tracking. Specifically, we average 13 points: nose, left eye, right eye, left ear, right ear, neck, left upper limb, right upper limb, upper back, left lower limb, right lower limb, lower back, and tail base. However, a single point in the area of the mouse’s neck or upper back will work as well.
Compute the mouse’s speed at each frame in the video and its speed relative to the shelter location, convert these to cm s-1, and smooth these data with a Gaussian filter (σ = 100 ms, length = 800 ms).
-
Escape target score and trajectory classification
-
To quantify escape trajectories, calculate the ‘initial escape target score’ (Figure 2). This is a metric where a vector aimed directly at the shelter receives a value of 0; one aimed at either obstacle edge receives a value of 1.0; a vector halfway between these scores 0.5; and a vector that points beyond the edge receives a value greater than 1.0. The initial escape target was computed by taking the mouse’s position when it is 10 cm in front of the obstacle and comparing the offset between this latter position to where it would have been if it escaped directly toward the shelter or toward the obstacle edge. This is calculated as
where offsetHV is the distance from the mouse to the line between the mouse’s starting position and the shelter (the ‘shelter direction’ line in Figure 2); offsetEV is the distance from the mouse to the line between the mouse’s starting position and the obstacle edge vector (the ‘edge direction’ line in Figure 2); and offsetHV–EV is the distance from the shelter-direction line to the edge-direction line (Figure 2). If the escape path deviates to the left of the homing-vector path, then the left obstacle edge is used to calculate offsetEV and offsetHV–EV (and vice versa). Each data point receiving a score corresponds to one escape route.
To classify an escape as either an edge vector or homing vector, threshold the initial escape target score using the 95th percentile of scores from a group of mice escaping in an environment with no obstacle. In our hands, this value was 0.65. Expect 40–60% edge-vector responses in the subgoal-learning group.
Computing where the mouse would have been if it ran directly toward the shelter or obstacle edge requires first identifying the escape initiation point. For a simple measurement of escape initiation, use the point at which the mouse exceeds a speed of 20 cm s−1 relative to (towards) the shelter location. This is computed by taking the frame-by-frame difference in the mouse’s distance from the shelter. The key is to use a metric that is approximately where the escape begins but does not include the non-escape movements that sometimes occur after threat onset but before escape initiation.
-
-
Statistical permutation test
Use a non-parametric permutation test to give more weight to mice that have performed more escape trials, while still scaling the degrees of freedom with the number of mice. Alternative tests do not work as well here: using each trial’s data in a t-test or Mann-Whitney test would improperly scale the degrees of freedom with the number of trials, and using a repeated-measures ANOVA would impose a Gaussian-noise assumption that the data are unlikely to follow. To test if group A and group B have different propensities to perform edge-vector escapes, use the signed difference in the groups’ mean pooled edge-vector probability as the test statistic (i.e., group B% edge vectors – group A% edge vectors). Generate a null distribution of this value by randomly shuffling the group labels for each mouse (i.e., in each shuffle, all of a given mouse’s escape trials are assigned to either group A or B). Then, find the percentile that the actual difference in means occupies within this distribution—this is the p-value for the hypothesis that group B does more edge vectors than group A.
-
Additional parameters
Data exclusion: exclude mice with zero successful escape trials.
Number of replicates: use 8–14 mice per condition.
Notes
There is one key ‘dimension’ along which mouse behavior tends to vary across individuals: shelter-resting vs. vigorously exploring. Both extremes can be problematic in terms of producing enough escape trials. Mice that stay in the shelter may never enter the threat zone. On the other hand, mice that prefer exploration to being in the shelter may fail to escape to shelter in response to the threat stimulus. For example, group-housed mice explore more but may fail to respond to multiple trials of threat stimuli, while singly housed mice explore less but respond more consistently to threat stimuli. Additional factors that promote shelter resting include: adding a pinch of bedding from the mouse’s cage into the shelter, increasing the background illumination, and using a mouse in multiple behavioral sessions. Factors that promote exploration include: adding a pinch of bedding to the threat zone, decreasing background illumination, performing experiments during the dark phase of the light-dark cycle, using food-restricted mice and using young (7–8 week old) mice.
Acknowledgments
Our laboratory used this protocol to assess subgoal learning in two recent publications (Shamash and Branco, 2021; Shamash et al., 2021). The work was supported by a Wellcome Senior Research Fellowship (214352/Z/18/Z) and by the Sainsbury Wellcome Centre Core Grant from the Gatsby Charitable Foundation and Wellcome (090843/F/09/Z) (T.B.) and the Sainsbury Wellcome Centre PhD Programme. We thank R. Vale and other members of the Branco lab for help in developing this assay; and J. Aloor for comments on the manuscript.
Competing interests
The authors declare that there are no any conflicting and/or competing interests.
Ethics
All experiments were performed under the UK Animals (Scientific Procedures) Act of 1986 (PPL 70/7652) after local ethical approval by the Sainsbury Wellcome Centre Animal Welfare Ethical Review Body.
Citation
Readers should cite both the Bio-protocol article and the original research article where this protocol was used.
Q&A
Post your question about this protocol in Q&A and get help from the authors of the protocol and some of its users.
References
- 1.Barnes C. A.(1979). Memory deficits associated with senescence: a neurophysiological and behavioral study in the rat. J Comp Physiol Psychol 93(1): 74-104. [DOI] [PubMed] [Google Scholar]
- 2.Ellard C. G. and Eller M. C.(2009). Spatial cognition in the gerbil: computing optimal escape routes from visual threats. Anim Cogn 12(2): 333-345. [DOI] [PubMed] [Google Scholar]
- 3.Harrison F. E., Reiserer R. S., Tomarken A. J. and McDonald M. P.(2006). Spatial and nonspatial escape strategies in the Barnes maze. Learn Mem 13(6): 809-819. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Mathis A., Mamidanna P., Cury K. M., Abe T., Murthy V. N., Mathis M. W. and Bethge M.(2018). DeepLabCut: markerless pose estimation of user-defined body parts with deep learning. Nat Neurosci 21(9): 1281-1289. [DOI] [PubMed] [Google Scholar]
- 5.Shamash P., Olesen S. F., Iordanidou P., Campagner D., Banerjee N. and Branco T.(2021). Mice learn multi-step routes by memorizing subgoal locations. Nat Neurosci 24(9): 1270-1279. [DOI] [PubMed] [Google Scholar]
- 6.Shamash P. and Branco T.(2021) Mice identify subgoal locations through an action-driven mapping process. preprint. Neuroscience.
- 7.Sharma S., Rakoczy S. and Brown-Borg H.(2010). Assessment of spatial memory in mice. Life Sci 87(17-18): 521-536. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Tolman E. C. and Honzik C. H.(1930). Introduction and removal of reward, and maze performance in rats. University of California Publications in Psychology 4: 257-275. [Google Scholar]
- 9.Vale R., Evans D. and Branco T.(2018). A Behavioral Assay for Investigating the Role of Spatial Memory During Instinctive Defense in Mice. J Vis Exp(137): 56988. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Vale R., Evans D. A. and Branco T.(2017). Rapid Spatial Learning Controls Instinctive Defensive Behavior in Mice. Curr Biol 27(9): 1342-1349. [DOI] [PMC free article] [PubMed] [Google Scholar]