Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Sep 16:3:966034.
doi: 10.3389/fpain.2022.966034. eCollection 2022.

A Bayesian model for chronic pain

Affiliations

A Bayesian model for chronic pain

Anna-Lena Eckert et al. Front Pain Res (Lausanne). .

Abstract

The perceiving mind constructs our coherent and embodied experience of the world from noisy, ambiguous and multi-modal sensory information. In this paper, we adopt the perspective that the experience of pain may similarly be the result of a probabilistic, inferential process. Prior beliefs about pain, learned from past experiences, are combined with incoming sensory information in a Bayesian manner to give rise to pain perception. Chronic pain emerges when prior beliefs and likelihoods are biased towards inferring pain from a wide range of sensory data that would otherwise be perceived as harmless. We present a computational model of interoceptive inference and pain experience. It is based on a Bayesian graphical network which comprises a hidden layer, representing the inferred pain state; and an observable layer, representing current sensory information. Within the hidden layer, pain states are inferred from a combination of priors p ( pain ) , transition probabilities between hidden states p ( pain t + 1 pain t ) and likelihoods of certain observations p ( sensation pain ) . Using variational inference and free-energy minimization, the model is able to learn from observations over time. By systematically manipulating parameter settings, we demonstrate that the model is capable of reproducing key features of both healthy- and chronic pain experience. Drawing on mathematical concepts, we finally simulate treatment resistant chronic pain and discuss mathematically informed treatment options.

Keywords: Bayesian inference; belief-propagation; chronic pain; computational psychiatry; free energy; graphical models; interoception; predictive coding.

PubMed Disclaimer

Conflict of interest statement

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.

Figures

Figure 1
Figure 1
Bayesian network representation of pain perception. We model perception in time as a hidden Markov model, where unobservable (hidden) nodes Ht form a Markov chain. These hidden nodes represent the state of the body, that the perceiving agent has no direct access to. Each hidden node connects to an observable node St, which represents a sensory (e.g. noxious) input. The connections indicate the direction of causation: body states cause noxious inputs in a healthy agent. Tables show exemplary settings of relevant probabilities for both healthy and chronic pain perception, where prior probabilities are chosen so that expectations are stable in time (see Appendix B for details).
Figure 2
Figure 2
Healthy (A) and chronified pain inference (B). The X-axis shows the time-step, referring to e.g. times during a day. The learning trials on the Z-axis refer to moments of parameter updates, e.g. consecutive days, or longer-term memory consolidation and learning. On the Y-axis, the inferred marginal probabilities of pain are represented. Both models were exposed to noxious sensory information at nodes 1–5, and to harmless sensory information at nodes 12–18 for 40 learning trials. The inferred marginal probabilities develop dynamically in the case of healthy inference (left), whereas there are hardly any deviations from the prior beliefs in the case of chronified pain inference (right).
Figure 3
Figure 3
Effect of prolonged exposure to one type of information. The X-axis in all plots shows the time step (e.g., time steps during a day), and the Y-axis shows learning trials (e.g., memory consolidation at the end of each day). (A) and (B) show the observer with chronic pain exposed to 20 time steps and 40 trials of noxious information (A), and 20 time steps and 40 trials of harmless observations (B). (C) and (D) illustrate the same observational scheme under healthy pain inference. Of note, the marginal probabilities inferred at the first- and last time step differ from the probabilities inferred in intermittent nodes for two reasons. First, due to our model architecture, the first- and final nodes only receive messages related to sensory inputs from one neighbour, while intermittent nodes receive richer sensory information from their two respective neighbours (e.g., past and future time steps), leading to increased certainty about the hidden state. Secondly, we perform batch updates at the end of one time series. In psychological terms, this corresponds to retrospective memory consolidation during sleep. With increased learning trials (Y-axis), however, the marginal probability of inferring pain under noxious stimulation (panels A and C) increases as a consequence of learning.
Figure 4
Figure 4
Null space of deviations from final state: over time, the marginal probability of inferring pain approaches and stabilizes within ranges of the preset marginal, here, p(pain)=0.7. Random changes to the prior expectation of pain (at time step 0, illustrated by the different-colour lines) are overridden within two time steps, and the marginal probability approaches the predefined value.
Figure 5
Figure 5
Simulation of ten sessions of exposure therapy in the nullspace of marginal p(pain)=0.7, with ambiguous and imprecise likelihoods (A) and precise and accurate likelihoods (B). On the X-axis are the time steps, on the Y-axis the marginal probabilities of pain, and on the Z-axis the learning trials per time step. The combination of null space derived transition probabilities and an imprecise and ambiguous likelihood model (p(noxiouspain)=0.6, p(harmlesspain)=0.4, p(noxiouspain¯)=0.6, p(harmlesspain¯)=0.4) renders the repeated presentation of innocuous sensory information rather inefficient: inferred probabilities of pain remain within the range of the predefined marginal. When the likelihood model is precise and unambiguous (p(noxiouspain)=0.8, p(harmlesspain)=0.2, p(noxiouspain¯)=0.1, p(harmlesspain¯)=0.9), however, the presentation of harmless sensory information is more efficient in reducing the inferred probability of pain.
Figure 6
Figure 6
Tabular overview of patient experience and model predictions. Timepoints: T ± month, Model parameters: expected pattern of change in the model parameters underlying chronic vs. acute pain experience; where p, pain; p¯, pain-free state; n, noxious input; n¯, harmless input. Self-report: Expected values, , increased values compared to baseline; , decreasing values; , average values; *, there is some evidence that the generative model of patients with chronic pain is biased towards pain from childhood on, e.g. via traumatic experiences, abuse and earlier chronic pain experiences (–70).
Figure A1
Figure A1
Graphical model (fragment). Graphical model depicting the inter-dependencies between hidden Ht and observable St variables. Connected to each variable node, factor nodes are necessary to perform variational inference message passing. This approach is computationally efficient because it allows message passing without re-instantiating the model at each time-step. The observable nodes St represent incoming sensory information, S{noxious(1),harmless(0)}. The hidden states, representing the system’s internal model, can in turn take on the values 0 (no pain) or 1 (pain), or H{pain,pain¯}. The likelihood p(StHt) is the top-down factor in this model and allows quantifying the association between the model’s state Ht and the observed sensory input at St. The hidden variable nodes form a Markov chain and contain transition probabilities p(HtHt+1), which can be interpreted as the development of the pain prior over time. In individuals with chronic pain, we here assume that p(Ht=painHt1=pain)>p(Ht=pain¯Ht1=pain).
Figure B1
Figure B1
Illustration of null space of transition probability deviations for different marginal p(pain). We show that when the transition probabilities p(paint+1paint) and p(pain¯t+1pain¯t) are sampled from the one-dimensional null space of a given marginal probability of pain p(pain), the marginal probability p(paint) will approach and stabilize within the range of p(pain). Here, we illustrate the transition probabilities for p(pain)[0.1,0.9] (legend).

References

    1. IASP. Iasp terminology. (2017). Available at: https://www.iasp-pain.org/Education/Content.aspx?ItemNumber=1698navItemNumb
    1. King S, Chambers CT, Huguet A, MacNevin RC, McGrath PJ, Parker L, et al. The epidemiology of chronic pain in children, adolescents revisited: a systematic review. Pain (2011) 152:2729–38. 10.1016/j.pain.2011.07.016 - DOI - PubMed
    1. Breivik H, Collett B, Ventafridda V, Cohen R, Gallacher D. Survey of chronic pain in Europe: prevalence, impact on daily life, and treatment. Eur J Pain (2006) 10:287–333. 10.1016/j.ejpain.2005.06.009 - DOI - PubMed
    1. Lamé IE, Peters ML, Vlaeyen JW, Kleef MV, Patijn J. Quality of life in chronic pain is more associated with beliefs about pain, than with pain intensity. Eur J Pain (2005) 9:15–24. 10.1016/j.ejpain.2004.02.006 - DOI - PubMed
    1. Hunfeld JA, Perquin CW, Duivenvoorden HJ, Hazebroek-Kampschreur AA, Passchier J, van Suijlekom-Smit LW, et al. Chronic pain and its impact on quality of life in adolescents and their families. J Pediatr Psychol (2001) 26:145–53. 10.1093/jpepsy/26.3.145 - DOI - PubMed