From 7f791a9f63ab38dc44af96aac8e61ddccc37af28 Mon Sep 17 00:00:00 2001 From: KasparP Date: Thu, 3 Dec 2026 06:18:17 -0800 Subject: [PATCH] docs: add Performance of s8_ft versus earlier models section to release notes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4cbdc50..7bd6257 100644 --- a/README.md +++ b/README.md @@ -408,10 +408,15 @@ Source finding and extraction take about as long as in GIAnT-MATLAB on sparse re ### Changes since v0.1.13 (1 to 3 December 2026) +#### Performance of s8_ft versus earlier models + +On held-out GFP ground truth without activity, **`s8_ft`** eliminates the systematic `1.7%` (`s7_ft`) and `2.2%` (`s6_ft`) baseline underestimation—landing within `0.14–0.17%` of the true mean—and more than triples `s7_ft`'s 8-frame baseline tracking gain over the static mean image (`-0.86%` MSE change vs `-0.27%` for `s7_ft` and `-0.08%` for `s6_ft`). By reading per-trial registration statistics (`*_REGSTATS-80Hz.h5`) and frame-by-frame sub-pixel motion blur, `s8_ft` keeps quiet-frame noise calibrated (`z_var = 0.996` on GFP, `0.972` on held-out sensor mice) while cutting spurious event-induced variance inflation threefold (`+5.3%` on event frames vs `+15.3%` in `s7_ft` and `+14.6%` in `s6_ft`). Where events are injected, `s8_ft` does not follow event time courses (`+0.5%` slope) and absorbs `+16.1%` of mean added activity into the static baseline level—slightly less than `s7_ft` (`+17.4%`) and nearly half of an identically trained control model without the statistics encoder (`+31.0%`), whereas `s6_ft` erred in the opposite direction (`-8.4%`). On held-out iGluSnFR4f recordings, `s8_ft` matches `s7_ft` on unmasked labeled dendrite (`4/8` mice each: `2/4` held-out test mice and `2/4` validation mice) and improves dim activity-free support (`-30.0%` vs `-24.2%`), with two practical caveats: like earlier models it still absorbs roughly half the mean shift of very weak (`1–2%`) sources, and it requires `*_REGSTATS-80Hz.h5` sidecars (`s7_ft` remains available when they are absent). + - **F0 network `s8_ft` and automatic `--fast` + `--sd` prediction** ([release `s8_ft`](https://github.com/AllenNeuralDynamics/slap2-F0-network/releases/tag/s8_ft) of slap2-F0-network). - - `s8_ft` is now the current checkpoint (`slap2-f0 checkpoint s8_ft`). It adds the per-trial registration statistics encoder (`_REGSTATS-80Hz.h5`: Campbell cumulant, sample-count and 8-frame shared-mode SVD maps) and sub-pixel alignment blur features, removing `s7_ft`'s 1.7% baseline underestimation on GFP ground truth (`-0.14%` at sources, `-0.17%` at controls) and cutting spurious event-frame noise inflation threefold (`+5.3%` vs `+15.3%`). `s7_ft` and `s6_ft` remain available by name. + - `s8_ft` is now the current checkpoint (`slap2-f0 checkpoint s8_ft`); `s7_ft` and `s6_ft` remain available by name. - `giant silo --f0-ckpt` now passes `--sd` and `--fast` automatically (unless `--f0-out-frames` is given). -- **Physics-grounded variance, spatial pooling, projected SNR, and clamped bicubic warping** (#88, #89, #102; [Variance factors, spatial pooling, and sub-pixel interpolation](docs/source/variance_and_interpolation.rst)). +- **Support-independent core baseline (`F0_core`)** (#104): raster SILo writes `sources/temporal/F0_core` (the 3 × 3 core baseline in footprint units), giving a `dF / F0_core` normalization that does not depend on the footprint's support size (`--valid-kernel`). +- **Physics-grounded variance, spatial pooling, projected SNR, and clamped bicubic warping** (#88, #89, #102, #110; [Variance factors, spatial pooling, and sub-pixel interpolation](docs/source/variance_and_interpolation.rst)). - Localization consumes pooling-deattenuated network `/sd` when present (`localization_sd=True`; `solver_sd` for NMF extraction is optional and off by default, #102), alongside pooling-conserved 200 Hz kernel variance (`variance_mode='kernel'`), correlation-aware bounded-chunk WLS `snr_mode='projected'` with shortest-half centering, discard-masked `varFacDS`, and overshoot-free lower-bound-clamped bicubic across-trial resampling (`warp_interp='cubic_clamped'`). - **Browser raster ROI annotation and WMF seeding:** - `giant annotate-raster` draws soma and plain ROIs on raster recordings in the browser (#106).