Fig. 1

With training, a detectable transition between exploratory and cued behavior occurs. a Task diagram. Only receptacle entries during the S+ were rewarded. S+ and S− trials were randomly interleaved. ITI: intertrial interval. b Average group entry probability (left) and latency (right) during three task periods: S+ (light blue), S− (dark blue), and the ITI (gray) throughout training in 5-trial bins. Data are expressed as mean ± SEM. c Cumulative performance index records on S+ (left) and S− (right) trials (see Methods and Supplementary Fig. 1 for an explanation of this index). Each animal’s behavior is represented by a black line and labeled with a gray letter. d Identification of the trial in which the consistent change in behavior took place (see Methods and Supplementary Fig. 2). The black line on each panel is the cumulative record of the performance index of each individual animal. Small blue dots mark the abrupt changes in the slope of the line detected by the algorithm. The vertical red line marks the change point (CP). Vertical gray lines indicate the transition between sessions. e Same as in b, but with trials aligned to the CP trial. f Comparison of average S+ performance index (***p < 0.001, t test), entry probability (**p < 0.01, t test), latency (**p < 0.01, t test) and ITI pseudolatency (p = 0.86, t test) before vs. after change point; n.s. not significant. Details of all statistical tests are in Supplementary Table 1