# Precise calcium-to-spike inference using biophysical generative models

**Authors:** Gerard Joey Broussard, Giovanni Diana, Francisco J. Urra Quiroz, B. Semihcan Sermet, Nelson Rebola, Laura A. Lynch, David A. DiGregorio, Samuel S.-H. Wang

PMC · DOI: 10.21203/rs.3.rs-6017950/v1 · 2025-04-24

## TL;DR

This paper introduces a new method for accurately estimating neural spike times using biophysical models of calcium indicators, achieving twice the accuracy of previous methods.

## Contribution

A novel biophysical model-based framework for spike inference that surpasses existing methods in accuracy.

## Key findings

- jGCaMP8f exhibits use-dependent slowing, leading to false positives in spike inference.
- The BiophysSMC and BiophysML methods reduced false positives and achieved a median spike time uncertainty of 4 milliseconds.
- The new framework outperforms previous methods and reaches the theoretical limit of accuracy.

## Abstract

The intramolecular dynamics of fluorescent indicators of neural activity can distort the accurate estimate of action potential (“spike”) times. In order to develop a more accurate spike inference algorithm we characterized the kinetic responses to calcium of three popular indicator proteins, GCaMP6f, jGCaMP7f, and jGCaMP8f, using in vitro stopped-flow and brain slice recordings. jGCaMP8f showed a use-dependent slowing of fluorescence responses that caused existing inference methods to generate numerous false positives. From these data we developed a multistate model of GCaMP and used it to create Bayesian Sequential Monte Carlo (BiophysSMC) and machine learning (BiophysML) inference methods that reduced false positives substantially. This biophysical method dramatically improved spike time accuracy, detecting individual spikes with a median uncertainty of 4 milliseconds, a performance level that reached the theoretical limit and is twice as accurate as any previous method. Our framework thus highlights advantages of physical model-based approaches over model-free algorithms.

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12045362/full.md

---
Source: https://tomesphere.com/paper/PMC12045362