Figures and data

Internal state in the latent cause model in the Pavlovian fear conditioning, extinction, and reinstatement.
(A) Schematic diagram of latent cause framework in a simple Pavlovian fear conditioning paradigm. An experimental mouse observes a tone, a context, and an electrical shock, which are set down in a parallelogram. Among the stimuli, the tone is designed as the conditioned stimulus (CS), and the electrical shock is designed as the unconditioned stimulus (US) with additional consideration of context effect. The mouse has an internal model such that a latent cause z generates the observation where the tone and the context induce the shock at an associative weight wcs and wcontext, respectively. The latent cause is a latent variable represented by a white square. The posterior probability of z is represented by a black arrow from z to the observation. The stimuli (i.e., tone, context, and shock) are observed variables represented in shaded circles, and the associative weight w is represented by a black arrow between the two. Since latent causes are unobservable, the mouse infers which latent cause is more likely from posterior distribution over latent causes given the observation following Bayes’ rule. (B) Schematic diagram of internal state posited in the latent cause model demonstrating the memory modification process in the fear conditioning paradigm. The mouse has acquired zA through two observations of the CS accompanied by the US in the same context. Now, the mouse observes the tone alone, then infers a new latent cause zB generating the CS and context without US as wcs and wcontext equal to 0. The internal state at the time consists of zA with largely decreased posterior probability and thereby slightly decreased wcs and wcontext, in addition to zB. The mouse in this panel is likely to differentiate the current observation from zA, as it assigns a higher probability for zB. The posterior probability of zA and zB is represented by the relative size of their diagram. If the mouse generalizes zA to the current observation without inferring zB, it would largely decrease wcs and wcontext of zA to minimize prediction error. (C) Observed and simulated conditioned response (CR) during reinstatement in fear conditioning. In the acquisition phase, a CS was accompanied by a US, inducing associative fear memory in the animal, as it exhibits a higher CR to the CS. In the extinction phase, the CS was presented without the US, inducing extinction memory with decreased CR. After an unsignaled shock without the preceding CS, the CR increases again, and this is called reinstatement. The observed CR was sampled from a 2-month-old male wild-type C57BL/6J mouse (magenta line plot with square markers), where the vertical and horizontal axis indicate CR and cumulative trial, respectively. The latent cause model parameters were estimated so as to minimize the prediction error between the observed and the simulated CR given the parameter (gray line with square markers). The estimated parameter value: α = 2.4, g = 0.316, η = 0.64, max. no. of iteration = 9, w0 = -0.006, σr2 = 4.50, σx2 = 4.39, θ = 0.03, λ = 0.02, K = 6. Trials with red, blue, and yellow backgrounds correspond to the acquisition, extinction, and unsignaled shock, where the first and second extinction consists of 19 and 10 trials, respectively (see Material and Methods). Three trials with white backgrounds are tests 1, 2, and 3 to evaluate if conditioning, extinction, and reinstatement are established. The vertical dashed lines separate the phases. (D) The evolution of the posterior probability and (E) the associative weight of each latent cause across the reinstatement experiment, where wcs (top panel) and wcontext (bottom panel) were computed. (D and E) Each latent cause is indicated by a unique subscript number and color, wcs and wcontext. The latent causes acquired during the acquisition phase and their associative weight are termed zA and wA, respectively. Meanwhile, latent causes acquired during the extinction phase and their associative weight are termed zB and wB, respectively.

AppNL-G-F mice exhibited successful associative learning and extinction but a lower extent of reinstatement.
(A) Schematic diagram of reinstatement paradigm in this study. In the acquisition phase, the CS was accompanied with the US 3 times. In the following phase, either the CS or the US was presented at certain times. The context was the same throughout the experiment. (B) Freezing rate during CS presentation across reinstatement paradigm. The markers and lines show the median freezing rate of each group in each trial. Red, blue, and yellow backgrounds represent acquisition, extinction, and unsignaled shock in (A). The dashed vertical line separates the extinction 1 and extinction 2 phases. Freezing rate during CS presentation in test 1 (C), test 2 (D), and test 3 (E). Discrimination index (DI) between test 2 and test 1 (F), between test 3 and test 2 (G), and between test 3 and test 1 (H) calculated from freezing rate during CS presentation.
(C to E) The data are shown as median with interquartile range. *p < 0.05, **p < 0.01, and ***p < 0.001 by one-way ANCOVA with age as covariate; #p < 0.05, ##p < 0.01, and ###p < 0.001 by Student’s t-test comparing control and AppNL-G-F mice within the same age. Detailed statistical results are provided in Table S2. (F to H) The dashed horizontal line indicates DI = 0.5, which means no discrimination between the two phases. †p < 0.05 by one-sample Student’s t-test, and the alternative hypothesis specifies that the mean differs from 0.5; *p < 0.05, **p < 0.01, and ***p < 0.001 by one-way ANCOVA with age as a covariate; #p < 0.05, ##p < 0.01, and ###p < 0.001 by Student’s t-test comparing control and AppNL-G-F mice within the same age. Detailed statistical results are provided in Tables S3 and S4. (B to H) Colors indicate different groups: orange represents 6-month-old control (n = 24), light blue represents 6-month-old AppNL-G-F mice (n = 25), pink represents 12-month-old control (n = 24), and dark blue represents 12-month-old AppNL-G-F mice (n = 25). Each black dot represents one animal.

The divergence of internal states between control and AppNL-G-F mice differed in age.
(A) Simulation of reinstatement in the 6-month-old control mice given a set of estimated parameters of the latent cause model. The estimated parameter value: α = 2.4, g = 0.05, η = 0.42, max. no. of iteration = 2, w0 = 0.009, σr2 = 2.90, σx2 = 0.49, θ = 0.008, λ = 0.018, K = 10. (B) Simulation of reinstatement in 6-month-old AppNL-G-F mice. The estimated parameter value: α = 1.1, g = 0.61, η = 0.51, max. no. of iteration = 2, w0 = 0.004, σr2 = 1.51, σx2 = 0.32, θ = 0.015, λ = 0.019, K = 30. (C) Simulation in 12-month-old control mice. The estimated parameter value: α = 1.1, g = 0.92, η = 0.82, max. no. of iteration = 5, w0 = 0.009, σr2 = 1.88, σx2 = 0.51, θ = 0.010, λ = 0.017, K = 4. (D) Simulation in 12-month-old AppNL-G-F mice. The estimated parameter value for: α = 1.0, g = 1.10, η = 0.04, max. no. of iteration = 2, w0 = 0.0025, σr2 = 1.51, σx2 = 0.18, θ = 0.011, λ = 0.011, K = 36.
(A to D) The first row shows the trace of observed CR and simulated CR. The observed CR is the median freezing rate during the CS presentation over the mice within each group; the observed CR of each group was divided by its maximum over all trials. The second row shows the posterior probability of each latent cause in each trial. The third and fourth rows show the associative weight of tone to shock (wcs) and that of context to shock (wcontext) in each trial. Each marker and color corresponds to a latent cause up to 5. Each latent cause is represented by the same color as that in the second row and contains wcs and wcontext. The vertical dashed lines indicate the boundaries of phases.

Individual parameter estimation and internal state in the 12-month-old group.
(A) The estimated latent cause model parameter. (B) Correlation between discrimination index (DI) and estimated parameter values in the 12-month-old group. The count of latent causes initially inferred during the acquisition trials (C, left), extinction trials (i.e., test 1, extinction, test 2) (D, left), and trials after extinction (i.e., the unsignaled shock and test 3) (E, left), with the sum of posterior probabilities (C, D, E, right), and the sum of associative weights at test 3 in these latent causes (F, G, H).
(A) Each black dot represents one animal. *p < 0.05, and **p < 0.01 by the Mann-Whitney U test. (B) Spearman’s correlation coefficient (ρ) was labeled with significance, where *p < 0.05 and ***p < 0.001. The blue line represents the linear regression model fit, and the shaded area indicates the confidence interval. Each dot represents one animal. (C to E) In the first column, the histogram of the number of latent causes (z) acquired in each phase is shown. The maximum number of latent causes that can be inferred is 3, 31, and 2 in panels C, D, and E. In the second column, the histogram of the sum of the posterior probabilities of the latent causes is shown. The horizontal axis indicates the proportion of the value in each group. (F to H) In the first and second columns, the sum of wcs and wcontext of latent causes are shown in the boxplot, respectively. Note that the initial value of associative weight could take non-zero values, though those were comparable between groups (Table S7). Each black dot represents one animal. *p < 0.05, and **p < 0.01 by the Mann-Whitney U test comparing control and AppNL-G-F mice, and p-values greater than 0.1 were not labeled on the plot. (A to H) Pink represents 12-month-old control (n = 20), and dark blue represents 12-month-old AppNL-G-F mice (n = 18). Detailed statistical results are provided in Tables S7, S8, and S9.

Individual parameter estimation and internal state in the 6-month-old group.
(A) The estimated parameters of the latent cause model. (B) Correlation between discrimination index (DI) and estimated parameter values in the 6-month-old group. The count of latent causes initially inferred during the acquisition trials (C, left), extinction trials (i.e., test 1, extinction, test 2) (D, left), and trials after extinction (i.e., the unsignaled shock and test 3) (E, left), with the sum of posterior probabilities (C, D, E, right), and the sum of associative weights at test 3 in these latent causes (F, G, H).
(A) Each black dot represents one animal. *p < 0.05 by the Mann-Whitney U test. (B) Spearman’s correlation coefficient (ρ) was labeled with significance, where *p < 0.05 and **p < 0.01. The blue line represents the linear regression model fit, and the shaded area indicates the confidence interval. Each dot represents one animal. (C to H) The configuration of the figure is the same as in Figure 4. All the p-values of the Mann-Whitney U test comparing control and AppNL-G-F mice were greater than 0.05 and were not labeled on the plot. (A to H) Orange represents 6-month-old control (n = 15), and light blue represents 6-month-old AppNL-G-F mice (n = 12). Detailed statistical results are provided in Tables S10, S11, and S12.

AppNL-G-F mice failed to infer coexisting spatial memories in the reversal Barnes maze task.
(A) Schematic diagram of the reversal Barnes maze task. The largest circle represents the Barnes maze field. The filled and open small circles represent the target hole with the escape box and the remaining holes in the field, respectively. The small arrow pointing to the hole indicated the position of the target hole without an escape box in the probe test. The same color of the filled circle and arrow indicates the same position. (B) Strategy usage in initial training (days 1 to 6), the first reversal training (days 9 to 11), and the second reversal training (days 12 to 14) in the 12-month-old group. Time spent around each hole at probe test 1 (C) and probe test 2 (D) in the 12-month-old group. (E) Discrimination index (DI) of the second target hole between probe test 2 and probe test 1 in the 12-month-old group. (F) Strategy usage in initial training (days 1 to 6), the first reversal training (days 9 to 11), and the second reversal training (days 12 to 14) in the 6-month-old group. Time spent around each hole at probe test 1 (G) and probe test 2 (H) in the 6-month-old group. (I) Discrimination index (DI) of the second target hole between probe test 2 and probe test 1 in the 6-month-old group.
(B and F) *p < 0.05 of perimeter strategy, #p < 0.05 of confirmatory strategy, †p < 0.05 of serial strategy, ‡p < 0.05 of spatial strategy by Wilcoxon rank-sum test comparing control and AppNL-G-F mice at the same age. (C, D, G, and H) The data are shown as mean with 95% confidence interval. *p < 0.05, **p < 0.01, and ***p < 0.001 by mixed-design two-way [Genotype (control, AppNL-G-F) × Hole (1-12)] ANOVA; †p < 0.05 by Tukey’s HSD test at the specific hole to compare control and AppNL-G- F mice at the same age. (E and I) The dashed horizontal line indicates DI = 0.5, which means no discrimination between the two phases. †p < 0.05 by the Wilcoxon signed-rank test, and the alternative hypothesis specifies that the mean differs from 0.5; *p < 0.05 by Mann-Whitney U test comparing control and AppNL-G-F mice. (C-E, G-I) Each black dot represents one animal. Colors indicate the different groups: pink represents 12-month-old control (n = 18), dark blue represents 12-month-old AppNL-G-F mice (n = 18), orange represents 6-month-old control (n = 24), and light blue represents 6-month-old AppNL-G-F mice (n = 17). Detailed statistical results are provided in Tables S14 to S16 for the 12-month-old group results and Tables S18 to S20 for the 6-month-old group results.