NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to cluster neuronal function.

Nina S Nellen, Polina Turishcheva, Michaela Vystrčilová, Shashwat Sridhar, Tim Gollisch, Andreas S. Tolias, Alexander S. Ecker

TL;DR

This paper introduces DECEMber, a novel deep learning framework that integrates an explicit clustering bias into neural network models of brain activity. By jointly optimizing feature embeddings and cluster parameters, DECEMber significantly improves the consistency of neuronal functional clustering, offering a more robust tool for identifying cell types and understanding brain organization across different species and visual areas.

What Problem Does This Paper Address?

Neuroscience has long grappled with whether neurons in areas like the mouse visual cortex (V1) form discrete "cell types" or exist on a continuous spectrum of function. While deep neural networks have shown promise in modeling neural activity and generating "digital twins" of brain regions, their learned representations (embeddings) often lack clear cluster structures that would correspond to distinct cell types. This raises a crucial question: is this lack of clustering a limitation of current models, or does it reflect a genuinely continuous functional organization in the brain? Existing clustering methods applied to these embeddings yield unstable results, making it difficult to draw firm conclusions about biological interpretations.

Methods

The core innovation is DECEMber, which builds upon Deep Embedding Clustering (DEC) but adapts it for neuronal embeddings. Instead of a separate pretraining and clustering phase, DECEMber jointly trains a neural response predictor and a clustering structure. The key is an auxiliary clustering loss that incorporates an explicit inductive bias for structured organization among per-neuron embeddings. This loss is inspired by a multivariate Student's t-distribution mixture model, allowing for non-isotropic clusters of varying sizes. Crucially, cluster centers and scale matrices are updated using an Expectation-Maximization (EM) algorithm, rather than solely gradient descent, which improves stability. This approach aims to enhance cluster separability and consistency while maintaining high predictive performance of the neural activity model.

Datasets

The paper utilizes several datasets for training and evaluation:

  • Mouse V1 data: From the SENSORIUM 2022 dataset, containing neural responses to natural images from seven mice, along with behavioral variables.
  • Marmoset retina data: Used to test DECEMber's ability to classify well-established retinal ganglion cell types.
  • Macaque V4 data: Employed to assess generalization across different visual areas and model architectures.
  • Mouse retina data: Used for further analysis and comparison.

Key Insights and Ideas

  • Clustering bias as a hypothesis test: The authors frame DECEMber as a tool to test the hypothesis of discrete functional cell types. If such types exist, an explicit clustering bias should improve model performance and embedding structure.
  • The importance of flexible cluster shapes: Unlike standard DEC which uses a fixed unit scale, DECEMber's use of a multivariate t-distribution with learned scale matrices is crucial for capturing the diverse shapes of neuronal functional embeddings. This was demonstrated in a toy example where vanilla DEC failed.
  • Mouse V1 may lack discrete functional cell types: The consistent improvement in clustering consistency across various settings, without a sharp peak at a specific number of clusters, suggests that mouse V1 excitatory neurons might form a functional continuum rather than discrete types.
  • Generalizability is key: DECEMber shows robust performance across different species (mice, primates), visual areas (retina, V1, V4), and even different model architectures (Gaussian and attention readouts).

Key Results

  • DECEMber significantly improves clustering consistency (measured by Adjusted Rand Index - ARI) compared to baseline methods like GMM and k-means, often doubling ARI scores.
  • This improvement in consistency is achieved without sacrificing predictive performance, maintaining state-of-the-art accuracy in predicting neural responses.
  • On marmoset retinal ganglion cells, DECEMber achieved high clustering consistency (ARI = 0.96 ±0.01) and accurately classified cell types, outperforming GMM and k-means.
  • For mouse V1, while DECEMber improved consistency, the results suggest a lack of sharp, discrete functional clusters, supporting the idea of a functional continuum.
  • The method demonstrates robustness across species and visual areas, showing improved ARI for mouse retina, macaque V4, and primate retina.

Limitations and Future Work

  • Predefined number of clusters: DECEMber requires a predefined number of clusters. When unknown, multiple runs with varying counts and seeds are necessary, increasing computational cost.
  • High-dimensional feature spaces: Handling ill-conditioned covariance matrices in high-dimensional spaces remains a challenge, addressed heuristically by clamping small values.
  • Data requirements: High-dimensional settings necessitate a sufficient number of data points to prevent overfitting of scale matrices.
  • Prior assumption: The current implementation assumes a t-distributed feature space, which could be adapted if a more suitable prior is known.
  • Future work: The authors suggest further investigation into determining optimal pretraining durations and exploring more principled methods for handling high-dimensional covariance matrices. They also highlight the potential of DECEMber for multi-modal models and broader unsupervised representation learning.

Summary updated

BibTeX
@inproceedings{nellen2025learning,
  author = {Nina S Nellen and Polina Turishcheva and Michaela Vystrčilová and Shashwat Sridhar and Tim Gollisch and Andreas S. Tolias and Alexander S. Ecker},
  title = {{Learning to cluster neuronal function.}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Eufm2Jmjod},
}
Figure