SpikeSSL: A Universal Spike Inference Framework with Dynamics-Informed State-Space Layers
Chenghao Yue, Siming Xing, shuran liu, Angran Li, Yuanlong Zhang
NeurIPS page · Open on the map
Category: Brain Signals & Spiking Networks › Neural Dynamics and Spike Inference · Type: new method · Keywords: calcium imaging, spike inference, state-space models, zero-shot generalization, multi-modal conditioning
Areas: Model Architectures & Sequence Modeling › Neural and brain architectures › Neural Dynamics and Computation; AI for Science › Brain Dynamics and Medical Imaging › Neural Dynamics Modeling
Summary
SpikeSSL introduces a universal spike inference framework with dynamics-informed state-space layers and multi-modal conditioning to improve zero-shot generalization across calcium indicators.
Explained to a 5-year-old
Scientists use a special camera to watch lots of brain cells fire in live animals. They want to know exactly when each cell spikes, but the pictures change in different ways depending on the dye they use. Old methods only learn from one kind of dye and get confused with new ones. The new system uses a smart set of rules that understand how signals move over time and can change how it works for each dye. This helps it guess spikes correctly even when it sees a dye it has never seen before.
Explained to a 5-year-old, longer
In experiments, scientists can look at many brain cells at once using a special microscope. They record the light that comes from these cells, which changes when a cell fires. The light changes slowly or quickly depending on the chemical they use to make the cells glow. Old computer programs that try to guess when a cell fired only know how one kind of chemical works. When they see a new chemical, they often get the timing wrong. The researchers built a new system that has a special kind of memory that knows how signals usually move over time. This memory is like a set of rules that match the way calcium signals rise and fall. The system also reads information about which chemical is being used, how fast the pictures are taken, and what the overall signal looks like. It then changes how it processes the data to fit the new chemical automatically. It also tells how confident it is about each guess, so users know when it might be unsure. By training on many different chemicals, including ones made by a computer simulation, the system learns to work well on chemicals it has never seen. This lets scientists get accurate spike times even when they switch to a new indicator, making experiments easier and more reliable.
For a technical reader
SpikeSSL introduces a universal spike inference framework that can handle a wide variety of calcium imaging indicators without retraining from scratch. Its backbone consists of bidirectional IIR state-space layers that embed domain-specific dynamics, allowing the model to capture the temporal characteristics of fluorescence traces. A multi-modal conditioning encoder fuses indicator identity, sampling rate, and trace statistics, which are applied via adaptive layer normalization to modulate the backbone on the fly. The system also outputs per-frame heteroscedastic uncertainty estimates, providing calibrated confidence for each spike prediction.
Problem
Inferring spikes accurately from calcium imaging data is challenging because different calcium indicators exhibit distinct fluorescence kinetics and signal statistics, and existing models lack dynamics-matched inductive biases, leading to poor generalization to unseen indicators.
Method
The approach uses a bank of bidirectional IIR state-space layers inspired by calcium dynamics as a temporal backbone, and a multi-modal conditioning encoder that incorporates indicator identity, sampling rate, and signal statistics to modulate the backbone via adaptive layer normalization, with a heteroscedastic variance head for uncertainty estimation.
Results
The approach attains state-of-the-art performance on both in-domain and zero-shot leave-one-indicator-out evaluations, and adding simulated data closes the cross-indicator domain gap, improving zero-shot generalization.
Contributions
The paper introduces a dynamics-informed state-space backbone and a multi-modal conditioning scheme for universal spike inference, along with a biophysical simulation pipeline that generates diverse fluorescence-spike traces to augment training and improve cross-indicator generalization.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction