# L22 · Retrieval when half a cutout is hidden

## Controlled visibility stress test · 2026-12-01

Can a reference-image search remain useful when only part of a specimen is visible? Reuse L9's five-reference gallery and 45 query cutouts from the cached UDE prefix. Keep only the 42 queries with rotated rectangle annotations, which provide a rough center and long-axis direction; three circular annotations are excluded. All images are from one filename-derived source slide, not independent biological samples. The public UDE label supplies the recorded genus, not an Academy identification.

For each query, use the annotation rectangle to divide the **entire image** through its center, perpendicular to the rectangle's long axis. Replace either half of the image with the image's median gray value, leaving the other half untouched. Run the frozen ImageNet ResNet-18 retrieval on the complete crop and the two complementary synthetic half-images, always using the same five unmodified gallery examples (one per genus). The target is not segmented: the filled half hides background and any other objects too. Annotation geometry guides the artificial edit, not inference. [Inspect every query and nearest reference](/results/l22/) and [download the rankings](/results/l22/partial-retrieval.json).

Top-neighbor genus matched the public label in 21/42 complete queries, 17/42 half-A queries and 19/42 half-B queries. For half A, five queries changed from a correct to an incorrect genus and one changed in the other direction; for half B, four changed from correct to incorrect and two the other way. Both half versions share the same original query and gallery, so they are paired observations. This is a small selected, same-slide, closed-set development stress test; the gallery forces a genus even when the remaining evidence is inadequate.

The rectangles include margins and do not trace valve pixels, so this does **not** establish that exactly half of each valve remains visible. Cutouts can include other specimens, the median-gray edit creates a hard artificial edge, and real breaks or overlapping specimens can look very different. The source is a nonrandom prefix of a single public slide; genus labels and specimen independence have not been adjudicated for this task. Do not interpret these counts as classification accuracy for partial Academy diatoms, or assume a near match is correct.

**Next.** Evaluate true broken, edge-clipped and occluded local examples with specialist-provided defensible ranks and independent sample splits. Compare fragment-level and complete-crop features, explicitly calibrate abstention on other slides, and report wrong named calls and end-to-end correct identification alongside review time. Preserve the original image evidence; do not generate missing diagnostic details. Reproduce using `/tmp/diatom-research-venv/bin/python research/l22_partial_retrieval.py` with the L9 gallery, R14 prefix images, UDE metadata and ResNet weights documented in R7.
