Abstract
Neural datasets often contain measurements of activity across multiple trials of a repeated stimulus or behavior. A central problem in analyzing such data is separating systematic "signal" activity from trial-to-trial "noise" fluctuations. We propose Signal-Noise Poisson-spiking Gaussian Process Factor Analysis (SNP-GPFA), a flexible latent variable model designed to resolve these distinct structures in neural population spiking activity. By introducing a Fourier-domain black box variational inference method, we achieve significant computational speedups. Our results demonstrate that noise fluctuations often reside in a subspace orthogonal to signal activity, suggesting they do not interfere with stimulus representation. Furthermore, we show that shared noise across brain regions better explains multi-region data than independent models.
Introduction: The Signal vs. Noise Dilemma
When neuroscientists record from hundreds of neurons simultaneously, they face a fundamental challenge: distinguishing between consistent, time-locked responses to a stimulus ("signal") and trial-to-trial variability ("noise"). While tools like Gaussian Process Factor Analysis (GPFA) are effective at identifying smooth latent patterns, they typically do not separate these two components. Moreover, as datasets grow in size and duration, the computational cost of standard GPFA becomes prohibitive due to the need to invert large covariance matrices.
Methods: SNP-GPFA and Fourier-Domain Inference
To address these limitations, we developed SNP-GPFA. The model decomposes neural activity into "signal" latents, which are invariant across trials of the same stimulus, and "noise" latents, which vary independently per trial. To handle the discrete, "spiky" nature of neural data, we utilize a Poisson spiking observation model rather than a standard Gaussian one.
The primary technical innovation is the use of Fourier-domain inference. Standard time-domain methods require inverting large covariance matrices, a process that slows down exponentially with recording length. By transforming the problem into the frequency (Fourier) domain, these matrices become approximately diagonal. This allows for "frequency pruning"—ignoring high-frequency components that are biologically irrelevant—which further stabilizes and accelerates the inference process.
Results
The model was validated using simulated data, primate V1 recordings, and rodent multi-region data.
Computational Efficiency and Accuracy
The Fourier-domain approach yielded a 20% to 70% speedup in inference compared to traditional methods. In terms of accuracy, SNP-GPFA consistently outperformed standard GPFA on cross-validation metrics, particularly in its ability to reconstruct the firing rates of neurons on held-out data. The model reliably recovers both the underlying firing rates and the latent trajectories that drive them.
Biological Insights: Subspace Orthogonality and Shared Noise
In primate V1 data, we found that noise fluctuations predominantly occur in a subspace orthogonal to the signal subspace. This suggests that trial-by-trial variability does not necessarily corrupt the information encoded by the signal, as the "noise" lives in a different "direction" than the stimulus representation.
In multi-region rodent data (V1 and area AL), models incorporating shared noise across regions outperformed those with independent noise. This implies that "noise" may reflect global brain states, such as arousal or attention, rather than purely local fluctuations within a single cortical area.
Discussion and Future Directions
SNP-GPFA provides a powerful framework for dissecting neural population structure. While the model is a robust diagnostic tool, future work will focus on linking these latent factors to specific animal behaviors and automating hyperparameter selection for frequency pruning. Additionally, exploring non-linear interactions between signal and noise could provide further insights into complex neural coordination.
Summary updated