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: the resulting large video data is challenging to analyze, and an explicit tradeoff exists between imaging speed, signal-to-noise, and field of view. Here we describe multi-scale approaches for alleviating both of these bottlenecks using spatial and temporal decimation techniques. We demonstrate that these methods provide order-of-magnitude speedups in demixing calcium video data and allow for the accurate recovery of neural activity from data spatially decimated by an order of magnitude.

Introduction

The quest to record activity from tens of thousands of neurons simultaneously faces two primary hurdles. First, the "Data Deluge": high-resolution calcium imaging generates massive video datasets that are computationally expensive to process. Second, the "Physics Tradeoff": fundamental limits constrain the speed of scanning while maintaining high signal-to-noise ratios (SNR) and a wide field of view (FOV). Standard tools like Constrained Non-negative Matrix Factorization (CNMF) are powerful for demixing overlapping signals but struggle to scale to whole-brain datasets or real-time applications.

Methods: A Multi-Scale Strategy

We propose a multi-scale approach centered on data decimation—reducing resolution through simple local averaging—to break these bottlenecks.

Algorithmic Speedup

We modified the CNMF algorithm to operate on decimated data during initial iterations. By utilizing a "fast HALS" (Hierarchical Alternating Least Squares) update order, we process neural activities and shapes in bulk rather than individually, significantly reducing computational overhead.

Two-Phase Imaging

The core of our approach is a two-phase imaging protocol:

  1. Phase 1 (Screening): Conventional high-resolution imaging is used to identify the precise spatial "footprints" (shapes and locations) of neurons.
  2. Phase 2 (Production): Imaging switches to a low-resolution (spatially decimated) mode. Since the spatial footprints are already known from Phase 1, the algorithm only needs to solve for intensity changes over time.

To enhance accuracy at extreme decimation levels, we also implemented an "interleaving" strategy, shifting the pixel grid by sub-pixel amounts between frames to capture diverse spatial information.

Results

The proposed methods were validated using zebrafish light-sheet imaging, mouse two-photon (2P) imaging, and simulated benchmarks.

Processing Efficiency

The optimized CNMF pipeline achieved order-of-magnitude speedups. For example, processing a standard zebrafish data patch was reduced from approximately one minute to just a few seconds.

Signal Fidelity and Demixing

In mouse 2P data, the correlation between signals extracted from full-resolution data and data spatially decimated by a factor of 16x16 remained remarkably high (often >0.9). Furthermore, the two-phase approach successfully separated individual signals from heavily overlapping neurons in "blurry" low-resolution video, a task where standard single-phase analysis typically fails.

Discussion

Our findings suggest that neural imaging data is highly redundant. Once a neuron's shape is known, its activity can be captured by a few coarse pixels. This realization allows researchers to "zoom out" to a 10x larger FOV or "speed up" to 10x higher frame rates with minimal loss in accuracy. Additionally, decimation acts as a form of regularization, preventing the algorithm from getting stuck in local optima caused by fine-scale noise. This approach also serves as an effective lossy compression scheme, significantly reducing memory requirements for long-term recordings.

While promising, this approach assumes tissue stability between phases. Future work will focus on hardware implementations, such as specialized scanning patterns or enlarged point-spread functions, to fully realize the benefits of high-speed, large-scale neural recording.

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