Introduction
Neural activity is notoriously "non-stationary"—it changes rapidly based on external stimuli, behaviors, or internal cognitive states. To make sense of this complex activity, neuroscientists frequently use Hidden Markov Models (HMMs) to segment continuous spike trains into "quasi-stationary" states, which are periods where the statistical properties of neural firing remain relatively stable.
However, most existing HMM applications in neuroscience rely on a critical, often flawed assumption: that neurons fire independently of one another given a specific state. In reality, neurons frequently communicate through synchronized firing or complex correlations. These correlations can shift dramatically even when individual firing rates remain constant. Standard independent models are effectively "blind" to these correlation-based state transitions. Furthermore, determining the correct number of hidden states and the complexity of these correlations without overfitting the data presents a significant mathematical challenge.
The Correlated Poisson HMM Framework
To address these limitations, researchers have developed the Correlated Poisson HMM (CP-HMM). This novel framework segments neural activity based on both firing rates and the correlations between neurons.
The CP-HMM introduces several key technical innovations:
- Multivariate Poisson Distribution: Unlike standard Poisson models, the CP-HMM incorporates auxiliary variables to represent correlations between pairs or groups of neurons. It can account for second-order (pairwise) and even higher-order (e.g., three neurons firing synchronously) correlations.
- Variational Bayes (VB) Inference: Standard Maximum Likelihood estimation often leads to overfitting, especially with complex correlation parameters. The authors instead formulated a Variational Bayes approach, allowing the model to approximate the true posterior distribution of both the parameters and the hidden states.
- Automatic Model Selection: The VB framework calculates "variational free energy," which acts as a built-in Bayesian Occam's Razor. This metric automatically determines the optimal number of hidden states and the necessary level of correlation complexity (e.g., deciding if the data requires a 3rd-order correlation term or just independent rates), penalizing overly complex models that fit to noise.
- Efficient Recurrence Algorithm: Because calculating multivariate Poisson probabilities is computationally expensive, the authors implemented an efficient algorithm using recursive relationships, making the inference practical for real-world datasets.
Experimental Validation
Synthetic Data
To prove that traditional models fail where the CP-HMM succeeds, the researchers first tested the framework on a simulated 3-neuron system. In this synthetic dataset, different states had identical average firing rates but distinct third-order correlations.
The CP-HMM successfully recovered the "true" model structure from this synthetic data, whereas an Independent Poisson HMM (IP-HMM) could not distinguish the states. The model accurately tracked the hidden state transitions over time, recovered the underlying parameters defining those states, and utilized the variational free energy to correctly identify that the optimal model required exactly 3 hidden states and 3rd-order correlations.
Real-World Application: Songbird HVC Data
The researchers also applied the CP-HMM to real-world spike trains recorded from the High Vocal Center (HVC) of an anesthetized Bengalese finch. They analyzed neural responses to the bird’s own song (BOS), the reversed song (REV), and silent periods.
The model revealed that neurons in anesthetized animals simultaneously transition between high-firing and low-firing states—a phenomenon of state-dependent synchrony better captured by the correlated model than by assuming independence. On the reversed song (REV) dataset, the CP-HMM achieved a higher log-likelihood on test data (-229.143) compared to the independent model (-230.353), proving it better captures the underlying biological reality. Interestingly, the model found that while the reversed song required a correlated model, the bird's own song was well-described by an independent model, suggesting that different stimuli evoke different levels of neural coordination.
Limitations and Future Directions
While the CP-HMM represents a significant step forward in neural state modeling, it has current limitations. The multivariate Poisson framework is presently restricted to capturing positive correlations (neurons firing together) and cannot model negative correlations (where one neuron's firing inhibits another's). Additionally, despite the efficient recurrence algorithm, multivariate Poisson distributions still face a "curse of dimensionality" as the number of recorded neurons scales up.
Future work may extend this model by using a mixture of multivariate Poisson distributions, which could potentially incorporate negative correlations and capture an even broader range of complex neural dynamics.
Summary updated