Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity

Byron M. Yu, John P. Cunningham, Gopal Santhanam, Stephen I. Ryu, Krishna V. Shenoy, Maneesh SahaniNeurIPS 2008

Introduction

In modern neuroscience, researchers can record the simultaneous activity of hundreds of neurons. However, individual neurons act as "noisy sensors." To make sense of this high-dimensional data, researchers often seek to extract a neural trajectory—a smooth, low-dimensional path that represents the underlying state of the neural population over time during a single experimental trial.

Traditionally, extracting these trajectories involves a two-stage process:

  1. Smoothing: Convolving individual discrete spike trains with a kernel (such as a Gaussian) to estimate a continuous "firing rate."
  2. Dimensionality Reduction: Applying techniques like Principal Components Analysis (PCA) to these smoothed rates to find the dominant patterns of activity.

This sequential approach has significant flaws. The degree of smoothing is often chosen arbitrarily, and it assumes all neurons and underlying processes evolve at the same timescale. Furthermore, it fails to account for the fact that some neurons are inherently noisier than others. Because the smoothing and dimensionality reduction steps are independent, they often yield sub-optimal representations of the brain's real-time dynamics.

To address this, researchers have developed Gaussian-process factor analysis (GPFA), a unified probabilistic framework that combines dimensionality reduction and temporal smoothing into a single step.

Methods: The GPFA Framework

GPFA unifies the extraction of neural trajectories using a joint probabilistic model.

  • The Model: Similar to Factor Analysis (FA), GPFA relates the high-dimensional observed neural activity to a low-dimensional latent state through a linear mapping.
  • The Innovation: Instead of treating each time point as independent, GPFA places a Gaussian Process (GP) prior on the latent states. This mathematically enforces that the extracted trajectories remain smooth over time.
  • Joint Optimization: Using the Expectation-Maximization (EM) algorithm, GPFA simultaneously learns the mapping between the low- and high-dimensional spaces and the optimal smoothing timescales for each individual dimension.
  • Orthonormalization: After the model is learned, a post-processing step ensures the latent dimensions are ordered by the amount of data covariance they explain, making the resulting trajectories as interpretable as those produced by PCA.

Experimental Setup

The GPFA method was validated using neural recordings from a rhesus macaque monkey. Researchers recorded 61 single- and multi-units via a 96-electrode array implanted in the primary motor (M1) and dorsal premotor (PMd) cortices. The monkey performed a delayed center-out reaching task, reaching toward targets at different locations after a random delay. The primary analysis focused on 56 trials for a specific reach target to compare GPFA against baseline methods.

Key Results and Insights

To objectively compare GPFA against traditional methods (which use different preprocessing steps), the authors utilized a "leave-neuron-out" prediction metric. This measures how well the model can predict the activity of a held-out neuron based solely on the activity of the remaining population.

Prediction error across different state dimensionalities. GPFA achieves the lowest error, identifying an optimal dimensionality around 10.

GPFA consistently achieved lower prediction errors than two-stage methods (like PCA or FA combined with Gaussian smoothing) and first-order Auto-Regressive (AR) models.

Crucially, the model revealed that the neural activity during the reaching task lived in a roughly 10-dimensional space. As shown in the prediction error analysis, removing the "noisiest" dimensions beyond 10 actually improved the model's predictive power, indicating that higher dimensions were capturing trial-specific noise rather than meaningful population dynamics.

Extracted latent trajectories across 15 dimensions. The first several dimensions capture structured task-related dynamics, while higher dimensions primarily capture noise.

GPFA also highlighted several critical insights about neural dynamics:

  • Multiple Timescales: Unlike standard smoothing, GPFA learns that different components of neural activity evolve at different speeds. While two-stage methods often optimized around a ~40ms smoothing kernel, GPFA learned timescales that were frequently much longer (>100ms), suggesting traditional methods may over- or under-smooth different parts of the signal simultaneously.
  • Noise Modeling: By incorporating a Factor Analysis-style noise model, GPFA recognizes that some neurons provide more reliable information than others. This prevents "loud" but noisy neurons from dominating the extracted trajectory.

Limitations and Future Directions

While GPFA represents a significant step forward, it has limitations. It assumes that square-rooted spike counts follow a Gaussian distribution, which is an approximation of the true discrete, point-process nature of neural spiking. Additionally, the mapping between the latent trajectory and the observed neurons is linear, whereas the brain likely operates on non-linear manifolds. Finally, the current GP kernels assume stationarity—meaning the statistics of the noise and smoothing are constant throughout the trial—which may not hold true during rapid transitions, such as moving from motor planning to execution.

Future extensions of GPFA could incorporate non-linear manifolds, non-stationary kernels, and point-process likelihood models to capture the nuances of spiking data even more accurately.

Summary updated

BibTeX
@inproceedings{yu2008gaussian,
  author = {Byron M. Yu and John P. Cunningham and Gopal Santhanam and Stephen I. Ryu and Krishna V. Shenoy and Maneesh Sahani},
  title = {{Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2008},
  url = {https://openreview.net/forum?id=H1WDMu-d-H},
}
Figure