Skip to main content
. Author manuscript; available in PMC: 2019 Sep 30.
Published in final edited form as: Nat Hum Behav. 2018 Oct 29;2(11):838–855. doi: 10.1038/s41562-018-0455-8

Figure 5.

Figure 5.

Computational models capturing effects of cue-based expectations on pain and confirmation bias on expectation updating. A. Reinforcement learning model (Model 1). Perceptual inference within a trial combines expectations with noxious input to determine perceived pain. The γ parameter controls the relative impact of these two sources. Learning between trials involves updating the expectation for the current cue toward the current perceived pain. Experience-resistant expectations are modeled by assuming different learning rates, the αc and a parameters, when the direction of prediction error is, respectively, consistent and inconsistent with the cue’s initial low or high pain association. B. Bayesian model (Model 2). Pain perception and expectation are products of Bayesian inference with respect to a generative model of the task environment that extends the classic Kalman filter. Note that arrows in this diagram indicate statistical dependencies in the subject’s generative model, not dynamics of the subject’s state of knowledge as in Figure 5a. Under the generative model, the mean threat level signaled by each cue (μc, index c suppressed in figure) drifts randomly from trial to trial, with step size determined by the ση parameter. The current threat level (or objectively correct pain level, πt) on any trial t deviates randomly from μt, with standard deviation equal to the σψ parameter. The noxious input (Nt) is a noisy indicator of πt, with standard deviation equal to the σε parameter. Inference within a trial (not shown) combines the current belief about with the observed value of Nt to estimate the current value of πt; this estimate is the subject’s experienced level of pain (Pt). Inference across trials combines the beliefs about μt and πt to estimate μt+1; this is the subject’s reported expectation the next time this cue is presented (Et+1). Experience-resistant expectations are modeled by letting cue-pain associations drift in the directions of their initial values between trials, to a degree governed by the β parameter. Model 2 is formally nearly equivalent to Model 1, except that it assumes γ and α adapt from trial to trial to reflect the subject’s current level of uncertainty (Eqs. 3.1, 3.3, 3.6).