Integration of Calcium Imaging Traces via Deep Generative Modeling
Berta Ros, Mireia Olives-Verger, Caterina Fuses, Josep M Canals, Jordi Soriano, Jordi Abante
TL;DR
This work tackles batch effects and the need for single-neuron representations from calcium imaging traces by introducing supervised variational approaches. The authors develop a supervised variational autoencoder (SVAE) and a Gaussian Process–augmented SVAE (GPVAE) that incorporate batch labels and temporal structure to learn compact, biologically meaningful latent representations from calcium traces without spike inference. Across synthetic and experimental datasets, these models outperform Bayesian factor analysis and standard VAEs in preserving underlying neuronal dynamics while mitigating session-to-session variability, enabling robust visualization, clustering, and interpretation of single-neuron dynamics and revealing species- and condition-specific firing patterns. The framework holds promise for multispecies integration and multimodal single-cell analyses, offering a practical tool for analyzing heterogeneous neuronal activity at single-neuron resolution.
Abstract
Calcium imaging allows for the parallel measurement of large neuronal populations in a spatially resolved and minimally invasive manner, and has become a gold-standard for neuronal functionality. While deep generative models have been successfully applied to study the activity of neuronal ensembles, their potential for learning single-neuron representations from calcium imaging fluorescence traces remains largely unexplored, and batch effects remain an important hurdle. To address this, we explore supervised variational autoencoder architectures that learn compact representations of individual neurons from fluorescent traces without relying on spike inference algorithms. We find that this approach outperforms state-of-the-art models, preserving biological variability while mitigating batch effects. Across simulated and experimental datasets, this framework enables robust visualization, clustering, and interpretation of single-neuron dynamics.
