Introduction
In 2012, Samuel Gershman and Yael Niv introduced a computational "latent cause" model to explain classical conditioning, positing that animals perform Bayesian inference to identify hidden states of their environment. This erratum addresses a critical mathematical error in the original particle filter implementation and corrects several simulation mismatches that previously led to inaccurate conclusions about experimental data.
The Latent Cause Model and the Particle Filter Correction
The core framework uses a Latent Cause Model with a Chinese Restaurant Process (CRP) prior to determine the distribution of latent causes. To approximate the animal's internal beliefs, the authors employed a Particle Filter.
The original implementation contained a significant error in the importance weighting of the particles. In the corrected version, the approximate posterior is a weighted sum of delta functions. The importance weights ($w^{(l)}$) are now correctly calculated as proportional to the likelihood of the observations given the latent cause sequence ($P(F_{1:t} | c_{1:t}^{(l)})$) and normalized to sum to 1. This fix ensures that the model's approximation of Bayesian inference is mathematically sound.
Revised Experimental Simulations
The authors re-evaluated several classic behavioral paradigms using the corrected code and aligned simulation protocols with actual experimental procedures.
Imperfect Predictors
In the "imperfect predictor" paradigm (Wilson, Boumphrey, & Pearce, 1992), the corrected simulation now aligns with experimental findings. As shown in Figure 3, Group E (where a tone is omitted on non-reinforced trials) exhibits greater responding than Group C. This behavior emerges because the model assigns test trials to a specific latent cause with higher probability in the corrected implementation.
Conditioned Inhibition
The original paper's simulations of conditioned inhibition did not accurately reflect experimental protocols. Upon correction, the model produces a different result: while reinforcement of the inhibitor ($X+$) leads to the highest response, the control condition now shows higher responding than the extinction of the inhibitor ($X-$).
Discussion and Limitations
A key conceptual realization from this update is the Binary Reward Constraint. The current latent cause model treats rewards as binary (present or absent). Consequently, it cannot simulate scalar changes in reward magnitude, such as those found in the Hall-Pearce effect. Previous attempts to model such effects were conceptually flawed due to this limitation.
While the correction changes some previous conclusions, it provides a more robust and mathematically accurate foundation for future research in computational psychiatry and reinforcement learning. The authors have released the corrected code to the community to ensure transparency and reproducibility.
Summary updated