Dimensionality reduction beyond neural subspaces with slice tensor component analysis

Arthur Pellegrino, Heike Stein, N. Alex Cayco-GajicNature Neuroscience 2024

Abstract

Recent work has argued that large-scale neural recordings are often well described by patterns of coactivation across neurons. Yet the view that neural variability is constrained to a fixed, low-dimensional subspace may overlook higher-dimensional structure, including stereotyped neural sequences or slowly evolving latent spaces. Here we argue that task-relevant variability in neural data can also cofluctuate over trials or time, defining distinct 'covariability classes' that may co-occur within the same dataset. To demix these covariability classes, we develop sliceTCA (slice tensor component analysis), a new unsupervised dimensionality reduction method for neural data tensors. In three example datasets, including motor cortical activity during a classic reaching task in primates and recent multiregion recordings in mice, we show that sliceTCA can capture more task-relevant structure in neural data using fewer components than traditional methods. Overall, our theoretical framework extends the classic view of low-dimensional population activity by incorporating additional classes of latent variables capturing higher-dimensional structure.

Introduction

In systems neuroscience, the "neural subspace" hypothesis suggests that the collective activity of hundreds of neurons is constrained to a low-dimensional manifold. While this has been a powerful framework, it often assumes that neural activity is "low-rank" in a specific way: a fixed set of neurons always fires together in a fixed temporal pattern. However, neural data is often more complex, featuring sequences where timing varies across cells or representational drift where encoding changes over time.

Traditional tools like Principal Component Analysis (PCA) or Tensor Component Analysis (TCA) struggle to disentangle these different types of variability. PCA often collapses trial-to-trial differences, while TCA is highly restrictive, requiring every component to be a simple product of neuron, time, and trial vectors. In a recent paper published in Nature Neuroscience, Pellegrino, Stein, and Cayco-Gajic introduce sliceTCA, a method designed to capture the rich, high-dimensional "covariability" that drives behavior by looking beyond fixed subspaces.

Conceptual overview of sliceTCA, illustrating the three covariability classes (neuron, trial, and time slicing) and how they relate to traditional methods.

Methods: Decomposing the Union of Covariability Classes

The core innovation of sliceTCA is the utilization of slice rank. Instead of decomposing a 3D data tensor (Neurons $\times$ Time $\times$ Trials) into a sum of "rank-1" tensors (the intersection of all three dimensions, as in TCA), sliceTCA decomposes it into the union of three distinct "covariability classes":

  1. Neuron-slicing: Captures fixed neural subspaces where the temporal profile can vary freely across trials. This represents classic neural covariability.
  2. Trial-slicing: Captures stereotyped sequences where the relative timing between neurons is fixed, but the overall amplitude varies across trials.
  3. Time-slicing: Captures patterns where the temporal profile is fixed, but the neural weights change over trials, representing phenomena like learning or drift.
The sliceTCA decomposition model (panel j) and the concept of slice rank (panel i), showing how a data tensor is approximated by the sum of neuron-, trial-, and time-slicing components.

To ensure interpretability and solve the invariance problems common in tensor methods, the authors developed a hierarchical optimization pipeline. This allows sliceTCA to be more flexible than TCA; for instance, it can capture a complex sequence using a single component, whereas TCA would require many.

Results and Validation

The authors validated sliceTCA across several benchmarks, including synthetic models, primate motor cortex data, and mouse cortico-cerebellar imaging.

  • Efficiency and Accuracy: In a cortico-cerebellar dataset, sliceTCA achieved the same reconstruction accuracy with only 6 components that TCA required 18 to reach.
  • Decoding Performance: In a primate reaching task, the "trial-slicing" components (capturing sequences) decoded hand velocity significantly better than PCA or TCA. Remarkably, sliceTCA performed on par with LFADS, a complex deep-learning method, despite being a simpler multilinear approach.
  • Denoising via Demixing: By separating these classes, the authors "unmasked" signals. In motor cortex data, they identified a preparatory signal in the premotor cortex (PMd) that was previously hidden under stronger kinematic sequence signals.
  • Multiregion Analysis: Using the International Brain Laboratory (IBL) dataset, sliceTCA successfully separated reward-locked activity in the midbrain from contrast-dependent sensory activity in the hippocampus within a single model.

Discussion

sliceTCA provides a geometric bridge between low-dimensional "subspace" theories and high-dimensional "sequence" theories of brain function. By allowing neural trajectories to move outside of a fixed linear subspace, it captures more task-relevant structure with fewer components.

While powerful, the method currently requires equal trial lengths, often necessitating temporal warping. Future work may extend sliceTCA to higher-order tensors (e.g., adding a "Days" or "Subjects" dimension) or incorporate explicit dynamical modeling. Overall, sliceTCA offers a more flexible and comprehensive framework for understanding the high-dimensional structure of neural population activity.

Source: Pellegrino, A., Stein, H. & Cayco-Gajic, N.A. "Dimensionality reduction beyond neural subspaces with slice tensor component analysis." Nature Neuroscience (2024).

Summary updated

BibTeX
@inproceedings{pellegrino2024dimensionality,
  author = {Arthur Pellegrino and Heike Stein and N. Alex Cayco-Gajic},
  title = {{Dimensionality reduction beyond neural subspaces with slice tensor component analysis}},
  booktitle = {Nature Neuroscience},
  year = {2024},
  doi = {10.1038/s41593-024-01626-2},
}
Figure