Skip to main content
. 2020 Mar 9;9:e50469. doi: 10.7554/eLife.50469

Figure 5. Fitting the model to experimental data: the model with inference (AN-TN) captures the statistical structure of the data, and accounts for the variability between subjects.

(a) Model comparison for the recurrent session. Bayesian Information Criterion (see Materials and methods) for the models with and without task-set inference. The model provides a significantly better fit with inference than without. (b) Estimate of the inference strength JINC from the task-set network to the associative network connectivity in the model with task-set inference, for both sessions. (c) Proportion correct around the first correct trial, averaged over episodes and over subjects, for the recurrent session. (d) Subject by subject difference between BIC values obtained for models with and without task-set inference, as a function of the inference strength parameter, for the recurrent session. Subjects are classified as ‘exploiting’ or ‘exploring’ from a post-test debriefing. The grey line displays a least-squares regression. (e) Subject by subject performance following the first correct trial in an episode, as a function of the inference strength parameter, for the recurrent session. The performance was computed by considering the 10 trials following the first correct trial of each episode. The grey line displays a least-squares regression. .

Figure 5—source data 1. The table summarizes the full network (AN-TN, with inference) and the associative network alone (AN, without inference) models fitting performances and average parameters.
DF, degrees of freedom; AIC, Akaike information criterion; BIC, Bayesian information criterion; α, learning rate in the AN; 1/β, decision noise; ϵ, uncertainty; QP, learning rate in the TN; JINC, inference strength. All are expressed as mean ± s.e.m.

Figure 5.

Figure 5—figure supplement 1. Model comparison for the recurrent session.

Figure 5—figure supplement 1.

(a) Bayesian Information Criterion (see Materials and methods) for the models with and without task-set inference, for Experiment 2. The model provides a significantly better fit with inference than without (p=9.110-5, t=4.1). (b) Proportion correct after an episode switch, averaged over episodes and over subjects, for Experiment 1. (c,d) Opposite of model log-likelihood averaged per trial for the models with and without task-set inference, for Experiment 1 (d) and Experiment 2 (e). The model provides a significantly better fit with inference than without (respectively p=4.710-12, t=14.0 and p=1.310-21, t=17.0).
Figure 5—figure supplement 2. Learning task-sets with a lower ratio of potentiation versus depression in the task-set network (QP/QM=5) by refitting the model, while either fixing gI=0.5 or gI=0.2.

Figure 5—figure supplement 2.

Mean parameter values over subjects for QP/QM=5 and gI=0.5 are : α=0.35, 1/β=0.16, ϵ=0.050, QP=0.24, and JINC=0.78. Mean parameter values over subjects for QP/QM=5 and gI=0.2 are : α=0.35, 1/β=0.15, ϵ=0.060, QP=0.050, and JINC=0.68. This can be compared with Figure 5—source data 1 of the model with QP/QM=10 and gI=0.5. (a) Comparison of BIC for the fit with QP/QM=10 and gI=0.5 used in the main paper, the fit with QP/QM=5 and gI=0.5, and the fit with QP/QM=5 and gI=0.2. A T-test on related samples gives respectively p=0.25, p=0.014 and p=5.810-4. (b) Comparison of the inference strength parameter values. (c) Proportion correct around the first correct trial, averaged over episodes and over subjects, for Experiment 1. (d,e) Simulation of the model, respectively for gI=0.5 (left) or gI=0.2 (right). Task-sets presentation is periodic for illustration purposes. The simulation corresponds to the average over 500 runs of the recurrent session. For clarity, we did not introduce tricky trials in these simulations. The plots display the average values of task-set network synaptic strengths between neural populations corresponding to each of the three correct task-sets, and spurious connexions.
Figure 5—figure supplement 3. Model fit for both sessions together.

Figure 5—figure supplement 3.

Related to Figure 5. Mean parameter values over subjects for sessions fitted together are : α=0.35, 1/β=0.15, ϵ=0.056, QP=0.35, and JINC=0.28 to be compared with Figure 5—source data 1. (a) Comparison of BIC for the recurrent session fitted separately, the recurrent session when both sessions are fitted together, the open-ended session fitted separately, and the open-ended session when both sessions are fitted together. The model provides a significantly better fit when sessions are fitted separately (T-test on related samples, p=1.610-9 and p=3.510-5 respectively for recurrent and open-ended sessions). (b) Comparison of the inference strength parameter values when sessions are fitted separately or together. (c) Proportion correct around the first correct trial, averaged over episodes and over subjects, for Experiment 1.