Researchers recorded activity across the cortex, thalamus and other connected brain regions while male mice learned to distinguish sensory cues linked to different outcomes. As the mice learned, more neurons used short bursts of activity to signal the task’s rules, and these bursts carried much of the rule-related information in the thalamus and cortex.

The bursts also changed with the value of the cues, weakened when the cue–outcome links became less reliable and reversed after the researchers repeatedly changed the rules. Suppressing thalamocortical bursts with drugs or targeted genetic methods disrupted learning and performance, suggesting that these activity patterns are not only associated with learning but help produce it.