Validation and Comparison of Non-Stationary Cognitive Models: A Diffusion Model Application

Lukas Schumacher, Martin Schnuerch, Andreas Voß, Stefan T. Radev

Abstract

Cognitive processes undergo various fluctuations and transient states across different temporal scales. Superstatistics are emerging as a flexible framework for incorporating such non-stationary dynamics into existing cognitive model classes. In this work, we provide the first experimental validation of superstatistics and formal comparison of four non-stationary diffusion decision models in a specifically designed perceptual decision-making task. Task difficulty and speed-accuracy trade-off were systematically manipulated to induce expected changes in model parameters. To validate our models, we assess whether the inferred parameter trajectories align with the patterns and sequences of the experimental manipulations. To address computational challenges, we present novel deep learning techniques for amortized Bayesian estimation and comparison of models with time-varying parameters. Our findings indicate that transition models incorporating both gradual and abrupt parameter shifts provide the best fit to the empirical data. Moreover, we find that the inferred parameter trajectories closely mirror the sequence of experimental manipulations. Posterior re-simulations further underscore the ability of the models to faithfully reproduce critical data patterns. Accordingly, our results suggest that the inferred non-stationary dynamics may reflect actual changes in the targeted psychological constructs. We argue that our initial experimental validation paves the way for the widespread application of superstatistics in cognitive modeling and beyond.

Introduction: Beyond the Stationary Assumption

Traditional cognitive modeling typically relies on the assumption of stationarity—the idea that the latent parameters governing mental processes remain constant throughout an experimental session. However, human behavior is inherently dynamic. Factors such as fatigue, learning, and sudden lapses in attention cause cognitive states to fluctuate trial-by-trial. While previous research has attempted to account for these dynamics, it often relied on rigid assumptions, such as linear parameter changes, or computationally prohibitive methods that struggle with the complexity of real-world data.

The challenge is twofold: first, how can we efficiently estimate parameters that change at every single trial? Second, how can we validate that these estimated "wiggles" in parameter trajectories represent genuine psychological shifts rather than statistical noise? This paper addresses these challenges by introducing and validating a "superstatistics" framework.

The Superstatistics Framework

The authors propose a hierarchical approach called superstatistics, which decomposes a cognitive model into two distinct layers:

  1. Low-level observation model: A standard 4-parameter Diffusion Decision Model (DDM) describing the decision-making process on a single-trial basis.
  2. High-level transition model: A stochastic process that governs how DDM parameters evolve over time.
Comparison of modeling approaches for trial-by-trial parameter variability, highlighting the flexibility of the superstatistics framework (E) compared to traditional stationary (A), binned (B), regression (C), or frontend-backend (D) methods.

The study compares four transition models to capture different types of dynamics:

  • Gaussian Random Walk: Parameters evolve through gradual, smooth changes.
  • Regime Switching: Parameters remain stable or undergo sudden, discrete jumps.
  • Mixture Random Walk: A hybrid approach combining gradual drift with occasional jumps.
  • Lévy Flight: A flexible process allowing for both small incremental steps and large, sudden "leaps."

To overcome the computational hurdles of Bayesian inference for time-varying parameters, the researchers utilized Amortized Bayesian Inference (ABI) via the BayesFlow library. By training deep neural networks (LSTMs and Transformers) on millions of simulations, they created an inference engine capable of estimating hidden parameter trajectories from behavioral data almost instantaneously.

Experimental Validation and Results

To provide a "ground truth" for validation, the authors conducted an empirical study where 14 participants performed a color discrimination task. Crucially, task difficulty (targeting the "drift rate" parameter) and speed-vs-accuracy instructions (targeting the "threshold" parameter) were systematically manipulated in randomized sequences.

Key Findings

  • Agnostic Recovery: The models were completely "blind" to the experimental design. Despite this, the inferred parameter trajectories accurately recovered the experimental manipulations. The drift rate ($v$) decreased as task difficulty increased, and the threshold ($a$) spiked precisely when participants were instructed to prioritize accuracy.
  • Flexibility and Performance: The Lévy flight and Mixture models significantly outperformed the simple Random Walk. This suggests that human cognition is characterized by a blend of gradual adjustments and abrupt shifts, such as sudden lapses in attention.
  • Practice Effects: Even in blocks with constant difficulty, the models detected a gradual increase in drift rate over time, capturing the subtle signature of participants improving their processing speed through practice.
  • Predictive Power: The models demonstrated high predictive accuracy, successfully forecasting a participant's response time on the next trial based on their historical performance.

Discussion and Future Directions

This research demonstrates that superstatistics, powered by amortized Bayesian inference, offers a robust way to track the "continuous movie" of cognitive states rather than just providing static snapshots. While the framework currently requires significant technical expertise in deep learning and simulation-based inference, it paves the way for more dynamic cognitive assessments.

Future work could explore standardized sequences to identify universal "fatigue curves" or apply this framework to other domains, such as Reinforcement Learning, to observe how learning rates or exploration-exploitation parameters fluctuate during complex tasks. Ultimately, this approach moves cognitive modeling toward a more realistic, high-definition view of the human mind.

Summary updated

BibTeX
@inproceedings{schumacher2024validation,
  author = {Lukas Schumacher and Martin Schnuerch and Andreas Voß and Stefan T. Radev},
  title = {{Validation and Comparison of Non-Stationary Cognitive Models: A Diffusion Model Application}},
  booktitle = {Computational},
  year = {2024},
  doi = {10.1007/s42113-024-00218-4},
}
Figure