Abstract
The activity of sensory cortical neurons is shaped not only by external stimuli but also by internal sources of input that are difficult to observe or control. These unobserved factors contribute to the high variability of neuronal responses, often dismissed as "noise." This paper introduces the Rectified Latent Variable Model (RLVM), a novel framework designed to identify these hidden drivers in simultaneously recorded neural populations. By enforcing non-negative constraints and utilizing autoencoder neural networks for parameter initialization, the RLVM overcomes the biological and mathematical limitations of traditional methods like PCA. Applied to mouse somatosensory cortex data, the RLVM reveals that a majority of neural activity is driven by non-stimulus factors, such as behavioral states and reward expectation, providing a more comprehensive understanding of sensory cortex function.
Introduction
A fundamental challenge in neuroscience is explaining why neurons in the sensory cortex respond differently to the exact same stimulus across multiple trials. While this variability is often treated as stochastic noise, it is increasingly recognized as the signature of internal brain states—arousal, attention, or motor planning—that are not directly recorded by the experimenter. To understand the brain's computations, we must be able to extract these "latent" variables from population activity.
Existing dimensionality reduction techniques, such as Principal Component Analysis (PCA) and Factor Analysis (FA), attempt to find these hidden factors. However, these methods often rely on strict mathematical assumptions, such as the requirement that factors be independent or follow a Gaussian distribution. Most importantly, they allow for negative activity, which is biologically impossible for neural firing rates or calcium signals.
The Rectified Latent Variable Model (RLVM)
The authors propose the Rectified Latent Variable Model (RLVM) to provide a more biologically plausible and computationally robust method for latent variable discovery. The RLVM is defined by two core innovations:
- Rectification (Non-negativity): The model constrains latent variables ($z_t$) to be non-negative. This mirrors the physical reality of neurons, which cannot have negative firing rates. By enforcing this constraint, the RLVM prevents the "signal mixing" common in PCA, where excitatory and inhibitory signals are often collapsed into a single, uninterpretable component.
- Autoencoder Initialization: Fitting models to hundreds of neurons over thousands of time points creates a massive, high-dimensional search space. Traditional optimization often gets stuck in "local minima." The RLVM uses an autoencoder—a neural network designed to learn efficient codings—to find a robust starting point for model parameters. This allows the model to scale linearly with the size of the dataset without requiring the restrictive statistical assumptions of classical methods.
The model follows the functional form: $\hat{y}_t = f(W z_t + b)$, where $y$ represents observed activity, $z$ are the non-negative latent variables, $W$ is a coupling matrix, and $f$ is a nonlinearity.
Validation and Performance
The RLVM was first tested on synthetic "ground truth" data, where 100 neurons were driven by five correlated, non-negative latent variables. In these simulations, the RLVM achieved a correlation of $r \approx 0.97$ with the true underlying signals. In contrast, PCA and ICA failed to accurately recover the signals because they could not handle the correlation between factors or the non-negativity constraint.
Insights from the Somatosensory Cortex
The researchers applied the RLVM to 2-photon calcium imaging data from the mouse primary somatosensory (barrel) cortex during a tactile discrimination task. Despite the barrel cortex being a primary sensory area, the RLVM revealed that the majority of the population variance was explained by non-stimulus factors.
The model identified six primary latent variables:
- Stimulus-Related: One variable was clearly locked to the timing of whisker touches.
- Task-Related: Three variables were tightly coupled to the reward phase of the task and the animal's licking behavior.
- Internal State: Other variables captured broader shifts in population activity unrelated to specific task events.
These results demonstrate that even in areas dedicated to processing touch, the internal state of the animal is a dominant driver of neural activity. Properly identifying these variables is essential for any model attempting to predict how a neuron will respond to a sensory input.
Discussion and Future Directions
The RLVM represents a significant step forward in leveraging large-scale neural recordings to understand internal brain states. Its ability to scale linearly makes it well-suited for the increasingly large datasets produced by modern imaging and electrophysiology.
However, some limitations remain. The current model assumes additive interactions between latent variables, whereas biological processes like gain modulation are often multiplicative. Additionally, while the RLVM uses smoothing priors, it is a static model that does not explicitly define the temporal dynamics of how one state leads to another. Future work may involve "stacking" autoencoders to capture more complex, non-linear interactions or adapting the framework for spiking data using Poisson noise models. By unmasking the hidden drivers of cortical activity, the RLVM moves neuroscience closer to a holistic understanding of the relationship between stimulus, state, and behavior.
Summary updated