Abstract
Reward learning depends on accurate reward associations with potential choices. These associations can be attained with reinforcement learning mechanisms using a reward prediction error (RPE) signal (the difference between actual and expected rewards) for updating future reward expectations. Despite an extensive body of literature on the influence of RPE on learning, little has been done to investigate the potentially separate contributions of RPE valence (positive or negative) and surprise (absolute degree of deviation from expectations). Here, we coupled singletrial electroencephalography with simultaneously acquired fMRI, during a probabilistic reversallearning task, to offer evidence of temporally overlapping but largely distinct spatial representations of RPE valence and surprise. Electrophysiological variability in RPE valence correlated with activity in regions of the human reward network promoting approach or avoidance learning. Electrophysiological variability in RPE surprise correlated primarily with activity in regions of the human attentional network controlling the speed of learning. Crucially, despite the largely separate spatial extend of these representations our EEGinformed fMRI approach uniquely revealed a linear superposition of the two RPE components in a smaller network encompassing visuomnemonic and reward areas. Activity in this network was further predictive of stimulus value updating indicating a comparable contribution of both signals to reward learning.
Similar content being viewed by others
Introduction
Learning occurs with the combination of two critical dimensions of decision outcome signaling discrepancies between expectations and reality: the categorical valence (i.e. whether an outcome is overall better or worse than expected) and the absolute degree of deviation from expectations ([high or low]). Traditional learning theories focusing on the appetitive domain^{1, 2} have treated these quantities as two facets of a single unified representation, commonly referred to as the reward prediction error (RPE) signal. Correspondingly, many animal^{3, 4} and human neuroimaging studies^{5, 6} have focused on identifying brain areas exhibiting a positive relationship with a fully parametric (signed) RPE signal. To date, however, the extent to which RPE valence and surprise (unsigned RPE)^{7,8,9} can also be encoded separately in the human brain and the degree to which they converge (in space and time) to drive learning, remain poorly understood.
Investigating these open questions is critical as RPE valence and surprise could subserve related but largely separate functions. For instance, RPE valence determines the direction in which learning will occur. Positive RPEs will increase the likelihood of similar decisions in the future, whereas negative RPEs will increase the likelihood of an avoidance response^{10,11,12}. In contrast, the surprise dimension modulates the amount of attention devoted to outcomes^{13,14,15}, which in turn dictates the degree of learning and ultimately the updating of future reward expectations^{5, 16,17,18}. Highly unpredicted outcomes (either positive or negative) can boost attention and facilitate learning, whereas less surprising outcomes attracting reduced attention might slow down the learning process instead^{19, 20}.
In line with these separate functional roles, recent studies in animals and humans have observed distinct neural signals aligning both with RPE valence and surprise within a distributed network of areas, including the midbrain^{21, 22}, the striatum^{18, 23, 24}, the cingulate cortex and the anterior insula^{7, 9, 25, 26}. Specifically, these recent studies employing modelbased fMRI have begun to characterize the neural basis of both signals providing new evidence that separate brain networks might encode RPE valence and surprise in the human brain^{27,28,29}. Given the poor temporal resolution of fMRI, however, these studies preclude a rigorous assessment of the relative timing and underlying dynamics of these two learningrelated signals.
Our previous electroencephalography (EEG) work revealed two distinct components encoding categorical RPE valence (early and late) and a separate outcome surprise component that overlapped temporally with the later of the two valence components^{30}, suggesting that the brain might require simultaneous access to both signals to drive learning. The poor spatial resolution of the EEG, however, prevented a thorough characterization of the spatial generators associated with each outcome representation. More recently, we used simultaneous EEGfMRI, to map out the spatiotemporal dynamics of the two RPE valence components^{12}. However, no analysis was presented that examined the neural systems associated with surprise or their relationship with RPE valence.
Here, using the data in ref. 12 we aim to provide a comprehensive spatiotemporal characterization of the relationship between the late temporally overlapping representations of RPE valence and surprise. Our hypothesis is that endogenous trialtotrial variability in electrophysiologically derived measures of the two outcome variables can be used to form separate fMRI predictors to tease apart the brain networks associated with each representation. Moreover, we directly test the hypothesis that temporal and spatial congruency, of otherwise separate RPE valence and surprise representations, constitutes a viable mechanism for driving reward learning in the appetitive domain.
Results
RPE valence and surprise predicting choice behavior
To test our hypotheses and investigate the relative and potentially combined contribution (spatial and temporal) of RPE valence and surprise to learning, we present new analyses of data reported in ref. 12. Twenty participants were engaged in a probabilistic reversallearning task^{31} while we recorded simultaneous EEGfMRI data. Specifically, on each trial subjects were presented with pairs of abstract symbols – selected from a larger set of three symbols – and through feedback (representing rewarding or nonrewarding outcomes) learned to select the one with the highest reward probability. At any given point during the experiment, one of the three symbols was associated with a 70% chance of obtaining a reward (“high” reward probability symbol) compared to a 30% chance for the remaining two symbols (“low” reward probability symbols). After reaching a predefined learning criterion, the high reward probability was reassigned to a different symbol and subjects had to enter a new learning phase (see Fig. 1a and Methods). Participants’ behavior was probabilistic and mirrored the principles of a RL mechanism^{1} (Fig. 1b) best explained with a simple modelfree RL mechanism with a fixed learning rate (see model comparisons in the Methods section).
To investigate whether RPE valence and surprise are better predictors of behavior than the signed RPE itself, we first modeled behavior by considering i) stay/switch choice patterns and ii) reaction time (RT) changes (i.e. Delta RTs; denoting either acceleration or deceleration) on subsequent trials, using mixedeffects logistic and linear regression analyses respectively (see Methods). Correspondingly, we performed formal model comparisons using a likelihood ratio test and found that a model including an interaction between RPE valence and surprise explained behavior better than a model including only the signed RPE (Stay/switch behavior: \({\chi }^{2}\) _{ (2) } = 36.24, P < 0.001; Delta RTs: \({\chi }^{2}\) _{ (2) } = 18.81, P < 0.001). This result is in line with the growing consensus that separate learning systems are at play in the human brain^{28}.
More specifically, we found that participants were more likely to repeat the same choice after positive compared to negative feedback (\({\chi }^{2}\) _{ (1) } = 35.67, P < 0.001). Moreover, a significant interaction between RPE valence and surprise (\({\chi }^{2}\) _{ (1) } = 21.5, P < 0.001) (see Fig. 1c) revealed that the probability of repeating the same choice in the next trial was negatively related to surprising positive RPEs and positively related to surprising negative RPEs, replicating findings from previous studies using the same experimental design^{30}. Due to our design, highly surprising positive RPEs are generated mainly following positive feedback in trials with pairs of low reward probability symbols and thus participants are – on average – more likely to switch back to the high reward probability symbol on subsequent trials. In contrast, highly surprising negative RPEs come about primarily following negative feedback on trials where the high reward probability stimulus was chosen and thus participants are more likely – on average – to continue choosing the high reward probability symbol on subsequent trials.
Moreover, we found that positive RPEs speed up subsequent approach behavior whereas negative feedback slows down subsequent response times (main effect of valence on Delta RTs: F _{ (1, 28.04) } = 5.9; P = 0.021). Notably, there was additionally a significant interaction between RPE valence and surprise (F _{ (1, 17.89) } = 33.45; P < 0.001, Fig. 1d) such that whilst higher surprising positive RPEs resulted in faster subsequent responses, higher surprising negative RPEs resulted in slower response times. Very intuitively, this result implies that, after participants have experienced an unexpected negative RPE, they strategically slow down on the subsequent trial to make more optimal choices but at the expense of longer RTs.
Temporal superposition of RPE valence and surprise
To identify temporal components encoding RPE valence and surprise we used a multivariate discriminant analysis of feedbacklocked EEG signals^{32,33,34}. Specifically, for each participant, we estimated linear weightings of the EEG electrode signals that maximally discriminated between conditions of interest (see below) over several distinct temporal windows (Eq. 4). Applying the estimated electrode weights to singletrial data produced a measurement of the discriminating component amplitudes (henceforth \(y\)), which represent the distance of individual trials from the discriminating hyperplane (Fig. 2a). We subsequently used the singletrial variability (STV) in these values to construct parametric fMRI regressors to identify the brain regions that correlate with the resultant discriminating EEG components (Fig. 2b). To quantify the discriminator’s performance over time we used the area under a receiver operating characteristic curve (i.e. A _{ z } value) with a leaveoneout trial cross validation approach.
Using this approach, we previously established the presence of two temporally specific EEG components discriminating – reliably in individual participants – between positive and negative RPEs in the time range 180–370 ms after an outcome (Fig. 3a)^{12}. The second of those valence components peaked on average 308 ms (SD ± 37.7) after outcome and was the only component that was directly linked to reward learning by either up or downregulating the human reward network to update the expected value of the stimuli following positive and negative RPEs respectively (the first valence component reflected an early alertness response and was selective for negative RPEs only). Importantly, this Late RPE valence component was decoupled (i.e. uncorrelated) from outcome surprise replicating our previous work^{12} (mixedeffects regression on outcome surprise: interaction effect between positive/negative RPEs and STV in Late valence component: F _{ (1, 5.65) } = 0.01; P = 0.89; Pearson’s correlation coefficients: Negative RPE: r = 0.01; Positive RPE: r = 0.03 and see Fig. 3b). This result highlights that our Late RPE valence EEG component was not additionally modulated by surprise, suggesting that a fully signed RPE representation in the brain is largely subcortical in nature and therefore not contributing strongly to our EEG signal.
In this work, we ran a separate multivariate analysis of the EEG to directly discriminate along an outcome surprise dimension, by discriminating between trials with very high (in the range [0.8–1]) and very low (in the range [0–0.2]) unsigned RPE. In doing so, we identified a separate EEG component that peaked, on average, at 320 ms (SD ± 32.1) after outcome (Fig. 3c). The timing of this component overlapped with that of the second RPE valence component presented above (see shaded regions in Fig. 3a and c). We formally tested if the peak times of the two EEG components were significantly different across individuals and found no significant differences (paired ttest, t _{ 19 } = 1.05, P = 0.31), suggesting that the brain might require near simultaneous access to both signals to drive learning.
To test whether this additional EEG component was indeed parametrically modulated by outcome surprise (rather than responding categorically to high vs. low surprise – unsigned RPE), we computed discriminator amplitudes for trials with intermediate surprise levels (i.e. high unsigned RPE [0.6 – 0.8]; medium unsigned RPE [0.4–0.6] and low unsigned RPE [0.2–0.4]), which were not originally used to train the classifier (“unseen” data). Specifically, we applied the spatial weights of the window that resulted in the highest discrimination performance for the extreme outcome surprise levels to the EEG data with intermediate values. We expected that these “unseen” trials would show a parametric response profile as a function of outcome surprise and therefore the resulting mean component amplitude at the time of peak discrimination would proceed from very low < low < medium < high < very high surprise.
Correspondingly, we found that the mean discriminator output (\(y\)) for each category appeared to parametrically increase as a function of the unsigned RPE signal (Fig. 3d, Grey: Intermediate categories, Yellow: Categories used for discrimination). We further confirmed the linear relationship between the STV in the EEG RPE surprise component and its modelbased counterpart using a singletrial mixedeffects regression analysis (F _{ (1, 17.08) } = 64.57; P < 0.001). Though this relationship was significant, the singletrial correlation between our EEG component amplitudes and the modelderived estimates of unsigned RPE was moderate (average Pearson’s correlation coefficient across subjects: r = 0.31). This finding suggests that the STV in our electrophysiologicallyderived measure of surprise could offer additional explanatory power in our subsequent fMRI analysis (i.e. in addition to its modelderived counterpart) to enable a more comprehensive characterization of the brain networks involved in encoding outcome surprise.
To reinforce the notion that the EEG STV in this component carried taskrelevant information, which we could exploit further in the fMRI analysis, we performed an additional singletrial mixedeffects regression analysis. Specifically, we showed that the trialbytrial fluctuations in our outcome surprise component were predictive of the singletrial learning rates in a version of our RL model with a dynamically updating learning rate parameter^{31, 35,36,37} (see Methods). In other words, the higher the surprise (as indexed by the EEG), the more recent observations were considered for updating the stimulus value for the next decision, thereby boosting the speed of learning and thus increase the singletrial learning rates (F _{ (1, 11.99) } = 13.95; P = 0.002). Ultimately, this result offers a more concrete link between behavior and neuronal variability in our EEG outcome surprise component.
Spatial signatures of RPE valence and surprise
Our main fMRI analysis was designed to expose the neural correlates of the temporally overlapping representations of RPE valence and surprise in a wholebrain analysis by using the explanatory power of the STV in the EEG components associated with these representations. We hypothesize that endogenous variability in these components in individual participants can carry additional information about the internal processing of RPE valence and surprise usually estimated with a simple categorical contrast (positivevsnegative RPEs) and a modelbased unsigned RPE regressor, respectively.
Despite the temporal superposition of the RPE valence and surprise components, their EEG scalp topographies looked qualitatively different (Fig. 3a and c), indicating that the two signals might be encoded together in time but in largely different networks. In addition, as a result of the aforementioned analysis, trialbytrial amplitude variations in the two discriminating components were largely uncorrelated, allowing us to use the endogenous STV in the component amplitudes to build parametric, EEGinformed, fMRI regressors to identify the brain networks correlating with each component. Thus, our main GLM included parametric regressors for RPE valence using the STV in the relevant EEG component and parametric regressors for outcome surprise using the modelbased unsigned RPE estimates and the STV in the relevant EEG component (see Methods for a full description of the GLM).
Our EEGinformed fMRI analysis revealed largely separate and distributed networks encoding RPE valence and surprise information. As we demonstrated recently^{12}, the endogenous variability in the valence component covaried with a number of areas of the human reward network^{38,39,40}, such as the ventromedial prefrontal cortex (vmPFC), the striatum (STR), the amygdala, the dorsal posterior cingulate cortex (PCC), the ventral PCC, the putamen, the lateral orbitofrontal cortex (lOFC) and the posterior insula (INS) (Left: −40, −2, 8) (Fig. 4a and Table 1 for wholebrain results). In addition to these known reward structures, we also identified significant clusters in the lingual gyrus (LG), the middle temporal gyrus (MTG) and the precuneus, areas that have previously been implicated in memory retrieval and adaptive visual learning processes^{39}. Activity in this rather distributed network was overall found to be both suppressed and activated in response to negative and positive RPEs respectively, an activity pattern consistent with a role in motivating both avoidance and approach learning^{12, 41}.
To decipher how the encoding of outcome surprise is represented in the brain relative to the encoding of RPE valence, we used separate parametric fMRI predictors for surprise that were derived from a RL model (i.e. estimated purely from behavior) and EEG STV (i.e. endogenous variability) in our surprise component, respectively. Our conventional modelbased fMRI regressor correlated significantly with activity in the dorsolateral PFC (dlPFC), the bilateral anterior INS (aINS), the medial PFC (mPFC), the inferior frontal gyrus, the supramarginal gyrus, the precentral gyrus and the angular gyrus (Fig. 4b; yellow clusters and Table 1 for the wholebrain results), consistent with previous reports^{27}. In particular, activity in the middle frontal gyrus and insular cortex have been consistently linked to deviations from expectations in a large range of learning tasks^{42, 43}.
Crucially, using our EEGinformed surprise regressor revealed additional activations over and above what was already conferred by its modelbased counterpart (paired ttests, all P < 0.05). These activations included the dorsal STR, the vmPFC, the lOFC, the LG, the bilateral MTG, the occipital pole and the precuneus (Fig. 4b; green clusters and Table 1 for the wholebrain results). As our two regressors for surprise were partially correlated (Fig. 3d) we also repeated this analysis by orthogonalizing our EEG STV regressor with respect to the modelbased one (such that any common variance was absorbed by the latter) and obtained similar results. We view this as further evidence that the EEG STV can be used to reveal relevant brain regions and that the approach can be used to complement modelbased fMRI.
Temporal and spatial congruency between RPE valence and surprise
Our temporally overlapping representations of RPE valence and surprise suggest that the brain might require near simultaneous access to both signals to drive learning. This notion is also in line with classical RL theory which posits that reward learning is driven by a combination of both categorical valence and unsigned RPE information^{44}. We thus, tested whether, within the largely separate spatial representations of RPE valence and surprise (Fig. 4a and b), there was a subset of regions in which both outcome dimensions were linearly combined.
To this end, we ran a conjunction analysis across statistical maps identified in our previous EEGinformed GLM. Specifically, among the unique areas found in the outcome surprise network (covarying with the EEG STV), four regions showed a significant overlap with the valence network, namely vmPFC, STR, MTG and LG (see Fig. 5a for the full spatial representation of both networks). While converging evidence emphasizes the role of the STR and the vmPFC in reward learning^{36}, this result provides new evidence that additional areas such as the MTG and LG are implicated in processing reward learning. Noteworthy is that all four of these regions appeared in the conjunction analysis with our EEGinformed rather than the modelbased predictor of unsigned RPE, further highlighting the utility of our simultaneous EEGfMRI measurements in revealing latent brain states and complementing traditional modelbased fMRI approaches. To further validate this point, we ran a separate GLM including only the modelbased unsigned RPE and a conventional RPE valence regressor ( + 1 and −1 for positive and negative RPEs respectively) and conducted a similar conjunction analysis. We found that none of the four regions we identified above appeared in the conjunction analysis of the conventional RPE valence and unsigned RPE regressors (all P values > 0.5).
To visualize the signal pattern in these areas, we carried a separate ROI analysis and binned the trials in six categories based on RPE valence (positive or negative RPEs) and surprise (low, medium or high based on our EEG STV of the corresponding component). Note that this analysis was performed for illustrative purposes only (the ROIs were formally linked to RPE valence and surprise in the previous EEGinformed fMRI analysis). We found that activity in these regions exhibited a profile consistent with a linear superposition of the two outcome dimensions with the fMRI signal being overall higher for positive vs. negative RPEs (see illustration in Fig. 5a), while within each of the two outcome types was further modulated by surprise (Fig. 5b). This linear superposition is noteworthy because it points to a common network for the expression of both RPE valence and surprise. This interpretation is consistent with previous evidence that separate families of intermixed neurons are expressed within the same brain regions in response to both RPE valence and unsigned RPE^{21}.
To offer additional evidence linking these areas with reward learning, we performed an additional analysis. Specifically, we hypothesized that activity in a network reflecting both RPE valence and surprise should drive learning by encoding the value update required for the chosen option. To test for this formally we used the percent signal change (PSC; Eq. 8) in each of the four brain areas as a predictor of expected value updates estimated with our RL model in a linear regression model (Eq. 9). This analysis revealed that all regions were significantly predictive of the update in expected value at time of outcome (vmPFC: P < 0.01, t _{ 19 = }2.79, STR: P < 0.05, t _{ 19 } = 2.06, LG: P < 0.001, t _{ 19 } = 3.78, MTG: P < 0.03, t _{ 19 } = 2.29).
Discussion
Here we provided a comprehensive spatiotemporal characterization of the neural correlates of RPE valence and surprise in the human brain by capitalizing on the high temporal and high spatial resolution of simultaneously acquired EEG and fMRI measurements. More specifically, by identifying temporallyspecific EEG components of RPE valence and surprise and using the trialbytrial amplitude fluctuations in these components as predictors in an fMRI analysis, we were able to demonstrate temporally overlapping but largely spatially separate representations for the two outcome dimensions. Thus by assigning temporal order to spatial networks, our work adds to the large body of related fMRI work^{7, 9, 27, 45} by offering a more complete spatiotemporal representation of the relevant networks.
As we demonstrated recently^{12}, electrophysiological variability in an RPE valence component was found to differentially suppress or activate regions of the human reward network in response to negative and positive RPEs respectively, consistent with a role in guiding approach and avoidance learning respectively^{12, 41, 46}. To examine the spatial extend of outcome surprise relative to this RPE valence representation, we used separate parametric fMRI predictors for unsigned RPE that were derived from a RL model and from the endogenous STV in a relevant EEG component. Our conventional modelbased fMRI predictor revealed a distributed network of activations including the dlPFC, aINS and mPFC, in line with previous reports in the literature^{19, 27, 37, 47}. However, recent related findings claim that activity in regions other than those found in the conventional unsigned RPE network such as the STR or the vmPFC, might also encode surprise information at time of outcome^{9, 37, 48, 49}. Similarly, others have endorsed the notion of a ventraldorsal gradient in the striatum encoding valencesurprise RPE information^{27, 50}.
Consistent with these recent claims, our EEGinformed outcome surprise regressor exposed additional unique areas, including the dorsal STR, the vmPFC and the lOFC among others. This finding endorses the hypothesis that trialbytrial variability in our electrophysiologicallyderived measure of outcome surprise (i.e. endogenous variability) may carry additional explanatory power compared to its behaviorally derived counterpart (i.e. external variability). It also highlights the utility of the simultaneous EEGfMRI measurements in exposing latent brain states, thereby complementing more conventional modelbased fMRI analyses.
Overall, these new results imply that surprise is encoded near simultaneously with RPE valence but in largely separate systems, reinforcing the notion that these outcome dimensions subserve related but separate functions. More specifically, our results are consistent with the idea that the late system encoding RPE valence determines the direction in which learning occurs (approach or avoidance learning), as it is up and downregulated following positive and negative RPEs respectively. In contrast, the system encoding outcome surprise captures the absolute discrepancy in stimulusreward associations, thus being responsible for speeding up or slowing down the learning process^{37}. In fact, the outcome surprise network included many regions associated with the human attentional network, consistent with an increase in resource allocation for unexpected outcomes in order to facilitate learning^{27, 37, 48}.
Despite the seemingly separate spatial representations associated with the RPE valence and surprise components we also found a spatial overlap in a smaller network comprising the STR, vmPFC, MTG and LG, with activity in these regions being predictive of stimulus value updating. Importantly, this overlap appeared exclusively in the conjunction of activations appearing in the EEGderived measures of valence and surprise. While a large body of evidence have implicated the STR and vmPFC in reward learning^{36, 51} previous work in primates and humans offered contradicting evidence on whether these regions encode valence or unsigned RPE^{52, 53}. Our results are intriguing as they reconcile previous reports and provide compelling evidence implicating the STR and vmPFC in processing both RPE valence and surprise.
In addition, our results provide further evidence that additional areas such as the MTG and LG are implicated in processing rewardbased learning. This finding is consistent with some studies offering converging evidence that activity in MTG and LG signals behavioral switches in choice in nonhuman primates^{54, 55} and in humans^{39, 51}. However, another interpretation would be that activity in these visuomnemonic areas facilitate effective inference in changing environments^{11, 56} by modulating the stimulusreward association established in memory^{51}. Other studies have also reported an interplay between the vmPFC and MTG^{57, 58} such that RPE information can be attributed to the visual characteristics of the stimuli under consideration^{51, 56}. Thus existing visual memories of the stimuli could be reactivated at time of outcome and updated with new rewarding information in order to help the decision maker select the optimal alternative in subsequent trials^{53, 59}. Confirming this hypothesis, in a supplementary analysis, we found that the same four areas were parametrically modulated by the value of the chosen option in the decision phase, in line with previous reports^{46, 60, 61}. Here, our results confirm the role of these two visuomnemonic regions in encoding stimulus value updating during learning and thus facilitating adaptive decisions.
Moreover, the fMRI signal in all four regions (STR, vmPFC, MTG and LG) exhibited a linear superposition profile of the two outcomerelated signals. Although this profile is consistent with recent theories postulating a single population of neurons encoding an integrated representation of both signals in these regions^{62}, our finding does not preclude the possibility of separate but intermixed populations of RPE valence and surprise coding neurons in this network. Although speculative, this hypothesis would predict that the activity of different populations of neurons randomly distributed within an area is averaged out within fMRI voxels to give rise to the response profile we observed here. In turn this would suggest that RPE valence and surprise could continue to make independent contributions to learning. Recent evidence from electrophysiological investigations in animals supports this idea and demonstrates that valence and surprise signals are encoded by an equivalent amount of intermixed DA neurons with orthogonal coding patterns in the midbrain^{21, 63,64,65} and in the posterior parietal cortex, including the MTG^{21, 22}.
Similarly, this result is noteworthy because it provides the first evidence in humans, to our knowledge, that a composite signal – that does not rely entirely on a single RPE representation encoded by one family of dopamine (DA) neurons^{66,67,68,69} – is necessary to drive learning. This interpretation is further supported by recent evidence failing to uncover a true RPE in the nucleus accumbens, especially when categorical RPE valence is accounted for^{70}, highlighting the collinearity confound between the two signals in conventional fMRI designs. Although our study cannot rule out that a fully parametric signed RPE exists subcortically – as these representations are unlikely to contribute strongly to the EEG signal – our results are more consistent with another recent study reporting multiple outcomerelated signals converging onto the STR^{71}.
In summary, our data advance our understanding of the neurobiological mechanisms of learning associations between stimuli and outcomes and suggest complementary roles for RPE valence and surprise in decision making that can help constrain formal learning theories.
Methods
Participants
Twentyfour participants took part in the study, which was conducted in accordance with approved guidelines. Informed consent was obtained from all participants while all experimental protocols were approved by the School of Psychology Ethics Committee at the University of Nottingham. Four participants were excluded due to excessive head movements inside the scanner. The remaining twenty participants (12 females; average ± SD age, 21 years ± 2.6 years) were used in all subsequent analyses. All were right handed, had normal or correctedtonormal vision and reported no previous history of neurological problems.
Stimuli
Our task employed twelve abstract stimuli (examples given in Fig. 1a) and two feedback symbols (a tick and a cross for positive and negative feedback respectively). All stimuli (180 × 180 pixels) including those used for the feedback (125 × 125 pixels) and the fixation cross (30 × 30 pixels) were equated for luminance and contrast. The task was programmed with the Presentation software (Neurobehavioral Systems Inc., Albany, CA), presented using a computer running Windows Professional 7 (64 bit, 3 GB RAM, nVidia graphics card) and projected onto a screen placed 2.3 m from the participants (EPSON EMP821 projector; refresh rate: 60 Hz, resolution: 1280 × 1024 pixels, projection screen size: 120 × 90 cm’s). The stimuli and feedback symbols were subtended 4° × 4° and 3° × 3° of visual angle respectively.
Probabilistic reversal learning task
The experiment consisted of two blocks of 170 trials each, separated by a break. At the beginning of each block, participants were shown three symbols (A, B and C) chosen randomly from the larger set of twelve stimuli. The chosen symbols were used throughout the block. In each trial, participants were told to identify the symbol with the highest reward probability among a pair of stimuli selected from the three symbols. Each rewarded trial earned them 1 point, while unrewarded trials earned them zero points. Participants knew that their performance would be monitored and transformed into monetary rewards at the end of the experiment (up to a maximum of £45), without being instructed on the exact mapping between earned points and their final payoff.
At any given point during the experiment, one of the three symbols was associated with a 70% chance of obtaining a reward (“high” reward probability symbol) compared to the remaining two symbols, each of which had a 30% chance of obtaining a reward (“low” probability symbols). Participants were not informed of the exact reward probabilities assigned to the symbols and they were told instead to learn to choose the symbol that was more likely to lead to a reward through trial and error (i.e. making use of the outcome of past decisions). To prevent participants from searching for nonexistent patterns and to reduce cognitive load we presented the three possible pair combinations of the three symbols in a fixed order (i.e. AB, BC and CA) – though the presentation on the screen (left or right of the fixation cross) for the two symbols was randomized. Participants were explicitly informed about this manipulation.
Each trial began with the presentation of a fixation cross for a random delay (1–4 s; mean 2.5 s). To minimize large eyemovements, participants were instructed to focus on the central fixation. Two of the three symbols were then placed to either side of the fixation cross for 1.25 s. During this period, participants had to press a button on a fORP MRI compatible response box (Current Design Inc., Philadelphia, PA, USA) using either their right index or middle finger to select the right or left symbol on the screen, respectively. The fixation cross flickered for 100 ms after each button press to signal to the participants that their response was registered. Finally, the decision outcome was presented after a second random delay (1–4 s; mean 2.5 s). Rewarded or unrewarded feedback was given by placing a tick or a cross, respectively, in the center of the screen for 0.65 s. Trials, in which participants failed to respond within the 1.25 s of the stimulus presentation, were followed by a “Lost trial” message and were excluded from further analyses. To increase estimation efficiency in the fMRI analysis, the timing of the two delay periods was optimized using a genetic algorithm^{72, 73}. Figure 1a summarizes the sequence of these events.
We defined a learning criterion for which participants were thought to have learned the task when they consistently selected the high probability symbol in 5 out of the last 6 trials. Every time this learning criterion was reached, we introduced a reversal by randomly reassigning the “high” reward probability to a different symbol. This manipulation ensured that participants only experienced reversals after learning, as previously used in modelbased fMRI studies^{31, 74}. To make reversals less predictable, we included additional buffer trials after the learning criterion was reached. The number of buffer trials followed a Poisson process, such that there was a probability of 0.3 that a reversal occurred on any subsequent trial (with a minimum of 1 and a maximum of 8 trials). Finally, a key component of this paradigm was that each stimulus pair was chosen from a larger set of three symbols. This manipulation encouraged participants to engage in an exploration phase to identify the most rewarding symbol after reversals and it forced the participants to choose between the two least rewarding symbols even after they had learned the task (when the two were presented together). This manipulation ensured a more balanced number of positive and negative RPEs across all trials.
Modeling of behavioral data
We used a modelfree reinforcement learning (RL) algorithm to estimate trialbytrial RPEs using each participants’ behavioral choices^{1}. Specifically, the algorithm assigned each choice i (for example selecting the symbol A) an expected value \({v}_{A}(i)\) which was updated via a RPE, \(\delta (i)\), as follows:
where \({\rm{\alpha }}\) is a fixed learning rate that determines the influence of the RPE on the updating of the stimulus expected value. The RPE was given by the following equation:\(\,{\rm{\delta }}(i)=r(i){v}_{A}(i)\), where \(r\,(i)\) represents the observed outcome (0 or 1). The expected values of both the unselected stimulus (e.g. B) and the stimulus not shown on trial \(i\) (e.g. C) were not updated.
It is worth noting that subjectwise differences in overall task volatility (contingent upon the number of reversals attained during the task) were captured by different subjectwise estimates of the learning rate (for example, subjects who experienced a more stable environment – that is fewer reversals – had lower learning rate estimates). For comparison, to capture both subject and trialwise fluctuations in task volatility we also used a RL model incorporating a dynamic learning rate (DYNA) that enables a trialbytrial scaling of the choice expected value updating^{29}. In this model the learning rate (\(\alpha \)) on each trial \(i\) is modulated by the slope of the smoothed unsigned RPE (\(m\)) according to the following update equations:
where \(f(m(i))\) is a double sigmoid function that transforms the slope \(m\) into the [0,1] interval and scales the trialbytrial updating of the dynamic learning rate. Crucially, this transformation function is itself parameterized by a free parameter \(\gamma \). High values of \(\gamma \) render the updating of the dynamic learning rate negligible so that in essence the learning rate becomes fixed. On inspection of the subjectwise fits of the dynamic learning rate model we found high values of the parameter \(\gamma \) across participants and unvarying trialbytrial estimates of the dynamic learning rate (log(\(\gamma \)): mean = 2.87, SEM = 0.92). The Matlab code implementing the computational models described above is available at http://decision.ccni.gla.ac.uk/data/RLmodels.zip.
Whilst modelfree RL approaches (such as the ones presented above) rest on the assumption that subjects make choices contingent upon the cached stimulusexpected value associations that have been acquired through prior experience, modelbased RL approaches allow for representations of stimulusoutcome contingencies to bear on the decision process. To rule out that our subjects were merely inferring stimulusoutcome contingencies instead, we adapted the model presented in ref. 40 to our one stage task environment. Briefly, in our modelbased RL model stimulusoutcome contingencies were updated as follows: \(SO(i+1,s,r)=SO(i,s,r)+\alpha \delta (i)\) where SO represents a stimulusoutcome contingency matrix, \(s\) indicates the chosen stimulus, \(r\) specifies the type of binary outcome (1 for positive RPE and 0 for negative RPE), \(\alpha \) is a fixed learning rate and \(\delta \) is a stimulusoutcome prediction error computed as \(\delta (i)=1SO(i,s,r)\). The stimulusoutcome contingencies of the two stimuli that were not chosen and not shown on trial \(i\) were not updated.
As in the modelfree variants of our RL model only the expected value of the chosen stimulus (e.g. A) was updated as \({v}_{A}(i+1)=SO(i+1,A,\,1)\). In all models we used a softmax decision function in which, on each trial \(i\), a stimulus choice probability (e.g. A) was given by:
where \(\sigma (z)=1/(1+{e}^{z})\) is the logistic function, \(\varphi \) denotes the indecision point (when choosing each of the alternatives is equiprobable) and \(\beta \) represents the degree of choice stochasticity (i.e., the exploration/exploitation parameter). Whilst choice probability of the unchosen stimulus (e.g B) was updated as follows: \({P}_{B}(i)=\,1{P}_{A}(i)\), choice probability of the stimulus not shown on trial \(i\) (e.g. C) was not updated.
Model fitting and model comparison
For each subject \(j\) we estimated the set of model parameters \({\theta }_{J}\) using a maximum likelihood estimation fitting procedure:\(\,{\theta }_{j}^{ML}=\,argma{x}_{\theta }\,logL\,({\theta }_{j})\). The log likelihood \(logL\) was computed as \(\frac{{\sum }^{}{C}_{a}log{P}_{a}({\theta }_{j})}{{N}_{a}}+\frac{{\sum }^{}{C}_{b}log{P}_{b}({\theta }_{j})}{{N}_{b}}+\) \(\frac{{\sum }^{}{C}_{c}log{P}_{c}({\theta }_{j})}{{N}_{c}}\) where \(log\,P({\theta }_{j})\) is the choice logprobability given the model parameters \({\theta }_{J}\), \(C\) is a binary vector indexing observed choice, \(N\) is the number of observed choices and the subscripts indicate each of the 3 available choices. To preserve the parameters’ natural bounds, log \((\beta ,\,\gamma )\) and logit \((\alpha )\) transforms of the parameters were implemented.
To determine the best fitting model we performed classical model comparison. Specifically, for each model we first estimated the subjectwise Bayesian Information Criterion (BIC) as follows: \(BIC=\,2log\,L+dlogn\). Here, the goodness of fit of a model (\(log\,L\)) is penalised by the complexity term (\(dlogn\)) where the number of free parameters in the model d is scaled by the number of data points n (i.e. trials). We then computed the sum of subjectwise BIC for each model and compared the modelwise BIC estimates (lower estimates indicating better fit). We found the BIC for the modelfree RL with a fixed learning rate to be the lowest (\(BI{C}_{MF}\,\)= 413.26; \(BI{C}_{MB}\,\)= 413.61; \(BI{C}_{DYNA}\,\)= 529.17).
To visualize the winning model goodness of fit we divided the subjectwise predicted choice probabilities into ten groups depending on the distribution quintiles and for each group computed the subjectwise average predicted choice probability. Using the sorting index of the predicted choice probabilities we then retrieved the subject and groupwise average observed choice probabilities and computed Pearson’s correlation coefficient (rho = 0.97, Fig. 1b).
Finally, we used the RPE estimates from the modelfree RL with a fixed learning rate to provisionally separate trials into those with lowvshigh RPEs surprise to run a binary decoder on the EEG data (see below). Our main goal was to then exploit the singletrial variability in the electrophysiologicallyderived (i.e. endogenous) and temporallyspecific representations of RPE valence and surprise to build fMRI predictors in order to identify the networks associated with these representations in the human brain.
Electrophysiological recordings
EEG recordings were performed simultaneously with the fMRI acquisition. EEG data were acquired using Brain Vision Recorder (BVR; Version 1.10, Brain Products, Germany) and MRcompatible amplifiers (BrainAmps MRPlus, Brain Products, Germany). The sampling rate was set at 5 kHz with a hardware bandpass filter of 0.016 to 250 Hz. The data were collected with an electrode cap consisting of 64 Ag/AgCl scalp electrodes (BrainCap MR; Brain Products, Germany) placed according to the international 10–20 system. Reference and ground electrodes were embedded within the EEG cap and positioned along the midline (reference: placed between electrodes Fpz and Fz, ground electrode: placed between electrode Pz and Oz). 10 kΩ surfacemount resistors were placed in line with each electrode for added subject safety, while all leads were twisted for their entire length and bundled together to minimize inductive pickup. All input impedances were kept below 20 kΩ. Hardwarebased EEG/MR clock synchronization was achieved using the SyncBox device (Syncbox, Brain Products, Germany) and MRscanner triggers were collected to enable offline removal of MR gradient artifacts (GA). Scanner trigger pulses were stretched to 50 µs using an inhouse pulse extender to facilitate accurate capture. These pulses along with all experimental event triggers were recorded by the BVR software to ensure synchronization with the EEG data.
To minimize the influence of the GA at source, electrodes Fp1 and Fp2 were positioned at the scanner’s z = 0 position (i.e. the scanner’s isocenter), corresponding to a 4 cm shift of the head in the foothead direction^{75}. This was achieved by aligning electrodes Fp1 and Fp2 with the laser beam used to position the subject inside the scanner. We used a 32channel SENSE head coil with an access port that allowed all EEG cables to run along a straight path out of the MR, thereby ensuring no wire loops and minimizing the risk of RF heating the EEG cap. Finally we used a cantilevered beam to isolate the cables from scanner vibrations, thereby reducing induced artifacts as much as possible^{76}.
EEG preprocessing
We designed offline Matlab (Mathworks, Natick, MA) routines to perform basic processing of the EEG signals and remove GA and ballistocardiogram (BCG) artifacts (appearing due to magnetic induction on the EEG leads). The GA is inherently periodic and we therefore created an artifact template by averaging the EEG signal over 80 functional volumes and subsequently subtracting it from the EEG data centered on the middle volume. This procedure was repeated for each volume and each EEG channel separately. To remove any residual spike artifacts, we applied a 10 ms median filter. We then applied (noncausally to avoid distortions caused by phase delays) the following filters: a 0.5 Hz highpass filter to remove DC drifts, 50 Hz and 100 Hz notch filters to remove electrical line noise, and 100 Hz low pass filter to remove high frequency signals not associated with neurophysiological processes of interest.
Finally, we treated the BCG artifacts, which often share frequency content with the EEG. In order to avoid loss of signal power that might otherwise be informative we adopted a conservative and previously validated approach^{12, 34}. Specifically, we only removed few subjectspecific BCG components using principal component analysis and relied on our singletrial discriminant analysis (see below) to identify components that were likely to be orthogonal to the BCG (this is ultimately achieved due to the multivariate nature of our discriminant analysis). To extract the BCG principal components, we first lowpass filtered the EEG data at 4 Hz (e.g. the frequency range where BCG artifacts are observed), and then estimated subjectspecific principal components. The average number of components across subjects was 2.3. The sensor weightings corresponding to the BCG components were then projected onto the broadband data and subtracted out.
Eyemovement artifact removal
Before performing the main task, our participants were asked to complete an eye movement calibration task including blinking repeatedly when a fixation cross appeared in the center of the projection screen and making several horizontal and vertical saccades depending on the position of a fixation cross, subtending 0.6° × 0.6° of visual angle. Using principal component analysis we determined linear EEG sensor weightings corresponding to eye blinks and saccades such that these components were projected onto the broadband data from the main task and subtracted out^{34, 77}.
EEG linear discriminant analysis
We used singletrial multivariate discriminant analysis of the EEG^{12, 32, 78, 79} to perform binary discriminations along the RPE valence and surprise dimensions. Specifically, for each participant, we estimated linear weightings of the EEG electrode signals (i.e. spatial filters) that maximally discriminated between (1) positive vs. negative feedback trials (valence dimension) and (2) high vs. low outcome surprise trials (surprise dimension) (Eq. 4). To identify temporally distinct neuronal components associated with each dimension we employed this procedure over several temporally distinct training windows. Applying the estimated spatial filters to singletrial data produced a measurement of the resultant discriminating component amplitudes. These values represent the distance of individual trials from the discriminating hyperplane and can be thought of as a surrogate for the neuronal response variability associated with each discriminating condition, with activity common to both conditions removed (Fig. 2a)^{78}.
Here, we defined discriminator training windows of interest with width 60 ms and center times \(\tau \), ranging from −100 to 600 ms relative to outcome onset (in 10 ms increments) and used a regularized Fisher discriminant to estimate a spatial weighting vector \(w(\tau )\), which maximally discriminates between sensor array signals \(x(t)\), for two conditions (i.e. positive vs negative RPEs and high vs low surprise RPE trials):
where \(x(t)\) is an D x T matrix (D sensors and T time samples) and \({y}_{i}(\tau )\) represents the resulting singletrial discriminator amplitudes. In separating the relevant groups of trials for RPE valence and surprise the discriminator was designed to map positive RPE and high surprise RPE trials to positive amplitudes and negative RPE and low surprise RPE trials to negative amplitudes.
Our aim was to capitalize on the endogenous variability in these singletrial discriminator amplitudes (\({y}_{i}(\tau )\)) to build EEGinformed BOLD predictors (Fig. 2b) for analyzing the simultaneously acquired fMRI data (see below). Our working hypothesis is that singletrial variability in our electrophysiologicallyderived measures of RPE valence and surprise can enable otherwise “static” fMRI activations (resulting from temporal averaging and the slow dynamics of conventional fMRI) to be absorbed by temporally specific components, thereby offering a more complete spatiotemporal picture of the underlying networks. Note that the trialbytrial variability in our EEG component amplitudes is driven mostly by cortical regions in close proximity to our recording sensors and to a lesser extend by distant (e.g. subcortical) structures. Nonetheless, as long as the BOLD activity of relevant subcortical regions covaries together with the BOLD signal in the cortical sources of our EEG activity, then the same EEGinformed fMRI predictors that revealed the cortical structures will also absorb the deeper structures (regardless of whether the latter contributed directly to the EEG signal)^{80,81,82}.
We estimated the spatial vectors \(w(\tau )\,\,\)in Equation 4 for each time window \(\tau \) as follows: \(w={S}_{c}({m}_{2}{m}_{1})\) where \({m}_{i}\) is the estimated mean for condition i and \({S}_{c}=1/2({S}_{1}+{S}_{2})\) is the estimated common covariance matrix (i.e. the average of the empirical covariance matrices for each condition, \({S}_{i}=1/(N1){\sum }_{j=1}^{N}({x}_{j}{m}_{i}){({x}_{j}{m}_{i})}^{T}\), with N = number of trials). To treat potential estimation errors we replaced the conditionwise covariance matrices with regularized versions: \(\widetilde{{S}_{i}}=(1\lambda ){S}_{i}+\lambda \nu I,\) with \(\lambda \,\in [0,1]\) being the regularization term and \(\nu \) the average eigenvalue of the original \({S}_{i}\) (i.e. trace \(({S}_{i})\) /D). Note that \(\lambda \) = 0 yields unregularized estimation and \(\lambda \) = 1 assumes spherical covariance matrices. We optimized \(\lambda \) for each subject separately during the entire period following the outcome, using a leaveoneout trial cross validation (\(\lambda \)’s, mean \(\pm \) se: 0.028 \(\pm \) 0.05).
To quantify the discriminator’s performance at each time window, we calculated the area under a receiver operating characteristic curve, also known as Az value, using a leaveoneout trial cross validation^{83}. Next, we assessed the significance of the discrimination performance using a permutation test by performing the leaveoneout trial procedure after randomizing the labels associated with each trial. To produce a probability distribution for Az, and estimate the Az value leading to a significance level of P < 0.01, we repeated this randomization procedure 1000 times. Note that our classification results were virtually identical when using a logistic regression approach to train the classifier^{33}.
Given the linearity of our approach, we also computed scalp topographies for each discriminating component of interest resulting from Equation 4 by estimating a forward model as:
where \({y}_{i}(\tau )\) is now shown as a vector \(y({\rm{\tau }})\), where each row being a trial, and \({x}_{i}({\rm{t}})\) is organized as a matrix, \(x({\rm{\tau }})\), with rows as channels and columns as trials, all for time window \({\rm{\tau }}\). These forward models can be viewed as scalp plots and interpreted as the coupling between the discriminating components and the observed EEG^{12, 33, 34, 79}. The code for the multivariate discriminant analysis is available at http://sccn.ucsd.edu/eeglab/plugins/lr1.2.zip.
Mixedeffects analyses of behavioral and EEG data
To account for between subjects variability, we fitted mixedeffects regression models including bysubject random intercept and bysubject random slopes for all predictors of interest using the lme4 package (https://cran.rproject.org/web/ packages/lme4/index.html) in R (http://www.rproject.org). Details of the dependent and predictor variables used for each regression analysis are provided in the main text. To assess significance of the fixedeffects we performed an Ftest using the Satterwaite/KenwardRoger approximation of denominator’s degrees of freedom (linear regression) and a likelihood ratio test (logistic regression). Finally, the significance of a predictor variable or set of variables is tested using a loglikelihood ratio test, whereby the loglikelihood of the model with all predictors is compared with the loglikelihood of the model without the predictors being tested. The difference in the loglikelihood of two models is distributed according to a χ^{2} distribution whose degrees of freedom equal the difference in the number of parameters in the two models.
MRI data acquisition
MRI data were acquired on a 3 Tesla Philips Achieva MRI scanner (Philips, Netherlands). Our functional MRI data were collected using a 32channel SENSE head coil (SENSE factor = 2.3) measuring 40 slices of 80 × 80 voxels (3 mm isotropic), a field of view (FOV) of 204 mm, flip angle (FA) of 80°, repetition time (TR) of 2.5 s and echo time (TE) of 40 ms. Slices were acquired in interleaved fashion. In total, two runs of 468 functional volumes, corresponding to the blocks of trials in the main task, were acquired. To correct for B0 inhomogeneities in the fMRI data, a B0 map was also acquired using a multishot gradient echo sequence (32 slices of 80 × 80 voxels – 3 mm isotropic, FOV: 204 mm, FA: 90°, TR: 383 ms, TE: 2.3 ms, delta TE: 5 ms). Anatomical images were collected using a MPRAGE T1weighted sequence (160 slices of 256 × 256 voxels – 1 mm isotropic, FOV: 256 mm, TR: 8.2 ms, TE: 3.7 ms).
fMRI data preprocessing
The first five volumes from each experimental run were removed to ensure that steadystate imaging has been achieved. We used the remaining 463 volumes for all subsequent statistical analyses. fMRI data preprocessing included motion correction, slicetiming correction, highpass filtering ( > 100 s) and spatial smoothing (with a Gaussian kernel of 8 mm fullwidth at half maximum). These steps were achieved using the FMRIB’s Software Library (Functional MRI of the Brain, Oxford, UK). Next, we applied B0 unwarping onto the fMRI images to correct for signal loss and geometric distortions due to B0 field inhomogeneities. Finally, the registration of fMRI data to standard space (Montreal Neurological Institute, MNI) was performed using FMRIB’s Nonlinear Image Registration Tool using a 10 mm warp resolution. This procedure included an initial linear transformation of the fMRI images into an individual’s highresolution space (using six degrees of freedom) prior to applying the nonlinear transformation to standard space.
fMRI analysis
We employed a multilevel approach within the general linear model (GLM) framework to perform wholebrain statistical analyses of functional data as implemented in FSL^{84}:
where Y is a T × 1 (T time samples) column vector containing the times series data for a given voxel, and X is a T × N (N regressors) design matrix with columns representing each of the psychological regressors convolved with a canonical hemodynamic response function (doubleγ function). β is a N × 1 column vector of regression coefficients and ε a T × 1 column vector of residual error terms. Using this model we initially performed a firstlevel fixed effects analysis to process each participant’s individual experimental runs, which were then combined in a secondlevel fixed effects analysis. Finally, we combined results across participants in a thirdlevel, mixedeffects model (FLAME 1), treating subjects as a random effect. Time series statistical analysis was carried out using FMRIB’s improved linear model with local autocorrelation correction. Applying this framework, we performed the GLMs highlighted below.
GLM1 – EEGinformed fMRI analysis of outcome phase
Our main fMRI analysis was designed to reveal the brain networks underlying the two main outcome dimensions – valence and surprise – by capitalizing on the endogenous STV in temporallyspecific EEG components associated with these dimensions. For the valence dimension, we aimed at exposing brain areas in which the BOLD signal varied with the EEG STV along a positive versus negative axis, while for the surprise dimension the BOLD signal varied with the EEG STV along a high versus low surprise RPE axis, regardless of valence.
Specifically, locked to the time of outcome (i.e. when the tick/cross appeared) we included five boxcar regressor with a duration of 100 ms for each regressor event: 1) an unmodulated regressor (UM; all event amplitudes set to one), 2) a fully parametric regressor whose event amplitudes were modulated by the EEG STV associated with the RPE valence component of interest (EEG _{ LateVal }), 3) a fully parametric regressor whose event amplitudes were modulated by the outcome surprise estimates from the RL model (MODEL _{ Sur }), and 4) a fully parametric regressor whose event amplitudes were modulated by the EEG STV associated with the RPE surprise component of interest (EEG _{ LateSur }). Finally, we included a fully parametric regressor whose event amplitudes were modulated by the EEG STV associated with an earlier RPE valence component (to account for fast alertness response to negative RPEs as per^{12}, EEG _{ EarlyVal }), an unmodulated regressor for all lost trials at time of outcome (LOST), an unmodulated regressor of no interest at the time of stimulus presentation (i.e. decision phase, DEC), and six nuisance regressors, one for each of the motion parameters (three rotations and three translations), such as:
Note that the amplitudes of the two valence regressors (\(EE{G}_{LateVal}\) and \(EE{G}_{EarlyVal}\)) were largely uncorrelated^{12}.
To examine the extent to which neural representations of RPE valence and surprise overlap spatially across participants, we performed a conjunction analysis on the results arising from the EEGinformed regressors for the late valence and surprise components. Specifically, we examined which brain areas were jointly activated by creating an intersection of statistical maps relating to the two components (as implemented in easythresh_conj within FSL^{85}). The conjunction analysis was performed at the wholebrain level and the resulting statistical image was thresholded at Zscore > 2.57 with a cluster probability threshold of P = 0.05.
GLM2 – Region of interest analysis
To visualize the overall response profile of regions of interest (ROIs) (e.g. those representing both valence and surprise from GLM1) we ran another model with trials binned into six outcomelocked regressors, separated into positive and negative RPEs as well as according to three surprise groups for each outcome type (low, medium, high) using the EEG STV in our outcome surprise component (0–33%, 33–66%, and 66–100% percentiles of EEG amplitudes). The main motivation for this analysis was to visualize the response profile within these areas with respect to the strength of the endogenous variability carried by the EEG STV (rather than the variability from unsigned RPE amplitudes from the RL model). In addition we included the same regressors of no interest we used in GLM1 above.
From each of the six regressors we extracted beta coefficients from the following ROIs: ventromedial prefrontal cortex (vmPFC), striatum (STR), middle temporal gyrus (MTG) and lingual gyrus (LG). More specifically, we first extracted ROIs masks at the group level from GLM1 (i.e. in standard space), by applying the cluster correction procedure described above. We subsequently backprojected these ROIs from standard space into each individual’s EPI (functional) space by applying the inverse transformations as estimated during registration (see fMRI data preprocessing section). Each ROI was then checked against the relevant (regressorspecific) statistical maps in the individual brains [at a slightly more lenient threshold of P < 0.01 uncorrected, cluster size > 10 voxels (90 mm^{3})] to ensure that the inversetransformation was performed properly. Finally, for each of the six regressors we computed average beta coefficients from all voxels in the backprojected clusters and across participants to visualize the overall response profile of the ROIs as a function of both RPE valence and surprise.
Relationship between percent signal change and value updating
To establish a more concrete link between the brain regions encoding both outcomerelated signals, we ran an additional regression analysis. Specifically, we directly tested the relationship between trialrelated percent signal change (PSC) in those areas and stimulus value updating, the key underlying component of learning, defined as the difference in successive prediction values, v ^{k} (i + 1) − v^{k} (i), computed using estimates of our RL model, with k indexing a given choice and with i indexing trial. PSC was estimated on outcomelocked data by defining a temporal window extending 5 s (2 volumes) before the outcome and extending to 10 s (4 volumes) after the outcome onset. We then estimated the PSC traces for all outcomes as follows:
where X( \(t\) ) is the mean outcomelocked data at time point \(t\), X ^{b} is the mean baseline signal defined as the average signal during the 5 s preceding each outcome and extending two volumes after onset, and \(\bar{X}\) the mean outcomelocked volume signal across all data points in a given run. Finally, we employed the PSC as our predictor of value update in a linear regression such as:
Then, to establish a significant trialbytrial association between PSC in our ROIs and value update, we tested whether the regression coefficients resulting from all subjects (\({\beta }_{1}\)′s) come from a distribution with mean greater than zero (using a onetailed ttest).
Resampling procedure for fMRI thresholding
In line with recent recommendations and critical developments in the literature^{86}, we corrected the statistical maps for multiple comparisons by employing a resampling procedure that considers the a priori statistics of the singletrial variability in all of our parametric predictors in a way that trades off cluster size and maximum voxel Zscore^{12}. Specifically, we preserved the overall distributions of the EEG discriminating components (\({y}_{i}(\tau )\) for the RPE valence and surprise components) as well as the singletrial variability of the modelbased unsigned RPE predictor while removing the specific singletrial correlations in subjectspecific experimental runs. Thus, for each resampled iteration and each predictor, all trials were built upon the original regressor amplitude distribution; however the specific values were mixed across trials and runs. In other words, the same regressor amplitudes were used in each permutation, however, the sequence of regressor events was randomized.
We repeated this resampling procedure 100 times for each participant, including a full threelevel analysis (run, subject, and group). The design matrix included the same regressors of noninterest used in all our GLM analyses. Consequently, this process enabled us to construct the null hypothesis H0, and establish a joint threshold on cluster size and Zscore based on the cluster outputs from the randomized predictors. We then extracted cluster sizes from all activations with Zscore > 2.57 for both positive and negative correlations with the permuted predictors. Finally, we produced a distribution for the cluster sizes for the permuted data, and estimated the largest cluster size leading to a significance level of P < 0.05. This procedure resulted in a corrected threshold for our statistical maps, which we then applied to the activations observed in the original data. This clusterthreshold was set to > 76 voxels at Z = 2.57.
References
Sutton, R. Reinforcement Learning: An Introduction. (MIT Press, 1998).
Schultz, W., Dayan, P. & Montague, P. R. A Neural Substrate of Prediction and Reward. Science 275, 1593–1599 (1997).
Fiorillo, C. D., Tobler, P. N. & Schultz, W. Discrete coding of reward probability and uncertainty by dopamine neurons. Science 299, 1898–1902 (2003).
Chau, B. K. H. et al. Contrasting Roles for Orbitofrontal Cortex and Amygdala in Credit Assignment and Learning in Macaques. Neuron 87, 1106–1118 (2015).
Niv, Y. et al. Reinforcement Learning in Multidimensional Environments Relies on Attention Mechanisms. J. Neurosci. 35, 8145–8157 (2015).
Delgado, M. R., Miller, M. M., Inati, S. & Phelps, E. A. An fMRI study of rewardrelated probability learning. NeuroImage 24, 862–873 (2005).
Iglesias, S. et al. Hierarchical Prediction Errors in Midbrain and Basal Forebrain during Sensory Learning. Neuron 80, 519–530 (2013).
Bach, D. R., Hulme, O., Penny, W. D. & Dolan, R. J. The Known Unknowns: Neural Representation of SecondOrder Uncertainty, and Ambiguity. J. Neurosci. 31, 4811–4820 (2011).
Ide, J. S., Shenoy, P., Yu, A. J. & Li, C. R. Bayesian Prediction and Evaluation in the Anterior Cingulate Cortex. J. Neurosci. Off. J. Soc. Neurosci. 33, 2039–2047 (2013).
Frank, M. J. Dynamic dopamine modulation in the basal ganglia: a neurocomputational account of cognitive deficits in medicated and nonmedicated Parkinsonism. J. Cogn. Neurosci. 17, 51–72 (2005).
Wunderlich, K., Rangel, A. & O’Doherty, J. P. Neural computations underlying actionbased decision making in the human brain. Proc. Natl. Acad. Sci. 106, 17199–17204 (2009).
Fouragnan, E., Retzler, C., Mullinger, K. & Philiastides, M. G. Two spatiotemporally distinct value systems shape rewardbased learning in the human brain. Nat. Commun. 6, (2015).
Dayan, P., Kakade, S. & Montague, P. R. Learning and selective attention. nat neurosci 3, 1218–1223 (2000).
Pearce, J. M. & Hall, G. A model for Pavlovian learning: Variations in the effectiveness of conditioned but not of unconditioned stimuli. Psychol. Rev. 87, 532–552 (1980).
Kruschke, J. K. Toward a Unified Model of Attention in Associative Learning. J. Math. Psychol. 45, 812–863 (2001).
Roesch, M. R., Esber, G. R., Li, J., Daw, N. D. & Schoenbaum, G. Surprise! Neural Correlates of PearceHall and RescorlaWagner Coexist within the Brain. Eur. J. Neurosci 35, 1190–1200 (2012).
Pearce, J. M. & Mackintosh, N. J. in Attention and Associative Learning: From Brain to Behaviour (eds Mitchell, C. & Le Pelley, M. E.) 11–39 (Oxford University Press, 2010).
den Ouden, H. E. M., Kok, P. & de Lange, F. P. How Prediction Errors Shape Perception, Attention, and Motivation. Front. Psychol. 3 (2012).
Jensen, J. et al. Separate brain regions code for salience vs. valence during reward prediction in humans. Hum. Brain Mapp. 28, 294–302 (2007).
Knutson, B., Adams, C. M., Fong, G. W. & Hommer, D. Anticipation of increasing monetary reward selectively recruits nucleus accumbens. J. Neurosci. Off. J. Soc. Neurosci. 21, RC159 (2001).
Matsumoto, M. & Hikosaka, O. Two types of dopamine neuron distinctly convey positive and negative motivational signals. Nature 459, 837–841 (2009).
Fiorillo, C. D. Two Dimensions of Value: Dopamine Neurons Represent Reward But Not Aversiveness. Science 341, 546–549 (2013).
Zink, C. F., Pagnoni, G., Martin, M. E., Dhamala, M. & Berns, G. S. Human striatal response to salient nonrewarding stimuli. J. Neurosci. Off. J. Soc. Neurosci. 23, 8092–8097 (2003).
den Ouden, H. E. M., Daunizeau, J., Roiser, J., Friston, K. J. & Stephan, K. E. Striatal prediction error modulates cortical coupling. J. Neurosci. Off. J. Soc. Neurosci. 30, 3210–3219 (2010).
Behrens, T. E. J., Woolrich, M. W., Walton, M. E. & Rushworth, M. F. S. Learning the value of information in an uncertain world. Nat. Neurosci. 10, 1214–1221 (2007).
Preuschoff, K., Bossaerts, P. & Quartz, S. R. Neural differentiation of expected reward and risk in human subcortical structures. Neuron 51, 381–390 (2006).
Metereau, E. & Dreher, J.C. Cerebral correlates of salient prediction error for different rewards and punishments. Cereb. Cortex N. Y. N 1991 23, 477–487 (2013).
Collins, A. G. E. & Frank, M. J. Surprise! Dopamine signals mix action, value and error. Nat. Neurosci. 19, 3–5 (2016).
Rouhani, N., Norman K. A. & Niv, Y. Dissociable effects of surprising rewards on learning and memory. BioRxiv Prepr. doi:http://dx.doi.org/10.1101/111070
Philiastides, M. G., Biele, G., Vavatzanidis, N., Kazzer, P. & Heekeren, H. R. Temporal dynamics of prediction error processing during rewardbased decision making. NeuroImage 53, 221–232 (2010).
O’Doherty, J., Critchley, H., Deichmann, R. & Dolan, R. J. Dissociating valence of outcome from behavioral control in human orbital and ventral prefrontal cortices. J. Neurosci. Off. J. Soc. Neurosci. 23, 7931–7939 (2003).
Philiastides, M. G. & Sajda, P. EEGInformed fMRI Reveals Spatiotemporal Characteristics of Perceptual Decision Making. J. Neurosci. 27, 13082–13091 (2007).
Parra, L. C., Spence, C. D., Gerson, A. D. & Sajda, P. Recipes for the linear analysis of EEG. NeuroImage 28, 326–341 (2005).
Goldman, R. I. et al. Singletrial discrimination for integrating simultaneous EEG and fMRI: Identifying cortical areas contributing to trialtotrial variability in the auditory oddball task. NeuroImage 47, 136–147 (2009).
Krugel, L. K., Biele, G., Mohr, P. N. C., Li, S.C. & Heekeren, H. R. Genetic variation in dopaminergic neuromodulation influences the ability to rapidly and flexibly adapt decisions. Proc. Natl. Acad. Sci 106, 17951–17956 (2009).
Dayan, P. & Niv, Y. Reinforcement learning: The Good, The Bad and The Ugly. Curr. Opin. Neurobiol. 18, 185–196 (2008).
Hayden, B. Y., Heilbronner, S. R., Pearson, J. M. & Platt, M. L. Surprise Signals in Anterior Cingulate Cortex: Neuronal Encoding of Unsigned Reward Prediction Errors Driving Adjustment in Behavior. J. Neurosci. 31, 4178–4187 (2011).
Philiastides, M. G., Biele, G. & Heekeren, H. R. A mechanistic account of value computation in the human brain. Proc. Natl. Acad. Sci. 107, 9430–9435 (2010).
Daw, N. D., O’Doherty, J. P., Dayan, P., Seymour, B. & Dolan, R. J. Cortical substrates for exploratory decisions in humans. Nature 441, 876–879 (2006).
Gläscher, J., Daw, N., Dayan, P. & O’Doherty, J. P. States versus rewards: dissociable neural prediction error signals underlying modelbased and modelfree reinforcement learning. Neuron 66, 585–595 (2010).
Palminteri, S., Khamassi, M., Joffily, M. & Coricelli, G. Contextual modulation of value signals in reward and punishment learning. Nat. Commun. 6 (2015).
Bossaerts, P. Risk and risk prediction error signals in anterior insula. Brain Struct. Funct. 214, 645–653 (2010).
Rudorf, S., Preuschoff, K. & Weber, B. Neural Correlates of Anticipation Risk Reflect Risk Preferences. J. Neurosci. 32, 16683–16692 (2012).
Montague, P. R., Dayan, P. & Sejnowski, T. J. A framework for mesencephalic dopamine systems based on predictive Hebbian learning. J. Neurosci. Off. J. Soc. Neurosci. 16, 1936–1947 (1996).
Yu, A. J. & Dayan, P. Uncertainty, Neuromodulation, and Attention. Neuron 46, 681–692 (2005).
Ruff, C. C. & Fehr, E. The neurobiology of rewards and values in social decision making. Nat. Rev. Neurosci. 15, 549–562 (2014).
Kahnt, T. & Tobler, P. N. Salience Signals in the Right Temporoparietal Junction Facilitate ValueBased Decisions. J. Neurosci. 33, 863–869 (2013).
Asaad, W. F. & Eskandar, E. N. Encoding of Both Positive and Negative Reward Prediction Errors by Neurons of the Primate Lateral Prefrontal Cortex and Caudate Nucleus. J. Neurosci. 31, 17772–17787 (2011).
Sambrook, T. D. & Goslin, J. Mediofrontal eventrelated potentials in response to positive, negative and unsigned prediction errors. Neuropsychologia 61, 1–10 (2014).
Seymour, B., Daw, N., Dayan, P., Singer, T. & Dolan, R. Differential Encoding of Losses and Gains in the Human Striatum. J. Neurosci. 27, 4826–4831 (2007).
Foerde, K., Race, E., Verfaellie, M. & Shohamy, D. A Role for the Medial Temporal Lobe in FeedbackDriven Learning: Evidence from Amnesia. J. Neurosci. 33, 5698–5704 (2013).
Litt, A., Plassmann, H., Shiv, B. & Rangel, A. Dissociating Valuation and Saliency Signals during DecisionMaking. Cereb. Cortex 21, 95–102 (2011).
Rushworth, M. F. S., Noonan, M. P., Boorman, E. D., Walton, M. E. & Behrens, T. E. Frontal Cortex and RewardGuided Learning and DecisionMaking. Neuron 70, 1054–1069 (2011).
Dorris, M. C. & Glimcher, P. W. Activity in posterior parietal cortex is correlated with the relative subjective desirability of action. Neuron 44, 365–378 (2004).
Sugrue, L. P., Corrado, G. S. & Newsome, W. T. Choosing the greater of two goods: neural currencies for valuation and decision making. Nat. Rev. Neurosci. 6, 363–375 (2005).
Lim, S.L., O’Doherty, J. P. & Rangel, A. The decision value computations in the vmPFC and striatum use a relative value code that is guided by visual attention. J. Neurosci. Off. J. Soc. Neurosci. 31, 13214–13223 (2011).
Kim, H. & Cabeza, R. Trusting our memories: dissociating the neural correlates of confidence in veridical versus illusory memories. J. Neurosci. Off. J. Soc. Neurosci. 27, 12190–12197 (2007).
McGuire, J. T., Nassar, M. R., Gold, J. I. & Kable, J. W. Functionally Dissociable Influences on Learning Rate in a Dynamic Environment. Neuron 84, 870–881 (2014).
Akaishi, R., Kolling, N., Brown, J. W. & Rushworth, M. Neural Mechanisms of Credit Assignment in a Multicue Environment. J. Neurosci. 36, 1096–1112 (2016).
Gläscher, J., Hampton, A. N. & O’Doherty, J. P. Determining a Role for Ventromedial Prefrontal Cortex in Encoding ActionBased Value Signals During RewardRelated Decision Making. Cereb. Cortex 19, 483–495 (2009).
Kolling, N., Wittmann, M. & Rushworth, M. F. S. Multiple Neural Mechanisms of Decision Making and Their Competition under Changing Risk Pressure. Neuron 81, 1190–1202 (2014).
Schultz, W. Dopamine reward predictionerror signalling: a twocomponent response. Nat. Rev. Neurosci. 17, 183–195 (2016).
Ikemoto, S. Dopamine reward circuitry: Two projection systems from the ventral midbrain to the nucleus accumbens–olfactory tubercle complex. Brain Res. Rev. 56, 27–78 (2007).
Matsumoto, M., Matsumoto, K., Abe, H. & Tanaka, K. Medial prefrontal cell activity signaling prediction errors of action values. Nat. Neurosci. 10, 647–656 (2007).
Atallah, H. E., McCool, A. D., Howe, M. W. & Graybiel, A. M. Neurons in the Ventral Striatum Exhibit CellTypeSpecific Representations of Outcome during Learning. Neuron 82, 1145–1156 (2014).
Delgado, M. R., Nystrom, L. E., Fissell, C., Noll, D. C. & Fiez, J. A. Tracking the Hemodynamic Responses to Reward and Punishment in the Striatum. J. Neurophysiol. 84, 3072–3077 (2000).
D’Ardenne, K., McClure, S. M., Nystrom, L. E. & Cohen, J. D. BOLD responses reflecting dopaminergic signals in the human ventral tegmental area. Science 319, 1264–1267 (2008).
Caplin, A., Dean, M., Glimcher, P. W. & Rutledge, R. B. Measuring Beliefs And Rewards: A Neuroeconomic Approach. Q. J. Econ. 125, 923–960 (2010).
Rutledge, R. B., Dean, M., Caplin, A. & Glimcher, P. W. Testing the Reward Prediction Error Hypothesis with an Axiomatic Model. J. Neurosci. Off. J. Soc. Neurosci. 30, 13525–13536 (2010).
Stenner, M.P. et al. No unified reward prediction error in local field potentials from the human nucleus accumbens: evidence from epilepsy patients. J. Neurophysiol. 114, 781–792 (2015).
Kishida, K. T. et al. Subsecond dopamine fluctuations in human striatum encode superposed error signals about actual and counterfactual reward. Proc. Natl. Acad. Sci. 113, 200–205 (2016).
Friston, K. J., Zarahn, E., Josephs, O., Henson, R. N. & Dale, A. M. Stochastic designs in eventrelated fMRI. NeuroImage 10, 607–619 (1999).
Wager, T. D. & Nichols, T. E. Optimization of experimental design in fMRI: a general framework using a genetic algorithm. (2003).
O’Doherty, J., Kringelbach, M. L., Rolls, E. T., Hornak, J. & Andrews, C. Abstract reward and punishment representations in the human orbitofrontal cortex. Nat. Neurosci. 4, 95–102 (2001).
Mullinger, K. J., Yan, W. X. & Bowtell, R. Reducing the gradient artefact in simultaneous EEGfMRI by adjusting the subject’s axial position. NeuroImage 54, 1942–1950 (2011).
Mullinger, K. J., Castellone, P. & Bowtell, R. Best Current Practice for Obtaining High Quality EEG Data During Simultaneous fMRI. J. Vis. Exp. JoVE. doi:10.3791/50283 (2013).
Gherman, S. & Philiastides, M. G. Neural representations of confidence emerge from the process of decision formation during perceptual choices. NeuroImage 106, 134–143 (2015).
Philiastides, M. G. & Sajda, P. Temporal characterization of the neural correlates of perceptual decision making in the human brain. Cereb. Cortex N. Y. N 1991 16, 509–518 (2006).
Philiastides, M. G., Heekeren, H. R. & Sajda, P. Human Scalp Potentials Reflect a Mixture of DecisionRelated Signals during Perceptual Choices. J. Neurosci. 34, 16877–16889 (2014).
Plichta, M. M. et al. Simultaneous EEG and fMRI reveals a causally connected subcorticalcortical network during reward anticipation. J. Neurosci. Off. J. Soc. Neurosci. 33, 14526–14533 (2013).
Walz, J. M. et al. Simultaneous EEGfMRI reveals temporal evolution of coupling between supramodal cortical attention networks and the brainstem. J. Neurosci. Off. J. Soc. Neurosci. 33, 19212–19222 (2013).
Keynan, J. N. et al. Limbic Activity Modulation Guided by Functional Magnetic Resonance ImagingInspired Electroencephalography Improves Implicit Emotion Regulation. Biol. Psychiatry 80, 490–496 (2016).
Duda, R. O., Hart, P. E. & Stork, D. G. Pattern Classification. (WileyInterscience, 2000).
Smith, S. M. et al. Advances in functional and structural MR image analysis and implementation as FSL. NeuroImage 23(Suppl 1), S208–219 (2004).
Nichols, T., Brett, M., Andersson, J., Wager, T. & Poline, J.B. Valid conjunction inference with the minimum statistic. NeuroImage 25, 653–660 (2005).
Eklund, A., Nichols, T. E. & Knutsson, H. Cluster failure: Why fMRI inferences for spatial extent have inflated falsepositive rates. Proc. Natl. Acad. Sci. 113, 7900–7905 (2016).
Acknowledgements
This work was supported by the Biotechnology and Biological Sciences Research Council (BBSRC; grants BB/J015393/1–2 to MGP).
Author information
Authors and Affiliations
Contributions
E.F. and M.G.P. designed the experiments. E.F., C.R. and K.J.M. performed the experiments. E.F., F.Q and M.G.P. analyzed the data. E.F., F.Q. and M.G.P. wrote the paper. All authors discussed the results and implications and commented on the manuscript at all stages.
Corresponding authors
Ethics declarations
Competing Interests
The authors declare that they have no competing interests.
Additional information
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Fouragnan, E., Queirazza, F., Retzler, C. et al. Spatiotemporal neural characterization of prediction error valence and surprise during reward learning in humans. Sci Rep 7, 4762 (2017). https://doi.org/10.1038/s4159801704507w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s4159801704507w
This article is cited by

Timing along the cardiac cycle modulates neural signals of rewardbased learning
Nature Communications (2024)

Neural implementation of computational mechanisms underlying the continuous tradeoff between cooperation and competition
Nature Communications (2022)

A neural model of vulnerability and resilience to stressrelated disorders linked to differential susceptibility
Molecular Psychiatry (2022)

Precision weighting of cortical unsigned prediction error signals benefits learning, is mediated by dopamine, and is impaired in psychosis
Molecular Psychiatry (2021)

Global reward state affects learning and activity in raphe nucleus and anterior insula in monkeys
Nature Communications (2020)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.