bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.06.27.734988

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

Abstract

Neural systems exhibit multiple firing states that reflect an organisms 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. Author SummaryNeural systems evolve over time: not only do the individual neurons influence each other across the network, but the network and interconnections themselves change as an animal enters different behaviors (e.g., attentive vs. disengaged) or states (e.g., hungry or tired). Analyzing the neural activity that guides behavior thus must incorporate the time-varying nature of the brain. Recent modeling work has extended the popular Generalized Linear Model, a model that can connect task and behavior to recorded neural action potentials, to incorporate a latent Hidden Markov Model. This extension allows the resulting GLM-HMM to exhibit several different relationships (different GLMs) that are switched between over time to account for the animals changing patterns. While GLM-HMMs have been applied extensively on behavioral data (e.g., task choice in a decision making paradigm), neural data is much more difficult due to the smaller sample sizes, sparser activity, and larger parameter space. Our work presents a new fitting approach and best practices to robustly fit GLM-HMMs to neural data. We demonstrate through numerous applications to a variety of neural datasets that by robustly fitting GLM-HMMs to data, we can identify important features of neural activity that let us better understand its relationship to behavior.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lawrence, A., Yezerets, E., Janak, P. H., Charles, A.. 2026-07-02. Uncovering internal states with a robust shared-state multi-neuron GLM-HMM framework. https://doi.org/10.64898/2026.06.27.734988

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Different hippocampal subfield volumes predict source memory performance and general cognitive ability in an adult lifespan sample

Modest positive associations between episodic memory performance and whole hippocampal and hippocampal subfield volumes have been reported in numerous prior studies. A smaller number of studies have reported associations between hippocampal volume and performance on tests of non-mnemonic cognition. The present study examined whether these associations were evident in a lifespan sample of cognitively healthy adults. Of particular interest was whether any identified associations were sensitive to age, and whether associations between subfield volumes and mnemonic and non-mnemonic performance were subfield dependent. We acquired high-resolution T1- and T2-weighted structural images from 163 adults (18-87 years of age). Participants also undertook a comprehensive neuropsychological test battery and an in-scanner test of source memory. Principal components analysis was employed to reduce the neuropsychological test scores to 5 cognitive components. Two components reflected memory performance while the other three reflected different aspects of non-mnemonic cognition. Hippocampal subfields (Cornu Ammonis (CA)1, CA2-3, dentate gyrus (DG) and subiculum) were segmented and measured with the Automated Segmentation of Hippocampus Subfields (ASHS) package. Source memory performance was selectively associated across participants with CA2-3 volume. By contrast, both mnemonic and non-mnemonic component scores derived from the test battery were associated exclusively with the volume of the DG. All associations were age-invariant. The findings indicate that different cognitive domains can be dissociated by virtue of their associations with different hippocampal subfields. Of importance, these associations appear to be life-long and hence are unlikely to reflect individual differences in age-related decline in structural integrity.

neuroscience↗

Cell type specific astrocytic feedback regulates excitation inhibition balance and cortical network dynamics

Astrocytes actively regulate synaptic transmission and neuronal excitability, yet their role in orchestrating macroscopic cortical network regimes and slow-wave oscillations remains an active area of reasearch. This study investigates how bidirectional neuron astrocyte interactions shape emergent population dynamics using a computational network model of excitatory and inhibitory neurons coupled to an astrocyte. The results identify astrocytic feedback topology, rather than astrocytic coupling strength alone, as a key determinant of emergent cortical network dynamics. By systematically dissecting pathway-specific connectivity, it has been shown that the neuronal population driving astrocytic activation and the neuronal population receiving gliotransmission jointly determine whether the network occupies asynchronous irregular (AI), synchronous irregular (SI), synchronous regular(SR), asynchronous regular(AR) or quiescent regimes.Directing gliotransmission selectively onto excitatory neurons consistently promotes population synchrony regardless of the population influencing astrocytic dynamics, whereas selective modulation of inhibitory interneurons induces network quiescence via strong suppression. Under dual-target gliotransmission, network synchrony is dictated by the population driving astrocytic dynamics: excitatory-only drive promotes synchrony, while combined or inhibitory-specific drive preserves asynchronous states. Furthermore, the model reveals that astrocytic signaling kinetics provide an additional temporal control mechanism that regulates the frequency and persistence of self sustained up states.

neuroscience↗

VCP inhibition prevents cone photoreceptor degeneration in the cpfl1 mouse model of achromatopsia

Achromatopsia (ACHM) is a rare autosomal recessive retinal disorder characterized by absent cone photoreceptor function from early life, leading to severe visual impairment. Mutations in genes involved in the cone phototransduction cascade frequently result in elevated cyclic guanosine monophosphate (cGMP) levels and activation of stress pathways, including endoplasmic reticulum (ER) stress and the unfolded protein response. Targeting common downstream mechanisms rather than individual mutations may provide a broadly applicable therapeutic strategy. Here, we investigated whether pharmacological inhibition of valosin-containing protein (VCP), a key regulator of ER and protein homeostasis, can prevent cone degeneration in the spontaneous cone photoreceptor function loss 1 (cpfl1) mouse model of ACHM. Organotypic culture of retinal explants from cpfl1 mice were treated with the selective VCP inhibitor ML240. Cone survival, cell death, opsin expression and localization were assessed by TUNEL assay, immunohistochemistry, and quantitative image analysis. ML240 treatment significantly increased cone density and improved cone opsin expression and trafficking to the outer segments (OSs) in cpfl1 explants compared to controls. Importantly, rhodopsin trafficking in rod photoreceptors was unaffected, indicating that VCP inhibition did not impair normal rod phototransduction. These findings demonstrate that VCP inhibition by ML240 effectively preserves cone photoreceptors and improves cone-specific functional markers in the cpfl1 model. Targeting VCP may represent a mutation-independent therapeutic strategy for preventing cone death in ACHM.

neuroscience↗