bioRxivNeurosciencePreprint
Parallel inference of hierarchical latent dynamics in two-photon calcium imaging of neuronal populations
Luke Y. PrinceiD, Shahab BakhtiariiD, Colleen J. GilloniD, Blake A. RichardsiD
Abstract
Dynamic latent variable modelling has provided a powerful tool for understanding how populations of neurons compute. For spiking data, such latent variable modelling can treat the data as a set of point-processes, due to the fact that spiking dynamics occur on a much faster timescale than the computational dynamics being inferred. In contrast, for other experimental techniques, the slow dynamics governing the observed data are similar in timescale to the computational dynamics that researchers want to infer. An example of this is in calcium imaging data, where calcium dynamics can have timescales on the order of hundreds of milliseconds. As such, the successful application of dynamic latent variable modelling to modalities like calcium imaging data will rest on the ability to disentangle the deeper- and shallower-level dynamical systems contributions to the data. To-date, no techniques have been developed to directly achieve this. Here we solve this problem by extending recent advances using sequential variational autoencoders for dynamic latent variable modelling of neural data. Our system VaLPACa (Variational Ladders for Parallel Autoencoding of Calcium imaging data) solves the problem of disentangling deeper- and shallower-level dynamics by incorporating a ladder architecture that can infer a hierarchy of dynamical systems. Using some built-in inductive biases for calcium dynamics, we show that we can disentangle calcium flux from the underlying dynamics of neural computation. First, we demonstrate with synthetic calcium data that we can correctly disentangle an underlying Lorenz attractor from calcium dynamics. Next, we show that we can infer appropriate rotational dynamics in spiking data from macaque motor cortex after it has been converted into calcium fluorescence data via a calcium dynamics model. Finally, we show that our method applied to real calcium imaging data from primary visual cortex in mice allows us to infer latent factors that carry salient sensory information about unexpected stimuli. These results demonstrate that variational ladder autoencoders are a promising approach for inferring hierarchical dynamics in experimental settings where the measured variable has its own slow dynamics, such as calcium imaging data. Our new, open-source tool thereby provides the neuroscience community with the ability to apply dynamic latent variable modelling to a wider array of data modalities.
- organism: mouse
- assay: spatial transcriptomics
- assay: imaging
- research focus: trajectory inference
- research focus: dimensionality reduction
- research focus: benchmarking
- approach: variational autoencoder
- Citations
- 11
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Improved inference of latent neural states from calcium imaging data
Stephen Keeley, David M. Zoltowski, … Jonathan W. Pillow·bioRxiv·Oct 17, 2025
- A deep learning framework for inference of single-trial neural population dynamics from calcium imaging with sub-frame temporal resolution
Zhu Feng, Harrison A. Grier, … Chethan Pandarinath·Nature NeurosciencePeer-reviewed·Nov 24, 2022
- Dynamic causal modeling for calcium imaging data reveals differential effective connectivity for sensory processing in a barrel cortical column
Kyesam Jung, Jiyoung Kang, … Hae‐Jeong Park·NeuroImagePeer-reviewed·Jul 10, 2019
- Non-Negative Matrix Factorization for Analyzing State Dependent Neuronal Network Dynamics in Calcium Recordings
Daniel Carbonero, Jad Noueihed, … John A. White·Scientific ReportsPeer-reviewed·Nov 13, 2024
- A comparison of neuronal population dynamics measured with calcium imaging and electrophysiology
Ziqiang Wei, Bei‐Jung Lin, … Shaul Druckmann·PLoS Computational BiologyPeer-reviewed·Sep 15, 2020
- iLQR-VAE : control-based learning of input-driven dynamics with applications to neural data
Marine Schimel, Ta-Chu Kao, … Guillaume Hennequin·bioRxiv·Oct 7, 2021