13Adaptive action selection during stimulus categorization is an important feature of 14 flexible behavior. To examine neural mechanism underlying this process, we trained 15 mice to categorize the spatial frequencies of visual stimuli according to a boundary that 16 changed between blocks of trials in a session. Using a model with a dynamic decision 17 criterion, we found that sensory history was important for adaptive action selection after 18 the switch of boundary. Bilateral inactivation of the secondary motor cortex (M2) 19 impaired adaptive action selection by reducing the behavioral influence of sensory 20 history. Electrophysiological recordings showed that M2 neurons carried more 21 information about upcoming choice and previous sensory stimuli when sensorimotor 22 association was being remapped than when it was stable. Thus, M2 causally contributes 23 to flexible action selection during stimulus categorization, with the representations of 24 upcoming choice and sensory history regulated by the demand to remap stimulus-action 25 association. 26 27 109reversing stimulus ( Figure 1C). Across all sessions from 10 mice (11 sessions/mouse), 110 the number of trials in each block was 61.9 ± 0.33 (mean ± SEM) and the number of 111 switches in a session was 6.91 ± 0.29 (mean ± SEM) ( Figure 1D and E).112Although only the action for the reversing stimulus was required to change, we 113 found that the performance for both the reversing and the non-reversing stimuli was 114 7 influenced by the change of categorical boundary ( Figure 1F), consistent with that 115 observed in auditory flexible categorization task (Jaramillo et al., 2014). The subjective 116 categorical boundary estimated from the psychometric curve was significantly lower in 117 the low-boundary than in the high-boundary block (p = 2×10 -3 , n = 10 mice, Wilcoxon 118 signed rank test, Figure 1G), suggesting that the mice adapted their DC to the boundary 119 contingency. To examine how fast the mice adapted to the boundary change, we used 120 all blocks in all sessions to compute correct rate for the reversing stimulus in each trial.
121The performance in the first 60 trials after boundary switch was fitted with an 122 exponential function ( Figure 1H). The number of trials to reverse choice, which was 123 the number of trials needed to cross the 50% correct rate of the fitted curve, was 6.41 ± 124 0.42 (mean ± SEM, n = 10 mice, Figure 1I). In the following analysis, we defined the 125 last 15 trials before boundary switch as the stable period, and the first 15 trials after 126 boundary switch as the switching period. 127 128 Behavioral strategies revealed by computational modeling 129 After the boundary switch, the animals may update their stimulus-action association 130 according to the outcome of response to the reversing stimulus and/or the appearance 131 of non-reversing stimulus frequently presented in that block (Jaramillo and Zador, 132 2014). To examine the behavioral strategies of mice in trials before and after the 133 boundary switch, w...