An Efficient and Flexible Spike Train Model Via Empirical Bayes

Qi She, Xiaoli Wu, Beth Jelfs, Adam S. Charles, Rosa H. M. ChanIEEE TSP 2021

Introduction

Understanding the functional connectivity and dynamics of neural populations is a cornerstone of computational neuroscience. Generalized Linear Models (GLMs) have become a standard tool for this task, yet they often struggle with the inherent noise and brevity of experimental recordings. This paper introduces SODS (Short Over-Dispersed Spike-Trains), a hierarchical Empirical Bayes framework designed to robustly model neural activity from short, noisy datasets. By combining Negative Binomial (NB) distributions with a flexible, learned link function, SODS effectively captures complex spiking behaviors that standard Poisson models fail to resolve.

Problem Statement: Over-dispersion and Sparse Data

Two primary challenges hinder traditional neural modeling:

  1. Over-dispersion: Standard GLMs typically assume a Poisson distribution, where the mean equals the variance. However, real-world neural data frequently exhibits "over-dispersion," where the variance significantly exceeds the mean.
  2. The "Small Data" Problem: Experimental constraints often result in short recording windows. Standard Maximum Likelihood Estimation (MLE) is prone to overfitting or instability when data is sparse.
Statistical properties of the Negative Binomial distribution compared to Poisson, highlighting over-dispersion.

As shown in the figure above, the Negative Binomial distribution provides the necessary flexibility to model variance independently of the mean, a critical requirement for biological realism.

Methodology

The SODS framework employs a hierarchical parametric Empirical Bayes approach to address these challenges.

Negative Binomial Foundation and Hierarchical Prior

Unlike Poisson-based models, SODS utilizes the Negative Binomial distribution, which includes a shape parameter ($r$) to accommodate over-dispersion. To regularize the model for short datasets, a Beta distribution prior is placed on the NB probability parameter. This acts as a "shrinkage" estimator, balancing noisy local observations with the global predictions of the underlying GLM.

While standard GLMs use fixed link functions (e.g., log or logit), SODS introduces a parameterized family of link functions governed by a hyperparameter ($\gamma$). This allows the model to learn the optimal nonlinear mapping between input activity and spiking probability directly from the data, avoiding biases inherent in rigid functional forms.

Probabilistic graphical model of the SODS framework.

Empirical Bayes Inference

To maintain computational efficiency, the authors utilize Maximum Marginal Likelihood rather than expensive MCMC sampling. This provides the regularizing benefits of Bayesian inference—crucial for short recordings—at a fraction of the computational cost, enabling the analysis of large-scale neural populations.

Experimental Evaluation

The model was validated using both synthetic simulations (including Leaky Integrate-and-Fire networks) and experimental recordings from mouse retinal ganglion cells.

  • Predictive Accuracy: In simulations, SODS consistently outperformed Poisson-GLM and standard NB-MLE, particularly as trial counts decreased. On real retinal data, SODS achieved superior predictive log-likelihood for over 90% of the neurons tested.
  • Connectivity Recovery: The model demonstrated robustness in recovering functional connectivity weights (excitatory and inhibitory strengths), even in the presence of missing network nodes.
  • Efficiency and Sparsity: By incorporating elastic-net regularization, SODS successfully identified sparse connectivity matrices, reflecting the biological reality that neurons are typically influenced by a small subset of their neighbors.

Conclusion

SODS represents a significant advancement in neural spike train modeling, offering a balance of statistical flexibility and computational efficiency. Its ability to handle over-dispersion and small sample sizes makes it a promising candidate for real-time applications, such as Brain-Machine Interfaces (BMIs). Future work aims to incorporate time-varying synaptic weights and explicit external stimulus integration to further enhance the model's biological fidelity.

Code Availability: https://doi.org/10.5281/zenodo.4704423

Summary updated

BibTeX
@article{she2021efficient,
  author = {Qi She and Xiaoli Wu and Beth Jelfs and Adam S. Charles and Rosa H. M. Chan},
  title = {{An Efficient and Flexible Spike Train Model Via Empirical Bayes}},
  journal = {IEEE Trans. Signal Process.},
  year = {2021},
  doi = {10.1109/tsp.2021.3076885},
}
Figure