Here and in previous neuroimaging studies of prediction errors (
Kok et al., 2012;
Tang et al., 2018;
Tang et al., 2023), the spatiotemporal structure of visual stimuli was manipulated to establish and violate expectations. It is unclear, however, whether these stimuli sufficiently establish and violate expectation. Pupil dilation is an involuntary physiological marker of arousal/surprise (
Preuschoff, ’t Hart, & Einhauser, 2011). If observers’ expectations were violated by the target gratings, we would expect their pupils to dilate in response to these stimuli. For both the sequential and random sequences, pupil diameter increased in response to the target grating, which might have been due to a reduction in luminance between the blank interstimulus interval and the target grating, or the target grating and the response bar (
Figures 3a,
3b). Critically, when we examined the difference between random and sequential conditions, pupil diameter was significantly larger following target gratings with larger expectation violations (>±30° from the expected orientation;
Figure 3c) from 563 to 1100 ms after target onset. This timing is consistent with previous pupillometry work (
Preuschoff et al., 2011) and provides physiological evidence that observers were surprised by gratings that violated the spatiotemporal expectation established in the sequential condition. Critically, there was also a positive relationship between pupil diameter and faster response time in this condition (
r = 0.48,
P = 0.001;
Figure 3d), suggesting a link between violated expectations and improved performance. There was also a positive relationship between pupil diameter and precision but this trend did not reach significance (
r = 0.23,
P = 0.143;
Figure 3e), which may be because there was a longer delay between the unexpected stimulus and the reproduction response than the speeded response. In addition to previous work showing increased cortical activity in response to unexpected events (
Den Ouden et al., 2012;
Kok et al., 2012;
Meyer & Olson, 2011;
Todorovic et al., 2011), recent fMRI work has found increased pupil diameter and increased activity in subcortical regions (including the locus coeruleus), which are associated with neuromodulatory systems (dopamine, serotonin, and acetylcholine) (
Mazancieux et al., 2023). Our findings complete the characterization of this coordinated response to unexpected events, by revealing the perceptual consequences of potentially related cortical and subcortical activity, and their relationship with physiological markers of surprise.