TL;DR
NeuroLens is a self-supervised framework that uses a Joint-Embedding Predictive Architecture (JEPA) to learn stable, denoised latent representations from chronic neural recordings. By predicting future states in a latent space rather than reconstructing raw activity, it effectively separates task-relevant neural "semantics" from recording instabilities like electrode drift and neuron loss.
What Problem Does This Paper Address?
Neuroscientists want to track how neural activity changes as an animal learns over weeks or months. However, chronic recordings are notoriously "nonstationary." Over time, electrodes drift, signal quality degrades, and the specific set of neurons being recorded changes.
Current analytical tools struggle to distinguish between representational plasticity (real biological changes due to learning) and recording instability (noise from the hardware). Most existing models either try to reconstruct every noisy spike—which preserves recording-specific artifacts—or require heavy supervision for specific tasks, making them less useful for discovering general-purpose neural structures.
Methods
The authors introduce NeuroLens, which shifts the focus from reconstructing observations to predicting latent states. It is built on three main pillars:
- Joint-Embedding Predictive Architecture (JEPA): Unlike standard autoencoders that try to recreate raw input, NeuroLens predicts the latent embedding of future neural activity. This forces the model to ignore transient, unpredictable noise and focus on the underlying "semantic" structure of the population dynamics.
- Day-Adaptive Encoder: To handle the fact that different neurons are recorded on different days, the model uses a cross-attention mechanism. It identifies neurons not by a fixed ID, but by a "signature" composed of physiological stats (firing rates, autocorrelograms, and population coupling) calculated from a few calibration trials.
- Shared Temporal Predictor: A causal transformer models the dynamics in latent space. Because this predictor is shared across all recording days, it encourages the model to find a stable, common latent space even as the input population shifts.
To prevent the latent space from "collapsing" (where the model predicts a constant value to minimize error), they use a regularizer called SIGReg, which ensures the embeddings maintain a healthy, Gaussian-like distribution.
Datasets
The model was validated on two challenging chronic datasets:
- IBL Chronic Neuropixels: Data from a mouse learning a visual decision-making task over three months (53 sessions). The number of recorded neurons fluctuated between 159 and 498 across multiple brain regions.
- Human Chronic Utah Array: Data from two participants (T12 and T15) with ALS-induced paralysis attempting to speak. This includes recordings over 4 to 20 months, focusing on decoding phonemes and high-level sentence meanings (embeddings).
Key Insights and Ideas
- Latent Prediction as a Denoising Filter: By predicting in latent space, NeuroLens acts as a natural filter. It captures the "predictable" parts of neural activity—which tend to be behaviorally relevant—while discarding the "unpredictable" noise inherent in raw spike counts.
- Stability Amidst Decay: One of the most striking findings is that NeuroLens maintains a stable "effective rank" (a measure of latent dimensionality) over months, even as the number of recorded neurons steadily declines. In contrast, reconstruction-based models see their latent dimensionality collapse along with the neuron count.
- Semantic vs. Sensorimotor: NeuroLens shows a significant advantage in decoding high-level "semantic" variables (like a mouse's choice or the meaning of a sentence) compared to low-level variables (like wheel speed or phonemes). This suggests the JEPA objective is particularly good at capturing cognitive-level information.
Key Results
- Superior Decoding: On the IBL dataset, NeuroLens improved choice decoding by 6% over causal Neural Data Transformers (NDT). On human speech data, it outperformed causal NDT by a massive 38% on sentence-embedding retrieval.
- Few-Shot Adaptation: The model can adapt to a brand-new recording day using just 64 unlabeled calibration trials. This "gradient-free" adaptation allows it to outperform other state-of-the-art supervised models like SPINT and POSSM that require more data or fine-tuning.
- Visualizing Learning: As the mouse learns, the latent trajectories for "left" vs. "right" choices become increasingly distinct in the NeuroLens space, providing a clear window into the learning process.
Limitations and Future Work
While NeuroLens is robust to recording drift, the authors note it does not yet explicitly disentangle changes caused by learning from changes in the animal's behavior (like moving its head differently).
Future work could involve:
- Joint Behavioral Modeling: Incorporating video or kinematic data directly into the self-supervised loop to better separate motor noise from cognitive signals.
- Multi-Area Interactions: Modeling how different brain regions communicate and how those inter-regional "conversations" evolve during learning.
- Scaling: Testing the architecture on even larger, multi-animal datasets to see if a "foundation model" for neural semantics is possible.
Summary updated