Linear dynamical neural population models through nonlinear embeddings

Yuanjun Gao, Evan W. Archer, Liam Paninski, John P. CunninghamNeurIPS 2016

Introduction

Neuroscientists can now record the activity of hundreds or thousands of neurons simultaneously. To make sense of this massive amount of data, they often look for a few hidden (latent) variables that drive the whole population. Existing methods, such as the Poisson Linear Dynamical System (PLDS), usually assume that a neuron’s firing rate is a simple, linear function of these hidden variables. However, real neurons are highly nonlinear; they might only fire when a hidden variable is within a specific range or follows a complex pattern. If the model is too rigid, it fails to capture the true structure of the data, forcing researchers to use more "hidden dimensions" than necessary.

To address this, researchers introduce fLDS (flexible Linear Dynamical System), a framework that combines the simplicity of linear latent dynamics with the expressive power of nonlinear neural networks. By allowing each neuron to have its own complex, nonlinear "tuning curve" to a shared low-dimensional state, fLDS captures significantly more neural variability and provides more interpretable visualizations than traditional linear models.

Methods: The fLDS Framework

The authors propose fLDS, which retains a Linear Dynamical System (LDS) to describe how the hidden state evolves over time but replaces the standard linear observation model with a nonlinear embedding.

  1. Generative Model: They use a feed-forward neural network to map the low-dimensional latent state to the high-dimensional firing rates of the neural population. This allows each neuron to have a unique, "private" nonlinear response function.
  2. Inference via AEVB: Because nonlinear models are mathematically difficult to solve, they use Auto-Encoding Variational Bayes (AEVB).
  3. Structured Posterior: Standard AEVB often assumes data points are independent. Since neural data is a time series, the authors designed a novel approximate posterior with a block-tridiagonal precision matrix. This specific structure allows the model to efficiently capture temporal correlations without becoming computationally explosive.

Key Results

The model was evaluated on both synthetic and biological data, revealing several key insights:

  • Complexity vs. Dimensionality: A major insight is that nonlinearity in the observation model leads to simplicity in the latent space. By using a neural network to handle the complex individual neuron responses, the underlying hidden trajectories become much cleaner and require fewer dimensions to describe.
  • Grid Cell Simulation: On a simulated dataset where neurons have oscillatory responses to a 1D input, PLDS was unable to recover the true latent variable because it couldn't handle the non-monotonic nature of the neurons. fLDS recovered the latent state with near-perfect accuracy ($R^2 = 0.98$).
fLDS accurately recovers latent states in simulated grid cells, outperforming PLDS.
  • Macaque V1 (Primary Visual Cortex): In experimental data from a macaque watching drifting grating movies, fLDS achieved the same predictive performance with only 3 latent dimensions that a standard PLDS required 10 dimensions to reach. Furthermore, fLDS discovered that the latent trajectories naturally formed a torus (a donut shape), representing the phase of the visual stimulus and the orientation of the grating. Linear models completely missed this elegant structure.
fLDS achieves higher predictive performance with fewer dimensions and reveals a torus topology in V1 data.
  • Macaque Motor Cortex: In a "center-out" reaching task, the 2D latent embeddings from fLDS clearly separated different reaching directions into distinct, ordered trajectories that matched the physical layout of the targets.

Limitations and Future Work

  • Linear Dynamics Constraint: While the mapping to neurons is nonlinear, the evolution of the hidden state over time is still assumed to be linear. Future work could incorporate nonlinear dynamics (e.g., using Gaussian Process priors or Recurrent Neural Networks).
  • Computational Overhead: Training neural networks via AEVB can be more sensitive to hyperparameters and initialization compared to simpler linear methods.
  • Interpretability of the "Black Box": While the latent space is more interpretable, the neural network mapping itself is a "black box." Understanding exactly what features the network is extracting from the latent state remains a challenge.

Summary updated

BibTeX
@inproceedings{gao2016linear,
  author = {Yuanjun Gao and Evan W. Archer and Liam Paninski and John P. Cunningham},
  title = {{Linear dynamical neural population models through nonlinear embeddings}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=HJWUqvb_Wr},
}
Figure