Fast amortized inference of neural activity from calcium imaging data with variational autoencoders
arXiv:1711.01846
Abstract
Calcium imaging permits optical measurement of neural activity. Since intracellular calcium concentration is an indirect measurement of neural activity, computational tools are necessary to infer the true underlying spiking activity from fluorescence measurements. Bayesian model inversion can be used to solve this problem, but typically requires either computationally expensive MCMC sampling, or faster but approximate maximum-a-posteriori optimization. Here, we introduce a flexible algorithmic framework for fast, efficient and accurate extraction of neural spikes from imaging data. Using the framework of variational autoencoders, we propose to amortize inference by training a deep neural network to perform model inversion efficiently. The recognition network is trained to produce samples from the posterior distribution over spike trains. Once trained, performing inference amounts to a fast single forward pass through the network, without the need for iterative optimization or sampling. We show that amortization can be applied flexibly to a wide range of nonlinear generative models and significantly improves upon the state of the art in computation time, while achieving competitive accuracy. Our framework is also able to represent posterior distributions over spike-trains. We demonstrate the generality of our method by proposing the first probabilistic approach for separating backpropagating action potentials from putative synaptic inputs in calcium imaging of dendritic spines.
arXiv commentNIPS 2017
References in corpus (9)
- Adam: A Method for Stochastic Optimization
- Stochastic Backpropagation and Approximate Inference in Deep Generative Models
- Fast non-negative deconvolution for spike train inference from population calcium imaging
- Ladder Variational Autoencoders
- Variational inference for Monte Carlo objectives
- Automatic Neuron Detection in Calcium Imaging Data Using Convolutional Networks
- A structured matrix factorization framework for large scale calcium imaging data analysis
- Bayesian spike inference from calcium imaging data
- Direct Estimation of Firing Rates from Calcium Imaging Data
Cited by in corpus (4)
- A zero-inflated gamma model for deconvolved calcium imaging traces
- LeMoNADe: Learned Motif and Neuronal Assembly Detection in calcium imaging videos
- Discrete flow posteriors for variational inference in discrete dynamical systems
- The Virtual Patch Clamp: Imputing C. elegans Membrane Potentials from Calcium Imaging