Influence of contextual exposure on memory strength and precision for inhibitory avoidance in male and female rats

  1. Ryan T. LaLumiere1,2
  1. 1Department of Psychological and Brain Sciences, University of Iowa, Iowa City, Iowa 52242, USA
  2. 2Iowa Neuroscience Institute, University of Iowa, Iowa City, Iowa 52242, USA
  1. Corresponding author: aspen-holm{at}uiowa.edu

Abstract

Aversive associative learning paradigms such as inhibitory avoidance (IA) are frequently used to examine episodic-like memories in rodents. In IA, rodents learn to associate a context with a footshock, with testing for memory strength in the original training context and memory precision in a similar yet distinct neutral context. The present work assessed how different contextual exposure procedures affect memory strength and precision in IA at both recent and remote time points using male and female Long–Evans rats. An initial experiment found that rats kept in the lit (non-shock) compartment of the IA apparatus for 60 sec during training, as opposed to 10 sec, displayed enhanced memory strength, with discrimination between both chambers at the recent retention test and generalization at the remote retention test. Subsequent experiments investigated the effects of contextual pre-exposure the day before training. The results indicate that pre-exposure to the neutral context promoted generalization without altering memory strength compared to the first experiment, whereas pre-exposure to the aversive chamber promoted discrimination and memory strength. Notably, the different procedures yielded similar effects in both sexes. However, the results also indicate an overall pattern of greater contextual discrimination in females compared to males. These findings provide evidence for how different contextual exposures influence the degree of encoding at the time of training and a behavioral foundation for future studies examining the neurobiological mechanisms underlying memory strength and precision in IA, while highlighting the importance of using both sexes in initial behavioral work.

Episodic-like memories exist along at least two dimensions: strength and precision. Memory strength, or the degree of retention for a particular event, is frequently measured using context-footshock associations in rodents (Santos-Anderson and Routtenberg 1976; Boast and McIntyre 1977). In these types of learning tasks, animals are given a footshock in a particular context and then tested for their retention in that same context at a later time point. Stimulus generalization can occur as rodents respond to stimuli that are similar to but distinct from the conditioned stimulus (Pavlov 1927; Guttman and Kalish 1956). In context-footshock learning, memory precision, or the degree of discrimination versus generalization between similar contexts, has traditionally been assessed by testing animals in both the original training context as well as a contextually modified yet similar context. Figure 1A provides a conceptual model to demonstrate how strength and precision reflect different aspects of memory.

Figure 1.

(A) Conceptual model illustrating the dissociation between memory strength and precision. (B) Pictures of IA chambers, with the aversive/training chamber shown on the left and the neutral chamber shown on the right.

Inhibitory avoidance (IA) is a single-trial learning task in which a rodent receives a footshock in a distinct context and has frequently been used to investigate the neurobiological mechanisms underlying memory consolidation in rodents, with a primary focus on the memory strength for the original learning event (Parent et al. 1995; McIntyre et al. 2002; Huff et al. 2013). However, as recent studies can attest, IA can also be used to assess memory precision (Atucha and Roozendaal 2015; Met Hoxha et al. 2024). Previous work suggests that the degree of contextual exposure around the time of training influences retention, presumably due to the extent of contextual encoding. Indeed, prior evidence has found that pre-exposure to the training context plays a critical role in contextual encoding, often leading to enhanced retention, in a variety of behavioral paradigms including IA (Fanselow 1990; Bae et al. 2015; Huff et al. 2016). However, fewer studies have investigated the effects of context pre-exposures on memory precision in IA.

Therefore, to address how different kinds of contextual exposures around the time of training influence IA retention, the goal of the current work was to identify the influence of several different behavioral procedures during or before training on memory strength and precision. Moreover, as considerable evidence suggests that rodents show increasing context generalization as time passes following the original training, consistent with many theories of systems consolidation (Perkins and Weyant 1958; Wiltgen and Silva 2007; Wiltgen et al. 2010; Atucha et al. 2017; Pollack et al. 2018), the present studies also examined retention at both recent (2 days) and remote (28 days) time points after IA training to determine whether these procedures had long-lasting consequences for strength and precision. The first experiment examined how retaining rats in the lit (non-shock) compartment of the IA apparatus for 10 versus 60 sec altered subsequent retention measures. A follow-up experiment investigated how testing in the two chambers on the same day, as opposed to alternating days, influenced the results. Two subsequent experiments examined how pre-exposure to the neutral or the aversive training context 1 day before IA training influenced subsequent measures of strength and retention. As most prior IA studies have used only male rodents, the present work used both males and females to assess whether sex influences the effects of any of these procedural differences. Together, the results suggest that neutral context pre-exposure biases rats toward generalization whereas pre-exposure to the aversive context biases rats toward discrimination.

Results

Male and female Long–Evans rats were trained on a single-trial step-through IA task and were tested in both the original context (hereafter, the “aversive context”) and a slightly modified neutral context (Fig. 1B). During training, rats were placed in the lit compartment of the aversive IA chamber facing away from the retractable door, which was in place to separate the lit and darkened compartments. The door was then opened, and rats were allowed to cross into the dark compartment. Upon crossing over, the door was closed to prevent them from returning to the lit compartment, and rats received one single inescapable footshock (0.5 mA for 1 sec).

Rats were tested for their retention 2–3 days (recent) and 28–29 days (remote) later, with testing occurring in the aversive and neutral context on separate days in a counterbalanced manner, except for Experiment 2 in which testing in both chambers occurred on the same day. The latency to cross from the lit compartment into the darkened compartment with all four paws was used as the measure of retention in both chambers, with a maximum latency of 600 sec.

Experiment 1: 60 sec holding period increased memory strength and discrimination

Prior work with IA from our laboratory has often found a large positive skew in the retention test data, with a large cluster of data points showing relatively low retention latencies and fewer data points approaching higher latencies (Wahlstrom et al. 2018; Glickman et al. 2024). One possible explanation for this skew is that it reflects a wide degree of variation among rats for encoding the context during training. That is, many rats may fail to accurately encode the contextual significance of the IA chamber during training, leading to poor retention. Therefore, Experiment 1 examined whether providing a greater opportunity to encode the context during training would enhance retention and reduce skewness. To test this hypothesis, rats were retained in the lit compartment during training for either 10 or 60 sec prior to the door being retracted. Figure 2A shows the experimental timeline for Experiment 1. Figure 2B shows training latencies for rats in the 10 and 60 sec holding conditions. An unpaired t-test revealed that training latencies were significantly higher in rats retained in the lit compartment for 60 sec compared to rats retained for only 10 sec (t(36) = 2.98, P = 0.005). Figure 2C shows the recent and remote retention test latencies in the 10 sec (left) and 60 sec (right) conditions. For rats in the 10 sec condition, a two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test (F(1,18) = 1.90, P = 0.19), no significant main effect of context (F(1,18) = 2.61, P = 0.12), and no significant interaction (F(1,18) = 0.05, P = 0.82). Thus, rats in the 10 sec condition did not discriminate at either time point and showed no latency differences between the recent and remote retention tests. In contrast, for rats in the 60 sec condition, a two-way repeated measures ANOVA revealed a significant main effect of recent versus remote test (F(1,17) = 5.55, P = 0.031), a significant main effect of context (F(1,17) = 7.10, P = 0.016), and no significant interaction (F(1,17) = 1.46, P = 0.24). Post hoc tests revealed a significant difference in aversive context latencies between recent and remote retention tests (P = 0.007) and a significant difference between aversive and neutral context latencies at the recent retention test (P = 0.023). Thus, rats in the 60 sec group discriminated at the recent test and showed a decrease in retention from the recent to the remote test in the aversive context.

Figure 2.

The 60 sec holding period, compared to a 10 sec holding period, increased memory strength at both recent and remote retention tests and promoted memory discrimination at the recent retention test. (A) Experimental timeline. Rats underwent IA training while being retained for either 10 or 60 sec in the lit compartment before the door was retracted. Rats were then tested at recent and remote retention tests in each chamber. (B) Rats in the 60 sec condition showed significantly longer training latencies compared to rats in the 10 sec condition. (C, left) Rats in the 10 sec condition did not discriminate at either time point. (Right) Rats in the 60 sec condition discriminated at the recent retention test and generalized at the remote retention test, with a significant reduction in aversive context latencies (i.e., memory strength) between recent and remote retention tests. (D, top left and right) Male rats in the 10 and 60 sec conditions, respectively, did not discriminate at either time point. (Bottom left and right) Female rats in either condition did not discriminate at either time point. However, female rats in the 60 sec condition displayed a significant reduction in memory strength from the recent to the remote test, as well as a trend toward a reduction in neutral context latencies from the recent to remote test. (E) Violin plots illustrating the skewness in the 10 sec condition (left) and 60 sec condition (left) at the recent retention test (i.e., same data as C, but in a different format to specifically show skew). (F, left) Rats had higher aversive context latencies (i.e., memory strength) in the 60 sec condition compared to the 10 sec condition at the recent retention test. Male (middle) and female (right) rats had higher aversive context latencies in the 60 sec condition compared to the 10 sec condition at the recent retention test. (G, left) Rats had higher aversive context latencies (i.e., memory strength) in the 60 sec condition compared to the 10 sec condition at the remote retention test. However, only female rats showed higher aversive context latencies in the 60 sec condition compared to the 10 sec condition at the remote test (right). (H) Testing order had no effect on retention latencies in either holding condition at the recent retention test. (I) Testing order had no effect on retention latencies in either holding condition at the remote retention test. (*) P < 0.05, (**) P < 0.01, (***) P < 0.001, (****) P < 0.0001.

Figure 2D shows the data from Figure 2B split by sex (top: males; bottom: females). For male rats in the 10 sec condition, a two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test (F(1,8) = 0.12, P = 0.74), a nonsignificant trend toward a main effect of context (F(1,8) = 5.11, P = 0.054), and no significant interaction (F(1,8) = 0.84, P = 0.39). Post hoc tests revealed no significant differences between conditions. Moreover, it appears that the rats had higher latencies in the neutral context compared to the aversive context. As this effect is in the opposite direction of what we would expect, this likely does not reflect a true difference. For female rats in the 10 sec condition, a two-way repeated measures ANOVA revealed a nonsignificant trend toward a main effect of recent versus remote test (F(1,9) = 3.76, P = 0.084), no significant main effect of context (F(1,9) = 0.01, P = 0.93), and no significant interaction (F(1,9) = 0.55, P = 0.48). Post hoc tests revealed no significant differences between conditions. Thus, when the data are split by sex, neither males nor females in the 10 sec condition discriminated at either time point.

For the 60 sec condition (Fig. 2D, right), a two-way repeated measures ANOVA of latencies for male rats revealed no significant main effect of recent versus remote test (F(1,8) = 0.001, P = 0.97), no significant main effect of context (F(1,8) = 3.05, P = 0.12), and no significant interaction (F(1,8) = 0.71, P = 0.42). In contrast, for female rats in the 60 sec condition, a two-way repeated measures ANOVA revealed a significant main effect of recent versus remote test (F(1,8) = 16.29, P = 0.004), a nonsignificant trend toward a main effect of context (F(1,8) = 5.05, P = 0.055), and no significant interaction (F(1,8) = 0.69, P = 0.43). Post hoc tests revealed a significant difference in aversive context latency between recent and remote retention tests (P = 0.044) and a nonsignificant trend toward a difference in neutral context latencies between recent and remote retention tests (P = 0.053). Thus, when split by sex, neither males nor females discriminated at either time point. However, both groups still showed the same pattern of discrimination as when both sexes were combined. Additionally, only females showed a significant reduction in memory strength between recent and remote retention tests, suggesting that females drove the overall effect of testing time point.

To investigate the possibility of reduced skewness in the 60 sec condition compared to the 10 sec condition, Pearson's second coefficient of skewness was calculated for the recent retention test data for both conditions, and violin plots with individual data points were created to compare the two conditions (Fig. 2E). For the 10 sec data, the coefficient of skewness was 1.37, indicating a high degree of positive skewness, which is similar to what we have previously observed with IA retention latencies (Wahlstrom et al. 2018; Glickman et al. 2024). For the 60 sec data, the coefficient of skewness was −0.34, indicating a very mild negative skew, likely reflecting the imposition of the artificial ceiling at 600 sec. Thus, the 60 sec holding condition resulted in reduced skewness compared to the 10 sec condition. Based on these results, Experiments 2, 3, and 4 exclusively used the 60 sec holding condition during training.

Figure 2F shows how the 10 versus 60 sec conditions affected memory strength (i.e., aversive context latency) at the recent retention test. An unpaired t-test on the 10 versus 60 sec condition at the recent time point revealed that the 10 sec rats had significantly poorer memory strength compared to the 60 sec rats (t(35) = 4.53, P < 0.0001). When split by sex, males and females both had significantly poorer memory strength in the 10 sec condition compared to the 60 sec condition at the recent time point (t(17) = 2.56, P = 0.020 for males and t(18) = 4.48, P < 0.001 for females). Thus, rats showed poorer memory strength in the 10 sec condition compared to the 60 sec condition at the recent retention test.

Figure 2G shows how the 10 versus 60 sec conditions affected memory strength at the remote retention test. An unpaired t-test on the two conditions at the remote time point again revealed that the 10 sec rats had significantly poorer memory strength compared to the 60 sec rats (t(35) = 2.65, P = 0.012). When split by sex, males did not show any difference in memory strength between the 10 and 60 sec conditions at the remote retention test (t(16) = 1.23, P = 0.24), whereas females again had significantly poorer memory strength in the 10 sec condition compared to the 60 sec condition (t(17) = 2.96, P = 0.009). Thus, rats showed poorer memory strength in the 10 sec condition compared to the 60 sec condition at the remote time point, with females driving this effect.

Because the chamber testing order was counterbalanced, we wanted to determine whether testing order had an effect. Figure 2H shows the same retention test data as Figure 2C split by order of testing for the recent retention test. For rats in the 10 sec condition at the recent time point, a two-way repeated measures ANOVA revealed no significant main effect of order (F(1,17) = 0.33, P = 0.57), no significant main effect of context (F(1,17) = 0.71, P = 0.41), and no significant interaction (F(1,17) = 1.01, P = 0.33). For rats in the 60 sec condition at the recent time point, a two-way repeated measures ANOVA revealed no significant main effect of order (F(1,16) = 0.18, P = 0.68), a significant main effect of context (F(1,16) = 5.13, P = 0.038), and no significant interaction (F(1,16) = 0.78, P = 0.39). Post hoc tests revealed no significant differences between conditions. Thus, rats in both the 10 and 60 sec conditions did not show significant order effects at the recent retention test.

Figure 2I shows the remote retention test data split by order of testing. For the rats in the 10 sec condition at the remote time point, a two-way repeated measures ANOVA revealed no significant main effect of order (F(1,17) = 0.09, P = 0.77), no significant main effect of context (F(1,17) = 1.61, P = 0.22), and no significant interaction (F(1,17) = 0.13, P = 0.72). For rats in the 60 sec condition at the remote time point, a two-way repeated measures ANOVA revealed no significant main effect of order (F(1,16) = 0.25, P = 0.62), no significant main effect of context (F(1,16) = 2.62, P = 0.13), and a nonsignificant trend toward an interaction (F(1,16) = 3.28, P = 0.089). Post hoc tests revealed no significant differences between conditions. Thus, rats in both the 10 and 60 sec conditions did not show significant order effects at the remote retention test.

Experiment 2: Retention testing in both chambers on the same day led to testing order effects

Experiment 2 used identical training procedures as Experiment 1 with the use of the 60 sec holding condition; however, rats were tested in both chambers on the same day for each retention test instead of being tested on two separate days. Figure 3A shows the experimental timeline. Figure 3B shows the recent and remote retention test latencies. A two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test or interaction (F(1,18) = 0.33, P = 0.58; F(1,18) = 0.08, P = 0.78), but a significant main effect of context (F(1,18) = 9.47, P = 0.007). Post hoc tests revealed a nonsignificant trend toward a difference in aversive and neutral context latencies at the recent time point (P = 0.075). Thus, rats showed an overall difference in latencies in the aversive and neutral contexts, though they did not discriminate to a significant degree at either time point.

Figure 3.

IA testing in both chambers on the same day resulted in significant testing order effects. (A) Experimental timeline. Rats underwent IA training (all with the 60 sec condition) and were then tested in each chamber on the same day at recent and remote time points. (B) Rats demonstrated a nonsignificant trend toward discrimination in the recent retention test and did not discriminate at the remote retention test. (C, left) Male rats did not discriminate at either time point. (Right) Female rats discriminated at both recent and remote time points. (D, left) At the recent retention test, rats discriminated when tested in the aversive chamber first and generalized when tested in the neutral chamber first. Additionally, rats tested in the aversive chamber first showed significantly higher aversive context latencies (i.e., memory strength) than those tested in the neutral chamber first. (Right) At the remote retention test, rats tested in the aversive chamber first showed a trend toward discrimination that was not present in rats tested in the neutral chamber first. (#) P < 0.1, (*) P < 0.05, (**) P < 0.01.

Figure 3C shows the same recent and remote retention test data split by sex (males on left, females on right). A two-way repeated measures ANOVA for male rats revealed no significant main effect of recent versus remote test, context, or interaction (F(1,9) = 0.24, P = 0.64; F(1,9) = 2.41, P = 0.16; F(1,9) = 0.03, P = 0.86, respectively). A two-way repeated measures ANOVA for female rats revealed no significant main effect of recent versus remote test or interaction (F(1,8) = 2.45, P = 0.16; F(1,8) = 0.11, P = 0.75, respectively), but a significant main effect of context (F(1,8) = 8.00, P = 0.022). Post hoc tests revealed that females showed a significant difference in aversive and neutral context latencies at both the recent time point (P = 0.004) and the remote time point (P = 0.005). Thus, when split by sex, male rats did not discriminate at either time point, whereas female rats discriminated at both time points.

Figure 3D shows the effects of order on these retention test results (recent retention test on left, remote retention test on right). A two-way repeated measures ANOVA revealed that, at the recent retention test, there was no significant main effect of order (F(1,17) = 0.19, P = 0.67), a significant main effect of context (F(1,17) = 6.92, P = 0.018), and a significant interaction (F(1,17) = 13.53, P = 0.002). Post hoc tests revealed a significant difference in aversive context latencies between rats tested in the aversive context first versus neutral context first (P = 0.029) and a significant difference between aversive and neutral context latencies for rats tested in the aversive chamber first (P = 0.001). Thus, at the recent retention test, rats tested in the aversive chamber first discriminated, whereas rats tested in the neutral chamber first did not discriminate. Additionally, rats tested in the aversive chamber first showed significantly better memory strength than rats tested in the neutral chamber first. For the remote retention test data, a two-way repeated measures ANOVA revealed no significant main effect of order or interaction (F(1,17) = 0.14, P = 0.71; F(1,17) = 1.76, P = 0.20), but a significant main effect of context (F(1,17) = 6.56, P = 0.020). Post hoc tests revealed a nonsignificant trend toward a difference between aversive and neutral context latencies for rats tested in the aversive chamber first (P = 0.062). Thus, rats tested in the aversive chamber first showed a trend toward discrimination at the remote time point that was not present in the rats tested in the neutral chamber first. Therefore, due to the chamber testing order effects, subsequent experiments used the same testing procedures as Experiment 1.

Experiment 3: Pre-exposure to the neutral chamber promoted generalization

Experiment 3 examined the effect of a pre-exposure to the neutral context the day before training. Figure 4A shows the experimental timeline. Figure 4B shows the recent and remote retention test latencies. A two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test (F(1,17) = 2.20, P = 0.16), no significant main effect of context (F(1,17) = 0.24, P = 0.63), and no significant interaction (F(1,17) = 0.22, P = 0.64). Thus, with a pre-exposure to the neutral chamber, rats generalized at both time points.

Figure 4.

Pre-exposure to the neutral chamber promoted generalization at the recent retention test. (A) Experimental timeline. Rats were given a 5 min pre-exposure to the neutral chamber, and the next day underwent IA training (all with the 60 sec condition). Rats were then tested at recent and remote retention tests in each chamber. (B) Rats generalized at both recent and remote retention tests. (C) Males (left) and females (right) generalized at both time points. (D) Testing order had no effect on retention latencies at both recent (left) and remote (right) retention tests.

Figure 4C shows the same recent and remote retention test data split by sex (males on left, females on right). A two-way repeated measures ANOVA for the males revealed no significant main effect of recent versus remote test (F(1,7) = 0.37, P = 0.56), no significant main effect of context (F(1,7) = 0.71, P = 0.43), and no significant interaction (F(1,7) = 0.54, P = 0.49). Similarly, for females, a two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test (F(1,9) = 1.83, P = 0.21), no significant main effect of context (F(1,9) = 1.93, P = 0.20), and no significant interaction (F(1,9) < 0.01, P = 0.99). Thus, when split by sex, both males and females generalized at both time points.

Figure 4D shows the effects of order on these retention test results (recent retention test on left, remote retention test on right). A two-way repeated measures ANOVA revealed that, at the recent retention test, there was no main effect of order (F(1,17) = 1.13, P = 0.30), no main effect of context (F(1,17) = 0.30, P = 0.59), and a nonsignificant trend toward an interaction (F(1,17) = 3.20, P = 0.092). Post hoc tests, however, revealed no significant differences between conditions. For the remote retention test data, a two-way repeated measures ANOVA revealed no significant main effect of order (F(1,16) = 1.13, P = 0.30), no significant main effect of context (F(1,16) < 0.01, P = 0.94), and no significant interaction (F(1,16) = 0.90, P = 0.36). Thus, testing order did not significantly alter the results, with the exception of the trend toward an interaction at the recent time point.

Experiment 4: Pre-exposure to the aversive chamber promoted discrimination and memory strength

Experiment 4 examined the effect of a pre-exposure to the aversive context. Figure 5A shows the experimental timeline. Figure 5B shows the recent and remote retention test latencies. A two-way repeated measures ANOVA revealed no significant main effect of recent versus remote test (F(1,17) = 2.46, P = 0.14), a significant main effect of context (F(1,17) = 54.03, P < 0.001), and a significant interaction (F(1,17) = 37.92, P < 0.001). Post hoc tests revealed a significant difference in aversive context latencies between the recent and remote retention tests (P < 0.001), a significant difference between aversive and neutral context latencies at the recent retention test (P < 0.001), and a significant difference between aversive and neutral context latencies at the remote retention test (P < 0.001). Thus, with a pre-exposure to the aversive chamber, rats discriminated at both time points, albeit with a significant reduction in memory strength between the recent and remote time points.

Figure 5.

Pre-exposure to the aversive chamber promoted discrimination and memory strength at both recent and remote retention tests. (A) Experimental timeline. Rats were given a 5 min pre-exposure to the aversive chamber, and the next day underwent IA training (all with the 60 sec condition). Rats were then tested at recent and remote retention tests in each chamber. (B) Rats discriminated at both recent and remote retention tests, with a significant reduction in aversive context latencies (i.e., memory strength) between recent and remote time points. (C, left) Males discriminated at the recent retention test and generalized at the remote retention test. (Right) Females discriminated at both recent remote retention tests, with a significant reduction in aversive context latencies (i.e., memory strength) between recent and remote time points. (D, top) Discrimination ratio calculation. (Bottom) Discrimination ratios calculated for males and females indicated enhanced discrimination in females at the recent retention test compared to males. (E, left) Testing order had no effect on retention latencies at the recent retention test. (Right) At the remote retention test, rats tested in the aversive chamber first generalized, whereas rats tested in the neutral chamber first discriminated. (*) P < 0.05, (**) P < 0.01, (***) P < 0.001, (****) P < 0.0001.

Figure 5C shows the same retention test data split by sex (males on left, females on right). A two-way repeated measures ANOVA for the males revealed no significant main effect of recent versus remote test (F(1,7) = 0.04, P = 0.85), a significant main effect of context (F(1,7) = 11.28, P = 0.012), and a significant interaction (F(1,7) = 10.75, P = 0.014). Post hoc tests revealed a significant difference between aversive and neutral context latencies at the recent retention test (P = 0.002), but no difference between aversive and neutral context latencies at the remote retention test. Thus, males discriminated at the recent time point, but not at the remote time point. For females, a two-way repeated measures ANOVA revealed a nonsignificant trend toward a main effect of recent versus remote test (F(1,9) = 3.57, P = 0.091), a significant main effect of context (F(1,9) = 85.21, P < 0.001), and a significant interaction (F(1,9) = 30.60, P < 0.001). Post hoc tests revealed a significant difference in aversive context latencies between the recent and remote retention tests (P < 0.001), a significant difference between aversive and neutral context latencies at the recent retention test (P < 0.001), and a significant difference between aversive and neutral context latencies at the remote retention test (P = 0.003). Thus, females discriminated at both time points and showed a significant reduction in memory strength between the recent and remote time points.

Even though both males and females discriminated at the recent retention test, the data suggested a difference in the degree of discrimination. To investigate this possibility, discrimination ratios (aversive context latency/[aversive context latency + neutral context latency]) were calculated. As shown in Figure 5D, an unpaired t-test revealed that females showed significantly greater discrimination ratios than males (t(16) = 3.52, P = 0.003). Thus, at the recent time point, females discriminated between aversive and neutral contexts to a greater extent than males.

Figure 5E shows the effects of testing order on these retention test results (recent retention test on left, remote retention test on right). A two-way repeated measures ANOVA revealed that, at the recent retention test, there was no significant main effect of order (F(1,16) = 0.06, P = 0.81), a significant main effect of context (F(1,16) = 95.72, P < 0.001), and no significant interaction (F(1,16) = 1.40, P = 0.26). Post hoc tests revealed a significant difference between aversive and neutral context latencies for rats tested in both the aversive first (P < 0.001) and neutral first (P < 0.001) conditions. For the remote retention test data, a two-way repeated measures ANOVA revealed no main effect of order (F(1,16) = 0.22, P = 0.65), a main effect of context (F(1,16) = 10.42, P = 0.005), and a significant interaction (F(1,16) = 5.31, P = 0.035). Post hoc tests revealed a significant difference between aversive and neutral context latencies for rats tested in the neutral chamber first (P = 0.003), but not for rats tested in the aversive chamber first. Thus, there were no significant order effects at the recent retention test, but there were significant order effects at the remote retention test, as only rats tested in the neutral chamber first discriminated.

Ancillary analyses

In addition to the analyses described above, two additional analyses were conducted. First, to determine whether there were differences in memory strength at the recent retention test between the two pre-exposure groups (Experiments 2 and 3) and the no pre-exposure group from Experiment 1 (60 sec condition only), the aversive context latencies were compared across all three groups. Figure 6A shows the results from comparing aversive context latencies from the recent retention tests in the no pre-exposure group, neutral context pre-exposure group, and aversive context pre-exposure group. A one-way between-subjects ANOVA revealed a significant effect of testing condition on retention latency (F(2,52) = 8.32, P < 0.001). Post hoc tests revealed a significant difference between the no pre-exposure group and the aversive context pre-exposure group (P = 0.007), a significant difference between the neutral context pre-exposure group and the aversive context pre-exposure group (P = 0.001), and no significant difference between the no pre-exposure group and the neutral context pre-exposure group. Thus, the aversive context pre-exposure significantly increased memory strength compared to the no pre-exposure condition and the neutral pre-exposure condition.

Figure 6.

(A) Recent aversive retention latency (i.e., memory strength) was increased in the aversive context pre-exposure condition compared to the no pre-exposure condition (60 sec condition only) and the neutral context pre-exposure condition, whereas memory strength in the neutral context pre-exposure condition did not differ from that of the no pre-exposure condition. (B) When data from all experiments were combined, females showed a significant reduction in memory strength between the recent and remote retention tests that was not seen in males. (**) P < 0.01, (****) P < 0.0001.

Second, as there appeared to be a pattern across the experiments in which females, but not males, showed a reduction in memory strength from the recent to the remote tests, the data from all experiments (Experiments 1–4, 60 sec condition only from Experiment 1) were combined and analyzed between the early and late tests. Figure 6B shows the results from combining recent and remote aversive context retention latencies across all conditions (Experiments 1–4) for males and females. A two-way repeated measures ANOVA revealed a significant main effect of recent versus remote test (F(1,71) = 18.04, P < 0.001), no significant main effect of sex (F(1,71) = 0.41, P = 0.53), and a significant interaction (F(1,71) = 5.75, P = 0.019). Post hoc tests revealed a significant difference between recent and remote retention latencies for females (P < 0.001) but not for males. Thus, these results confirmed the overall pattern of females, but not males, showing a reduction in memory strength from the recent to the remote retention test.

Discussion

The present findings point to several different procedures capable of biasing IA to produce changes in memory strength and/or precision, as assessed at recent and remote time points. The results indicate that keeping rats in the lit compartment of the aversive chamber for 60 sec on training day, as opposed to 10 sec, enhanced discrimination at the recent retention test and improved memory strength at both recent and remote retention tests. The present findings also suggest that testing rats in both chambers on the same day produced testing order effects. The last set of experiments then examined how pre-exposures to the neutral and aversive chambers, respectively, influenced memory strength and precision. The results indicate that pre-exposure to the neutral chamber promoted generalization without affecting memory strength, whereas pre-exposure to the aversive chamber promoted discrimination along with improved memory strength. Finally, the current work observed sex differences in several of the experiments, with the overall pattern suggesting enhanced discrimination in females compared to males.

Ten versus 60 sec holding conditions

Prior work, including from our laboratory, has often used IA procedures wherein rats are kept in the lit compartment for only 10 sec during training or even are placed in the lit compartment with the door already retracted (Lalumiere et al. 2004; Lalumiere and McGaugh 2005; Glickman et al. 2024). Such procedures have led to positive skewing, in which many rats display low retention latencies, even as some display much higher retention latencies (Wahlstrom et al. 2018; Glickman et al. 2024). Therefore, we hypothesized that additional time to encode the context before the footshock would improve memory strength and reduce the degree of skew, an idea that the findings of Experiment 1 support. Thus, the remaining experiments exclusively used the 60 sec holding condition.

Context pre-exposure

Prior work suggests that pre-exposure to different contexts alters the resulting memory strength and/or discrimination (Keiser et al. 2017). Therefore, the present experiments attempted to identify procedures that might bias rats toward generalization versus discrimination in IA. One possible explanation for the relatively weak discrimination at the recent retention test in Experiment 1 was that the rats did not have prior exposure to the neutral chamber and, therefore, perceived the neutral chamber as closely related to the aversive chamber. Thus, we conjectured that giving rats a separate exposure to the neutral chamber without a footshock would facilitate encoding of the neutral chamber, thereby enhancing contextual discrimination during the retention test. However, the results suggest just the opposite, as pre-exposure to the neutral chamber in Experiment 3 promoted generalization at both the recent and remote test without affecting memory strength. Previous work found that pre-exposure to the neutral context 1 min before IA training promoted generalization, whereas pre-exposure 2 min before training restored strong discrimination (Atucha and Roozendaal 2015). However, it is unclear how those findings fit with the current results. Atucha and Roozendaal used Sprague–Dawley rats in contrast to the present work using Long–Evans rats, and prior studies have observed strain differences in rats in various learning and memory tasks (Tonkiss et al. 1992; Andrews et al. 1995; Turner and Burne 2014; Olivera-Pasilio and Dabrowska 2023). Moreover, the present study used a pre-exposure 1 day in advance, in contrast to the Atucha and Roozendaal study, providing time for consolidation of the contextual memory over a full day prior to training.

In contrast to neutral context pre-exposure, Experiment 4 found that pre-exposure to the aversive context enhanced memory strength. This finding is consistent with a large body of evidence indicating that such pre-exposure improves memory strength in contextual fear conditioning (Fanselow 1990; Bae et al. 2015). Moreover, aversive context pre-exposure also promoted discrimination, even at the remote time point. However, the effect at the remote time point appears to have been primarily driven by the females. The enhanced discrimination seen in Experiment 4 is likely related to the overall increase in memory strength, with perhaps a small decrease in neutral context latencies also contributing to discrimination.

Notably, unpublished work from one author (J.J.R.) found that pre-exposure to the neutral chamber promotes generalization even when the pre-exposure occurs 7 days before training. Together with the present results, these findings suggest that the generalization observed in Experiment 3 does not simply result from temporal proximity between pre-exposure and training. One possibility is that the context pre-exposure establishes a memory trace for the neutral chamber that, due to contextual similarity, is reactivated during training. Consequently, when the footshock occurs, the contextual trace associated with the footshock encompasses both contexts. Neuronal ensemble tagging techniques (for review, see Josselyn and Tonegawa 2020) may be helpful for examining this issue. Such approaches would permit the “capture” of the ensemble active during pre-exposure, allowing for selective manipulations of this same ensemble during training or retrieval to address the question of overlapping ensembles (Kim et al. 2020; Sanchez et al. 2020; Jung et al. 2023). Evidence suggests that larger, less sparse ensembles in the lateral amygdala support a generalized memory in tone fear conditioning (Lesuis et al. 2025). Thus, rats that display contextual generalization with a pre-exposure to the neutral context in IA may also have a less sparse engram, due to the presence of both the neutral and aversive context ensembles prior to retention testing. Similarly, perhaps the reason for the improvement in memory strength with an aversive context pre-exposure, as seen in Experiment 4, is that rats established a memory trace for the aversive context during the pre-exposure that was then reinforced during training, leading to increased memory strength. Prior work using contextual fear conditioning and IA suggests that the dorsal hippocampus is important for forming a representation of the pre-exposure context (Rudy et al. 2002; Roesler et al. 2005), pointing to a potential target for future ensemble tagging studies. Although the current work indicates that contextual pre-exposure indeed altered memory retention, presumably by affecting the context encoding process, this does not necessarily mean that IA exclusively involves context-footshock associations. The possibility that rats may have also learned noncontextual components of the task, such as stimulus-response or stimulus-affect associations, cannot be ruled out.

Sex differences in memory strength and precision

The present results identified a pattern of females showing enhanced discrimination compared to males, particularly in Experiment 4. An additional sex difference was observed in the tendency for females to show a reduction in memory strength between the recent and remote time points, whereas males displayed a relatively consistent amount of memory strength across time. Although most prior IA studies have used only male rodents, several studies have included both sexes, albeit with somewhat inconsistent results. Prior work with mice found that females had better memory strength than males in IA (Monleon et al. 2002; Parra et al. 2013), a finding that is relatively consistent with the present finding of enhanced discrimination in females. In rats, however, the opposite effect has been observed, with males generally showing better memory strength in IA compared to females (Heinsbroek et al. 1988; Ramos-Pratts et al. 2013; Edwards et al. 2021). Notably, the vast majority of prior IA work has not done retention testing in both an aversive and a neutral chamber. Indeed, prior to the present work, we are unaware of any investigation into sex differences in this two-chamber IA approach with recent and remote retention testing. Nonetheless, the present study seems to contrast somewhat with prior IA work done in rats, as the present results did not find a tendency for males to show better memory strength than females.

Previous work has observed a tendency for episodic-like memories to lose their strength from recent to remote time points (Asok et al. 2018), but the current study found evidence of this effect only in females. Past work has found evidence for sex differences in contextual fear conditioning, with males typically showing better retention than females (Maren et al. 1994; Russo and Parsons 2021) and females showing elevated levels of generalization compared to males (Keiser et al. 2017). Intriguingly, sex differences in contextual fear conditioning can be altered depending on several behavioral factors, such as context pre-exposure (Asok et al. 2019; Trott et al. 2022) and the interval between placement in the chamber and shock during training (Wiltgen et al. 2001). However, in contrast to prior work (Keiser et al. 2017), the present study found that females tended to discriminate more than males, with a pattern of increased memory strength compared to males. One possible explanation for the conflicting results is that IA measures retention latencies, as opposed to freezing, which is typically used in contextual fear conditioning experiments. Prior evidence suggests that females may display nonfreezing behavior that is still indicative of retention of fear memory. For example, darting behaviors in auditory fear conditioning studies have been observed in females particularly (Gruene et al. 2015; Mitchell et al. 2022), indicating that freezing alone may not be the most reflective measure of retention in rodents. Thus, latencies, which do not depend exclusively on freezing, may provide a larger “umbrella” measure of retention for both males and females. Nonetheless, even latencies may not capture the full range of behavior indicative of learning. Thus, it is possible that other differences in behavior could reveal important findings with regard to generalization or discrimination between the contexts. The use of supervised machine learning algorithms to analyze behavioral recordings during retention tests may be especially beneficial in identifying such additional indices of retention.

Together, the present results found that (1) keeping rats in the lit compartment on training day for 60 sec, relative to 10 sec, resulted in improved discrimination at the recent retention test and improved memory strength at both the recent and remote retention tests, (2) testing rats in each IA chamber on the same day led to testing order effects, (3) a pre-exposure to the neutral chamber promoted generalization, and (4) a pre-exposure to the aversive chamber promoted discrimination and memory strength. These procedures provide a roadmap for investigating questions about memory strength and precision and point to critical experiments for understanding the effects of different types of context pre-exposure on contextual encoding. In addition, the current work provides evidence for how differences in behavioral procedures at the time of encoding can lead to different results in retention.

Materials and Methods

Subjects

Adult male and female Long–Evans rats (10–11 weeks at time of arrival) from Charles River Laboratories (N = 92) were used for these experiments. Rats were single-housed in a temperature-controlled environment under a 12-h light–dark cycle (lights on at 06:00) and allowed to acclimate to the vivarium for at least 2 days prior to the start of handling. Food and water were available ad libitum during all behavioral experiments. All procedures were compliant with the National Institutes of Health Guidelines for the Care of Laboratory Animals and were approved by the University of Iowa Institutional Animal Care and Use Committee.

Behavioral procedures/apparatus

Apparatus

The IA chambers each consisted of a trough-shaped box (91 cm long and 20 cm deep) divided into two compartments. The first third was the non-shock compartment, which had white plastic floor and walls and was illuminated by a table lamp, and the second two-thirds comprised the shock compartment, which was made of stainless steel and was not illuminated. The chambers contained a stainless-steel retractable door separating the two compartments. The aversive chamber was connected to a shock generator (Lafayette Instrument Company) controlled by a timer. Both chambers were kept in the same room on tables with ∼1.25 m separating them. The neutral context was modified to appear contextually distinct in the following ways: (1) The dark compartment contained eight 2 in wide pieces of white tape on the walls and floor of the dark compartment; (2) the lit, non-shock compartment of the aversive chamber was made of smooth plastic, whereas the non-shock compartment of the neutral chamber was made of textured plastic; and (3) the neutral chamber was cleaned between each rat with a lemon-scented multipurpose cleaner, whereas the aversive context was cleaned with a 20% ethanol solution between each rat.

General IA procedures

Prior to any behavioral training, all rats underwent 3 days of handling, wherein they were handled individually for 1 min per day. Rats were handled in a room separate from the room in which they underwent behavioral training/testing and were allowed to acclimate to the handling room for 30 min before and after handling each of the 3 days. Additionally, during all handling, training, and testing, white noise (60 dB) was played.

For training and testing, rats were kept in their homecages in the handling room for 1 h before and after training and testing. During IA training, when the rat crossed over with all four paws, the door was raised, forcing the rat to remain in the dark compartment. After 20 sec, the rat received a single inescapable footshock (0.5 mA for 1 sec). The rat remained in the dark compartment for another 20 sec following footshock, after which the rat was removed and returned to its homecage.

During retention tests, each rat was placed in the lit compartment of each chamber facing away from the retractable door. After 10 sec in the lit compartment, the retractable door was lowered, and the rat was allowed to cross into the dark compartment. Latencies to cross over were recorded.

Experimental design—Experiment 1: 10 versus 60 sec holding period

All procedures were identical to those described in the General IA Procedures, with rats being held in the lit compartment during IA training for either 10 or 60 sec before the door was retracted.

Experimental design—Experiment 2: same-day testing

The results of Experiment 1 led to all rats in Experiments 2–4 being trained using the 60 sec holding period. Additionally, because prior work found differences in discrimination in the IA task when rats are tested in both chambers on the same day versus on different days (Atucha and Roozendaal 2015), Experiment 2 examined whether testing rats in both chambers on the same day for both recent and remote retention tests, as opposed to the alternating days in Experiment 1, would alter retention measures. Rats were tested in one chamber and then immediately tested in the other chamber before being returned to their homecage. Testing chamber order was counterbalanced. The results of this experiment led to subsequent experiments using the same alternating day testing procedures as Experiment 1.

Experimental design—Experiment 3: pre-exposure to the neutral context

Experiment 3 examined the effects of giving rats a pre-exposure to the neutral context. The day before training, rats were placed in the lit compartment of the neutral context with the retractable door open and were allowed to freely explore the entire chamber for 5 min. The next day, rats underwent IA training with a 60 sec holding period as described above. Rats were tested for retention 2–3 and 28–29 days after training, with testing in each chamber on a separate day, as described in Experiment 1.

Experimental design—Experiment 4: pre-exposure to the aversive context

Experiment 4 examined the effects of giving rats a pre-exposure to the aversive chamber. The pre-exposure procedure was the same as in Experiment 3, except rats were placed in the aversive chamber instead. The training and testing parameters were the same as in Experiment 3.

Statistical analysis

GraphPad Prism 10 was used for all analyses. Retention test latencies were analyzed using two-way repeated measures ANOVAs matched by either the two test environments (aversive and neutral), the two retention tests (recent and remote), or matched by both factors, or one-way between-subjects ANOVAs. Post hoc pairwise comparisons were performed using the Holm–Sidak multiple comparisons test. Paired t-tests were also used to analyze changes in memory strength between recent and remote retention tests, and unpaired t-tests of discrimination ratio values (aversive context latency/[aversive context latency + neutral context latency]) were used to analyze discrimination levels. An unpaired t-test was used in Experiment 1 to analyze differences in training latencies between the 10 and 60 sec conditions. As no difference in training latencies was found across Experiments 1–4, we did not include analyses of training latencies for any experiment besides Experiment 1. Skewness was calculated for the 10 and 60 sec retention test data in Experiment 1 using Pearson's second coefficient of skewness (3 × [mean – median]/standard deviation). All retention test data were also analyzed separately for males and females to determine differences in IA retention between the sexes. Notably, although a large portion of the data failed to meet the normality assumption using the Shapiro–Wilk test, parametric analyses were used in this study for two major reasons. First, historically, the vast majority of IA work, including those studies which we cite for comparison purposes in this paper, has relied on parametric analyses, even though IA data often violate the normality assumption due to the 600 sec cutoff in retention tests (Coleman-Mesches and McGaugh 1995; Roesler et al. 2002; Roozendaal et al. 2002, 2009; Mahmoodi et al. 2010; Moreira et al. 2010; Morena et al. 2014; Esumi et al. 2011; Atucha and Roozendaal 2015; Ferry et al. 2015; Fabbri et al. 2016; Atucha et al. 2017; Lingg et al. 2020; Met Hoxha et al. 2024). Second, parametric tests are highly robust to violations of normality and homogeneity of variance, and even more so when sample sizes are relatively large, as in the present study, and when the sphericity assumption is met, as was the case in all of our ANOVAs (Blanca et al. 2023). For all experiments, data are expressed as the mean ± SEM, and the α level was set at 0.05. Group sizes were based on previous work from our laboratory, and each group's n is shown in its respective figure.

Acknowledgments

This work was supported by the National Institutes of Health grant MH132223 (J.J.R. and R.T.L.). We thank Matthew McGregor, Alexa Zimbelman, Hanxiao Liu, Kaitlyn Jones, and Chris Nguyen for their helpful comments on a draft of the manuscript.

Footnotes

  • Received February 28, 2025.
  • Accepted September 23, 2025.

This article, published in Learning & Memory, is available under a Creative Commons License (Attribution-NonCommercial 4.0 International), as described at http://creativecommons.org/licenses/by-nc/4.0/.

References

| Table of Contents
OPEN ACCESS ARTICLE