Standard dimensionality reduction tools often fail to capture the true "shape" of neural representations. For instance, variables like head direction are inherently circular, yet traditional methods force them into flat, Euclidean spaces. This paper introduces the Manifold Gaussian Process Latent Variable Model (mGPLVM), a probabilistic framework designed to discover latent structures on non-Euclidean manifolds—such as circles, tori, and rotation groups—directly from neural population activity.
The Problem with Flat Spaces
In neuroscience, researchers frequently use latent variable models (like PCA or GPFA) to project high-dimensional neural data into lower-dimensional, interpretable spaces. These models typically assume the latent space is Euclidean. However, many biological variables are non-Euclidean.
Consider head direction, which lives on a circle ($S^1$). If a model maps this circular variable onto a flat line, it creates a spurious discontinuity: $359^\circ$ and $1^\circ$ are placed far apart despite representing nearly identical physical states. This geometric mismatch leads to poor predictive performance and a loss of physical interpretability.
Introducing mGPLVM
To address this, the authors propose mGPLVM, which explicitly models neural activity as arising from latent states on specific manifolds.
The framework consists of several key components:
- The Generative Model: It assumes neural activity is generated by a shared latent variable $g$ residing on a manifold $\mathcal{M}$ (e.g., a sphere or torus). Each neuron possesses a tuning curve, modeled as a Gaussian Process (GP), that maps the latent state to an expected firing rate.
- Variational Inference on Lie Groups: Standard calculus doesn't apply directly to manifolds. The authors utilize the "ReLie" framework, employing the exponential map to transform distributions from a flat tangent space (the Lie algebra) onto the manifold (the Lie group).
- Manifold-Specific Kernels: The model uses novel covariance functions (kernels) tailored for tori, spheres, and $SO(3)$ (3D rotations) that respect the topology of these spaces while remaining mathematically valid.
- Scalability: To handle large neural datasets, mGPLVM incorporates a sparse GP approximation, using a small set of "inducing points" to represent tuning curves efficiently.
Key Insights and Unsupervised Discovery
mGPLVM was validated on synthetic data, Drosophila (fruit fly) calcium imaging, and mouse extracellular recordings. A major advantage of this approach is that it allows researchers to treat the topology of the latent space as a testable hypothesis. By comparing the cross-validated log-likelihood of a "Ring" model versus a "Flat" model, one can statistically determine if a neural population represents a periodic variable.
Crucially, the model achieves this unsupervised. It does not need ground-truth behavioral data to recover the underlying topology purely from neural firing patterns. Furthermore, as a Bayesian model, mGPLVM provides uncertainty quantification, showing higher uncertainty during periods of low neural activity.
Unlike previous methods restricted to simple "Gaussian bump" tuning curves, the GP prior allows mGPLVM to learn complex, heterogeneous tuning curves of any smooth shape.
Results and Future Directions
The model demonstrated superior performance across multiple domains:
- Predictive Accuracy: On synthetic toroidal and rotational data, mGPLVM significantly outperformed standard Euclidean GPLVMs in both mean squared error and log-likelihood.
- Topology Recovery: In the Drosophila ellipsoid body, mGPLVM correctly identified a ring topology ($T^1$) over a flat line ($\mathbb{R}^1$) and reordered neurons to reveal a rotating bump of activity. It also successfully decoded head direction in noisier mouse ADn data.
Limitations and Future Work: Currently, the model assumes latent states are independent across time. Incorporating a temporal prior (similar to GPFA) could enforce smoothness in the animal's trajectory and improve performance. Additionally, while mGPLVM can compare user-provided manifolds, future iterations could feature Automatic Relevance Determination (ARD) to automatically discover the manifold's dimension. Finally, extending the framework to direct products of manifolds could enable the study of brain areas representing multiple variables simultaneously (e.g., head direction and running speed).
Summary updated