Fast Active Set Methods for Online Deconvolution of Calcium Imaging Data

Fluorescent calcium indicators are a popular means for observing the spiking activity of large neuronal populations, but extracting the activity of each neuron from raw fluorescence calcium imaging data is a nontrivial problem. We present a fast online active set method to solve this sparse non-negative deconvolution problem. Importantly, the algorithm progresses through each time series sequentially from beginning to end, thus enabling real-time online estimation of neural activity during the imaging session. Our algorithm is a generalization of the pool adjacent violators algorithm (PAVA) for isotonic regression and inherits its linear-time computational complexity. We gain remarkable increases in processing speed: more than one order of magnitude compared to currently employed state of the art convex solvers relying on interior point methods. Our method can exploit warm starts; therefore optimizing model hyperparameters only requires a handful of passes through the data. A minor modification can further improve the quality of activity inference by imposing a constraint on the minimum spike size. The algorithm enables real-time simultaneous deconvolution of $O(10^5)$ traces of whole-brain larval zebrafish imaging data on a laptop.

[1]  Kaspar Podgorski,et al.  Fast non‐negative temporal deconvolution for laser scanning microscopy , 2013, Journal of biophotonics.

[2]  Norio Matsuki,et al.  Fast and accurate detection of action potentials from somatic calcium fluctuations. , 2008, Journal of neurophysiology.

[3]  Philipp J. Keller,et al.  Whole-brain functional imaging at cellular resolution using light-sheet microscopy , 2013, Nature Methods.

[4]  T. Holy,et al.  Fast Three-Dimensional Fluorescence Imaging of Activity in Neural Populations by Objective-Coupled Planar Illumination Microscopy , 2008, Neuron.

[5]  M. Carandini,et al.  Suite 2 p : beyond 10 , 000 neurons with standard two-photon microscopy , 2016 .

[6]  David Pfau,et al.  Simultaneous Denoising, Deconvolution, and Demixing of Calcium Imaging Data , 2016, Neuron.

[7]  Aaron C. Koralek,et al.  Volitional modulation of optically recorded calcium signals during neuroprosthetic learning , 2014, Nature Neuroscience.

[8]  Mario Dipoppa,et al.  Suite2p: beyond 10,000 neurons with standard two-photon microscopy , 2016, bioRxiv.

[9]  D. Wilkin,et al.  Neuron , 2001, Brain Research.

[10]  H. D. Brunk,et al.  AN EMPIRICAL DISTRIBUTION FUNCTION FOR SAMPLING WITH INCOMPLETE INFORMATION , 1955 .

[11]  Stephen P. Boyd,et al.  Conic Optimization via Operator Splitting and Homogeneous Self-Dual Embedding , 2013, Journal of Optimization Theory and Applications.

[12]  Knud D. Andersen,et al.  The Mosek Interior Point Optimizer for Linear Programming: An Implementation of the Homogeneous Algorithm , 2000 .

[13]  Stefan R. Pulver,et al.  Ultra-sensitive fluorescent proteins for imaging neuronal activity , 2013, Nature.

[14]  Liam Paninski,et al.  Bayesian spike inference from calcium imaging data , 2013, 2013 Asilomar Conference on Signals, Systems and Computers.

[15]  David L. Donoho,et al.  De-noising by soft-thresholding , 1995, IEEE Trans. Inf. Theory.

[16]  Rafael Yuste,et al.  Fast nonnegative deconvolution for spike train inference from population calcium imaging. , 2009, Journal of neurophysiology.

[17]  Benjamin F. Grewe,et al.  High-speed in vivo calcium imaging reveals neuronal network activity with near-millisecond precision , 2010, Nature Methods.

[18]  R. Bro,et al.  A fast non‐negativity‐constrained least squares algorithm , 1997 .

[19]  Stephen P. Boyd,et al.  ECOS: An SOCP solver for embedded systems , 2013, 2013 European Control Conference (ECC).

[20]  Karl Deisseroth,et al.  Closed-Loop and Activity-Guided Optogenetic Control , 2015, Neuron.

[21]  E. Yaksi,et al.  Reconstruction of firing rate changes across neuronal populations by temporally deconvolved Ca2+ imaging , 2006, Nature Methods.

[22]  Stephen J. Wright,et al.  Primal-Dual Interior-Point Methods , 1997 .

[23]  Charles L. Lawson,et al.  Solving least squares problems , 1976, Classics in applied mathematics.

[24]  D. Tank,et al.  Simultaneous cellular-resolution optical perturbation and imaging of place cell firing fields , 2014, Nature Neuroscience.

[25]  Robert J. Butera,et al.  Sequential Optimal Design of Neurophysiology Experiments , 2009, Neural Computation.

[26]  Matthias Bethge,et al.  Benchmarking Spike Rate Inference in Population Calcium Imaging , 2016, Neuron.

[27]  Brendon O. Watson,et al.  Spike inference from calcium imaging using sequential Monte Carlo methods. , 2009, Biophysical journal.

[28]  Constance van Eeden,et al.  Testing and estimating ordered parameters of probability distribution , 1958 .

[29]  Christine Grienberger,et al.  Imaging Calcium in Neurons , 2012, Neuron.

[30]  Mijung Park,et al.  Bayesian active learning with localized priors for fast receptive field characterization , 2012, NIPS.

[31]  C. Witzgall,et al.  Projections onto order simplexes , 1984 .

[32]  J. Leeuw,et al.  Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods , 2009 .

[33]  H. D. Brunk,et al.  Statistical inference under order restrictions : the theory and application of isotonic regression , 1973 .

[34]  D. Anderson,et al.  Algorithms for minimization without derivatives , 1974 .

[35]  Richard G. Baraniuk,et al.  A robust and efficient method to recover neural events from noisy and corrupted data , 2013, 2013 6th International IEEE/EMBS Conference on Neural Engineering (NER).

[36]  Philipp J. Keller,et al.  Light-sheet functional imaging in fictively behaving zebrafish , 2014, Nature Methods.

[37]  Amiram Grinvald,et al.  Accurate spike estimation from noisy calcium signals for ultrafast three-dimensional imaging of large neuronal populations in vivo , 2016, Nature Communications.

[38]  Brooks Paige,et al.  Bayesian Inference and Online Experimental Design for Mapping Neural Microcircuits , 2013, NIPS.

[39]  Sam E Benezra,et al.  Supplemental Information Population-level Representation of a Temporal Sequence Underlying Song Production in the Zebra Finch , 2022 .

[40]  Joshua T. Vogelstein,et al.  A Bayesian approach for inferring neuronal connectivity from calcium fluorescent imaging data , 2011, 1107.4228.

[41]  Stephen P. Boyd,et al.  CVXPY: A Python-Embedded Modeling Language for Convex Optimization , 2016, J. Mach. Learn. Res..

[42]  R. E. Miles THE COMPLETE AMALGAMATION INTO BLOCKS, BY WEIGHTED MEANS, OF A FINITE SET OF REAL NUMBERS , 1959 .

[43]  Michael J. Best,et al.  Active set algorithms for isotonic regression; A unifying framework , 1990, Math. Program..

[44]  Stéphane Mallat,et al.  Matching pursuits with time-frequency dictionaries , 1993, IEEE Trans. Signal Process..

[45]  D K Smith,et al.  Numerical Optimization , 2001, J. Oper. Res. Soc..

[46]  Shaoqun Zeng,et al.  Reconstruction of burst activity from calcium imaging of neuronal population via Lq minimization and interval screening. , 2016, Biomedical optics express.

[47]  Karel Svoboda,et al.  Monitoring Neural Activity and [Ca2+] with Genetically Encoded Ca2+ Indicators , 2004, The Journal of Neuroscience.