Abstract
In this study, we asked whether the event-related potentials associated to cue and target stimuli of a Central Cue Posner Paradigm (CCPP) may encode key parameters of Bayesian inference – prior expectation and surprise – on a trial-by-trial basis. Thirty-two EEG channel were recorded in a sample of 19 young adult subjects while performing a CCPP, in which a cue indicated (validly or invalidly) the position of an incoming auditory target. Three different types of blocks with validities of 50%, 64%, and 88%, respectively, were presented. Estimates of prior expectation and surprise were obtained on a trial-by-trial basis from participants’ responses, using a computational model implementing Bayesian learning. These two values were correlated on a trial-by-trial basis with the EEG values in all the electrodes and time bins. Therefore, a Spearman correlation metrics of the relationship between Bayesian parameters and the EEG was obtained. We report that the surprise parameter was able to classify the different validity blocks. Furthermore, the prior expectation parameter showed a significant correlation with the EEG in the cue-target period, in which the Contingent Negative Variation develops. Finally, in the post-target period the surprise parameter showed a significant correlation in the latencies and electrodes in which different event-related potentials are induced. Our results suggest that Bayesian parameters are coded in the EEG signals; and namely, the CNV would be related to prior expectation, while the post-target components P2a, P2, P3a, P3b, and SW would be related to surprise. This study thus provides novel support to the idea that human electrophysiological neural activity may implement a (Bayesian) predictive processing scheme.
Introduction
Wide consensus is accumulating around the idea that the human brain is a prediction machine, which learns statistical regularities in the form of internal generative models and uses the models to continuously generate predictions to guide perception and action (; ; , ; ; ; , , , ; ; , ,, ). We still have scarce evidence on the ways the human brain may implement the computational steps required for Bayesian inference and learning, e.g., the generation of expectations prior to observing stimuli and of surprise or prediction error signals afterward (; ).
An effective way to understand how the brain may extract and encode statistical regularities during a cognitive task is performing a model-based computational analysis of participants’ behavioral and brain data (). Previous studies using a model-based methodology have identified a variety of Bayesian parameters to be used as regressors for fMRI or EEG data, which include: Predictive surprise, which represents the subjective information content, or surprisal received when an event is observed (); Bayesian surprise, or the degree of updating in the beliefs after experiencing a new event (); Prior expectation, or (the mean of) the expected probability for a given event before the observations (note that in a trial-by-trial analysis, the posterior expectation at some trial T can be considered as the prior expectation at the next trial T+1).
A study employing the Hierarchical Gaussian Filter (HGF; ) for a model-based analysis of a sensory learning task reported that fMRI activity in the visual, supramodal, and midbrain indexed low-level sensory prediction errors, whereas fMRI activity in the basal forebrain indexed higher-level prediction errors (). Another study combining electrophysiological and neuroimaging approaches reported signatures of Bayesian inference at multiple hierarchical levels during a social learning task (). The model-based approach has been also widely used in combination to EEG techniques. Indeed, event-related potentials (ERPs) provide high time resolution of neural activity and are particularly suited to investigate dynamical neural phenomena like the coding of prediction errors in Bayesian models. For example, () showed that short and long-term effects of previous targets on P300 amplitude are modeled by means of digital filters with different time constants; see also (; ) for other approaches to study the neural signatures of Bayesian computations in ERPs.
Another line of research using a Bayesian approach in combination with ERPs has shown that, in an urn-ball paradigm, three components of the P300 late positive complex – P3a, P3b, and positive Slow Wave – index dissociated different processes of Bayesian inference: the updating of Bayesian surprise (updating of beliefs about hidden states), predictive surprise (the subjective information content received from an observed event) and the updating of predictions of observations (the so-called postdictive surprise) (). Finally, another related ERP study using the urn-ball task linked P3a and P3b signals to prior probabilities and likelihoods, respectively (); see also (). Yet, despite these progresses, there are several aspects of a putative neural coding of Bayesian parameters that remain incompletely understood. In particular, while surprise signals have been studied quite extensively, the relationship of the prior expectation parameter with the EEG signals has not been addressed directly.
The goal of the present study is testing the quantitative relationships between ERPs and the Bayesian estimations of prior expectation and surprise, on a trial-by-trial basis, by adopting a model-based approach. Specifically, this study investigates the coding of Bayesian parameters in ERP signals during a Central Cue Posner Paradigm (CCPP), in which participants saw centrally presented cues that were either valid (i.e., correctly cued the target) or invalid. The CCPP task is especially compelling, as it induces an expectancy period between the spatial cue and the target, and a surprise after the target is revealed (if unexpected). Critically, cues had different levels of validity in different blocks (50%, 68%, and 86%, respectively); but those needed to be learned during the task – which implies that participant may experience different subjective degrees of surprise during learning. This manipulation permitted us to study the putative coding of two critical parameters of Bayesian inference – prior expectation (i.e., a mean prediction derived from a Bayesian model, see below) and surprise (i.e., the discrepancy between prediction and evidence) – in trial-by-trial ERP signals, while participants learned the task. Single-trial prior expectation and surprise parameters were inferred from participants’ behavior using a Bayesian learning model (HGF, ) that was previously validated in a Posner task (). The prior expectation and surprise parameters inferred by the model based were then correlated with ERP signals recorded from the same participants and trials.
Following the hypothesis that the brain implements Bayesian computations (aka, Bayesian brain hypothesis), we expected the single-trial EEG amplitude to correlate with the prior expectation parameter in the preparatory period (cue-target period) and with the surprise parameter in the belief-updating (post-target) period. This result would indicate that ERP signals index key parameters of Bayesian inference, in the proper temporal order (i.e., prior expectations need to be formed first, to be used to derive surprise signals). In keeping with this hypothesis, it has been suggested that the negative slow potential, termed as Contingent Negative Variation (CNV), may be a neural signature for prior probabilities, and related to the updating of beliefs about the relationship of cue and target (). In the post-event period, the P3a, P3b and late positive slow wave component present higher amplitude in invalid than valid trials during CCPP (; ), suggesting a higher neural processing of invalid with respect to valid trials. The amplitude of the late positive complex is sensitive to the validity or invalidity of the trial, but also to the validity probability in a given block (), i.e., the so-called global probability, and to the recent stimulus sequence, i.e., the local probability (; ).
Furthermore, we expected prior expectation and surprise parameters to be decoded equally well across the three experimental blocks of the CCPP, which have different statistics. This is important, as it would indicate that the brain continuously tracks task statistics, and generates context-specific predictions and surprise signals (i.e., signals that depend on learned task statistics), rather than using a more inflexible, non-Bayesian strategy that simply reacts differentially to invalid versus valid trials (e.g., by elevating EEG signals for invalid trials).
Materials and Methods
Subjects
Thirty subjects (15 females and 15 males) between 18 and 35 years of age (mean: 24 years old and SD: 4.22) participated in the experiment. Two of them were eliminated because the EEG was not properly recorded. After computing the prior expectation and surprise parameters with the HGF model (), nine subjects who only produced negligible changes in these parameters on a trial-by-trial basis were eliminated from further analysis. The remaining sample of 19 subjects was completely analyzed. The experiments were conducted with the informed and written consent of each subject, following the rules of the Helsinki Convention. The “portal of ética en Biomedicina de la Junta de Andalucía” approved the study.
Paradigm
The stimuli were presented through E-Prime (2.0), on a computer screen situated at 60 cm of the subjects. The experimental paradigm consisted in a visuo-auditory modified version of the CCPP (Figure 1), with arrow cues appearing at the center of the screen (DELL E773p, Graphic Card NVIDIA GeForce FX 5200, 1152×864 pixels (75 Hz), color and luminance 9,300 K, followed by monaural auditory stimulation (1,000 Hz and 72 db). The central arrow stimulus (S1) was intended to induce spatial orientation, and the monaural auditory stimulus (S2) corresponded to the imperative stimulus. Subjects had to press the right button with the index finger of the right hand if the auditory stimulus appeared in the right ear or the left button with the left index finger if the auditory stimulus was presented in the left ear. The Cedrus (model RB-530) was used as a response device.
FIGURE 1
The events sequence within a trial was as follows: (I) a central fixation white cross appears for 300 ms; (ii) the S1 is on for 300 ms; (iii) an expectancy period (with the white cross) lasts for 370 ms (therefore, the total S1–S2 period was 670 ms); (iv) the S2 comes on for 100 ms and is randomly presented to the left or right ear, with equal probability (0.5); and (v) the response time is on for 1,000 ms (during this period, the white cross was presented again) (Figure 1).
The experiment consisted of 600 trials divided into six blocks (100 trials per block), and there were three types of blocks: (i) Block validity 50%: in 50% of the trials the S1 points to the correct location where the S2 will appear (valid trials) and in the other 50% the S1 points to the wrong location (invalid trials). (ii) Block validity 68%: in 68% of the trials the S1 points to the correct location where the S2 will appear (valid trials) and in the other 32% the S1 points to the wrong location (invalid trials). (iii) Block validity 86%: in 86% of the trials the S1 points to the correct location where the S2 will appear (valid trials) and in the other 14% the S1 points to the wrong location (invalid trials). The 30 participants were divided into six groups upon a different order of presentation of the blocks (six block orders). Different validity blocks are then counterbalanced, and the possible effect caused by the influence of the previous type of block was canceled. There were 12 training trials.
EEG Recordings
The EEG was recorded from 32 scalp sites in an extended version of the International 10–20 System, using tin electrodes mounted on an electrode cap (Electrocap). Impedance was maintained below 5 KOhms. Data were recorded in DC using a common average as reference, and they were not filtered. The ground electrode was located on the line between Fpz and Fz. The amplification gain was 20.000, and the data were acquired at a sampling rate of 512 Hz (ASA-lab EEG/ERP system, ANT, Holland). EEG recordings were analyzed with the EEGlab v10.0.0.0b () and Matlab R2016a (MathWorks Inc., MA, United States) software packages. To eliminate AC power line interference and blink artifacts in the EEG, an Independent Components Analysis () was performed. Criteria for determining these artifactual components were their scalp map distribution, time course and spectral power. These components were discarded, and the EEG signal was reconstructed.
Behavioral Analysis
The reaction time (RT) and errors of the present experiment were previously published (). Results showed the typical pattern of cost-benefit of the CCPP, with faster and more accurate responses in valid compared to invalid trials. See the Supplementary Material for descriptive statistics of the behavioral data.
Here, we re-analyzed the trial-by-trial data, using the HGF: a computational model that implements hierarchical Bayesian inference and learning (, ; ). The rationale for using the HGF model is twofold. First, the HGF embodies the hypothesis that the brain uses a (hierarchical) Bayesian scheme to infer task contingencies (e.g., the validity of cues) and to update these hypotheses when it receives novel information (i.e., after each trial). As it uses a Bayesian scheme, the HGF provides an estimate of each participant’s prior expectation and surprise parameters during the task, on a trial-by-trial basis, by fitting participants’ response times (RS) for valid and invalid trials. Correlating these parameters with EEG signals on a trial-by-trial basis would allow us testing the hypothesis that the brain might perform related Bayesian computations. Second, the HGF was already validated in the context of a CCPP task (), which provides some confidence in the fact that the theoretical assumptions it makes (e.g., about how participant’s response times can be modeled) are sufficiently realistic in this context.
The HGF receives as input participant’s response time (in milliseconds) for each trial; note that trial order of each participant is preserved. Moreover, each trial has two labels, which indicate whether the trial is valid (i.e., cue and target are congruent) or invalid (i.e., cue and target are incongruent), and whether the response was correct or an error (in this latter case, the trial is ignored). The HGF uses this input to infer participants’ hidden states or beliefs about the task (e.g., about cue validity, see later) that best explain their observed responses, and which vary on a trial-by-trial basis (and can thus be correlated with participants’ trial-by-trial EEG signals). To this aim, the HGF learns the parameters of a so-called generative model, i.e., a probabilistic mapping between participants’ hidden beliefs and their responses.
The generative model of HGF includes a hierarchy of hidden states , with i = 1, 2, 3, denoting the three levels of the model, see Figure 2.
FIGURE 2
At the first hierarchical level, the model encodes the state whose binary values represent the category (valid or invalid) of the current trial. The probability of the state is conditioned on a second-level real variable , according to the following rule:
where s(x) = (1 + e-x)-1. Here, the state is interpreted as the ‘tendency’ of the stimulus to be valid. By hypothesis, the value of evolves across trials following a Gaussian random walk and is normally distributed around its value at the previous trial:
with variance described by the term exp( + ω), where ω is a measure of the trial-by-trial variability in .
At the highest hierarchical level, the state expresses the ‘log-volatility’ (e.g., a rate of change of the statistics) of the environment. (Note that our CCPP task comprises three types of blocks having different cue validities – 50%, 68%, and 86% – hence one can consider that shifting block types entails a form of volatility in the cue validity statistics.) The state is assumed to be normally distributed around its value of the previous trial, with a variance defined by a subject-specific parameter 𝜗, which denotes the variability of the volatility over time (‘meta-volatility’).
The HGF uses Bayesian inference to update all the aforementioned posterior densities (or beliefs) of the variables , , and on a trial-by-trial basis, by integrating sensory evidence (about cue validity). As full Bayesian inference can be intractable, the HGF uses variational model inversion and a mean field approximation (
where the accent (^) designates the expected value predicted before observations and is the prediction error about the input coming from the level below.
The lowest level of the hierarchical generative model of HGF describes how the subjects’ beliefs cause their response times at each trial k. The model of (the inverse of) subjects’ response time RS is:
Note that RS denotes the inverse of response time, not response time, as the former but not the latter is assumed to follow a normal distribution. Furthermore, the response time model is separated for valid and invalid trials, which follow different distributions in CCPP and other tasks (
The parameters ζ1valid, ζ1invalid, and ζ2 of the RS model are estimated along with all the other parameters of HGF, using subjects’ responses for each trial and the factor αk defined as:
Here, -log2 is the Shannon surprise for the predicted stimulus , defined as the softmax = s( of the belief for the rate of change. Note that, intuitively, α is assumed as an attention factor, which becomes zero with zero surprise.
We used the HGF model to calculate two parameters – prior expectation and surprise – for each subject (as we estimated ζ, ω, and 𝜗 separately for each subject) and for each trial (as the HGF is sensitive to the order of trials actually experienced by each subject), based on subjects’ response times during the task.
Prior expectation (on ) corresponds to and is calculated by the HGF model as the mean of the (probabilistic) expectation of the cue validity, for each subject and for each trial. Surprise corresponds to -log2 and is calculated by the HGF model as a function of the prior expectation and the actual cue validity at each trial. The term “surprise” refers here to the
EEG Analysis
An offline filtering of 0–30 Hz was applied to the EEG. Independent Component Analysis Artifact (
To compute the possible relations between the Bayesian parameters (prior expectation and surprise) inferred by the HGF and the EEG signal, we performed a trial-by-trial correlational analysis (see Figure 3 for the complete pipeline analysis). To test the hypothesis that the prior expectation parameter was related to the EEG time window in which Contingent Negative Variation (CNV) develops, the prior expectation of individual subjects was correlated with the EEG values in the following manner: for each time bin, electrode and trial, the voltage value was obtained and then Spearman correlated with the prior expectation value. This procedure was used in the period between S1 and S2 and the corresponding pre-cue period [-200 (pre-S1) to 670 (post-S1) ms]. As indicated in Figure 3, the vector of the prior expectation parameter (Xn, a vector with dimensions: number of trials × 1) is correlated with the columns of the matrix EEGn,t (a matrix with dimensions: number of trials × number of time points). The prior expectation computed from the model in a given trial is correlated with EEG values at the next trial, given that the expectation concerns the (validity of the) next stimulus. This computation provides a vector with the correlation of the prior expectation parameter vs. the spontaneous EEG values along time (dimensions: number of time points × 1). For presentation purposes, the grand-average of the individual correlational vectors was computed.
FIGURE 3

Analysis pipeline. The subject is presented to a Central Cue Posner Paradigm and Reaction times and EEG are collected. From the HGF model we derive the surprise prior expectation (Xn) and surprise parameter (Yn). The EEG, after data pre-processing, permits to obtain the event-related potentials (ERPs) induced by the arrow cue (S1) and by the auditory target (the statistics for the ERPs are described in
To test the hypothesis that the surprise parameter was related to the EEG after appearance of the target, the voltage values in each time bin, electrode and trials were Spearman correlated to the surprise parameter during the post-target period [1,000 (post-S2) ms] and corresponding pre-target period [-200 (pre-S2)]. This procedure was similar to that described for the CNV period (see above), but using the surprise parameter and the post-target time window. For correlations, surprise is aligned with the EEG of the same trial in which is computed, given that surprise represents the subjective information content of an event when is observed (in this case the auditory target) (
We analyzed how EEG signals related to Bayesian parameters, by focusing on the same electrodes and time windows in which differences in ERPs for valid and invalid trials were previously obtained (
We made an additional effort to find possible significant effects in the component P2 (P2a and P2b are obtained as subtraction of ERPs in invalid from ERPs in valid trials). For assessing possible Bayesian effects of the P2 component, the electrodes Cz, Pz, and POz – which are the electrodes showing the higher amplitude for this component (
An independent ANOVA was computed for each component, with the factors time window (pre-cue or pre-target period and time window of a given component as levels) and electrodes. Please notice that Spearman correlation can have positive and negative values, therefore what the statistics is testing is if Spearman correlation (between the EEG and the estimated Bayesian parameter) is significantly different from the interval -200 to 0 ms previous to the cue or to the target, in the time window corresponding to a given ERP component. The Greenhouse–Geisser correction for sphericity was applied when sphericity was not obtained. T-test were used as post hoc analysis when needed. The ANOVAs were computed using “SPSS_23.”
Finally, the correlations of the single trial EEG values versus the surprise parameter estimated from the HGF model were compared (by means of ANOVA) with the correlations obtained between the EEG and a model that assumes that subjects know the true probabilities of the stimuli. The true probabilities were obtained from the empirical validity probability of each block of trials (e.g., in the 86% validity block the true probability for valid trials was 0.86, and the complementary 0.14 for invalid trials). Then the (Shannon) surprise for the true probability parameter is computed as S = -log2p. Although subjects cannot calculate the same surprise values (as they do not have access to the true probabilities), we asked if they could approximate it – and whether the surprise values calculated using the true probabilities and/or extracted from the HGF model correlate well with the EEG signal. If the surprise estimated from the HGF model is coded in the EEG, and corresponds to a good estimation of the empirical surprise imposed by the stimuli sequence, the correlations between the HGF surprise and the EEG should be similar to the correlations between the EEG and the surprise estimated from the true probabilities. To obtain the correlations between the single trials EEG and the true probability, we adopted the same approach as shown in Figure 3, but used the surprise estimated from the true probabilities rather than the surprise inferred by the HGF model.
Results
We tested whether the surprise parameter inferred by the HGF model (
FIGURE 4

Clustering of blocks from the surprise parameter inferred by the HGF model. A, B, and C represent three blocks with different percentages of cue validity (50%, 68%, and 86%, respectively). Note that the HGF model recovers well the statistically differences between the blocks, by forming three distinct blocks.
However, the results of the HGF model show two different trial-by-trial surprise patterns for the participants, which are shown in Figure 5A,B, respectively. The first pattern corresponded to 19 subjects, who showed a big response to surprise in invalid trials and also adjusted surprise in valid trials to the mean surprise of the block (Figure 5A). The second pattern corresponded to seven subjects, who showed small response to Invalid trials, despite they adjusted to the mean surprise of the block of trials (Figure 5B). We quantified these different patterns computing the differential (Matlab function diff) with respect to trial order, to obtain a metric of the sensitivity of the subjects with respect to changes in experimental trial sequences (e.g., Valid→Invalid, Invalid→Valid). We computed the absolute value to the differential of surprise and then the mean value across trials of the differential, i.e., a sensitivity to change (defined as mean[abs(diff(surprise))]) for each subject. Figure 5C shows 19 subjects (labeled with an A) with high sensitivity to change and seven subjects (labeled with a B) with a low sensitivity to change. As one of the primary interests of the present study was to correlate post-target EEG with the surprise parameter, we limited the EEG correlation analysis to the 19 subjects with high sensitivity to change. This is because the seven subjects that did not show a clear response to surprise in invalid trials presented a very low surprise variance on a trial-by-trial basis, and this pattern would not permit to obtain significant correlations with the EEG signal.
FIGURE 5

Surprise values, on a trial-by-trial basis. (A) Example subject whose surprise values are strongly related to current block validity (which changes every 200 trials) and trial-by-trial changes in validity (sharp peaks of surprise values). (B) Example subject whose surprise values are only related to the current block trial validity. (C) Represents the mean sensitivity to change for each individual subject, the mean[abs(diff (surprise))] represents the computation method to obtain the mean sensitivity to surprise to the validity or invalidity of the trial in each subject (see section “Materials and Methods”). “A” indicates the cluster of subjects with high sensitivity to invalidity, and “B” the subjects with low sensitivity to invalidity. Please notice that the 19 first subjects presented a much higher sensitivity to changes in trial validity than the seven subjects at the right of the display. This difference in the sensitivity of surprise to validity change permitted to split the sample in two subgroups. The correlational analysis was exclusively applied to the 19 subjects at the left (high sensitivity of surprise to changes in validity).
Figure 6 shows the ERPs grand average in selected electrodes in the pre-target (preparatory period) and post-target periods of components CNV, P2, P3a, P3b, and SW. Notice the increase of the P3b component in invalid trials (red) with respect to valid trials (black), and in the high validity blocks with respect to low validity blocks. See
FIGURE 6

Event-related potentials: CNV, P2a, P3a, P3b, and SW. ERPs are Presented into different validity blocks (50%, 68%, and 86% of validity, respectively), and by showing separately lines for valid (black) and invalid (red) trials within each validity block. See
FIGURE 7

Correlation of the prior expectation parameter with the EEG values in the period between cue (S1) and target (S2), for the electrodes Fz and Cz. The left panels show the correlation in all individual subjects and the middle panel shows the average of correlations. The topography of correlations is displayed in the right panel. The time windows in which the correlations between the EEG and the prior expectation parameter were significant are gray shaded.
Figure 8 shows the correlation values of single trial EEG voltage values with the surprise parameter in individual subjects (Figure 8, left panel) and in the grand average (Figure 8, middle panel). The topographical representation of the correlations for the time windows of the different ERPs analyzed are displayed. For the correlation of the EEG values in the time windows of the different post-target ERPs with the surprise parameter, main effects of the time window factor were obtained in the P2a F(1,18) = 15.63, p < 0.001; = 0.465 in frontal sites (due to a negative correlation between surprise and voltage), in the P3a latency a F(1,18) = 6.24, p = 0.022; = 0.257 with a positive correlation central-posterior topography, P3b F(1,18) = 9.68, p = 0.006; = 0.35 showing a posterior positive correlation topography, and the negative SW F(1,18) = 5.59, p = 0.029; = 0.237 with a negative anterior topography. The central-posterior topography of the correlation in the P3a latency suggests that this correlation indicates a mixed effect of the P3a and P3b components. However, in the late latencies (Figure 8, right panel) the displayed topography corresponded to the typical posterior topography of P3b and the anterior negative SW. Additionally, there was an interaction between the effects of the time window and electrodes factors in the P2 component [F(1.52,27.41) = 8.04, p = 0.004; = 0.309]. The correlation metrics for the P2 component was statistically significant only in the electrode Cz (p = 0.049).
FIGURE 8

Correlation of the HGF surprise parameter with the EEG values in the post-target (S2) period of the components P2, P3a, and P3b/SW. The left panels show the correlation in all individual subjects and the middle panels show the average of correlations. The topography of correlations for components P2, P3, and P3b/SW is displayed in the right panels. The time windows in which the correlations between the EEG and the surprise parameter were significant are gray shaded, indicating the ERP component that corresponded to this particular time window.
In those components in which the correlations of the EEG versus the surprise parameter were significant, an ANOVA comparison with the correlations of the EEG versus the true stimuli probability was computed. Only the P3b component presented a statistically significant difference between these correlations (EEG vs. surprise) due to a higher correlation of the surprise computed from the true probability parameter with respect to the surprise computed from the HGF model [F(1,18) = 5.8, p = 0.027; = 0.244] (Figure 9).
FIGURE 9

Correlation values between the EEG and the surprise parameters computed from the HGF model and from the true probability for each block, for the electrodes Fz (A) and Pz (B). The gray shaded area corresponds to the time window in which the correlations were significantly different (in the P3b time window; see the “Results” section).
Discussion
Our results show that, when analyzed on a trial-by-trial bases, the EEG signal collected while participants performed a Central Cue Posner task index critical parameters of Bayesian inference-prior expectation and surprise – as derived from a computational (Bayesian) learning model, the HGF. Importantly, our analysis revealed that the intervals during which statistically significant results between valid and invalid trials could be decoded in the EEG signal are compatible with the time course of Bayesian inference, with prior expectation signals decoded after the cue period, during the CNV period (Figure 6, 7), and surprise signals occurring after the target, at the critical latency of P300 (Figure 7, 8), which has long been associated to processes of surprise and information gain (
Furthermore, our paradigm using three different blocks with different levels of cue validity illustrates that Bayesian parameters can be decoded reliably even when task statistics change. The Bayesian parameters extracted from the computational model appear to track the changing statistics of cue validity, rather than simply reflecting a fixed strategy of response to invalid versus valid trials. This result is in keeping with the idea that the brain continuously performs statistical learning and inference. Interestingly, the tracking of the EEG correlations with the Surprise parameter have been obtained in the same latencies and electrodes in which significant differences are obtained in ERPs between valid and invalid trials (P2, p3a, P3b and negative slow wave) (
The HGF model was able to model the saccadic latencies from a CCPP (
Here, we significantly advance previous findings about the neural encoding of Bayesian parameters, by reporting a significant correlation of the CNV period of EEG with the expectation parameter extracted from the HGF model. This result is consistent with the line of evidence suggesting that CNV may be a marker of top-down expectation in sensory processing (
Single neurons recordings in animals and fMRI studies in humans (
During the post-target period there was a correlation of the surprise parameter with p2a/P2 component, the late positive complex (covering P3a, p3b and progressing to the late slow positivity) and with the negative frontal SW. P2a would be considered similar to the visual Frontal Selection Positivity, related to task-relevant stimuli processing in the transition from the selection of relevant features to the selection of responses (
Previous studies have shown the coding of Bayesian parameters in the late positive complex, with Bayesian surprise being coded by P3a and predictive or Shannon surprise coded by the P3b component (
The EEG data reported here were previously analyzed using a pure psychophysiological approach, with a focus on couples of trials (e.g., the differences between valid–valid versus invalid–valid trials) (
The negative frontal slow wave presented a significant correlation with surprise. This component appears in the same time window than P3b and the positive slow wave, but has a different neural origin (
In sum, we found a reliable trial-by-trial correlation between prior expectation and surprise parameters extracted by the HGF on the basis of behavioral data collected in a Central Cue Posner task, and EEG signals collected from the same participants in the same trials. Our results contribute to a growing literature showing that the human brain updates critical parameters of Bayesian inference continuously during the task, using principles of statistical learning (that are implicit in how HGF updates its parameters). Specifically, the CNV period would be related to the coding of priors, the P2a component with the confirmation of priors, while P3a and P3b would be related to the coding of trial surprise.
Statements
Ethics statement
The “portal of ética en Biomedicina de la Junta de Andalucía” approved the study.
Author contributions
All the authors designed the study, interpreted the data, and contributed to writing the document. CG, FD, and DM conducted the data analyses.
Funding
This work has been possible thanks to a mobility fellowship Salvador de Madariaga to CG and a grant (PSI2016-80059-R; FEDER funds) from the Spanish Ministry of Economy, Industry and Competitivity. This research has received funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 785907 (Human Brain Project SGA2 to GP).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpsyg.2019.01424/full#supplementary-material
References
1
ArjonaA.EscuderoM.GómezC. M. (2014). Updating of attentional and premotor allocation resources as function of previous trial outcome.Sci. Rep.4:4526. 10.1038/srep04526
2
ArjonaA.EscuderoM.GómezC. M. (2016). Cue validity probability influences neural processing of targets.Biol. Psychol.119171–183.
3
ArjonaA.RodríguezE.MoralesM.GómezC. M. (2018). The influence of the global/local probability effect on the neural processing of cues and targets. a functional systems approach.Int. J. Psychophysiol. Off. J. Int. Organ. Psychophysiol.13452–61. 10.1016/j.ijpsycho.2018.10.005
4
Arjona ValladaresA.Gómez GonzálezJ.GómezC. M. (2017). Event related potentials changes associated with the processing of auditory valid and invalid targets as a function of previous trial validity in a Posner’s paradigm.Neurosci. Res.11537–43. 10.1016/j.neures.2016.09.006
5
BaldiP.IttiL. (2010). Of bits and wows: a bayesian theory of surprise with applications to attention.Neural Netw. Off. J. Int. Neural Netw. Soc.23649–666. 10.1016/j.neunet.2009.12.007
6
BarM. (2009). The proactive brain: memory for predictions.Philos. Trans. R. Soc. Lond. B Biol. Sci.3641235–1243. 10.1098/rstb.2008.0310
7
BennettD.MurawskiC.BodeS. (2015). Single-trial event-related potential correlates of belief updating(1,2,3).eNeuro2ENEURO.76–ENEURO.15. 10.1523/ENEURO.0076-15.2015
8
BruniaC. H. M. (1999). Neural aspects of anticipatory behavior.Acta Psychol.101213–242. 10.1016/S0001-6918(99)00006-2
9
ChennuS.NoreikaV.GueorguievD.BlenkmannA.KochenS.IbáñezA.et al (2013). Expectation and attention in hierarchical auditory prediction.J. Neurosci.3311194–11205. 10.1523/JNEUROSCI.0114-13.2013
10
DawN. D. (2009). Trial-by-trial Data Analysis Using Computational Models.Oxford: Oxford University Press.
11
DelormeA.MakeigS. (2004). EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis.J. Neurosci. Methods1349–21.
12
DiaconescuA. O.LitvakV.MathysC.KasperL.FristonK. J.StephanK. E. (2017). A computational hierarchy in human cortex.ArXiv
13
DonchinE. (1981). Surprise!… Surprise?Psychophysiology18493–513. 10.1111/j.1469-8986.1981.tb01815.x
14
DoyaK.IshiiS.PougetA.RaoR. P. N. (2007). Bayesian Brain: Probabilistic Approaches to Neural Coding.Cambridge: The MIT Press.
15
Duncan-JohnsonC. C.DonchinE. (1977). On quantifying surprise: the variation of event-related potentials with subjective probability.Psychophysiology14456–467.
16
EgnerT.SummerfieldC. (2013). Grounding predictive coding models in empirical neuroscience research.Behav. Brain Sci.36210–211. 10.1017/S0140525X1200218X
17
FristonK. (2005). A theory of cortical responses.Philos. Trans. R. Soc. Lond. B Biol. Sci.360815–836. 10.1098/rstb.2005.1622
18
FristonK. (2010). The free-energy principle: a unified brain theory?Nat. Rev. Neurosci.11127–138. 10.1038/nrn2787
19
FristonK.FitzGeraldT.RigoliF.SchwartenbeckP.O’DohertyJ.PezzuloG. (2016a). Active inference and learning.Neurosci. Biobehav. Rev.68862–879. 10.1016/j.neubiorev.2016.06.022
20
FristonK.FitzGeraldT.RigoliF.SchwartenbeckP.PezzuloG. (2016b). Active inference: a process theory.Neural Comput.291–49. 10.1162/NECO_a_00912
21
FristonK. J.LinM.FrithC. D.PezzuloG.HobsonJ.OndobakaS. (2017). Active inference, curiosity and insight.Neural. Comput.292633–2683. 10.1162/neco_a_00999
22
FristonK.RigoliF.OgnibeneD.MathysC.FitzgeraldT.PezzuloG. (2015). Active inference and epistemic value.Cogn. Neurosci.6187–214. 10.1080/17588928.2015.1020053
23
GómezC. M.FernándezA.MaestúF.AmoC.González-RosaJ. J.VaqueroE.et al (2004). Task-specific sensory and motor preparatory activation revealed by contingent magnetic variation.Brain Res. Cogn. Brain Res.2159–68. 10.1016/j.cogbrainres.2004.05.005
24
GómezC. M.FloresA. (2011). A neurophysiological evaluation of a cognitive cycle in humans.Neurosci. Biobehav. Rev.35452–461. 10.1016/j.neubiorev.2010.05.005
25
GómezC. M.MarcoJ.GrauC. (2003). Preparatory visuo-motor cortical network of the contingent negative variation estimated by current density.NeuroImage20216–224. 10.1016/S1053-8119(03)00295-7
26
GroppeD. M.MakeigS.KutasM. (2009). Identifying reliable independent components via split-half comparisons.Neuroimage451199–1211. 10.1016/j.neuroimage.2008.12.038
27
HigashiH.MinamiT.NakauchiS. (2017). Variation in event-related potentials by state transitions.Front. Hum. Neurosci.11:75. 10.3389/fnhum.2017.00075
28
IglesiasS.MathysC.BrodersenK. H.KasperL.PiccirelliM.den OudenH. E. M.et al (2013). Hierarchical prediction errors in midbrain and basal forebrain during sensory learning.Neuron80519–530. 10.1016/j.neuron.2013.09.009
29
KastnerS.PinskM. A.De WeerdP.DesimoneR.UngerleiderL. G. (1999). Increased activity in human visual cortex during directed attention in the absence of visual stimulation.Neuron22751–761.
30
KenemansJ. L.KokA.SmuldersF. T. (1993). Event-related potentials to conjunctions of spatial frequency and orientation as a function of stimulus parameters and response requirements.Electroencephalogr. Clin. Neurophysiol.8851–63.
31
KolossaA.FingscheidtT.WesselK.KoppB. (2013). A model-based approach to trial-by-trial p300 amplitude fluctuations.Front. Hum. Neurosci.6:359. 10.3389/fnhum.2012.00359
32
KolossaA.KoppB.FingscheidtT. (2015). A computational analysis of the neural bases of Bayesian inference.NeuroImage106222–237. 10.1016/j.neuroimage.2014.11.007
33
KoppB.SeerC.LangeF.KluytmansA.KolossaA.FingscheidtT.et al (2016). P300 amplitude variations, prior probabilities, and likelihoods: A Bayesian ERP study.Cogn. Affect. Behav. Neurosci.16911–928. 10.3758/s13415-016-0442-3
34
LøvstadM.FunderudI.LindgrenM.EndestadT.Due-TønnessenP.MelingT.et al (2012). Contribution of subregions of human frontal cortex to novelty processing.J. Cogn. Neurosci.24378–395. 10.1162/jocn_a_00099
35
LuckS. J.ChelazziL.HillyardS. A.DesimoneR. (1997). Neural mechanisms of spatial selective attention in areas V1, V2, and V4 of macaque visual cortex.J. Neurophysiol.7724–42.
36
MakeigS.WesterfieldM.JungT.-P.CovingtonJ.TownsendJ.SejnowskiT. J.et al (1999). Functionally independent components of the late positive event-related potential during visual spatial attention.J. Neurosci.192665–2680.
37
MangunG. R.HillyardS. A. (1991). Modulations of sensory-evoked brain potentials indicate changes in perceptual processing during visual-spatial priming.J. Exp. Psychol. Hum. Percept. Perform.171057–1074.
38
MathysC.DaunizeauJ.FristonK. J.StephanK. E. (2011). A bayesian foundation for individual learning under uncertainty.Front. Hum. Neurosci.5:39. 10.3389/fnhum.2011.00039
39
MathysC. D.LomakinaE. I.DaunizeauJ.IglesiasS.BrodersenK. H.FristonK. J.et al (2014). Uncertainty in perception and the hierarchical gaussian filter.Front. Hum. Neurosci.8:825. 10.3389/fnhum.2014.00825
40
PezzuloG.KemereC.van der MeerM. (2017). Internally generated hippocampal sequences as a vantage point to probe future-oriented cognition.Ann. N. Y. Acad. Sci.1396144–165. 10.1111/nyas.13329
41
PezzuloG.RigoliF.FristonK. J. (2015). Active Inference, homeostatic regulation and adaptive behavioural control.Prog. Neurobiol.13617–35. 10.1016/j.pneurobio.2015.09.001
42
PezzuloG.RigoliF.FristonK. J. (2018). Hierarchical active inference: a theory of motivated control.Trends Cogn. Sci.22294–306. 10.1016/j.tics.2018.01.009
43
PezzuloG.van der MeerM. A. A.LansinkC. S.PennartzC. M. A. (2014). Internally generated sequences in learning and executing goal-directed behavior.Trends Cogn. Sci.18647–657. 10.1016/j.tics.2014.06.011
44
PottsG. F.PatelS. H.AzzamP. N. (2004). Impact of instructed relevance on the visual ERP.Int. J. Psychophysiol.52197–209.
45
PougetA.BeckJ. M.MaW. J.LathamP. E. (2013). Probabilistic brains: knowns and unknowns.Nat. Neurosci.161170–1178. 10.1038/nn.3495
46
RaoR. P.BallardD. H. (1999). Predictive coding in the visual cortex: a functional interpretation of some extra-classical receptive-field effects.Nat. Neurosci.279–87. 10.1038/4580
47
RequinJ.LecasJ. C.VittonN. (1990). A comparison of preparation-related neuronal activity changes in the prefrontal, premotor, primary motor and posterior parietal areas of the monkey cortex: preliminary results.Neurosci. Lett.111151–156.
48
RockstrohB. (1982). Slow Brain Potentials and Behavior.Munich: Urban & Schwarzenberg.
49
SeerC.LangeF.BoosM.DenglerR.KoppB. (2016). Prior probabilities modulate cortical surprise responses: a study of event-related potentials.Brain Cogn.10678–89. 10.1016/j.bandc.2016.04.011
50
ShannonC. E. (1948). A mathematical theory of communication.Bell Syst. Tech. J.27379–423. 10.1002/j.1538-7305.1948.tb01338.x
51
SquiresK. C.WickensC.SquiresN. K.DonchinE. (1976). The effect of stimulus sequence on the waveform of the cortical event-related potential.Science1931142–1146.
52
SummerfieldC.de LangeF. P. (2014). Expectation in perceptual decision making: neural and computational mechanisms.Nat. Rev. Neurosci.15745–756. 10.1038/nrn3838
53
von HelmholtzH. (1866). “Concerning the perceptions in general,” in Treatise on Physiological Optics, ed.SouthallJ. P. C. (New York, NY: Dover).
54
VosselS.MathysC.DaunizeauJ.BauerM.DriverJ.FristonK. J.et al (2014). Spatial attention, precision, and Bayesian inference: a study of saccadic response speed.Cereb. Cortex N. Y. N.19911436–1450. 10.1093/cercor/bhs418
55
WetzelN.SchrögerE. (2014). On the development of auditory distraction: A review.PsyCh. J.372–91. 10.1002/pchj.49
Summary
Keywords
predictive coding, Bayesian processing, ERPs, P300, Contingent Negative Variation, Central Cue Posner Paradigm
Citation
Gómez CM, Arjona A, Donnarumma F, Maisto D, Rodríguez-Martínez EI and Pezzulo G (2019) Tracking the Time Course of Bayesian Inference With Event-Related Potentials:A Study Using the Central Cue Posner Paradigm. Front. Psychol. 10:1424. doi: 10.3389/fpsyg.2019.01424
Received
04 December 2018
Accepted
03 June 2019
Published
19 June 2019
Volume
10 - 2019
Edited by
Kathrin Finke, Friedrich Schiller University Jena, Germany
Reviewed by
Dirk Ostwald, Freie Universität Berlin, Germany; Felix Blankenburg, Freie Universität Berlin, Germany
Updates

Check for updates
Copyright
© 2019 Gómez, Arjona, Donnarumma, Maisto, Rodríguez-Martínez and Pezzulo.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Giovanni Pezzulo, giovanni.pezzulo@istc.cnr.it
This article was submitted to Cognition, a section of the journal Frontiers in Psychology
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.