Habituation as optimal filtering

Samuel J. Gershman

TL;DR

This paper reframes habituation—the universal biological tendency to stop responding to repetitive stimuli—not as simple fatigue, but as a mathematically optimal "filtering" problem. By using Gaussian Processes to model how an organism tracks uncertain threats, the author demonstrates that complex behavioral patterns (like spontaneous recovery and stimulus specificity) emerge naturally from the logic of Bayesian inference.

What Problem Does This Paper Address?

Habituation is arguably the most ancient form of learning, observed in everything from single-celled protozoa to sensitive plants (Mimosa) and humans. While we have many models describing the mechanisms (neurons, synapses, or psychological "comparators"), we lack a formal "normative" theory: What is the underlying logic of habituation?

The author argues that habituation is an inference problem. An organism must decide if a sensory signal represents a genuine threat or just background noise. Responding to every stimulus (like a plant closing its leaves) is costly because it interrupts vital activities like photosynthesis or feeding. The challenge is that signals are noisy and ambiguous. The paper seeks to provide a unified mathematical framework that explains the ten "canonical" characteristics of habituation—such as why we get used to things faster if they happen more often, or why a novel stimulus suddenly "wakes us up" (dishabituation).

Methods

The author develops a Bayesian Optimal Filtering model.

  1. Latent State Tracking: The organism assumes there is a "true" state of the environment (e.g., the level of danger) that varies over time. It can’t see this state directly; it only receives noisy sensory signals.
  2. Gaussian Processes (GP): The model uses a GP to represent the organism's beliefs. This allows the model to handle time-varying data and define how "smooth" the environment is (how much a signal now tells you about a signal a minute from now).
  3. The Decision Rule: The organism’s response (like a flinch or a contraction) is modeled as the exceedance probability. Specifically, the response strength is the probability that the inferred "true" state is currently above a specific "danger" or "salience" threshold ($\psi$).
  4. Closed-Form Inference: Because the model assumes Gaussian noise and a Gaussian process prior, the "learning" happens via standard Bayesian updates that calculate a posterior mean (the best guess of the state) and variance (the uncertainty).

Datasets

The paper does not use a new empirical dataset. Instead, it uses computational simulations to replicate classic experimental findings from decades of biological and psychological research. It specifically targets the "Box 1" list of 10 major characteristics of habituation, which serves as the gold-standard benchmark in the field (originally compiled by Rankin et al., 2009).

Key Insights and Ideas

  • Uncertainty as a Gain Knob: The most profound insight is that habituation isn't just about the "average" signal dropping. It’s about uncertainty. As a stimulus repeats, the organism's uncertainty (variance) about that signal shrinks. This "sharpens" the filter, making the organism more confident that the signal is below the danger threshold.
  • The Tug-of-War (Habituation vs. Sensitization): The model explains why the same stimulus can sometimes cause habituation (decreased response) and other times sensitization (increased response). If the signal is below the threshold, the mean drops (habituation). If it's above the threshold, the shrinking variance actually increases the probability that the state exceeds the threshold, leading to a stronger response.
  • "Below-Zero" Effects: Even after an organism stops responding, it keeps learning. The model shows that continued stimulation further reduces variance. This explains why "over-habituated" subjects take much longer to recover—their uncertainty is so low that it takes more "silence" to drift back to a state of high alert.
  • Generalization via Covariance: Stimulus specificity (getting used to a 1kHz tone but still responding to a 2kHz tone) emerges naturally from the GP's covariance function. If two stimuli are "far apart" in the model's internal space, the learning from one doesn't bleed into the other.

Key Results

  • Unified Explanation: The model successfully replicates nearly all 10 major characteristics of habituation using a single, simple mathematical process.
  • Frequency Sensitivity: The model correctly predicts that higher-frequency stimulation leads to faster habituation because it drives down posterior uncertainty more aggressively.
  • Potentiation: It explains "rehabituation"—why we get used to a stimulus faster the second time around. Even if the response has recovered to baseline, the "latent" uncertainty remains lower than it was originally, allowing for faster subsequent filtering.
  • Dishabituation: The model shows that presenting a strong novel stimulus "pulls" the posterior mean of the familiar stimulus back toward the threshold, effectively "resetting" the habituated response.

Limitations and Future Work

  • Single Timescale: The current model uses a single "length-scale" ($\lambda$) for memory. In reality, organisms often show both short-term and long-term habituation. The author suggests a multi-scale GP could address this.
  • Fixed Parameters: The model assumes the organism has a fixed "danger threshold" ($\psi$) and noise level ($\alpha$). A more complex model might allow the organism to learn these parameters over time.
  • Biological Mapping: While the model is "normative" (explaining the why), it doesn't specify exactly how neurons implement these equations. However, the author notes that a Kalman Filter is a likely biological candidate for implementing this type of optimal filtering in real-time.

Summary updated

BibTeX
@inproceedings{gershman2024habituation,
  author = {Samuel J. Gershman},
  title = {{Habituation as optimal filtering}},
  booktitle = {iScience},
  year = {2024},
  doi = {10.1016/j.isci.2024.110523},
}

Loading related content...

Figure