LGNCDec 1, 2025

Know Thyself by Knowing Others: Learning Neuron Identity from Population Context

arXiv:2512.01199v1h-index: 27Has Code
Originality Incremental advance
AI Analysis

This work addresses a significant problem in neuroscience for researchers needing to classify neurons from activity data, though it is incremental as it builds on existing contrastive learning and transformer methods.

The paper tackles the challenge of inferring neuron identity from neural activity by introducing NuCLR, a self-supervised framework that learns representations for differentiating neurons, achieving state-of-the-art results in cell type and brain region decoding tasks with strong zero-shot generalization across animals.

Neurons process information in ways that depend on their cell type, connectivity, and the brain region in which they are embedded. However, inferring these factors from neural activity remains a significant challenge. To build general-purpose representations that allow for resolving information about a neuron's identity, we introduce NuCLR, a self-supervised framework that aims to learn representations of neural activity that allow for differentiating one neuron from the rest. NuCLR brings together views of the same neuron observed at different times and across different stimuli and uses a contrastive objective to pull these representations together. To capture population context without assuming any fixed neuron ordering, we build a spatiotemporal transformer that integrates activity in a permutation-equivariant manner. Across multiple electrophysiology and calcium imaging datasets, a linear decoding evaluation on top of NuCLR representations achieves a new state-of-the-art for both cell type and brain region decoding tasks, and demonstrates strong zero-shot generalization to unseen animals. We present the first systematic scaling analysis for neuron-level representation learning, showing that increasing the number of animals used during pretraining consistently improves downstream performance. The learned representations are also label-efficient, requiring only a small fraction of labeled samples to achieve competitive performance. These results highlight how large, diverse neural datasets enable models to recover information about neuron identity that generalize across animals. Code is available at https://github.com/nerdslab/nuclr.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes