Multi-scale approaches for high-speed imaging and analysis of large neural populations

Johannes Friedrich, Weijian Yang, Daniel Soudry, Yu Mu, Misha B. Ahrens, Rafael Yuste, Darcy S. Peterka, Liam Paninski

Abstract

Progress in modern neuroscience critically depends on our ability to observe the activity of large neuronal populations with cellular spatial and high temporal resolution. However, two bottlenecks constrain efforts towards fast imaging of large populations. First, the resulting large video data is challenging to analyze. Second, there is an explicit tradeoff between imaging speed, signal-to-noise, and field of view: with current recording technology we cannot image very large neuronal populations with simultaneously high spatial and temporal resolution. Here we describe multi-scale approaches for alleviating both of these bottlenecks. First, we show that spatial and temporal decimation techniques provide order-of-magnitude speedups in spatiotemporally demixing calcium video data into estimates of single-cell neural activity. Second, once the shapes of individual neurons have been identified (e.g., after an initial phase of conventional imaging with standard temporal and spatial resolution), we find that the spatial/temporal resolution tradeoff shifts dramatically: after demixing we can accurately recover neural activity from data that has been spatially decimated by an order of magnitude. This offers a cheap method for compressing this large video data, and also implies that it is possible to either speed up imaging significantly, or to “zoom out” by a corresponding factor to image order-of-magnitude larger neuronal populations with minimal loss in accuracy or temporal resolution.

Introduction

The "voxel budget" of modern imaging systems creates a fundamental bottleneck in neuroscience. To achieve single-cell resolution, researchers often must sacrifice either temporal resolution or the field of view. Additionally, the computational burden of processing high-resolution video data in real-time is immense. Standard demixing algorithms, such as Constrained Non-negative Matrix Factorization (CNMF), are often too slow for closed-loop experiments. This paper proposes a multi-scale strategy to break these trade-offs by leveraging the redundancy in neural shapes.

Methods

The proposed framework optimizes the CNMF pipeline through two primary methods:

  1. Algorithmic Optimization: The introduction of "Fast HALS" (Hierarchical Alternating Least Squares) updates neural activity traces while keeping spatial footprints fixed, reducing matrix operations.
  2. Spatio-temporal Decimation: Initial processing on downsampled data provides a "warm start" for the algorithm, drastically reducing computation time without sacrificing final accuracy.
Computational speedups from algorithmic optimization and decimation.

Building on these optimizations, the authors introduce a Two-Phase Acquisition strategy. In Phase 1, a short high-resolution recording identifies the precise spatial footprints of neurons. In Phase 2, imaging is performed at a much lower spatial resolution (decimated). By using the high-resolution footprints as a prior, the algorithm can accurately demix activity from the low-resolution Phase 2 data.

Results

The optimized CNMF pipeline achieved order-of-magnitude speedups in processing time. For zebrafish light-sheet data, processing time was reduced from approximately 35 seconds to 1 second.

The two-phase approach demonstrated remarkable robustness to spatial decimation. While single-phase imaging (attempting to identify neurons directly from low-res data) failed quickly as resolution decreased, the two-phase approach maintained high correlation (>0.9) even at 8x8 or 16x16 decimation levels.

Accuracy of neural activity recovery using the two-phase approach.

As shown in Figure 6, the recovered fluorescence traces from decimated data are nearly indistinguishable from the original high-resolution traces. This suggests that spatial resolution can be traded for a 10x increase in field of view or temporal speed with minimal information loss.

Discussion

This multi-scale approach effectively bypasses the voxel budget bottleneck by exploiting the fact that neural shapes are relatively static. While the method is sensitive to brain motion, which would require real-time correction, it paves the way for high-speed, large-scale imaging. Future implementations using specialized hardware like Spatial Light Modulators could enable real-time, whole-brain imaging with single-cell precision, facilitating new types of closed-loop neuroscience experiments.

Summary updated

BibTeX
@article{friedrich2017multi,
  author = {Johannes Friedrich and Weijian Yang and Daniel Soudry and Yu Mu and Misha B. Ahrens and Rafael Yuste and Darcy S. Peterka and Liam Paninski},
  title = {{Multi-scale approaches for high-speed imaging and analysis of large neural populations}},
  journal = {PLOS Computational Biology},
  year = {2017},
  doi = {10.1371/journal.pcbi.1005685},
}
Figure