HSSM: A Widely Applicable Toolbox for Hierarchical Bayesian Neuro-cognitive Modeling
Alexander FengleriD, Yang XuiD, Krishn BeraiD, Carlos Paniagua, Aisulu OmariD, Michael J. FrankiD
Abstract
Computational models are central to cognitive neuroscience, but their rigorous application to experimental datasets is often constrained to a narrow set of canonical models that afford tractable analytical computations. We introduce the HSSM (Hierarchical Sequential Sampling Model) ecosystem, a Python toolbox that democratizes access to a broad, extensible array of neurocognitive process models through hierarchical Bayesian inference. Naturally leveraging simulation-based inference via likelihood surrogates, HSSM enables fast parameter estimation for models lacking closed-form likelihoods. Built atop PyMC and Bambi, HSSM provides a user-friendly formula syntax for specifying hierarchical mixed-effects regressions on model parameters, incorporating trial-by-trial neural or physiological covariates. The ecosystem allows fast model simulation and training data generation, as well as the neural network training utilities to deploy surrogate likelihood networks via HuggingFace. Contributions are designed to benefit not only the single researcher working on a problem, but organically, the entire research community. Together, the tools in the HSSM ecosystem bridge the interests of computational theorists as well as experimentalists, accelerating the cycle from model development to rigorous empirical testing.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Beyond Drift Diffusion Models: Fitting a broad class of decision and RL models with HDDM
Alexander Fengler, Krishn Bera, … Michael J. Frank·bioRxiv·Jun 19, 2022
- Hierarchical Semi-Markov Smooth Models of Latent Neural States
Joshua Krause, Jacolien van Rij, Jelmer P. Borst·bioRxiv·Apr 20, 2026
- Hierarchical Bayesian inference for concurrent model fitting and comparison for group studies
Payam Piray, Amir Dezfouli, … Nathaniel D. Daw·PLoS Computational BiologyPeer-reviewed·Jun 18, 2019
- Likelihood Approximation Networks (LANs) for Fast Inference of Simulation Models in Cognitive Neuroscience
Alexander Fengler, Lakshmi Narasimhan Govindarajan, … Michael J. Frank·eLifePeer-reviewed·Apr 6, 2021
- Augmenting the Bayesian Brain with learned and reusable world-model components for flexible cognition
Charles Findling, Junseok K. Lee, … Valentin Wyart·bioRxiv·May 8, 2026
- Flexible and efficient simulation-based inference for models of decision-making
Jan Boelts, Jan-Matthis Lueckmann, … Jakob H. Macke·eLifePeer-reviewed·Jul 27, 2022