The earlier comparisons used offline labels collected before the soak. I then ran three detectors live at the same window, scoring the same incoming clips. The trial lasted 17 of its planned 30 days. This post covers the results, the decision to stop 13 days early, and the model that subsequently went onto the device.
Three arms that score without gating uploads
Every incoming clip was scored by the frozen DSP heuristic from Part 2, the on-chip CNN from Part 5, and a cloud-scored version used only as a benchmark. Part 4 had already ruled the cloud tier out as a deployment candidate on cost. None of these arms controlled uploads or discarded clips. That kept one detector's decisions from restricting the data available to the others.
Settings held fixed during the trial
At the trial's start, T0, I froze the following settings for the full run:
- Model weights, all arms. No retraining during the trial.
- Operating thresholds, all arms. These were chosen out-of-fold before T0, as described in Part 5, without retuning after seeing soak results. The DSP comparison in Part 2, reported here as 0.921 in-sample and 0.812 held-out, had already shown the risk of trusting tuning-set performance.
- The trigger's sensitivity margin. The trigger was known to collect too many low-value clips overnight. I left that issue unfixed during the soak because changing sensitivity would alter the input distribution partway through. The fix was queued until after the trial.
The frozen weights and thresholds meant that soak labels were held out from model fitting and threshold selection for every arm.
The pre-registered exit rule, written before any data came in
If any arm reaches ≥90% precision at ≥90% recall — estimated with the inverse-probability-weighted method from Part 3, at that arm's frozen threshold, with the 90% lower confidence bound on recall at or above 85% — that arm ships and the trial ends. If none do, the trial still ends, written up as a null result: hand-designed and learned approaches both plateau on this problem.
I defined three possible outcomes: clear, fail, or not measurable at the available sample size. The last category covers a passing point estimate whose confidence interval does not satisfy the rule. Naming it in advance allowed an inconclusive result without treating it as a pass.
The decision to stop at 17 of 30 days
Stopping at 17 days was a deviation from the pre-registered 30-day window. The original duration was not optional simply because the emerging result looked consistent.
I stopped because the chip model had stayed ahead on every day, with a persistent DSP recall gap and no change in ranking. That was an explicit judgement about diminishing information, made after seeing the trend. It left fewer labels than a full 30 days would have provided and limited the precision of the comparison. A stable observed ranking does not remove the concern about choosing a stopping point after seeing results.
The final numbers
The reported counts below use all post-T0 labels: 1,594 in total, including 183 confirmed sirens, scored at each arm's T0-frozen threshold.
| Arm | Threshold | Precision | Recall | Detail |
|---|---|---|---|---|
| DSP | 0.40 | 94.7% | 68.9% | 126/183 caught, 57 missed, 7 false alarms |
| Chip (on-device) | 0.65 | 98.2% | 90.7% | 166/183 caught, 17 missed, 3 false alarms |
The trial was reported as a pass for the chip model at P98.2 / R90.7. DSP fell roughly 22 points short of the recall requirement, at 68.9%, with a daily gap in the same 20–30-point range throughout the soak. These counts support choosing the chip model over this DSP baseline. They do not, on their own, document the inverse-probability-weighted estimate and recall confidence bound required by the full exit rule above.
Retraining did not give a clear improvement
After the soak I retrained the chip model using the new labels alongside the pre-T0 training set. For the first comparison, I held out two full days containing 60 sirens, so the retrained model could be tested on data it had not seen.
The retrained model scored lower on precision than the frozen model, 93.5% versus 98.3%, at matching recall. Both cleared 90/90 on this test. I regarded the comparison as inconclusive given the small test set; it did not establish either that retraining helped or that the difference was only sampling noise.
I then used cross-validation to assess performance across several day-grouped splits, training a fresh model for each. This answers a different question from the direct comparison: how well does the training approach perform across the available data? It does not establish that the exact final retrained model beats the frozen one. The final artefact was trained on all the data, with no held-out test of that specific model.
The expanded corpus contained 1,898 labels, about six times the original 308-label training set used at T0. I evaluated the training approach with 4-fold day-grouped cross-validation, scoring each fresh model only on days excluded from its training:
| Fold | n test | Precision | Recall | F1 |
|---|---|---|---|---|
| 0 | 449 (71 pos) | 95.9% | 98.6% | 0.972 |
| 1 | 497 (69 pos) | 93.2% | 98.6% | 0.958 |
| 2 | 572 (70 pos) | 93.0% | 94.3% | 0.936 |
| 3 | 380 (69 pos) | 98.4% | 89.9% | 0.939 |
| mean | 95.1% | 95.3% | 0.951 ± 0.015 |
The mean precision and recall cleared 90/90, although fold 3's recall was 89.9%. The deployed model was trained on 100% of the corpus. These cross-validation results provide out-of-sample evidence for the training approach, not a held-out evaluation of that final artefact.
Deploying it, with a trap the firmware now catches automatically
The retrained model was quantised to int8 and reflashed to the device. It occupied 9.6 KB, reported as 46.6% of the flash budget from Part 5. A verification script compared the on-device frontend and training path on real audio and found zero score disagreement across 15 spot-checked clips.
Retraining changed the model's int8 scale and zero-point, which the firmware had hard-coded from the original model. Leaving the old values in place would not necessarily crash inference; it would feed the new model incorrectly calibrated inputs. The firmware now checks those constants against the model's tensor metadata at boot and fails immediately if they disagree.
Simplifying the pipeline after the trial
When the model shipped, I removed the three-arm comparison infrastructure: the disagreement and stratified labelling queues, paired scoring and coverage correction. The remaining pipeline was smaller:
- On-device upload gate. Clips are uploaded only if the chip model scores them above its frozen threshold. Everything found by the trigger is still timed and counted locally. If the model fails to initialise, the gate fails open and uploads everything rather than silently suppressing all clips.
- Live buffer and cold archive. Audio had been kept indefinitely for labelling and retraining. The live bucket now provides a working buffer covering 48 hours, with durable material moved to a colder, cheaper archive tier.
- Daily-count dashboard. The dashboard now shows a daily siren count based on clips that passed the device gate. The labelling UI, disagreement queue and coverage badges belonged to the completed comparison and were removed.
What the comparisons established
The held-out check changed my view of DSP, the cloud comparison ruled out models with higher F1, and the first retraining comparison failed to show the improvement I expected. Each result depended on more than the model: which clips were labelled, how folds were separated, what the deployment could support, and whether the trial followed its original plan.
The chip model shipped after outperforming this DSP baseline in the live comparison. DSP was useful as a quick starting point and a cheap reference throughout. The early stop and the lack of a held-out test for the final retrained artefact remain limits on what I can claim from the result.