Journal of Neural EngineeringNeurosciencePeer-reviewed journal article
A Machine Learning Approach for Real-time Cortical State Estimation
David A WeissiD, Adriano MF BorsaiD, Aurélie PalaiD, Audrey SederbergiD, Garrett B. StanleyiD
Abstract
ObjectiveCortical function is under constant modulation by internally-driven, latent variables that regulate excitability, collectively known as "cortical state". Despite a vast literature in this area, the estimation of cortical state remains relatively ad hoc, and not amenable to real-time implementation. Here, we implement robust, data-driven, and fast algorithms that address several technical challenges for online cortical state estimation. ApproachWe use unsupervised Gaussian Mixture Models (GMMs) to identify discrete, emergent clusters in spontaneous local field potential (LFP) signals in cortex. We then extend our approach to a temporally-informed Hidden semi-Markov Model (HSMM) with Gaussian observations to better model and infer cortical state transitions. Finally, we implement our HSMM cortical state inference algorithms in a real-time system, evaluating their performance in emulation experiments. Main resultsUnsupervised clustering approaches reveal emergent state-like structure in spontaneous electrophysiological data that recapitulate arousal-related cortical states as indexed by behavioral indicators. HSMMs enable cortical state inferences in a real-time context by modeling the temporal dynamics of cortical state switching. Using HSMMs provides robustness to state estimates arising from noisy, sequential electrophysiological data. SignificanceTo our knowledge, this work represents the first implementation of a real-time software tool for continuously decoding cortical states with high temporal resolution (40 ms). The software tools that we provide can facilitate our understanding of how cortical states dynamically modulate cortical function on a moment-by-moment basis and provide a basis for state-aware brain machine interfaces across health and disease.
- Citations
- 3
- FWCI
- 0.73
- Field percentile
- top 37%
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
- A State Space Modeling Approach to Real-Time Phase Estimation
Anirudh Wodeyar, Mark Schatza, … Mark Kramer·eLifePeer-reviewed·Sep 27, 2021
- RealtimeDecoder: A fast software module for online clusterless decoding
Joshua P. Chu, Michael E. Coulter, … Loren M. Frank·eNeuroPeer-reviewed·Nov 20, 2025
- Switching state-space modeling of neural signal dynamics
Mingjian He, Proloy Das, … Patrick L. Purdon·PLoS Computational BiologyPeer-reviewed·Aug 28, 2023
- Unsupervised Learning of Brain State Dynamics during Emotion Imagery using High-Density EEG
Sheng-Hsiou Hsu, Yayu Lin, … Scott Makeig·bioRxiv·Oct 29, 2020