Comparing high-dimensional neural recordings by aligning their low-dimensional latent representations

Max Dabagia, Konrad P. Körding, Eva L. DyerarXiv 2022 · DOI

Abstract: Many questions in neuroscience involve understanding the responses of large populations of neurons. However, when dealing with large-scale neural activity, interpretation becomes difficult, and comparisons between two animals or across different time points become challenging. One major challenge in modern neuroscience is that of correspondence—for instance, we do not record the exact same neurons at the exact same times. Without a way to link these datasets, comparing neural activity patterns becomes impossible. This paper reviews approaches for leveraging shared latent structure across neural recordings to tackle this correspondence challenge, arguing that alignment is key for comparing high-dimensional neural activities across times, subsets of neurons, and individuals.

The Correspondence Problem in Modern Neuroscience

In modern systems neuroscience, the goal is often to understand how populations of neurons work together to produce behavior or internal states. However, comparing these populations is notoriously difficult. If you record 100 neurons from Mouse A and 100 from Mouse B, there is no one-to-one mapping between them. Even in the same animal, electrodes drift or neurons die, changing the "polled" subset of the brain.

Conceptual overview of the dimensionality reduction and alignment process in neural data analysis.

This creates a gap: we have massive amounts of high-dimensional data but no "Rosetta Stone" to translate between sessions, individuals, or experimental conditions (like health vs. disease). Without alignment, we cannot tell if a change in neural activity is a meaningful biological shift or just an artifact of which neurons we happened to record.

Methods: Aligning Neural Manifolds

The authors review a pipeline that moves from raw spikes to a shared "latent space." The core idea is that while thousands of neurons are recorded, their collective activity usually follows a much simpler, low-dimensional pattern (a manifold).

The transition from high-dimensional neural firing rates to a low-dimensional latent space representation.

The paper categorizes four main approaches to aligning these manifolds:

  1. Global Distribution Alignment: Methods like Distribution Alignment Decoding (DAD) and Hierarchical Wasserstein Alignment (HiWA) treat neural activity as a "cloud" of points in latent space. HiWA is highlighted as particularly robust because it leverages the fact that neural activity often clusters into specific "modes" or subspaces.
  2. Partial Neuron Correspondence: This assumes a subset of neurons remains stable across recordings. These "anchor" neurons are used to calculate the transformation needed to align the rest of the population.
  3. Temporal Correspondence: If two animals are performing the exact same timed task, researchers can use Canonical Correlation Analysis (CCA) to find a shared space where the time-series of their latent factors are maximally correlated.
  4. Common Dynamics: Tools like LFADS (Latent Factor Analysis via Dynamical Systems) model the underlying rules of how neural activity evolves. By training a model to find a shared set of dynamics across many sessions, researchers can "stitch" different recordings together.

Key Insights and Results

  • The Manifold is the Message: The authors argue that the "true" computation of the brain lives in the low-dimensional latent space, not in the individual firing rates of specific neurons. This perspective allows for invariance to perturbation; even a tiny change—like adding a single spike—can radically warp a standard PCA plot, but alignment can recover the original structure.
  • BMI Stability: Alignment is a crucial building block for long-term Brain-Machine Interfaces (BMIs). By aligning new data to a stable latent space, a prosthetic can continue to work even as the physical electrode connection degrades over months. Unsupervised distribution-based methods have already proven capable of decoding movement without explicit labels.
  • The Risk of Overfitting: A major insight is the danger of "too much" alignment. If an algorithm is too powerful, it might force a "diseased" brain's activity to look exactly like a "healthy" one, accidentally erasing the biological signal the researcher was looking for.

Limitations and Future Work

Despite the success of latent alignment, several challenges remain. Even if we align two latent spaces perfectly, we often don't know what the axes actually represent in biological terms. Furthermore, latent models struggle to prove causation—whether one neuron is driving another or if both are driven by an unrecorded hidden source.

Additionally, brain states aren't static; changes in attention or learning can physically change the manifold. Future algorithms must distinguish between "alignment errors" and genuine biological learning. Finally, scaling these methods to "foundation models" of the brain that span multiple regions remains a massive computational challenge.

Summary updated

BibTeX
@misc{dabagia2022comparing,
  author = {Max Dabagia and Konrad P. Körding and Eva L. Dyer},
  title = {{Comparing high-dimensional neural recordings by aligning their low-dimensional latent representations}},
  year = {2022},
  eprint = {2205.08413},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.08413},
}
Figure