Abstract
Modern neuroscience recordings capture the activity of thousands of neurons, presenting a significant challenge for neural decoding due to the "curse of dimensionality" and complex noise correlations. We introduce the Gaussian Process Multiclass Decoder (GPMD), a framework that combines Gaussian Process (GP) priors with multinomial logistic regression. GPMD achieves state-of-the-art accuracy by enforcing smoothness across continuous stimulus spaces and automatically pruning uninformative neurons through Automatic Relevance Determination (ARD). Benchmarked on large-scale datasets from macaques, ferrets, and mice, GPMD scales linearly with population size, processing over 20,000 neurons in minutes while significantly outperforming correlation-blind decoders.
Introduction
A central goal in modern neuroscience is "neural decoding"—predicting an animal's sensory experience or behavior from high-dimensional neural activity. However, datasets produced by modern calcium imaging or high-density electrodes, often comprising thousands of neurons, face two major hurdles:
- The Curse of Dimensionality: When the number of features (neurons) exceeds the number of experimental trials, models risk overfitting, memorizing noise rather than learning generalizable patterns.
- Noise Correlations: Neurons exhibit trial-to-trial fluctuations that are often correlated. Decoders that ignore these "noise correlations" (correlation-blind) typically underperform compared to "correlation-aware" models.
Existing correlation-aware decoders often fail to scale computationally to massive datasets. The GPMD seeks a "goldilocks" solution: a decoder that is statistically robust, correlation-aware, and computationally efficient.
Methods
The GPMD treats decoding as a multiclass classification problem, integrating several key components to handle large-scale data:
- Gaussian Process (GP) Priors: To combat overfitting, GPMD uses GP priors to enforce smoothness. For continuous stimuli like grating orientation, the weights for similar angles (e.g., 10° and 11°) are constrained to be similar.
- Automatic Relevance Determination (ARD): The model includes hyperparameters that control the contribution of each neuron. During training, GPMD automatically "prunes" uninformative or noisy neurons by shrinking their weights to zero, removing the need for manual data preprocessing.
- Variational Inference & Spectral Scaling: To achieve linear scaling with the number of neurons, the authors utilized variational inference combined with a Fourier-domain (spectral) representation of the weights. This allows the model to process populations of over 20,000 neurons orders of magnitude faster than traditional regularized regression.
Results and Datasets
The model was evaluated on primary visual cortex (V1) recordings across three species: Macaque monkeys (~150 neurons, electrophysiology), Ferrets (~800 neurons, calcium imaging), and Mice (~11,000 to 20,000 neurons, calcium imaging).
Performance and Efficiency
GPMD achieved state-of-the-art accuracy across all tested datasets, outperforming established methods like GLMNET, SVM-based decoders, and the "super-neuron" decoder. Notably, on the 20,000-neuron mouse dataset, GPMD trained in approximately 2 minutes, compared to over an hour for a performance-tuned GLMNET.
Key Insights
- The Importance of Correlations: The correlation-aware GPMD significantly outperformed its correlation-blind counterparts (GPPID and GPGID), suggesting that noise correlations carry critical information that must be accounted for in optimal readout.
- Robust Regularization: GPMD’s GP prior effectively shields the model from the "double descent" phenomenon, maintaining high performance even when the number of features matches the number of samples.
- Honest Uncertainty: Unlike naive decoders, GPMD produces well-calibrated predictive distributions, demonstrating a hallmark of robust Bayesian modeling by acknowledging uncertainty when appropriate.
Discussion
While GPMD is exceptionally accurate for V1 decoding, its linear assumption (in log-probability space) may need adaptation for higher-order brain areas requiring non-linear boundaries. Interestingly, GPMD often outperforms the animal's own behavioral discrimination limits, suggesting that the bottleneck in behavior lies not in the information available in V1, but in how downstream "biological decoders" utilize it. Future work may incorporate temporal GP kernels to decode information as it evolves millisecond-by-millisecond, moving beyond simple time-window summation.
Summary updated