Hierarchical Semi-Markov Smooth Models of Latent Neural States
Abstract
Hidden (semi-) Markov Models (HsMMs) are increasingly being used to segment neurophysiological signals into sequences of latent cognitive processes. The idea: different processes will leave distinct traces in trial-level recordings of (multivariate) neuro-physiological signals. Markov models, equipped with an emission model of these traces and a latent process model describing the progression through the different latent processes involved in a task, can then be used to infer the most likely process for any time-point and trial. However, the currently used HsMMs remain limited in two important ways. First, they cannot account for subject-level heterogeneity in the latent and emission process. Instead, a single group-level model is assumed to explain the entire data. Second, they cannot account for the potentially non-linear effects of experimental covariates on the latent and emission process. To address these problems, we present a modeling framework in which the HsMM parameters of the emission and latent process are replaced with mixed additive models, including smooth functions of experimental covariates and random effects. We derive all necessary quantities for empirical Bayes and fully Bayesian inference for all parameters and provide a Python implementation of all estimation algorithms. To demonstrate the advantages offered by this framework, we apply such a multi-level model to an existing lexical decision dataset. We show that, even in such a simple task, not all subjects rely on the same processes equally and that at least two semi-Markov states, previously believed to reflect distinct processes, might actually relate to the same cognitive process.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- 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
- The discrete logic of the Brain - Explicit modelling of Brain State durations in EEG and MEG
Nelson J. Trujillo‐Barreto, David Araya, Wael El‐Deredy·bioRxiv·May 10, 2019
- A sticky Poisson Hidden Markov Model for solving the problem of over-segmentation and rapid state switching in cortical datasets
Tianshu Li, Giancarlo La Camera·PLoS ONEPeer-reviewed·Jul 1, 2025
- Bayesian multilevel hidden Markov models identify stable state dynamics in longitudinal recordings from macaque primary motor cortex
Sebastien Kirchherr, Sebastian Mildiner Moraga, … James John Bonaiuto·European Journal of NeurosciencePeer-reviewed·Jun 29, 2023
- HSSM: A Widely Applicable Toolbox for Hierarchical Bayesian Neuro-cognitive Modeling
Alexander Fengler, Yang Xu, … Michael J. Frank·bioRxiv·Jun 9, 2026
- Dissecting unsupervised learning through hidden Markov modelling in electrophysiological data
Laura Masaracchia, Felipe Fredes, … Diego Vidaurre·Journal of NeurophysiologyPeer-reviewed·Jul 5, 2023
- Uncovering internal states with a robust shared-state multi-neuron GLM-HMM framework
Aamna Lawrence, Eva Yezerets, … Adam S. Charles·bioRxiv·Jul 2, 2026