- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 2
Read review
Summary
This paper proposes a universal spike inference framework, SpikeSSL, that infers neuronal spike rates from two-photon calcium imaging data across different, unseen calcium indicators. It combines dynamics knowledge with bidirectional state-space layers to extract temporal features. The paper also creates a biophysical simulation pipeline for data augmentation. Experimental results show that the method achieves SOTA performance.
Strengths and weaknesses
Strengths:
- Combining dynamics knowledge with state-space layers gives the framework strong zero-shot generalization capabilities.
- The biophysical simulation pipeline provides high-quality data augmentation, helping the framework achieve state-of-the-art performance.
- The framework achieves SOTA performance across multiple diverse datasets.
Weaknesses:
- The bidirectional nature of the state-space layers inherently relies on future context, rendering the proposed method unsuitable for real-time inference applications.
- The rigid choice of a 0.5 gating threshold tends to inadvertently suppress genuine weak signals, particularly in low signal-to-noise ratio (SNR) regimes.
- The global statistics are highly特 susceptible to distortion induced by localized motion artifacts or baseline drifts.
Questions
Q1: In the ablation study, the authors do not evaluate the performance without the indicator ID. Incorporating this specific baseline is highly desirable, as it would conclusively demonstrate the true source of the model's generalization capability.
Q2: The choice of a fixed 0.5 threshold for noise filtering during inference lacks sufficient justification. To ensure the reliability of the core claims, the authors should include a threshold sensitivity study (e.g., varying from 0.3 to 0.7) to verify the model’s stability under different filtering regimes.
Q3: In Figure 2, the LN layer is erroneously drawn on the residual path, which contradicts the architectural diagram provided in the Appendix.
Limitations
No.
Paper formatting concerns
No.
Q1. Ablation without indicator ID
We thank the reviewer for requesting this decisive control. In LOIO, SpikeSSL is given an unknown indicator code (ID=0), never the held-out dye label. We trained and evaluated a version without the discrete-ID branch. Mean correlation decreases only slightly from 0.654 to 0.647. Thus, cross-indicator generalization does not depend strongly on indicator ID. Sampling rate and the seven statistics computed from the input window provide complementary metadata for the conditioned dynamics.
ID has a larger role in the in-domain setting, where it is observed and can capture domain-specific regularities. Mean correlation decreases from 0.741 to 0.703, a drop of 3.8 points.
Pearson correlation (r)
Q2. Gate-threshold sensitivity
We appreciate this important robustness check. We swept the inference threshold τ from 0.2 to 0.8 while keeping the trained model fixed. The default τ=0.5 gives the highest mean correlation at 0.654. Mean normalized error is lowest at τ=0.6. Mean absolute bias decreases through τ=0.7 as the gate becomes more conservative. Correlation is the most valuable metric for this task, so we use the correlation-optimal threshold of 0.5.
Correlation r
Normalized error
Normalized bias
Q3. Figure 2 LayerNorm placement
Thank you for raising this potential ambiguity. In both Figure 2 and Supplementary Figure 8(a), AdaLN is applied within the IIR branch before the residual addition. The two diagrams are therefore consistent. We apologize that the current drawing can be read differently and will make the labels and caption clearer.
Q4. Bidirectional layers and real-time inference
We appreciate this practical concern. Spike inference is predominantly an offline analysis task, and our benchmarks follow that setting. We agree that SpikeSSL is not a causal frame-by-frame filter because the bidirectional IIR block uses bounded future context within each window. However, inference uses sliding windows rather than whole-recording batches, so the model never needs an entire recording in memory. On an A100, a single-window forward pass is about 29 times faster than 30 Hz frame arrival. Overlapping windows can therefore keep pace with acquisition in many laboratory settings, although the method remains noncausal within a window.
Q5. Motion artifacts and baseline drift
We thank the reviewer for highlighting this failure mode. Our statistics are computed per window rather than over a whole trial, but this does not make SpikeSSL invariant to artifacts. On perturbed LOIO traces, drift is the dominant degradation. Motion alone is milder, and combined drift and motion also reduce performance. We will add this limitation and recommend standard motion correction and baseline detrending before inference.
Pearson correlation (r)