Skip to main content
Computational Psychiatry logoLink to Computational Psychiatry
. 2026 Jun 24;10(1):104–120. doi: 10.5334/cpsy.136

Excessive Switching in OCD and Paranoia Arises From Different Deficits in Belief-Updating

Charlotte M Freeland 1, Praveen Suthaharan 1, Santiago Castiello de Obeso 1, Christopher Pittenger 1,2,3,4,5,6, Philip R Corlett 1,2,3
PMCID: PMC13308528  PMID: 42369666

Abstract

Both obsessions and paranoia are characterized by cognitive inflexibility, particularly in uncertain environments. Differential diagnosis can be challenging and depends on clinical interviews and self-report symptom questionnaires. We predicted that obsessions and paranoia would be associated with distinct suboptimal choice behavioral patterns in our well-established probabilistic reversal learning (PRL) task. Probabilistic reversal learning involves updating beliefs about rewards when contingencies change. Obsessions and paranoia have been linked to excessive switching behaviors during reversal learning; other reports have found perseveration in both OCD and schizophrenia. Here, we analyze data collected from the general population to assess associations between obsessions, paranoia, and PRL task performance. Using a recently developed computational approach – Bayesian Gaussian graphical modeling combined with a Hierarchical Gaussian Filter – we distinguish the impacts of paranoia and obsessions on reversal learning, which we find to be distinct despite the significant correlation of these clinical states. We find that win-switch behavior arises in paranoia from deficits in updating beliefs about uncertainty (i.e., volatility) in the global task structure, whereas excessive switching in OCD arises from diminished belief updating about choice-outcome associations.

Keywords: obsessions, paranoia, reversal learning, belief-updating, Bayesian Gaussian graphical modeling

Introduction

Obsessions – recurrent and uncontrollable thoughts with inappropriate content – are central to the diagnosis of obsessive-compulsive disorder (OCD). Similar phenomena are also common in schizophrenia spectrum disorders (SZ) (Grover, Sahoo & Surendran, 2019), occurring in approximately 30% of patients (Swets et al., 2014; Cunill et al., 2023). Furthermore, being diagnosed with OCD is associated with an increased risk for a subsequent schizophrenia diagnosis (Cheng et al., 2019). The differential diagnosis of schizophrenia versus OCD can be challenging, particularly in first-contact patients (Poletti & Raballo, 2019). Comorbid schizotypal symptoms, which are common in OCD (Sobin et al., 2000; West et al., 2025), predict poor responses to standard OCD treatments (Poyurovsky & Koran, 2005). Indeed, treatment-resistant OCD is one of few neuropsychiatric disorders for which invasive neurosurgery is approved as a last resort treatment (De Jesus et al., 2025).

SZ and OCD are both characterized by deficits in cognitive flexibility (Gruner & Pittenger, 2017; Sheffield et al., 2022). Inflexibility can present as fixed, rigid beliefs (i.e., delusions) and/or rumination (e.g., paranoia) in people with SZ and as repetitive, obsessive thoughts and compulsive behaviors in people with OCD. For example, compulsions frequently manifest as ‘checking’ or other repetitive routines to resolve uncertainty about the state of the world (Corlett & Fletcher, 2021; Chamberlain et al., 2021). Adaptive learning requires cognitive flexibility mechanisms that can discriminate inconsequential expected variability (‘expected uncertainty’) from signals of environmental volatility (‘unexpected uncertainty’) (Soltani & Izquierdo, 2019). The computation of stimulus-action-outcome associations and the updating of expected values (prediction errors, PEs) depend on integrated processing across multiple brain regions and hierarchical levels (Collins & Shenhav, 2022); as such, deficits in these cognitive processes can manifest in various clinical presentations, often associated with distress.

Several cognitive models link challenges with regulating uncertainty to dysfunctional beliefs in individuals with OCD (Mcfall & Wollersheim, 1979; Jacoby & Abramowitz, 2017; Strauss et al., 2020). People with OCD tend to overestimate the likelihood of catastrophic events (e.g., the end of the world) (Carr, 1974; Salkovskis, 1989; Tallis, 1995). They also often have unusual beliefs about the controllability of thoughts and the need for mental self-control. The inability to reduce or resolve uncertainty ultimately perpetuates these irrational thoughts and behaviors (Foa & Kozak, 1986). Despite the presence of cognitive inflexibility in both OCD and SZ, the phenomenology of these two conditions diverges, suggesting differences in the underlying neural mechanisms.

A changing environment requires beliefs that are robust to noise yet sensitive to actual change. To investigate the latent cognitive processes underlying cognitive inflexibility, we can turn to behavioral tasks specifically designed to model the dynamics of flexible belief-updating under conditions of uncertainty (Soltani & Izquierdo, 2019). Probabilistic reversal learning (PRL) tasks present subjects with 3 choices, each with two possible outcomes (i.e., reward, no reward) across successive trials. The task is probabilistic because each choice has a different probability of reward (i.e., choice contingency). Choice contingencies change during the task – hence, “reversal” – so participants must form a set of beliefs that are robust enough to probabilistic noise (choice contingencies), yet flexible enough to track actual changes in contingencies (reversals) to maximize the number of rewards earned. On each trial, participants select a choice, the outcome (win or lose) is revealed. The next trial begins when the next choice is presented. This produces four possible selection strategies on the subsequent trial: win-stay (repeat a choice that was rewarded), win-switch (select a different choice following a reward choice), lose-stay (repeat a choice that was not rewarded), or lose-switch (select a different choice following an unrewarded choice). When win-switch or lose-stay strategies are applied excessively, and throughout the duration of the task, these behaviors can be indicative of impaired response selection strategies and underlying neurocognitive deficits (Kalhan et al., 2026). For example, excessive win-switching may be a marker of oversampling, heighted sensitivity to sensory input, reduced attention, or overestimation of transition uncertainty. Conversely, lose-stay behavior becomes perseverative if sustained and may reflect an insensitivity to actual change or low confidence in one’s choices thereby causing their repetition (Fradkin et al., 2018; Robbins, Vaghi & Banca, 2019).

Impaired reversal learning has been reported in various neuropsychiatric disorders that involve frontostriatal circuits, including psychosis, OCD, bipolar disorder, and addictive disorders (Chamberlain et al., 2008). For example, people with schizophrenia perseverate on the Wisconsin card sorting task, although this behavior does not relate to delusions but rather to negative symptoms (Crider, 1997). Paranoia, in people with and without a SZ diagnosis, is associated with increased win-switching, decreased lose-staying, and elevated beliefs about the volatility of the task (Reed et al., 2020; Suthaharan et al., 2021; Sheffield et al., 2022; Rossi-Goldthorpe et al., 2024). Obsessions may be related to perseverative (lose-stay) behavior (Fradkin et al., 2020; Pinciotti, Riemann & Abramowitz, 2021; Rasmussen & Parnas, 2022). It is worth noting that win-shifting may not be specific to paranoia (Fradkin et al., 2020; Suthaharan et al., 2021); Fradkin et al. (2018, 2020) found similar erratic switching in OCD (with the caveat that the number of options available and the underlying changes in contingencies are critical to the behavioral patterns observed). Apergis-Schoute et al. (2023) hypothesized that patients with OCD are impaired in their ability to mediate transitions from one situation/state to another. For example, these individuals commit perseverative errors in some situations (i.e., deterministic tasks with certain rules) but shifting errors in other contexts (i.e., probabilistic tasks with uncertain, probabilistic contingency changes).

In the present study, we combined traditional behavioral models (i.e., win-switch, lose-stay) with Bayesian models to investigate the dynamic updating of priors and posterior beliefs and the latent processes that underlie impairments in reversal learning. We hypothesized that clinically significant paranoia and OCD would predict impairments in probabilistic reversal learning. We, and others, have found that excessive switching in people with paranoia arises from less flexible belief updating in response to volatility (Reed et al., 2020; Suthaharan et al., 2021; Sheffield et al., 2022; Rossi-Goldthorpe et al., 2024). If positive PEs reinforce recent choices and negative PEs punish them (Sakai et al., 2022), we hypothesized that individuals with OCD would have exaggerated negative PEs during the PRL task, that would manifest in decreased lose-stay and increased win-switch behavior. We then explored if excessive switching in OCD arises from an imbalance in negative and positive PEs and reduced belief-updating about choice contingencies or task volatility.

To describe such volatility beliefs quantitatively, we can fit Bayesian inference (BI) models to participants’ PRL behavior to estimate computational parameter values that account for individual choice patterns. Bayesian inference is versatile and has been applied across scientific disciplines, including computational psychiatry (Hess et al., 2025). Whereas traditional reinforcement learning models have been applied to choice behavior in PRL tasks, BI models are better equipped to capture dynamic trial-by-trial choices and sensory inputs from choice outcomes, generating predication errors that update an individual’s probabilistic model, enabling behavioral adaptions in response to task volatility (Bottemanne, 2025). One such Bayesian model, the Hierarchal Gaussian Filter (HGF) model, is designed to capture hierarchal belief updating and volatility beliefs (see Methods for further details) (Mathys et al., 2014). HGF modeling has been applied to choice behavior in PRL tasks in human participants, non-human primates, and rodents to infer latent processes that lead to distinct behavioral strategies. For example, win-switch behavior has consistently correlated with paranoid beliefs and HGF volatility estimates, across numerous replicated studies (Reed et al., 2020; Suthaharan et al., 2021; Sheffield et al., 2022; Rossi-Goldthorpe et al., 2024; Suthaharan et al., 2024; Suthaharan et al., 2026).

We aimed to establish whether there is a model-based explanation for reduced perseveration (lose-stay) or excessive switching (win-switch) in participants with self-reported OCD symptoms. We then compared previously reported HGF parameter estimates (Suthaharan et al., 2021) in participants with clinically significant paranoia and/or OCD to those in participants with low symptom scores and performed network analyses (Bayesian Gaussian graphical modeling). Together, these computational methods may provide insight to latent cognitive mechanisms that underlie, and distinguish, OCD and paranoia.

Methods

This was a post hoc observational study that analyzed data collected and reported by Suthaharan et al. (2021) and publicly available at https://github.com/psuthaharan/covid19paranoia. Their data were collected at the Connecticut Mental Health Center in accordance with guidelines from Yale University’s Human Investigation Committee, which provided ethical review and exemption approval (no. 2000026290). Written informed consent was provided by all research participants. Questionnaires were administered via the Qualtrics® survey platform (Qualtrics Labs, Inc., Provo, UT). Behavioral data were collected using custom task code on the online research platform Amazon Mechanical Turk Human Intelligence, with a total of 1,010 participants recruited online via CloudResearch (Litman, Robinson & Abberbock, 2017). The analysis presented in this manuscript includes a sample of 403 of these participants, who completed both the paranoia (R-GPTS) and OCD (DOCS) self-report questionnaires. These data were gathered between March 16th and June 31st, 2020 (Suthaharan et al., 2021).

Clinical Assessments and Sample Characteristics

Participants completed several self-report questionnaires, including the revised Green et al. Paranoid Thoughts Scale (R-GPTS) (Freeman et al., 2021), Dimensional Obsessive-Compulsive Scale (DOCS) (Abramowitz et al., 2010), Beck’s Anxiety Inventory (BAI) (Beck et al., 1988), and Beck’s Depression Inventory (BDI) (Beck et al., 1961). Demographic information (age, sex, ethnicity, etc.) was also collected (Suthaharan et al., 2021).

Of the 403 participants included in the present study, 154 met the clinical cut-off for high paranoia using the R-GPTS (score ≥ 11 out of a maximum of 80), and the remaining 249 participants were classified as sub-clinical or “low” paranoia (Reed et al., 2020; Suthaharan et al. 2021; Rossi-Goldthorpe et al., 2024). 170 participants were classified as individuals with high OCD and 233 participants with low OCD, based on a clinical cut-off of adjusted DOCS scores (score > 13 out of a maximum of 60, see below). These groupings are not distinct, as there is overlap between participants assigned to paranoia and OCD groups.

Impact of COVID-19 Pandemic on OCD Symptoms

OCD severity in this study was assessed with the DOCS questionnaire, which includes 20 items across four broad symptom domains: (1) germs and contamination; (2) responsibility for harm, injury, or bad luck; (3) unacceptable obsessional thoughts; and (4) symmetry, completeness, and exactness (Abramowitz et al., 2010). A limitation of this study is that the dataset analyzed was collected from mid-March to mid-July 2020, during the onset and peak of the COVID-19 pandemic, and thus, requiring consideration of the pandemic’s potential impact on OCD symptoms. Indeed, a study of 829 non-clinical U.S. participants reported a median increase in DOCS scores from 6 (pre-pandemic) to 16 (July 2020, mid-pandemic), indicating symptom worsening (Fontenelle et al., 2021). Similarly, a systematic review of individuals with pre-existing clinical OCD found most studies reported heightened symptoms, particularly in those with contamination-related OCD, during the early pandemic (Guzick et al., 2021). Given these findings and the timing of data collection, we chose to exclude DOCS items related to germs and contamination from participants’ total DOCS scores.

Probabilistic Reversal Learning Task

Participants completed a 3-option probabilistic reversal learning task (3-PRLT) (Reed et al., 2020; Suthaharan et al., 2021; Sheffield et al., 2022; Rossi-Goldthorpe et al., 2024; Suthaharan et al., 2024) wherein they are presented with three decks of cards, each with winning and losing cards, but some with more winning cards than others. Their goal is to find and select the best deck to maximize points. They are also informed that the best deck may change during the task. Upon selection of a deck on each turn, the participant receives feedback, either a win of 100 points or a loss of 50 points (Figure 1A). To ensure comprehension of task instructions and objective, participants complete 6 practice trials prior to advancing to the task start. The 3-PRLT is comprised of 4 blocks with 40 trials each (160 total trials). In the first two blocks, the three decks are assigned reward probabilities of 90%, 50% and 10% respectively (i.e., one deck will win on 9 out of 10 turns, one will win on 5 out of 10 turns, and one will win on 1 out of 10 turns). After a participant selects the highest probability deck on 9 out of 10 consecutive trials, the reward probability assignments switch between the three decks; unexpected uncertainty is the perceived likelihood that such a change has occurred. In blocks 3 and 4 of the task, we increase the level of unexpected uncertainty by changing the reward probability contingencies to 80%, 40% and 20%. This volatile task design requires participants to dynamically track and update beliefs about 1) choice contingencies (‘expected uncertainty’) and 2) changes in the underlying choice contingencies themselves (‘unexpected uncertainty’).

Figure 1.

Schematic of 3-choice probabilistic reversal learning (PRL) task and hierarchical model of belief updating under uncertainty and volatility

(A) Depiction of the 3-choice probabilistic reversal learning task (3-PRLT) and (B) reward contingency schedule. (C) Hierarchal Gaussian Filter (HGF) computational modeling of 3-choice PRL task behavior to capture belief updating in an uncertain and volatile task environment.

Values for win-switch and loss-stay rates were quantified for each participant (as reported in Suthaharan et al., 2021) to model participants’ belief updating in response to uncertain reward contingencies in a volatile task environment. For a given trial (t), a participant selects one of three possible choices Xt ∈ {A, B, C}, with each choice yielding one of two possible outcomes Yt ∈ {0, 1} (win or loss). On the subsequent trial (t + 1), participants can either make a different choice (Xt + 1 ≠ Xt) or repeat their prior choice (Xt + 1 = Xt). For each participant, we calculated win-switch rate (WSR) as the probability of selecting a different choice following a win outcome and lose-stay rate (LSR) as the probability of selecting the same choice following a loss outcome across 160 trials.

WSR(x)=P(Xt=x,Yt=1,Xt+1≠Xt)LSR(x)=P(Xt=x,Yt=0,Xt+1=Xt)

In this 3-arm PRL task, win-switch and lose-stay rates were both negatively correlated with total points earned (Supplementary Figure 1), suggesting that, in this probabilistic task design with a finite number of choices, win-switching and lose-staying are suboptimal choice strategies.

Excessive win-switching has been seen across the continuum of paranoia and in patients with schizophrenia, with computational modeling revealing this behavior to be driven by strong prior beliefs about task volatility a well as poor learning about real volatility (Reed at al., 2020; Suthaharan et al., 2021; Rossi-Goldthorpe et al., 2024). However, whether excessive switching across the continuum of OCD arises from the same or different latent belief-updating processes has yet to be explored.

Computational Modeling of PRL Behavior with Hierarchal Gaussian Filter

Probabilistic reversal learning involves decision-making under uncertainty about which option to choose and whether the options have recently changed or even reversed in their value. Computational modeling of task performance under uncertain and volatile conditions provides access to estimates of latent decision-making processes. We modeled beliefs using the Hierarchal Gaussian Filter (HGF), a Bayesian model for perception, learning, and action. It comprises a perceptual model to capture participants’ task beliefs and a response model that governs how beliefs are converted into choices (Mathys et al., 2014). ‘Hierarchical’ refers to multiple layers of belief representation (i.e., beliefs about reward contingencies stimuli and beliefs about how those contingencies might change over time). Gaussian refers to how the states in the model evolve over time as Gaussian random walks, with each walk’s step size determined by the next highest level of the hierarchy, that is, each belief layer updates the layer below considering evolving experiences. ‘Filter’ comes from the fact that we are trying to estimate states on a given trial, based on the previous trial mean and variance. The hierarchal layers interact and influence one another through learning rate parameters (Figure 1C).

In this HGF model (Reed et al., 2020; Suthaharan et al., 2021), level 1 (x1) characterizes trial-by-trial perception of task feedback (e.g., win or loss), representing an individual’s reward beliefs. Level 2 (x2) captures choice-outcome associations, forming an individuals’ contingency beliefs, where estimates of parameter µ02 captures prior beliefs about choice-outcome associations, and with successive trials, ω2 captures the tonic volatility of choice-outcome associations. Lower ω2 indicates that subjects are slower to update their beliefs about the value of each option, and hence they main rigid beliefs about the underlying choice contingencies. Phasic coupling between levels 2 and 3, parameter k, approximates the influence of unexpected uncertainty – that is, the effect of volatility perceptions on learning about choice contingencies. Higher k implies participants are more likely to perceive volatility and hence demonstrate faster updating of choice contingencies. Level 3 (x3) renders beliefs about volatility in the overall task environment (i.e., the likelihood of the choice-outcome associations to change over time). µ03 estimates prior beliefs about volatility, and with successive trials, perceptions about expectations of volatility, or meta-volatility, is captured by the parameter ω3. The lower ω3, the slower a subject is to adjust their volatility belief; they adhere more rigidly to their volatility prior (µ03).

HGF models have previously been applied to participants’ 3-PRL choices (Reed at al., 2020; Suthaharan et al., 2021; Rossi-Goldthorpe et al., 2024; Suthaharan et al., 2024) allowing for inference of participants’ initial beliefs (i.e., priors) about task volatility, their readiness to learn about changes in the task volatility itself (meta-volatility) and learning rates that captured their expected and unexpected uncertainty regarding the task. A three-level perceptual model with a softmax decision model (likelihood of exploration vs exploitation) dependent upon third level volatility and inverted the model from subject data (trial-by-trial choices and feedback) to estimate parameters for each participant. Parameter recovery was conducted by correlating true and recovered parameter estimates across participants. Recovery performance was averaged across 10 independent simulations. Recovery was strong for four of the five parameters (r ≥ 0.74) and moderate for ω3 (r = 0.45), consistent with known differences in parameter identifiability in hierarchal Bayesian models such as the HGF (Supplementary Figure 9) (Reed at al., 2020; Suthaharan et al., 2021; Suthaharan et al., 2026). Overall, these results support model identifiability for group-level inference under this 3-level HGF configuration.

Bayesian Gaussian Graphical Modeling of Symptoms & PRL Behavior

It is often assumed that symptoms are manifestations of some common underlying neurobiological factor. Network analyses, in contrast, conceptualizes disorders as systems of causally connected symptoms, rather than as effects of a unitary latent dysfunction (Borsboom & Cramer, 2013). In this framework, symptom-symptom relationships can provide empirical evidence for covariance between symptoms, which then may inform a model of their role in the etiology of a disorder.

Partial correlation networks, such as Bayesian Gaussian graphical models (BGGMs), have become increasingly popular in psychological and behavioral science for studying the conditional (in)dependencies between variables (Williams & Mulder, 2019; Williams et al., 2020; Rossi-Goldthorpe et al., 2024). For example, items in a psychometric scale are designed to measure a dynamic behavioral system that influence and interact with each other and cannot be assumed to be independent variables, as is assumed in traditional structural equation models. Bayesian Gaussian graphical models (BGGMs) capture the conditional dependency structure among a set of multivariate variables, while controlling for the effects of partial correlations amongst all other variables in the model. This could be understood as a set of many Bayesian multiple regressions. For example, if the edge between nodes A and B is the estimate of a regression to predict A with B by controlling for all other variables (C and D), then the edge between B and C is the regression predicting B with C and controlling by A and D, etc. The presence of an edge between two nodes indicates that the two variables are conditionally dependent (i.e., the 95% credible interval of their dependence does not include the zero). A green edge represents a positive partial correlation and a red edge a negative partial correlation. A limitation of BGGMs is that the number of variables included in the model cannot be greater than the number of observations (Williams & Mulder, 2019).

BGGMs are organized around two central approaches: (1) estimation, which estimates the uncertainty of the posterior distribution for each partial correlation, and 2) hypothesis testing, which used Bayes factor methods to determine the entire probability distribution of parameters and thereby incorporates model uncertainty (Williams et al., 2020). The R package ‘BGGM’ provides tools for confirmatory testing and comparison of graphical models, thereby serving as both a statistical and data visualization approach (Williams & Mulder, 2019). For hypothesis testing, we used the Bayes’ factor-based method explore to learn about the conditional (in)dependence structure, or evidence for the null hypothesis (i.e., participants with paranoia and OCD perform similarly on the PRL task). The estimate function with the option alternative = “exhaustive” compared the posterior hypothesis probabilities for a positive (ρ > 0 [P(H1)]), negative (ρ < 0 [P(H2)]), or null (ρ = 0 [P(H0)]) relation to the alternative hypothesis. We then computed the posterior mean, standard deviation, and posterior hypothesis probabilities for each relation, or pair of nodes, within each network.

In the present study, we leveraged BGGM to examine the conditional (in)dependence between self-reported symptoms (paranoia and obsessions) and PRL task behavior. Continuous values were used for paranoia and OCD rather than low/high groups, allowing for comparison across the spectrum of symptom severity and within relationship to each other.

Statistics

To test the prediction that win-switch or lose-stay behavior is a function of paranoia and/or OCD severity, we fit generalized linear models using the R package lme4 (Bates et al., 2015). Shapiro-Wilk tests were used to check normality assumptions, Levene’s test were used to check homogeneity assumptions, and variance inflation factors were computed to check multicollinearity assumptions. The predictor variables ‘paranoia’ and ‘OCD’ showed non-normal, left-skewed distributions and, heteroscedasticity, and they were significantly correlated with each other (VIF > 5; see Supplementary Figure 2). The response variables win-switch rate (WSR) and lose-stay rate (LSR) are continuous probabilities bounded between 0 and 1, with left-skewed distributions. To flexibly model these response variables, our models assumed a quasibinomial error distribution which can more appropriately handle unbalanced proportion data without the assumption of a fixed ratio of residual deviance to residual degrees of freedom (McCullagh & Nelder, 1989; Hector, 2015).

We then tested the hypothesis that the latent computational processes underlying choice behavior (captured by HGF model parameters) predicted paranoia and/or OCD symptom severity. Model parameters (µ02, µ03, ω2, ω3) were continuous and approximately normally distributed, based on residual diagnostics (see Supplementary Figure 7A–E). We therefore modeled symptom severity using generalized linear models with a Gaussian distribution and identity link function. This specification is equivalent to linear regression and was chosen to allow consistency with the broader modeling framework while accommodating continuous outcomes without transformation. HGF model parameter k had positive, non-normally distributed, continuous values, so we adopted a generalized linear model with a quasibinomial error distribution. Outliers for this parameter were identified using a robust criterion based on the median absolute deviation (MAD) (Arachchige & Prendergast, 2026). Two observations exceeded ±3 robust standard deviations from the median (z* ≥ 5.4) and were excluded from subsequent analyses.

To model interaction effects between continuous predictors and outcome variables, we computed estimated marginal means using the emmeans package (Lenth, 2024), with Tukey adjustment methods to account for multiplicity in post hoc contrasts. Post hoc testing of paranoia and OCD group differences on the effects of demographic and task performance measures were assessed with Kruskal-Wallis and Wilcoxon t-tests. Spearman’s correlations were computed with Pearson’s rho.

Different analyses addressed distinct inferential levels, and statistical frameworks were selected according to the research question. Frequentist generalized linear and mixed-effects models were used for confirmatory parameter-level inference in hierarchically structured behavioral data, whereas Bayesian Gaussian graphical models were used to characterize conditional dependence structure and quantify uncertainty at the network level.

All analyses were performed in R Studio v.4.2.764. All general data cleaning and figure generation were performed in the Tidyverse ecosystem of R packages (Wickham et al., 2019). Manuscript figures were compiled in Adobe Illustrator (v.29.7.1). Figure 1 was adapted from Suthaharan et al. (2021) and modified in Canva. All code, figures, and model comparisons are publicly available at https://github.com/CharlotteFree/excessiveSwitching.

Results

PRL Task Behavior & Clinical Symptoms

Obsessions and paranoia often develop under conditions of uncertainty. Both entail rigid and persistent patterns of thought. As expected in our sample from the general population, OCD symptom scores were positively correlated with paranoia symptom scores (Figure 2A; r = 0.63; Supplementary Figure 2) and increased across the clinical spectrum of paranoia (Figure 2B; p < 0.001).) There was no significant effect of participants’ sex on paranoia or OCD symptom scores (Supplementary Figure 3A). Participants in the high paranoia group were significantly younger than those with low paranoia scores (p < 0.001), although there was no effect of age on OCD group or self-reported symptom scores (Supplementary Figure 3B).

Figure 2.

Significant positive correlation between paranoia and OCD scores

(A) OCD symptom scores had a strong positive correlation with paranoia symptom scores. (B) The clinical cutoff used to delineate low from high paranoia groups (R-GPTS > 11) includes individuals with elevated, moderately severe, and very severe R-GPTS scores.

We observed a greater rate of win-switching in participants with high paranoia, compared to those with low paranoia scores (β = 0.63, t(794) = 2.43, p = 0.015), consistent with past results [31,32.5]. We observed a similar pattern of excessive win-switching in participants in the high OCD symptom group (β = 0.43, t(794) = 1.73, p = 0.084), but no significant interaction between paranoia and OCD groups (Figure 3A; Table S1a). Post hoc pairwise comparisons using estimated marginal means with a Tukey adjustment revealed that subjects with high paranoia and high OCD win-switched 22% more often those with low paranoia and low OCD (p < 0.001). These participants with high paranoia-high OCD also win-switched significantly more than participants with high paranoia-low OCD and low paranoia-high OCD (p = 0.002 and p < 0.001, respectively; Supplementary Table S1c). These findings replicate prior work showing paranoia is associated with increase win-switching and newly describe a similar pattern of excessive switching in participants with clinically significant OCD symptoms.

Figure 3.

Plots comparing WSR and LSR between low/high paranoia and OCD groups

Estimated marginal means of (A) win-switch and (B) lose-stay rates by low/high paranoia group (x-axis) and low/high OCD group (blue/orange). Error bars show the upper and lower 95% confidence interval. (A) Participants with high paranoia and high OCD scores had significantly greater rates of win-switching, compared to those with either low paranoia and/or low OCD. (B) Participants with high paranoia and high OCD symptom scores had significantly lower rates of lose-staying, compared to those with either low paranoia and/or low OCD.

Next, we examined choice perseveration after unreinforced choices (losses). While there was no significant effect of paranoia group or OCD group on lose-stay rates, there was a significant interaction between paranoia and OCD (β = –0.65, t(794) = –3.48, p = 0.001; Table S2a). Participants with high paranoia and high OCD had a 2.3-fold reduction in lose-stay behavior, compared to those with low paranoia and low OCD (p < 0.001; Figure 3B). These high paranoia-high OCD participants also had significantly lower rates of lose-staying than those with high paranoia-low OCD and low paranoia-high OCD (p < 0.001 and p < 0.001, respectively; Table S2c). Thus, aligning with our hypotheses, participants with both high paranoia and high OCD demonstrated greater win-switching and reduced lose-staying, than participants in the low groups.

Given that both win-switching and lose-staying are suboptimal choice strategies (Supplementary Figure 1), we tested whether other metrics of PRL performance (i.e., total score, decision/choice latency) were associated with symptom severity. There was no significant effect of paranoia group, OCD group, or an interaction between paranoia and OCD groups on total points earned (Supplementary Figure 5; Table S3a). Post hoc pairwise comparisons revealed that only subjects with high paranoia and high OCD earned significantly fewer points than participants with low paranoia and low OCD (Table S3b). For choice latency, there was a significant effect of paranoia group (β = 74.90, t(794) = 2.04, p = 0.041) and a significant interaction between paranoia and OCD groups (β = 191.04, t(794) = 3.36, p < 0.001) (Table S4a). Post hoc comparisons of estimated marginal means revealed increased choice latency is driven by high paranoia, regardless of low/high OCD group (Table S4b). Future research could explore how choice latency and cognitive processing load interact with the latent processes (or beliefs) that guide choice selection.

We subsequently applied a BGGM approach to determine if these between-group relationships with win-switch and loss-stay behavior exist across the continuum of paranoia and OCD symptom scores. BGGM revealed that the strength of the associations between symptoms and win-switch and lose-stay behavior is not equivalent. Win-switch rate has a strong positive association with paranoia [P(H1) = 1.0] and OCD [P(H1) = 0.806]. Lose-stay rate had a weaker negative association with both paranoia and OCD symptoms [P(H2) = 0.707 and P(H2) = 0.549, respectively] (Figure 4). In summary, along the spectrum of paranoia and OCD scores, paranoia and OCD have strong positive association with each other [P(H1) = 1.0] and with win-switching, and weaker negative associations with lose-staying (Table S5).

Figure 4.

BGGM plot showing paranoia and OCD positively correlated with WSR and negatively correlated with LSR

Bayesian Gaussian graphical model (BGGM) of the relationships between paranoia, OCD, win-switch rate (WSR), and lose-stay rate (LSR). A green edge represents a positive partial correlation and a red edge a negative partial correlation.

Hierarchal Gaussian Filter (HGF) Model of PRL Behavior

We modeled HGF model parameters previously reported for this dataset [33] to investigate whether the excessive win-switching seen in individuals with high paranoia and/or high OCD arise from similar latent cognitive processing mechanisms. Prior contingency beliefs, µ02, were not predicted by paranoia group or OCD group, but there was a significant interaction between paranoia and OCD groups (β = 0.14, t(794) = 2.62, p = 0.009; Table S6a). Post hoc comparisons revealed that participants in both high paranoia and high OCD groups had significantly stronger prior beliefs about reward contingencies than those with either low paranoia or low OCD (p < 0.001; Figure 5, bottom left; Table S6c). Evolving beliefs about choice contingencies, captured by ω2, were not predicted by paranoia group, OCD group, or interaction between groups (Table S7a); however, in post-hoc pairwise comparisons, participants with high paranoia and high OCD had significantly less updating of contingency beliefs than those in the low paranoia group, regardless accompanying low/high OCD (p = 0.001, p = 0.046, respectively; Figure 5, bottom right; Table S7c).

Figure 5.

Plots comparing HGF model parameters between low/high paranoia and OCD groups

HGF model parameters estimates (derived from PRL task behavior) comparing participants with low and high paranoia (x-axis) and low (blue) and high (orange) OCD.

In addition to updating beliefs about choice contingencies, participants must also learn about likelihood that the choice contingencies will change (i.e., volatility of choice contingencies), and how so, to achieve optimal performance (i.e., to score the most points). Phasic coupling between levels 2 (contingency beliefs) and level 3 (volatility beliefs) is captured by the magnitude of κ – was not predicted by paranoia group, OCD group, or an interaction between paranoia and OCD groups (Figure 5, middle; Table S8).

At level 3, there was a significant main effect of paranoia group, but not OCD group on prior beliefs about the volatility of choice contingencies (µ03) (paranoia: β = 0.40, t(794) = 2.20, p = 0.028) and a significant interaction between paranoia and OCD (β = 0.55, t(794) = 2.20, p = 0.028; Table S9a). Post hoc comparisons using estimated marginal means revealed that participants with high paranoia and high OCD had significantly greater µ03 values than participants with either low paranoia and/or low OCD (p < 0.001 for all three comparisons; Table S9c). The magnitude of ω3 (evolution of volatility beliefs) was significantly lower in participants with high paranoia scores, compared to those with low paranoia (β = –0.26, t(794) = –2.20, p = 0.044; Table S10a) but there was no effect of OCD group or interaction. In other words, clinically significant paranoia and OCD symptoms interact to produce high expectations of volatility in choice values, but diminished updating about volatility in choice contingencies is driven solely by high paranoia.

To summarize findings from this hierarchal computational approach, participants with high paranoia and high OCD had stronger prior beliefs about choice-outcome contingencies (µ02) and their volatility over time (µ03), compared to participants with either low paranoia or low OCD. However, updating of beliefs about choice contingencies (ω2) and their volatility (ω3) was significantly diminished in participants with high paranoia and high OCD, compared to those with low paranoia of any OCD status.

Bayesian Gaussian Graphical Modeling of Symptoms & PRL Behavior

We next used Bayesian Gaussian graphical modeling (BGGM) (Williams & Mulder, 2020) to explore the relationship of computational model parameters derived from PRL behavior with symptoms. Of note, these analyses do not divide participants into ‘high’ and ‘low’ paranoia and OCD groups but rather treat both symptoms as continuous variables. Paranoia had no association with evolving contingency beliefs (ω2) but a strong negative association with evolving volatility beliefs (ω3) [ω2: P(H0) = 0.964; ω3: P(H2) = 0.999]. Conversely, OCD had a negative association with updating contingency beliefs and no association with evolving beliefs about volatility [ω2: P(H2) = 0.830; ω3: P(H0) = 0.978] (Figure 6; Table S11). Paranoia and OCD were not directly associated with between prior beliefs about choice contingencies (µ02) but were positively associated with prior beliefs about volatility (µ03) [paranoia: P(H1) = 0.572; OCD: P(H1) = 0.988]. Additionally, OCD, but not paranoia, had a negative association with the phasic coupling of reward and volatility beliefs (κ) [paranoia: P(H0) = 0.837; OCD: P(H2) = 0.955]. Importantly, the relationships with these parameters were not confounded by comorbid anxiety and depression symptoms (Supplemental Figure 8; Table S12).

Figure 6.

BGGM plot showing paranoia and OCD strongly positively correlated with μ03 and negatively with ω3 and ω2, respectively

Bayesian Gaussian graphical model (BGGM) of the relationships between paranoia (orange outline), OCD (blue outline), and HGF model parameters. A green edge between nodes represents a positive partial correlation and a red edge a negative partial correlation. Edge thickness represents the strength of the correlation between pairs of nodes, while controlling for the effects of partial correlations amongst all other variables in the model.

In summary, our results provide evidence to support that deficits in PRL performance (i.e., win-switching) in participants with paranoia are driven by strong prior beliefs about volatility and diminished belief-updating and learning from volatility, whereas suboptimal performance in participants with OCD manifests as strong prior beliefs about choice values and poorer learning about choice contingencies. Reduced belief-updating at level 2 may result in less integration of dynamic level 2 and 3 beliefs, such that individuals with high OCD scores also demonstrate less flexible belief-updating in response to volatility in choice contingencies.

Discussion

People with paranoia are more likely to switch between choices, even after a correct or “winning” choice, a behavior driven by strong prior beliefs in likelihood of the “deck being shuffled” (volatility) and less belief updating about actual choice contingencies. Individuals with high OCD symptoms also exhibited elevated rates of win-switch behaviour, but these were instead driven by strong prior beliefs about the choice contingencies and less flexible belief-updating in response to volatility in choice contingencies. The qualitative differences between the effects of OCD symptoms and those of paranoia is most clearly shown in the BGGM in Figure 6, which reveals similar relationships to µ03 (i.e., similar a priori beliefs about the stability of the world), but distinct relationships to ω3 (belief updating in response to volatility) and ω2 (belief updating about choice-outcome associations), when taking both paranoia and OCD symptoms into account.

Parameter recovery procedures indicated that the model is largely identifiable, with four parameters showing strong recovery and ω3 showing comparatively lower precision (r = 0.45). While this is consistent with known limitations in hierarchical Bayesian model inversion (Reed et al., 2020; Rossi-Goldthorpe et al., 2024; Suthaharan et al., 2026), it is worth noting that poorer recovery implies that there is likely a better model of these data and this task. Correlation between parameters might mean the same, implying that the behavioral effects are not uniquely specified. Of course, there are instances when mechanisms trade off – for example, of prediction errors drive attentional allocation, we might want to attend to highly predictable things (Mackintosh, 1975) or highly unpredictable (Pearce & Hall, 1980). Yet, in both cases, prediction error and learning rate are correlated – albeit in different directions.

The considerable correlation between OCD-like experiences and paranoia (Figure 2) has here obscured as clear a dissociation, which BGGM visualization makes clear: there are associations between OCD and reward learning rate that are absent for paranoia (when taking the counterpart symptom into account). This distinction – between abstractions of belief about reward and about change – is mirrored in recent primate computational and behavioral neuroscience data. Macaque monkeys can also learn this 3-option PRL task. In these animals, lesions of the mediodorsal thalamus promote win-switching behavior, whereas lesions of the orbitofrontal cortex impair learning about changes in reward value (Suthaharan et al., 2024). These primate data, together with our observations in humans, suggest that mediodorsal thalamus might be associated with paranoia, as has been observed with lesion network mapping (Loh et al., 2022). Further, these data may shed light on the relationship between OCD and orbitofrontal cortex dysfunction (Ursu & Carter, 2009).

Our findings suggest possible explanations for conflicting findings in previous work examining the PRL in OCD. Some studies have found excessive switching during probabilistic reversal learning in OCD, while others have reported perseveration (Crider, 1977; Rasmussen & Parnas, 2022). The number of response options, the underlying contingencies, and the changes in those contingencies may all influence the win-switching observed (Soltani & Izquierdo, 2019; Sakai et al., 2022). Furthermore, since OCD and paranoia are often comorbid, and strongly (but not perfectly) correlated, it is possible that inconsistencies in PRL behavior in OCD reflect the impact of varying levels of paranoia. We suggest measuring and ideally covarying for paranoia in future investigations of the relationships between OCD and belief updating under uncertainty.

Another important caveat that these experiments were in ostensibly healthy people, free from psychiatric illness. This work bears replication in well characterized samples of patients with OCD and persecutory delusions in the context of schizophrenia. This is a worthwhile exercise since differential diagnosis of schizophrenia versus OCD can be challenging, particularly in first-contact patients (Cheng et al., 2019), and comorbid schizotypal symptoms, which are common in OCD (Poletti & Raballo, 2019), predict poor responses to standard OCD treatments (Sobin et al., 2000). Furthermore, a phenomenological approach to OCD diagnosis allows for obsessions that reach delusional intensity, and thus, admits considerable overlap in the anomalies of experience that signify OCD and schizophrenia. Interestingly, Bleuler remarked in a footnote that “the typical cases [of compulsive neurosis] have so much about them that is schizophrenic in appearance and heredity, that one cannot repress the suspicion, that they are actual schizophrenics whose symptomatology exhausts itself in compulsive syndrome” (West et al., 2025). Whereas classic psychopathology emphasized form rather than content for classification, the DSM-5 text mentions “specific contents as additional features supporting diagnosis [of OCD]”, i.e., cleaning, symmetry, forbidden or taboo thoughts (aggressive, sexual or religious) and fears of harm to oneself and others. However, symmetry, aggressive, violent, or sexual contents have also been regarded as characteristic of schizophrenia (Poyurovsky & Koran, 2005). This is a problem both for categorial diagnosis (Robbins, Vaghi & Banca, 2019; Strauss et al., 2020) and for research that pursues a dimensional approach to psychopathology (Mcfall & Wollersheim, 1979; Valerius et al., 2008; Jacoby & Abramowitz, 2017).

Ultimately, this is not the last word on the explanations of win-switching or lose-staying, and future work will finesse our accounts. For now, we demonstrate that choice behaviors and latent belief-updating processes can distinguish psychiatric-like symptom phenomenology, even when those phenomena are highly correlated. We believe that we have begun to address this challenge with computational psychiatry — an objective behavioral task (PRL) and fine-grained computational models of behavior (HGF and BGGM). This approach holds promise over the subjective phenomenological approach because of its increased objective precision, and its cross-species translational potential (Corlett & Fletcher, 2021).

Additional File

The additional file for this article can be found as follows:

Supplemental Materials.

Figures S1 to S9 and Tables S1 to S12.

DOI: 10.5334/cpsy.136.s1

Funding Statement

This work was funded in part by K24 and by the State of Connecticut through its support of the Ribicoff Research Facilities at the Connecticut Mental Health Center. The work presented represents the views of the authors and not of the State of Connecticut.

Author Contributions

P.S. acquired the data. C.M.F. and P.R.C. analyzed the data. C.F. and P.R.C. wrote and edited the manuscript. C.P. conceived the study together with P.R.C. and edited the manuscript.

References

  • 1.Abramowitz, J. S., Deacon, B. J., Olatunji, B. O., Wheaton, M. G., Berman, N. C., Losardo, D., Timpano, K. R., McGrath, P. B., Riemann, B. C., Adams, T., Björgvinsson, T., Storch, E. A., & Hale, L. R. (2010). Assessment of obsessive-compulsive symptom dimensions: development and evaluation of the Dimensional Obsessive-Compulsive Scale. Psychological assessment, 22(1), 180–198. 10.1037/a0018260 [DOI] [PubMed] [Google Scholar]
  • 2.Apergis-Schoute, A. M., van der Flier, F. E., Ip, S. H. Y., Kanen, J. W., Vaghi, M. M., Fineberg, N. A., Sahakian, B. J., Cardinal, R. N., & Robbins, T. W. (2023). Perseveration and shifting in Obsessive-Compulsive Disorder as a function of uncertainty, punishment, and serotonergic medication. Biological psychiatry global open science, 4(1), 326–335. 10.1016/j.bpsgos.2023.06.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Arachchige, C. N. P. G., & Prendergast, L. A. (2026). Confidence intervals for median absolute deviations. Communications in statistics – simulation and computation, 55(1), 13–22. 10.1080/03610918.2024.2376198 [DOI] [Google Scholar]
  • 4.Bates, D., Mächler, M., Bolker, B., & Walker, S. (2015). Fitting linear mixed-effects models using lme4. Journal of statistical software, 67(1), 1–48. 10.18637/jss.v067.i01 [DOI] [Google Scholar]
  • 5.Beck, A. T., Epstein, N., Brown, G., & Steer, R. A. (1988). An inventory for measuring clinical anxiety: Psychometric properties. Journal of consulting and clinical psychology, 56(6), 893–897. 10.1037//0022-006x.56.6.893 [DOI] [PubMed] [Google Scholar]
  • 6.Beck, A. T., Ward, C. H., Mendelson, M., Mock, J., & Erbaugh, J. (1961). An inventory for measuring depression. Archives of general psychiatry, 4, 561–571. 10.1001/archpsyc.1961.01710120031004 [DOI] [PubMed] [Google Scholar]
  • 7.Borsboom, D., & Cramer, A. O. (2013). Network analysis: An integrative approach to the structure of psychopathology. Annual review of clinical psychology, 9(1), 91–121. 10.1146/annurev-clinpsy-050212-185608 [DOI] [PubMed] [Google Scholar]
  • 8.Bottemanne, H. (2025). Bayesian brain theory: computational neuroscience of belief. Neuroscience, 566, 198–204. 10.1016/j.neuroscience.2024.12.003 [DOI] [PubMed] [Google Scholar]
  • 9.Carr, A. T. (1974). Compulsive neurosis: a review of the literature. Psychological bulletin, 81(5), 311–318. 10.1037/h0036473 [DOI] [PubMed] [Google Scholar]
  • 10.Chamberlain, S. R., Menzies, L., Hampshire, A., Suckling, J., Fineberg, N. A., del Campo, N., Aitken, M., Craig, K., Owen, A. M., Bullmore, E. T., Robbins, T. W., & Sahakian, B. J. (2008). Orbitofrontal dysfunction in patients with obsessive-compulsive disorder and their unaffected relatives. Science (New York, N.Y.), 321(5887), 421–422. 10.1126/science.1154433 [DOI] [PubMed] [Google Scholar]
  • 11.Chamberlain, S. R., Solly, J. E., Hook, R. W., Vaghi, M. M., & Robbins, T. W. (2021). Cognitive inflexibility in OCD and related disorders. Current topics in behavioral neurosciences, 49, 125–145. 10.1007/7854_2020_198 [DOI] [PubMed] [Google Scholar]
  • 12.Cheng, Y. F., Chen, V. C., Yang, Y. H., Chen, K. J., Lee, Y. C., & Lu, M. L. (2019). Risk of schizophrenia among people with obsessive-compulsive disorder: A nationwide population-based cohort study. Schizophrenia research, 209, 58–63. 10.1016/j.schres.2019.05.024 [DOI] [PubMed] [Google Scholar]
  • 13.Collins, A. G. E., & Shenhav, A. (2022). Advances in modeling learning and decision-making in neuroscience. Neuropsychopharmacol, 47, 104–118. 10.1038/s41386-021-01126-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Corlett, P. R., & Fletcher, P. (2021). Modelling delusions as temporally-evolving beliefs. Cognitive neuropsychiatry, 26(4), 231–241. 10.1080/13546805.2021.1938984 [DOI] [PubMed] [Google Scholar]
  • 15.Crider, A. (1997). Perseveration in schizophrenia. Schizophrenia bulletin, 23(1), 63–74. 10.1093/schbul/23.1.63 [DOI] [PubMed] [Google Scholar]
  • 16.Cunill, R., Vives, L., Pla, M., Usall, J., & Castells, X. (2023). Relationship between Obsessive Compulsive symptomatology and severity of psychotic symptoms in schizophrenia: Meta-analysis and meta-regression analysis. Schizophrenia research, 251, 37–45. 10.1016/j.schres.2022.12.013 [DOI] [PubMed] [Google Scholar]
  • 17.De Jesus, O., Fogwe, D. T., Mesfin, F. B., et al. (2025). Neuromodulation Surgery for Psychiatric Disorders. In: StatPearls [Internet]. StatPearls Publishing. https://www.ncbi.nlm.nih.gov/books/NBK482366/ [PubMed] [Google Scholar]
  • 18.Foa, E. B., & Kozak, M. J. (1986). Emotional processing of fear: exposure to corrective information. Psychological bulletin, 99(1), 20–35. 10.1037/0033-2909.99.1.20 [DOI] [PubMed] [Google Scholar]
  • 19.Fontenelle, L. F., Albertella, L., Brierley, M. E., Thompson, E. M., Destrée, L., Chamberlain, S. R., & Yücel, M. (2021). Correlates of obsessive-compulsive and related disorders symptom severity during the COVID-19 pandemic. Journal of psychiatric research, 143, 471–480. 10.1016/j.jpsychires.2021.03.046 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Fradkin, I., Ludwig, C., Eldar, E., & Huppert, J. D. (2020). Doubting what you already know: Uncertainty regarding state transitions is associated with obsessive compulsive symptoms. PLoS computational biology, 16(2), e1007634. 10.1371/journal.pcbi.1007634 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Fradkin, I., Strauss, A. Y., Pereg, M., & Huppert, J. D. (2018). Rigidly applied rules? Revisiting inflexibility in Obsessive Compulsive Disorder using multilevel meta-analysis. Clinical psychological science, 6, 481–505. 10.1177/2167702618756069 [DOI] [Google Scholar]
  • 22.Freeman, D., Loe, B. S., Kingdon, D., Startup, H., Molodynski, A., Rosebrock, L., Brown, P., Sheaves, B., Waite, F., & Bird, J. C. (2021). The revised Green et al., Paranoid Thoughts Scale (R-GPTS): Psychometric properties, severity ranges, and clinical cut-offs. Psychological medicine, 51(2), 244–253. 10.1017/S0033291719003155 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Grover, S., Sahoo, S., & Surendran, I. (2019). Obsessive–compulsive symptoms in schizophrenia: A review. Acta neuropsychiatrica, 31(2), 63–73. 10.1017/neu.2018.27 [DOI] [PubMed] [Google Scholar]
  • 24.Gruner, P., & Pittenger, C. (2017). Cognitive inflexibility in obsessive-compulsive disorder. Neuroscience, 345, 243–255. 10.1016/j.neuroscience.2016.07.030 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Guzick, A. G., Candelari, A., Wiese, A. D., Schneider, S. C., Goodman, W. K., & Storch, E. A. (2021). Obsessive-Compulsive Disorder during the COVID-19 pandemic: A systematic review. Current psychiatry reports, 23(11), 71. 10.1007/s11920-021-01284-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Hector, A. (2015). Generalized linear models for data with non-normal distributions. The New Statistics with R: An Introduction for Biologists. Oxford Academic, online ed. 10.1093/acprof:oso/9780198729051.003.0009 [DOI] [Google Scholar]
  • 27.Hess, A. J., Iglesias, S., Köchli, L., Marino, S., Müller-Schrader, M., Rigoux, L., Mathys, C., Harrison, O. K., Heinzle, J., Frässle, S., & Stephan, K. E. (2025). Bayesian workflow for generative modeling in computational psychiatry. Computational psychiatry, 9(1), 76–99. 10.5334/cpsy.116 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Jacoby, R. J., & Abramowitz, J. S. (2017). Intolerance of uncertainty in OCD. In Pittenger (ed), Obsessive-Compulsive Disorder: Phenomenology, Pathophysiology, and Treatment. Oxford University Press. Ch. 17; online edn, Oxford Academic, 1 Oct. 2017. 10.1093/med/9780190228163.003.0017 [DOI] [Google Scholar]
  • 29.Kalhan, S., Magnard, R., Zhang, Z., et al. (2026). Uncertainty and reward histories have distinct effects on decisions after wins and losses. Sci rep, 16, 6795. 10.1038/s41598-026-37554-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Lenth, R. (2024). _ emmeans: Estimated Marginal Means, aka Least-Squares Means_. R package version 1.10.2. https://CRAN.R-project.org/package=emmeans
  • 31.Litman, L., Robinson, J., & Abberbock, T. (2017). TurkPrime.com: a versatile crowdsourcing data acquisition platform for the behavioral sciences. Behav. res. methods, 49, 433–442. 10.3758/s13428-016-0727-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Loh, A., Germann, J., Qazi, S., Husain, R., Boutet, A., Lozano, A. M., & Mansouri, A. (2022). Lesion network mapping of ectopic craniopharyngioma identifies potential cause of psychosis: a case report. Acta neurochirurgica, 164(12), 3285–3289. 10.1007/s00701-022-05355-y [DOI] [PubMed] [Google Scholar]
  • 33.Mackintosh, N. J. (1975). A theory of attention: Variations in the associability of stimuli with reinforcement. Psychological review, 82(4), 276–298. 10.1037/h0076778 [DOI] [Google Scholar]
  • 34.Mathys, C. D., Lomakina, E. I., Daunizeau, J., Iglesias, S., Brodersen, K. H., Friston, K. J., & Stephan, K. E. (2014). Uncertainty in perception and the Hierarchical Gaussian Filter. Frontiers in human neuroscience, 8, 825. 10.3389/fnhum.2014.00825 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.McCullagh, P., & Nelder, J. A. (1989). Generalized Linear Models. Chapman and Hall, 2nd edition. 10.1007/978-1-4899-3242-6 [DOI] [Google Scholar]
  • 36.Mcfall, M. E., & Wollersheim, J. (1979). Obsessive-compulsive neurosis: A cognitive-behavioral formulation and approach to treatment. Cognitive therapy and research, 3, 333–348. 10.1007/BF01184447 [DOI] [Google Scholar]
  • 37.Pearce, J. M., & Hall, G. (1980). A model for Pavlovian learning: Variations in the effectiveness of conditioned but not of unconditioned stimuli. Psychological review, 87(6), 532–552. 10.1037/0033-295X.87.6.532 [DOI] [PubMed] [Google Scholar]
  • 38.Pinciotti, C. M., Riemann, B. C., & Abramowitz, J. S. (2021). Intolerance of uncertainty and obsessive-compulsive disorder dimensions. Journal of anxiety disorders, 81, 102417. 10.1016/j.janxdis.2021.102417 [DOI] [PubMed] [Google Scholar]
  • 39.Poletti, M., & Raballo, A. (2019). Obsessively thinking through the schizophrenia spectrum: Disentangling pseudo-obsessive schizophrenia from OCD. Schizophrenia research, 212, 232–233. 10.1016/j.schres.2019.08.014 [DOI] [PubMed] [Google Scholar]
  • 40.Poyurovsky, M., & Koran, L. M. (2005). Obsessive-compulsive disorder (OCD) with schizotypy vs. schizophrenia with OCD: Diagnostic dilemmas and therapeutic implications. Journal of psychiatric research, 39(4), 399–408. 10.1016/j.jpsychires.2004.09.004 [DOI] [PubMed] [Google Scholar]
  • 41.Rasmussen, A. R., & Parnas, J. (2022). What is obsession? Differentiating obsessive-compulsive disorder and the schizophrenia spectrum. Schizophrenia research, 243, 1–8. 10.1016/j.schres.2022.02.014 [DOI] [PubMed] [Google Scholar]
  • 42.Reed, E. J., Uddenberg, S., Suthaharan, P., Mathys, C. D., Taylor, J. R., Groman, S. M., & Corlett, P. R. (2020). Paranoia as a deficit in non-social belief updating. eLife, 9, e56345. 10.7554/eLife.56345 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Robbins, T. W., Vaghi, M. M., & Banca, P. (2019). Obsessive-compulsive disorder: puzzles and prospects. Neuron, 102(1), 27–47. 10.1016/j.neuron.2019.01.046 [DOI] [PubMed] [Google Scholar]
  • 44.Rossi-Goldthorpe, R., Silverstein, S. M., Gold, J. M., Schiffman, J., Waltz, J. A., Williams, T. F., Powers, A. R., Woods, S. W., Zinbarg, R. E., Mittal, V. A., Ellman, L. M., Strauss, G. P., Walker, E. F., Levin, J. A., Castiello, S., Kenney, J., & Corlett, P. R. (2024). Different learning aberrations relate to delusion-like beliefs with different contents. Brain: a journal of neurology, 147(8), 2854–2866. 10.1093/brain/awae122 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Sakai, Y., Sakai, Y., Abe, Y., Narumoto, J., & Tanaka, S. C. (2022). Memory trace imbalance in reinforcement and punishment systems can reinforce implicit choices leading to obsessive-compulsive behavior. Cell reports, 40(9), 111275. 10.1016/j.celrep.2022.111275 [DOI] [PubMed] [Google Scholar]
  • 46.Salkovskis, P. M. (1989). Cognitive-behavioural factors and the persistence of intrusive thoughts in obsessional problems. Behaviour research and therapy, 27(6), 677–682. 10.1016/0005-7967(89)90152-6 [DOI] [PubMed] [Google Scholar]
  • 47.Sheffield, J. M., Suthaharan, P., Leptourgos, P., & Corlett, P. R. (2022). Belief updating and paranoia in individuals with schizophrenia. Biological psychiatry: Cognitive neuroscience and neuroimaging, 7(11), 1149–1157. 10.1016/j.bpsc.2022.03.013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Sobin, C., Blundell, M. L., Weiller, F., Gavigan, C., Haiman, C., & Karayiorgou, M. (2000). Evidence of a schizotypy subtype in OCD. Journal of psychiatric research, 34(1), 15–24. 10.1016/s0022-3956(99)00023-0 [DOI] [PubMed] [Google Scholar]
  • 49.Soltani, A., & Izquierdo, A. (2019). Adaptive learning under expected and unexpected uncertainty. Nature reviews. Neuroscience, 20(10), 635–644. 10.1038/s41583-019-0180-y [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Strauss, A. Y., Fradkin, I., McNally, R. J., Linkovski, O., Anholt, G. E., & Huppert, J. D. (2020). Why check? A meta-analysis of checking in obsessive-compulsive disorder: Threat vs. distrust of senses. Clinical psychology review, 75, 101807. 10.1016/j.cpr.2019.101807 [DOI] [PubMed] [Google Scholar]
  • 51.Suthaharan, P., Castiello, S., Ang, Y. S., & Corlett, P. R. (2026). Self-reflection protects behavior from volatile beliefs linked to paranoia. Computational psychiatry (Cambridge, Mass.), 10(1), 18–34. 10.5334/cpsy.150 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Suthaharan, P., Reed, E. J., Leptourgos, P., Kenney, J. G., Uddenberg, S., Mathys, C. D., Litman, L., Robinson, J., Moss, A. J., Taylor, J. R., Groman, S. M., & Corlett, P. R. (2021). Paranoia and belief updating during the COVID-19 crisis. Nature human behaviour, 5(9), 1190–1202. 10.1038/s41562-021-01176-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Suthaharan, P., Thompson, S. L., Rossi-Goldthorpe, R. A., Rudebeck, P. H., Walton, M. E., Chakraborty, S., Noonan, M. P., Costa, V. D., Murray, E. A., Mathys, C. D., Groman, S. M., Mitchell, A. S., Taylor, J. R., Corlett, P. R., & Chang, S. W. C. (2024). Lesions to the mediodorsal thalamus, but not orbitofrontal cortex, enhance volatility beliefs linked to paranoia. Cell reports, 43(6), 114355. 10.1016/j.celrep.2024.114355 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Swets, M., Dekker, J., van Emmerik-van Oortmerssen, K., Smid, G. E., Smit, F., de Haan, L., & Schoevers, R. A. (2014). The obsessive compulsive spectrum in schizophrenia, a meta-analysis and meta-regression exploring prevalence rates. Schizophrenia research, 152(2–3), 458–468. 10.1016/j.schres.2013.10.033 [DOI] [PubMed] [Google Scholar]
  • 55.Tallis, F. (1995). The characteristics of obsessional thinking: Difficulty demonstrating the obvious? Clinical psychology & psychotherapy, 2(1), 24–39. 10.1002/cpp.5640020103 [DOI] [Google Scholar]
  • 56.Ursu, S., & Carter, C. S. (2009). An initial investigation of the orbitofrontal cortex hyperactivity in obsessive-compulsive disorder: exaggerated representations of anticipated aversive events? Neuropsychologia, 47(10), 2145–2148. 10.1016/j.neuropsychologia.2009.03.018 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Valerius, G., Lumpp, A., Kuelz, A. K., Freyer, T., & Voderholzer, U. (2008). Reversal learning as a neuropsychological indicator for the neuropathology of obsessive compulsive disorder? A behavioral study. The Journal of neuropsychiatry and clinical neurosciences, 20(2), 210–218. 10.1176/jnp.2008.20.2.210 [DOI] [PubMed] [Google Scholar]
  • 58.West, M. L., Green, J., Barber, M. E., Sharif, S., Lisowski, V., & Friedman-Yakoobian, M. (2025). Overlap of obsessive compulsive and psychosis risk symptoms in a specialized clinic. Early intervention in psychiatry, 19(1), e13596. 10.1111/eip.13596 [DOI] [PubMed] [Google Scholar]
  • 59.Wickham, H., Averick, M., Bryan, J., Chang, W., McGowan, L. D. A., François, R., … & Yutani, H. (2019). Welcome to the Tidyverse. Journal of open source software, 4(43), 1686. 10.21105/joss.01686 [DOI] [Google Scholar]
  • 60.Williams, D. R., & Mulder, J. (2019). Bayesian hypothesis testing for Gaussian graphical models: Conditional independence and order constraints. PsyArXiv. 10.31234/osf.io/ypxd8 [DOI] [Google Scholar]
  • 61.Williams, D. R., & Mulder, J. (2020). BGGM: Bayesian Gaussian graphical models in R. 10.21105/joss.02111 [DOI] [Google Scholar]
  • 62.Williams, D. R., Rast, P., Pericchi, L. R., & Mulder, J. (2020). Comparing Gaussian graphical models with the posterior predictive distribution and Bayesian model selection. Psychological methods, 25(5), 653–672. 10.1037/met0000254 [DOI] [PMC free article] [PubMed] [Google Scholar]
Comput Psychiatr.

Round 1, Reviewer A

Reviewed by: Reviewer: A

Recommendation:

Accept with Major Revision

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

Freeland et al. try to tackle an important problem of differentiating belief updating deficits that relate to OCD and paranoia. To do so they re-analyze previously published data on a 3-choice probabilistic learning task across social and non-social domains. The strength of the paper is the combination of an HGF model with Bayesian network analysis - Bayesian Gaussian Graphical Modeling (BGGM) to try to uncover subtle differences in how updating of individuals with OCD differentiates from those with paranoia.

Behavioural findings show that both paranoia and OCD symptom severities are associated with increased switching both after wins and after losses with a difference between the two symptom domains (however it is not clear from the text or the figure in which direction). Using BGGM the authors show that there might be slight differences in the strength with which each symptom domain relates to switching behavior.

The authors then use the HGF to explore the subtle nuances in trial-by-trial belief updates and find important differences between how the symptom domains relate to the meta-volatility (“omega3”) and volatility (“omega2”) parameters.

While these results tell a compelling story, I am not yet convinced that the model parameters can be taken at face value (are well-defined). This can severely limit the conclusions drawn from this analysis and the subsequent BGGM analysis.

First, parameters such as “inital mu2”, “omega2” and “kappa” all explain very similar belief updating dynamics (as do “initial mu3” and “omega3”) and are (in my experience) very hard to differentiate. That being said, perhaps a 3-choice task with 320 trials is enough to do so. I suggest that the authors show to what degree the model parameters are recoverable (by simulating + refitting).

Second, it is not clear that this is the most parsimonious model that the authors could use for this task. Showing that this model outperforms simpler HGF models with less parameters would be helpful (or at least provide a theoretical argument why such a complex model is necessary to use).

Third, one important parameter that always leads to more overall switching (and more stochastic behaviour overall) is the (inverse) temperature parameter. It is not clear whether the authors included it in the analysis, but if they want to claim that what they find is not related to noise unexplained by the model, I would argue that in needs to be included as a free parameter in the model. The noise parameter should also appear in the BGGM analysis that includes all HGF parameters.

Minor comments:

The authors use the scale for OCD and paranoia in various ways – sometimes they use cutoff points to define two categories of clinical groups (“high paranoia” and “low paranoia”), sometimes four (e.g. Figure 2B) and sometimes use continuous measures (in the network analysis).

This is also mixed up when results are presented adding to the confusion about which variables were used:

e.g.

Line 214: “Consistent with these findings, we observed a 214 greater rate of win-switching in participants with high paranoia, compared to those with low 215 paranoia symptom scores”

line 220: “Furthermore, win-switching significantly increased 220 as both paranoia and OCD symptom scores increased across the clinical continuum”.

It is unclear why this is the case and why for instance continuous measures are not used throughout the MS, since binarizing continuous variables is throwing data away. It would be helpful if the choice of the number of categories is explained and consistent with the language used to describe the results.

When describing the level structure of the HGF model, levels in the figure and text do not match.

Comput Psychiatr.

Round 1, Reviewer D

Reviewed by: Reviewer: D

Recommendation:

Accept with Major Revision

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

The authors present original cognitive modelling work (with the Hierarchical Gaussian Filter (HGF) as their model of choice) of a pre-existing probabilistic reversal learning (PRL) dataset, showing that paranoia and OCD (correlated psychiatric conditions that are hard to disentangle) differ in cognitive parameter estimates on an experimental task. The work is thorough, mostly methodologically explicit and sound, and relies on standard methods in computational psychiatry; it is well motivated and contributes to the understanding of these two prevalent conditions. Additionally, the paper applies a visualisation method (Bayesian Gaussian Graphical Modelling, BGGM) which seems to make clear an otherwise hidden statistical pattern in the data. I therefore find the work valuable and would encourage its publication.

There are, however, quite a few issues that would first need to be addressed before publication, which I describe in the attached document. This particularly relates to the cognitive model and the statistical methods being rather under-described, to a lack of appreciation and clarity regarding limitations of the study, and to a lack of methodological checks and care.

Comput Psychiatr.

Round 2, Reviewer A

Reviewed by: Reviewer: A

Recommendation:

Accept (No Revisions Necessary)

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

Review of Excessive switching in OCD and paranoia arises from different deficits in belief-updating (Round 2)

The authors have carefully incorporated or responded to the points made in my original review, and I am happy to recommend the article for publication. Below are some minor points which the authors may find useful for a final, minor revision:

I appreciate the now expanded description of BGGM, which is very helpful and interesting.

I appreciate that it has been clarified that the HGF parameters were not obtained in this study, but were rather estimates made in a previous experiment. This of course renders many of my previous comments largely irrelevant (such as about parameter recovery and other quality checks of the parameter estimates). I apologize of the confusion, to the degree that it was due to inattentiveness on my part.

In figure five, the omega parameters seem to have a superscript 0, which I expect is a typo.

On line 168, the authors call the HGF a (hierarchical) Bayesian model, and on line 946, a “hierarchical computational approach”. This is accurate, but ambiguous, because the term “hierarchical Bayesian model” also refers to using hierarchical Bayesian methods for fitting models to data model (the BGGM is for example a Bayesian model too, although not hierarchical; a mixed-effects model in brms would also be a hierarchical Bayesian computational model), which can also be done with other types of cognitive models, such as reinforcement learning (see e.g. hBayesDM for examples of this). In order to disambiguate, the authors might call the HGF a “Bayesian mind model”, or, in full, a “variational Bayesian mind predictive processing model of perception and learning”, or something similar.

The authors use an advanced Bayesian network or regressions, but also use a frequentist lme4 method earlier in the article. It makes one wonder why the authors didn’t use Bayesian methods all the way through the article. There is no immediate need to change this, but the authors may consider very briefly commenting on it.

In line 182, the authors claim that Bayesian mind models are “better equipped to capture dynamic trial-by-trial choices and behavioral changes in response to task volatility (e.g., contingency reversal events), and to infer latent processes that lead to distinct behavioral strategies (i.e., win-switching, lose-staying)”. They authors may considering supporting this with one or more references; I am sure there are or could in principle be hierarchical reinforcement learning models appropriate for volatile environments too (although of course the HGF is specifically made for this).

Finally, although the strong correlation between omega3 and kappa is not due to methodological choices that the authors have made (since they use precomputed parameters), they might still comment on the possibility that this strong correlation indicates unidentifiability between the parameters. If this is the case, the correlation found by the BGGM is not empirical, but a consequence of the original fitting procedure. I don’t know if the original authors did parameter recovery studies or similar to test for this, but the authors might report whether it was done, or whether such unidentifiability are reported for similar HGF models and for similar datasets.

Other than these points, I find all my comments appropriately addressed, and congratulate the authors on thorough and clear work.

Comput Psychiatr.

Round 2, Reviewer B

Reviewed by: Reviewer: B

Recommendation:

Accept with Major Revision

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

The authors did an impressive amount of work to improve the readability and comprehension of the manuscript. I find the results of the OCD and paranoia on win-shift behaviour compelling and worth publishing.

However, as I clarify below, my main concerns that relate to the quality of the model used (including an inverse temperature parameter and making sure that the model used is well defined) are not addressed.

The authors write the following in the response to the parameter recovery issue:

“The present study analyzed this publicly available and peer-reviewed dataset, including the previously computed and reported HGF parameter estimates [31].” [referring to Suthaharan et al. (2021)].

The model in question here has 5 parameters (mu_02, omega2, kappa, mu_03, and omega3). While the results reported by Suthaharan et al are impressive, there has been no parameter recovery conducted in that paper either. Admittedly, Suthaharan et al. use a model that is very similar (same parameters apart from mu_02) to a model used in a previously published study by Reed et al. (2020). Reed et al report that parameter recovery for their 4-parameter model was 0.7 for omega2 and < 0.3 for kappa, mu_03 and omega 3.

Without a parameter recovery conducted in the data set of Suthaharan et al., we are likely justified to assume that the recovery of a 5-parameter model is not better.

I appreciate the fact that the aim of this paper was not to improve the HGF model, but rather to use an innovative approach to analyse how the already fitted model parameters relate to each other and to the OCD and paranoia scales. However, poor parameter recovery limits the degree to which parameters can be taken at face value to describe distinct aspects of the belief updating process.

Beyond improving the model (or showing good parameter recovery), this can be solved with a more careful (and toned down) interpretation of the results, a transparent reporting of the existing parameter recovery (or the lack of), and/or a discussion paragraph describing the limitations of models with limited parameter recovery scores.

In my opinion, the novel use of Bayesian graph models and the behavioural findings will be interesting to many readers of CP as is. I am simply not convinced that the parameters of the model “explain” the behavioral findings.

Minor issues:

The authors write:

“Excessive win-switch behavior (selecting a different choice following a rewarded outcome) may be a marker of oversampling, sensitivity to noisy sensory input, or overestimation of transition uncertainty.”

One simpler and more parsimonious explanation that can also be mentioned is reduced attention during the task, and a lack of task comprehension. As discussed before, the authors could directly address this with an inclusion of a noise parameter; or by adding this as a possible explanation and finding arguments for why this is not the case.

The authors further write:

“Conversely, lose-stay behavior (repeating a choice following an unrewarded outcome) becomes perseverative if sustained and may reflect an insensitivity to actual change, perhaps due to reduced learning about stimulus-action-outcome associations [22].”

As shown in Reed at al, Figure 6, none of the 4 parameters presented in the model capture the lose-stay behavior. This implies that the model used likely cannot capture the computational processes underlying lose-stay behavior, such as “reduced learning about stimulus-action-outcome associations”.

Comput Psychiatr.

Round 2, Author Response

Editorial Revision Requests:

Please address the remaining points in a final minor revision.

In brief, Reviewer 1 requests :

  • a few clarifications and corrections, including checking a likely typo in Figure 5

  • clarifying the terminology used to describe the HGF

  • briefly commenting on the mix of Bayesian and frequentist methods

  • adding support for claims about the advantages of the modelling approach

  • noting the possible implications of the strong correlation between omega3 and kappa, including any relevant comments on identifiability or prior parameter recovery work.

Reviewer 2 is broadly supportive of publication, but asks:

  • the interpretation of the HGF parameters be made more cautious
    • clearly acknowledge the limits imposed by the absence or weakness of parameter recovery evidence,
    • avoid overstating the extent to which the model parameters explain the behavioural findings
    • add a short discussion of this as a limitation
    • briefly considering simpler alternative explanations for excessive win-switching, such as reduced attention or task misunderstanding
    • revising the interpretation of lose-stay behaviour in light of the model’s apparent inability to capture that process

Apart from revising your manuscript based on review feedback, we also ask you to write a response to reviewers in which you explain how you have taken into account the reviewers’ comments.

Reviewer A:

Recommendation: Accept Submission (No Revisions Necessary)

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

Review of Excessive switching in OCD and paranoia arises from different deficits in belief-updating (Round 2)

The authors have carefully incorporated or responded to the points made in my original review, and I am happy to recommend the article for publication. Below are some minor points which the authors may find useful for a final, minor revision:

I appreciate the now expanded description of BGGM, which is very helpful and interesting.

I appreciate that it has been clarified that the HGF parameters were not obtained in this study, but were rather estimates made in a previous experiment. This of course renders many of my previous comments largely irrelevant (such as about parameter recovery and other quality checks of the parameter estimates). I apologize of the confusion, to the degree that it was due to inattentiveness on my part.

In figure five, the omega parameters seem to have a superscript 0, which I expect is a typo.

Author’s response

We appreciate the reviewer’s critical attention to detail and have revised Figure 5 with the correct omega parameter notation. Figure files and generation code have been updated in this manuscript’s GitHub repository to reflect this correction accordingly (https://github.com/CharlotteFree/excessiveSwitching).

Reviewer A:

call the HGF a “Bayesian mind model”, or, in full, a “variational Bayesian mind predictive processing model of perception and learning”,

On line 168, the authors call the HGF a (hierarchical) Bayesian model, and on line 946, a “hierarchical computational approach”. This is accurate, but ambiguous, because the term “hierarchical Bayesian model” also refers to using hierarchical Bayesian methods for fitting models to data model (the BGGM is for example a Bayesian model too, although not hierarchical; a mixed-effects model in brms would also be a hierarchical Bayesian computational model), which can also be done with other types of cognitive models, such as reinforcement learning (see e.g. hBayesDM for examples of this). In order to disambiguate, the authors might call the HGF a “Bayesian mind model”, or, in full, a “variational Bayesian mind predictive processing model of perception and learning”, or something similar.

Author’s response

We agree with the reviewer in terms of the distinction and need for less ambiguous terminology. To address this, we removed the sentence, “Hierarchical Gaussian Filter (HGF) is one computational approach to modeling choice behavior.”, and replaced it on lines 210-211, as follows:

“We modeled beliefs using the Hierarchical Gaussian Filter (HGF), a Bayesian model for perception, learning, and action (Mathys et al., 2011).”

Reviewer A:

The authors use an advanced Bayesian network or regressions, but also use a frequentist lme4 method earlier in the article. It makes one wonder why the authors didn't use Bayesian methods all the way through the article. There is no immediate need to change this, but the authors may consider very briefly commenting on it.

Author’s response

We thank the reviewer for this thoughtful observation. Our use of both frequentist and Bayesian approaches reflects the distinct inferential aims of different components of this analysis, rather than a preference for one statistical framework over another. Frequentist generalized linear models and mixed-effects models were used for confirmatory, hypothesis-driven parameter-level inference, where they provide a well-established framework for estimating effects in hierarchical behavioral data and allow direct comparison with prior computational psychiatry and behavioral literature. In contrast, Bayesian Gaussian graphical models addressed a different inferential objective - characterizing conditional dependency structure and quantifying uncertainty at the network level - where a Bayesian framework offers particular advantages not required for confirmatory regression analyses. We have added a brief clarification in the Methods to underscore this choice. See Statistics, lines 318-322:

“Different analyses addressed distinct inferential levels, and statistical frameworks were selected according to the research question. Frequentist generalized linear and mixed-effects models were used for confirmatory parameter-level inference in hierarchically structured behavioral data, whereas Bayesian Gaussian graphical models were used to characterize conditional dependence structure and quantify uncertainty at the network level.”

Reviewer A:

In line 182, the authors claim that Bayesian mind models are “better equipped to capture dynamic trial-by-trial choices and behavioral changes in response to task volatility (e.g., contingency reversal events), and to infer latent processes that lead to distinct behavioral strategies (i.e., win-switching, lose-staying)”.

  • They authors may considering supporting this with one or more references; I am sure there are or could in principle be hierarchical reinforcement learning models appropriate for volatile environments too (although of course the HGF is specifically made for this).

Author’s response

Thank you for this suggestion. We have added a reference to line 117 (Bottemanne, H. Bayesian brain theory: computational neuroscience of belief. Neuroscience 566, 198-204 (2025). https://doi.org/10.1016/j.neuroscience.2024.12.003.)

We have revised lines 119-123 (see below) with evidence for application of HGF models under conditions of uncertainty and volatility and added additional references with replication across various studies and study populations.

“HGF modeling has been applied to choice behavior in PRL tasks in human participants, non-human primates, and rodents to infer latent processes that lead to distinct behavioral strategies. For example, win-switch behavior has consistently correlated with paranoid beliefs and HGF volatility estimates, and this association has been repeatedly replicated across studies (Reed et al., 2020; Sheffield et al., 2022, 2023; Suthaharan et al., 2024, 2026.”

Reviewer A:

Finally, although the strong correlation between omega3 and kappa is not due to methodological choices that the authors have made (since they use precomputed parameters), they might still comment on the possibility that this strong correlation indicates unidentifiability between the parameters. If this is the case, the correlation found by the BGGM is not empirical, but a consequence of the original fitting procedure. I don't know if the original authors did parameter recovery studies or similar to test for this, but the authors might report whether it was done, or whether such unidentifiability are reported for similar HGF models and for similar datasets.

Author’s response

Thank you for this comment. To clarify, we make no claims of a strong correlation between omega3 and kappa in this manuscript - rather we provide evidence in support of the contrary. In Figure 6, there is no direct line between omega3 and kappa; in other words, the relationship between omega3 and kappa is mediated by their associations with mu03 and omega2.

For further reference, see “Figure-6_bggm-summary.txt” for a complete breakdown of each pairwise association (condensed for brevity in the supplementary materials). For each node-to-node comparison in Figure 6, we see the strongest support for the hypothesis of no association between omega3 and kappa (P(H0) = 0.792).

Other than these points, I find all my comments appropriately addressed, and congratulate the authors on thorough and clear work.

Reviewer B:

Recommendation: Resubmit for Review

Comments/Explanation (required). Please include references to any minor or major revisions required, as well as addressing any issues with language clarity. Authors will see these comments:

The authors did an impressive amount of work to improve the readability and comprehension of the manuscript. I find the results of the OCD and paranoia on win-shift behaviour compelling and worth publishing.

However, as I clarify below, my main concerns that relate to the quality of the model used (including an inverse temperature parameter and making sure that the model used is well defined) are not addressed.

The authors write the following in the response to the parameter recovery issue:

“The present study analyzed this publicly available and peer-reviewed dataset, including the previously computed and reported HGF parameter estimates [31].” [referring to Suthaharan et al. (2021)].

The model in question here has 5 parameters (mu_02, omega2, kappa, mu_03, and omega3). While the results reported by Suthaharan et al are impressive, there has been no parameter recovery conducted in that paper either. Admittedly, Suthaharan et al. use a model that is very similar (same parameters apart from mu_02) to a model used in a previously published study by (Reed et al., 2020).

Reed et al report that parameter recovery for their 4-parameter model was 0.7 for omega2 and < 0.3 for kappa, mu_03 and omega 3.

Without a parameter recovery conducted in the data set of Suthaharan et al., we are likely justified to assume that the recovery of a 5-parameter model is not better.

Author’s response

As the reviewer keenly and correctly pointed out, Reed et al., 2020 reported a strong parameter recovery for Omega2 (r = 0.702) but poor model recovery for higher level parameters (Mu03 and Omega3, r’s < 0.15). Poor recovery implies that there is likely a better model of these data and this task; we acknowledge that poor recovery or lack of recovery would have been a significant limitation of this study.

In response, we obtained the raw choice data from Suthaharan et al., 2021 and conducted a full parameter recovery analysis using 10 independent simulations of the 5-parameter model. The mean recovery statistics were as follows: Mu02, r = 0.8; Mu03, r = 0.74; kappa, r = 0.79; Omega2, r = 0.87; Omega3, r = 0.45. These results confirm that parameter recovery was robust enough to indicate the 3-level HGF model is identifiable and that parameters were reliably recovered.

We have added the following correlation matrix of true versus mean recovered parameter values to the supplementary materials (Supplementary Figure 9).

Supplemental Figure 9.

Confusion matrix showing correlations between fitted and recovered parameters. Parameter recovery was quantified by correlating mean recovered parameters (across 10 independent simulations) to the original fitted parameters across participants. Mu02 (μ02), Mu03 (μ03), Kappa2 (κ), Omega2 (ɷ2) had robust parameter recovery values (r’s ≥ 0.74). Omega3 (ɷ3) was less reliably recovered (r = 0.45). These results support the identifiability of the model parameters under this 3-level HGF configuration

Confusion matrix showing correlations between fitted and recovered parameters. Parameter recovery was quantified by correlating mean recovered parameters (across 10 independent simulations) to the original fitted parameters across participants. Mu02 (μ02), Mu03 (μ03), Kappa2 (κ), Omega2 (ɷ2) had robust parameter recovery values (r’s ≥ 0.74). Omega3 (ɷ3) was less reliably recovered (r = 0.45). These results support the identifiability of the model parameters under this 3-level HGF configuration.

We address this in-text (see lines 242-248) and reference a recent study that demonstrated strong parameter recovery and model identifiability for this 3-choice PRL paradigm. (Suthaharan, P., Castiello, S., Ang, Y.-S., & Corlett, P. (2026). Self-Reflection Protects Behavior from Volatile Beliefs Linked to Paranoia. Computational Psychiatry, 10(1), pp. 18–34. DOI: https://doi.org/10.5334/cpsy.150)

“Parameter recovery was conducted by correlating true and recovered parameter estimates across participants. Recovery performance was averaged across 10 independent simulations. Recovery was strong for four of the five parameters (r ≥ 0.74) and moderate for ω3 (r = 0.45), consistent with known differences in parameter identifiability in hierarchal Bayesian models such as the HGF (Supplementary Figure 9) [34,40]. Overall, these results support model identifiability for group-level inference under this 3-level HGF configuration.”

Reviewer B:

I appreciate the fact that the aim of this paper was not to improve the HGF model, but rather to use an innovative approach to analyse how the already fitted model parameters relate to each other and to the OCD and paranoia scales. However, poor parameter recovery limits the degree to which parameters can be taken at face value to describe distinct aspects of the belief updating process.

Beyond improving the model (or showing good parameter recovery), this can be solved with a more careful (and toned down) interpretation of the results, a transparent reporting of the existing parameter recovery (or the lack of), and/or a discussion paragraph describing the limitations of models with limited parameter recovery scores.

Author’s response

Please see response above. We performed parameter recovery analyses and now provide evidence of strong to moderate parameter recovery. We have added the following to the discussion section to address the limitations of weak parameter recovery and the implications for interpretation of Omega3 results (see lines 470-478):

“Parameter recovery procedures indicated that the model is largely identifiable, with four parameters showing strong recovery and ω3 showing comparatively lower precision (r = 0.45). While this is consistent with known limitations in hierarchical Bayesian model inversion, it is worth noting that poorer recovery performance implies that there is likely a better model of these data and this task. Correlation between parameters might mean the same, implying that the behavioral effects are not uniquely specified. Of course, there are instances when mechanisms trade off - for example, if studying whether prediction errors drive attentional allocation, we might want to attend to highly predictable things (Mackintosh, 1975) or highly unpredictable ones (Pearce and Hall, 1980). Yet, in both cases, prediction error and learning rate are correlated – albeit in different directions.”

Reviewer B:

In my opinion, the novel use of Bayesian graph models and the behavioural findings will be interesting to many readers of CP as is. I am simply not convinced that the parameters of the model “explain” the behavioral findings.

Author’s response

Poor recovery implies that there is likely a better model of these data and this task. Please see above.

Reviewer B:

Minor issues:

The authors write:

“Excessive win-switch behavior (selecting a different choice following a rewarded outcome) may be a marker of oversampling, sensitivity to noisy sensory input, or overestimation of transition uncertainty.”

One simpler and more parsimonious explanation that can also be mentioned is reduced attention during the task, and a lack of task comprehension. As discussed before, the authors could directly address this with an inclusion of a noise parameter; or by adding this as a possible explanation and finding arguments for why this is not the case.

Author’s response

We agree with the reviewer that this sentence should be simplified, which further brought to our attention that win-switch and lose-stay behaviors should be defined in the introduction section, prior to discussing the implication of these choice selection strategies.

We have adapted that section (lines 74-83) to read as follows:

“On each trial, participants select a choice, the outcome (win or lose) is revealed, and the next trial begins when the next choice is presented. This produces four possible selection strategies on the subsequent trial: win-stay (repeat a choice that was rewarded), win-switch (select a different choice following a reward choice), lose-stay (repeat a choice that was not rewarded), or lose-switch (select a different choice following an unrewarded choice). When win-switch or lose-stay strategies are applied excessively, and throughout the duration of the task, these behaviors can be indicative of impaired response selection strategies and underlying neurocognitive deficits (Kalhan, S., Magnard, R., Zhang, Z. et al. 2026. Uncertainty and reward histories have distinct effects on decisions after wins and losses. Sci Rep 16, 6795.). For example, excessive win-switching may be a marker of oversampling, heighted sensitivity to sensory input, reduced attention, or overestimation of transition uncertainty.”

As the reviewer points out, a lack of task comprehension is a possible explanation for win-switch or lose-stay behaviors. However, we argue that is unlikely given all human participants complete 6 practice trials following task instructions to minimize this possibility. We address this by adding the following sentence to the PRL Task Methods section (lines 176-177), as follows:

“To ensure comprehension of task instructions and objective, participants complete 6 practice trials prior to advancing to the task start.”

Reviewer B:

The authors further write:

“Conversely, lose-stay behavior (repeating a choice following an unrewarded outcome) becomes perseverative if sustained and may reflect an insensitivity to actual change, perhaps due to reduced learning about stimulus-action-outcome associations [22].“

As shown in Reed at al., Figure 6, none of the 4 parameters presented in the model capture the lose-stay behavior. This implies that the model used likely cannot capture the computational processes underlying lose-stay behavior, such as “reduced learning about stimulus-action-outcome associations“.

Author’s response

We agree that this sentence requires revision, given its context in the introduction, and that our model parameters do not reflect “learning” per say. We have amended lines 82-84 as follows, and added an additional reference:

“Conversely, lose-stay behavior becomes perseverative if sustained and may reflect an insensitivity to actual change or low confidence in one’s choices thereby causing their repetition [24, (Robbins et al., 2019)].”

In response to the reviewer’s comment that the model does not capture the latent processes underlying lose-stay behavior, we acknowledge that prior work in both empirical human data and model-simulated data, using the same PRL paradigm, has shown no significant relationship between lose-stay and paranoia. On the other hand, win-switch behavior has been consistently correlated with paranoia and is a validated marker of belief-volatility linked to paranoia [11,28,33,34,39,40], and hence we center the discussion around excessive switching as opposed to perseverative behavior.

Per the reviewer’s request to clarify the limitations of our study interpretations, we have also added the following to the discussion section (lines 518-525):

“Ultimately, this is not the last word on the explanations of win-switching or lose-staying, and future work will finesse our accounts. For now, we demonstrate that choice behaviors and latent belief-updating processes can distinguish psychiatric-like symptom phenomenology, even when those phenomena are highly correlated.”

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Supplemental Materials.

    Figures S1 to S9 and Tables S1 to S12.

    DOI: 10.5334/cpsy.136.s1

    Articles from Computational Psychiatry are provided here courtesy of Ubiquity Press

    RESOURCES