Skip to main content
QUICK REVIEW

[Paper Review] Automatic Neuron Detection in Calcium Imaging Data Using Convolutional Networks

Noah Apthorpe, Alexander J. Riordan|arXiv (Cornell University)|Jun 23, 2016
Neural dynamics and brain functionNeuroscience12 references62 citations
TL;DR

This paper proposes a supervised deep learning approach using 2D and 3D convolutional neural networks (ConvNets) to automatically detect neurons in calcium imaging data with near-human accuracy and superhuman speed. The method achieves superior precision and recall compared to PCA/ICA, enabling fast, reliable, and flexible neuron detection across diverse datasets and labeling criteria.

ABSTRACT

Calcium imaging is an important technique for monitoring the activity of thousands of neurons simultaneously. As calcium imaging datasets grow in size, automated detection of individual neurons is becoming important. Here we apply a supervised learning approach to this problem and show that convolutional networks can achieve near-human accuracy and superhuman speed. Accuracy is superior to the popular PCA/ICA method based on precision and recall relative to ground truth annotation by a human expert. These results suggest that convolutional networks are an efficient and flexible tool for the analysis of large-scale calcium imaging data.

Motivation & Objective

  • Address the growing need for automated, scalable, and accurate neuron detection in large-scale calcium imaging datasets.
  • Overcome limitations of traditional manual annotation, which is time-consuming and impractical for large datasets.
  • Improve upon unsupervised basis learning methods like PCA/ICA, which fail to detect low-activity or inactive neurons.
  • Develop a flexible, generalizable solution that adapts to varying neuroscientist-defined ROI selection criteria through supervised learning.
  • Enable high-speed, reliable detection suitable for real-time applications such as online optogenetics or neural feedback.

Proposed method

  • Train a sliding-window 2D and 3D (spatiotemporal) convolutional neural network (ConvNet) on calcium imaging videos with human-annotated ROIs as ground truth.
  • Use spatial (2D) annotations only, leveraging the fact that neurons are largely stationary (excluding motion artifacts), simplifying training compared to full spatiotemporal labeling.
  • Apply softmax activation to generate probability maps indicating neuron likelihood, followed by post-processing to extract final ROIs.
  • Optimize network parameters using stochastic gradient descent with cross-entropy loss to minimize prediction error.
  • Compare performance using precision, recall, and F1-score metrics against PCA/ICA and human expert annotations.
  • Utilize time-averaged preprocessing to reduce temporal complexity while preserving spatial neuron structure.

Experimental results

Research questions

  • RQ1Can a supervised ConvNet achieve near-human accuracy in detecting neurons from calcium imaging data?
  • RQ2How does the performance of a 2D versus 3D (spatiotemporal) ConvNet compare in terms of precision, recall, and F1-score?
  • RQ3Does the ConvNet outperform unsupervised methods like PCA/ICA in detecting both active and inactive neurons?
  • RQ4To what extent can the model generalize across datasets with varying noise levels and motion artifacts?
  • RQ5Can the model reduce human annotation burden while maintaining or improving detection reliability?

Key findings

  • The 3D ConvNet achieved an F1-score of 0.51 on the V1 dataset and 0.51 on the MEC dataset, significantly outperforming PCA/ICA, which scored 0.27.
  • The 2D ConvNet achieved an F1-score of 0.51 on the V1 dataset, matching the 3D network, suggesting comparable performance despite simpler architecture.
  • The 3D ConvNet demonstrated cleaner output and better detection of transiently active or in-focus neurons, indicating potential advantages in complex or noisy data.
  • The ConvNet achieved higher precision and recall than PCA/ICA on the MEC dataset, where PCA/ICA performance was numerically worse due to mismatched objectives (detecting only active neurons).
  • Training and inference for the ConvNet took ~6 hours total, with inference at ~1.2 seconds per image series, significantly faster than PCA/ICA’s ~9 hours and ~40 minutes per run.
  • Post-hoc human re-evaluation revealed that the network detected previously missed ROIs and corrected some false positives, indicating robustness and potential for improving human labeling consistency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.