Know Thyself by Knowing Others: Learning Neuron Identity from Population Context
Vinam Arora, Divyansha Lachi, Ian Jarratt Knight, Mehdi Azabou, Blake A. Richards, Cole L. Hurwitz, Joshua H. Siegle, Eva L. Dyer
Abstract
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-theart 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.
Our core contributions are:
• We introduce NuCLR, a self-supervised framework for learning neuron-level representations from neural population activity. After unsupervised pretraining, these representations support linear decoding of cell type and brain region and set a new state-of-the-art across multiple electrophysiology and calcium imaging datasets.
• We show that NuCLR generalizes in a zero-shot manner: the same pretrained model and embeddings transfer robustly to entirely new sessions and animals without retraining or requiring additional metadata, enabling out-of-the-box decoding of cell type and brain region.
• We provide the first systematic scaling analysis for neuron-level representation learning, demonstrating that increasing the number of animals used during pretraining yields consistent gains in zero-shot cell-type and region decoding. This underscores the value of large, diverse unlabeled neural corpora for inferring neuronal identity from activity alone.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on16
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Hard Negative Mixing for Contrastive LearningYannis Kalantidis, Mert Bülent Sariyildiz, Noé Pion, Philippe Weinzaepfel et al.NeurIPS 2020 · 805 citations
Related papers
- Learning Time-Invariant Representations for Individual Neurons from Population DynamicsLu Mi, Trung Le, Tianxing He, Eli Shlizerman et al.NeurIPS 2023 · 15 citations
- A Unified, Scalable Framework for Neural Population DecodingMehdi Azabou, Vinam Arora, Venkataramana Ganesh, Ximeng Mao et al.NeurIPS 2023 · 136 citations
- Cross-Subject Modeling for Widefield Calcium Imaging via Atlas-Aligned Spatiotemporal TokenizationMohammad Hosseini, Eray Erturk, Saba Hashemi, Maryam ShanechiICML 2026 · 1 citation
- Population Transformer: Learning Population-level Representations of Neural ActivityGeeling Chau, Christopher Wang, Sabera J. Talukder, Vighnesh Subramaniam et al.ICLR 2025
- CalM: A Self-Supervised Foundation Model for Population Dynamics in Calcium Imaging DataXinhong Xu, Yimeng Zhang, Qichen Qian, Yuanlong ZhangICML 2026
