Back

Uncovering internal states with a robust shared-state multi-neuron GLM-HMM framework

Lawrence, A.; Yezerets, E.; Janak, P. H.; Charles, A.

2026-07-02 neuroscience
10.64898/2026.06.27.734988 bioRxiv
Show abstract

Neural systems exhibit multiple firing states that reflect an organism's internal state and modulate the relationship between external environmental stimuli and behavior. Several studies have inferred these latent states by supplementing the traditional hidden Markov Model (HMM) with generalized linear models (GLMs) with non-Poisson behavioral observations. However, understanding the relationship between internal brain states and behavior also requires modeling the neural activity. Nonetheless, fitting multi-neuron GLM-HMMs is non-trivial due to high sparsity, collinearity, and low trial counts in neuronal datasets. Therefore, we built a robust multi-neuron GLM-HMM framework that uncovers latent states from population activity while incorporating the influence of time-stamped task variables and spike histories. To obtain reliable model parameters, we employ a modified expectation-maximization procedure. Specifically, we show that incorporating neuron-adaptive penalization in the maximization step overcomes the covariate co-linearity issues typical of time-stamped events and sparse spiking, yielding stable estimates of Poisson GLM coefficients. Furthermore, we incorporate a trust-region algorithm to ensure stable M-step convergence in the presence of ill-conditioned Hessians that can lead to unstable Newton-Raphson updates. We further demonstrate the utility of leave-one-out cross-validation analysis for evaluating model performance on datasets with low trial counts and without breaking their temporal structure. We evaluate our framework on three electrophysiological datasets from primates and rodents as they perform a decision-making task, demonstrate stable model convergence, and discuss the behavioral relevance of the inferred states.

Matching journals

The top 7 journals account for 50% of the predicted probability mass.

1
PLOS Computational Biology
1863 papers in training set
Top 0.9%
22.4%
2
Neuron
337 papers in training set
Top 1%
6.3%
3
eLife
5828 papers in training set
Top 21%
5.5%
4
Journal of Neural Engineering
221 papers in training set
Top 0.6%
5.5%
5
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 8%
5.5%
6
Nature Communications
5641 papers in training set
Top 31%
4.3%
7
Communications Biology
993 papers in training set
Top 3%
4.1%
50% of probability mass above
8
Scientific Reports
3612 papers in training set
Top 30%
3.4%
9
Nature Machine Intelligence
70 papers in training set
Top 0.8%
3.2%
10
PLOS ONE
5266 papers in training set
Top 37%
3.2%
11
Nature Neuroscience
252 papers in training set
Top 2%
2.8%
12
Nature Computational Science
55 papers in training set
Top 0.3%
2.4%
13
Neural Computation
39 papers in training set
Top 0.4%
2.0%
14
Biophysical Journal
631 papers in training set
Top 3%
1.9%
15
eneuro
439 papers in training set
Top 5%
1.7%
16
Frontiers in Computational Neuroscience
60 papers in training set
Top 0.8%
1.3%
17
Journal of Neurophysiology
302 papers in training set
Top 3%
1.1%
18
Imaging Neuroscience
282 papers in training set
Top 3%
1.1%
19
Cell Reports
1498 papers in training set
Top 23%
1.1%
20
Network Neuroscience
126 papers in training set
Top 1%
1.0%
21
The Annals of Applied Statistics
19 papers in training set
Top 0.2%
0.8%
22
iScience
1154 papers in training set
Top 34%
0.8%
23
NeuroImage
903 papers in training set
Top 6%
0.8%
24
Science Advances
1243 papers in training set
Top 30%
0.8%
25
Neuroscience Research
16 papers in training set
Top 0.2%
0.6%
26
Neural Networks
35 papers in training set
Top 0.7%
0.6%
27
Journal of Neuroscience Methods
122 papers in training set
Top 2%
0.6%
28
Cerebral Cortex
396 papers in training set
Top 5%
0.6%