Introduction
Humans often see patterns in random data, responding faster to repetitions or alternations even when they know a sequence is random. In psychology experiments, human subjects consistently show these "sequential effects": they react faster and more accurately when a stimulus follows a local pattern (like a string of repetitions, AAAAA) and slower when that pattern is broken (AAAAB). This happens even in randomized experiments where the previous trials have zero predictive power.
Traditionally, this has been viewed as a cognitive flaw or "superstition." This paper tackles a fundamental question: Is the brain just bad at statistics, or is it using a sophisticated strategy designed for the real world—where "rules" actually do change over time—and mistakenly applying it to a static laboratory setting? The authors argue that these sequential effects are not irrational superstitions but are actually the result of a rational Bayesian brain optimized for a world that is constantly changing (non-stationary).
Methods
The authors compare two mathematical models of how a brain might track probabilities:
- Fixed Belief Model (FBM): Assumes the underlying probability of an event is constant. As more data is gathered, the model becomes more certain and less influenced by recent "flukes."
- Dynamic Belief Model (DBM): Assumes the world is non-stationary—that the "rules" can change at any moment. This model uses a Bayesian framework to constantly update its expectations, giving more weight to recent observations.
The researchers demonstrate that the complex Bayesian math of the DBM can be simplified into a linear-exponential filter (also known as "leaky integration"). This is a biologically plausible mechanism where a neuron’s activity is a weighted sum of past inputs that decays over time. Finally, they show that the parameters of this filter (like how fast it "leaks") can be learned through stochastic gradient descent, a common method in machine learning.
The study uses reaction time (RT) and error rate data from a 2-alternative forced choice (2AFC) task, where subjects had to discriminate between a small "o" and a large "O." The authors also generated synthetic sequences of random binary data to test how the FBM and DBM models evolve over thousands of trials compared to human performance.
Key Insights and Ideas
- The Rationality of "Superstition": In the natural world, things rarely stay the same forever. A strategy that ignores the distant past to focus on the recent "now" is actually more robust for survival than one that assumes a static environment.
- The Persistence of Patterns: The FBM predicts that sequential effects should disappear as a subject realizes the task is random. However, human data shows these effects persist indefinitely. The DBM explains this: because the model expects change, it never stops looking for new local patterns.
- Neural Plausibility: One of the most striking insights is the mathematical bridge the authors build. They show that a high-level Bayesian inference process (DBM) is functionally equivalent to a low-level "leaky integrator" neuron. This suggests the brain doesn't need to "do math"; its basic physics already implements the optimal statistics.
- The "2/3 Rule": The authors derived a specific relationship showing that the optimal decay rate ($\beta$) for a neural filter is approximately two-thirds of the assumed rate of change in the world ($\alpha$).
Key Results
- Model Fit: The DBM provided a near-perfect fit for human reaction time data, whereas the FBM failed to account for why sequential effects don't fade over time. The behavioral data showed that sequential effects remained stable between the first and second halves of the experiment, a feature captured by the DBM but not the FBM.
- Reverse-Engineering the Brain: By fitting the model to human data, the authors "reverse-engineered" the subjects' internal assumptions. They found that humans act as if the world's rules change roughly every four trials ($\alpha \approx 0.77$).
- Learning Without Probabilities: The authors proved that a simple neural network could "tune" itself to the correct rate of environmental change using only noisy feedback, without ever needing to explicitly represent complex probability distributions.
Limitations and Future Work
- Simplified Environments: The study focuses on simple binary choices (A or B). Real-world environments are much more complex, and it remains to be seen how well this "leaky integration" scales to multi-dimensional problems.
- The Origin of $\alpha$: While the model shows that humans assume a specific rate of change ($\alpha \approx 0.77$), it doesn't explain why that specific value is so common across subjects.
- Neural Implementation: While the math aligns with leaky integration, the paper is a "proof of concept." Future work is needed to identify the specific neural circuits that perform the stochastic gradient descent required to tune these filters.
Summary updated