# R97 · Confirm YOLO-box refinement on other public sources

R96 found that, on already viewed cases, MobileSAM given low-confidence partial-standard YOLO boxes matched more reference masks than the YOLO mask head at the same confidence-ranked box budget. It did not beat the existing SAM/Cellpose proposal baseline, and severe real diatom overlap remains untested.

1. Before selecting or running pixels, freeze another locally available source-file group (for example the 24 R80 Gündüz fields) and document previous use: some trained the separate R54 decoder, but the R96 YOLO checkpoint has different training inputs. Check exact file hashes, source annotation and transformed crop similarity against **all** 28 R95 training fields and the R96 evaluation fields, including non-largest source annotations; quarantine flagged cases using a predeclared rule. Coarse screening and filenames do not prove distinct biological specimens or base-model training independence.
2. Freeze the R96 policy, including 0.001 floor, YOLO internal NMS and max-100 cap, first 30 valid boxes, MobileSAM checkpoint, paired mask order and candidate budgets. Recompute models from original source pixels where needed and preserve each output and hash. Compare the prior point-SAM/Cellpose baseline where same inputs and budgets are actually available; disclose distinct preprocessing and compute.
3. Separate object availability, region/mask quality, candidate count, additional prompt cost, low-confidence ranking and complete overlap-group recovery. Matched source regions are not necessarily biological individuals, and unlabeled candidates are not confirmed false positives. Retain clipped, low-quality, overlapping and conflicting alternatives. Keep original native pixels and focal provenance for species identification.
4. If actual severe overlapping instances or independently verified source groups cannot be found, report the remaining gap and continue local controls; do not promote the model or ask for a professional prematurely. Later expert review should adjudicate ambiguity with preserved raw predictions and correction history.

## Different-file replay · 2026-12-02

[Visual report](/results/r97/) · [frozen protocol](/results/r97/protocol.json) · [similarity screen](/results/r97/source-screen.json) · [results](/results/r97/results.json) · [verification](/results/r97/verify.log). Of 24 previously viewed R80 Gündüz fields, one (2246) was quarantined under the predeclared transformed masked-crop similarity rule because it resembled a previously used synthetic source. The 23 retained fields have 26 structural source regions. The screen checks all 47 known polygons from 28 YOLO training fields and previously used real/synthetic source regions, but cannot prove biological independence; synthetic backgrounds were not independently screened as whole slides. Sixteen retained fields trained a separate R54 decoder, which is not used here.

At top 30 and mask IoU ≥0.5, the YOLO mask / same-box SAM / alternating / historical detector/grid-SAM + Cellpose-DINO streams match **14 / 18 / 17 / 26 of 26** source regions. At ≥0.75 they match **8 / 15 / 15 / 26**. At top 10 and ≥0.5 the counts are **12 / 15 / 11 / 26**. The historical stream used a different scale, proposals, models and compute; this is not an equal-compute comparison. Its original 768×576 masks were resized to 512×384 for this replay: the aggregate native and resized matches agree at 26/26 at top 10 and all at both thresholds. Real references map nonintersecting source boxes to binary connected components, not established individual severe-overlap masks.

The fixed low-confidence policy issued **676** SAM prompts; YOLO hit its 100-output cap on **12/23** fields. Candidate burden is high, unlabeled candidates are not confirmed false positives, and internal NMS and the cap can hide instances. Full saved raw post-NMS YOLO outputs, paired masks, boxes, reference regions and visual overlays are available. Every retained source image/mask/XML hash, structural mapping, archive, candidate ordering and score was reconstructed; the verifier shares the matcher and did not rerun inference. Nine prompts from the first three eligible cases were rerun individually: masks matched saved batched outputs exactly; maximum quality difference was 2.4×10⁻⁷. This does not validate every output or real overlap.

The mask-head improvement repeats on these different files but neither the stronger historical baseline nor the real-overlap gap is resolved. Seek additional, sample-independent real overlapping instances and use local synthetic/stack controls; preserve raw RGB/focal evidence and alternative instance hypotheses for eventual species classification and corrections.
