Lune

NeurIPS2025Top-tier venue

Generalized and Invariant Single-Neuron In-Vivo Activity Representation Learning

Wei Wu, Yuxing Lu, Zhengrui Guo, Chi Zhang, Can Liao, Yifan Bu, Fangxu Zhou, Jinzhuo Wang

2025Year

Abstract

In neuroscience, models that learn representations of single-neuron in-vivo activity are essential for understanding the functional identities of individual neurons. The primary goal of these models—spanning Transformer-based, contrastive, and variational autoencoder frameworks, is not to predict neural activity, but to distill it into a stable, low-dimensional embedding that captures a neuron’s intrinsic features. These learned identity embeddings should be invariant to changing experimental conditions while reflecting the neuron’s molecular type and anatomical location, thus enabling downstream tasks like in-vivo cell type prediction. However, current models suffer from limited generalizability due to batch effects: non-biological variations arising from differences in experimental design, animal subjects, or recording platforms. These batch effects cause overfitting, reducing model robustness and utility. Crucially, previous work has not rigorously evaluated model performance on unseen, or "out-of-domain," animals and stimuli, creating a significant gap in the field. To solve this, we first introduce a comprehensive benchmark protocol that explicitly evaluates generalization to unseen batches. Second, we propose a model-agnostic adversarial training strategy where a discriminator network forces the primary model to learn embeddings that are invariant to batch information. Our approach is compatible with all major single-neuron representation models and significantly improves their robustness. This work highlights the critical need for generalization in such models and offers an effective solution, paving the way for the creation of unified neural atlases from in-vivo activity.

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext aaf7e8e5-54fc-4c7f-9211-9d3cb7a27ee0

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines