# L77 · Identity-safe cross-plane association under ambiguity

R89 observed many unassigned or ambiguous adjacent-plane links and showed that one-to-one matching can give apparent source recovery using near-duplicate masks. Build a deterministic synthetic association stress test from archived R89 masks and known generated source supports. Include normal, same-position near-coincidence, reversed front/back order, missing detections, registration drift and deliberate candidate duplication; preserve every source candidate.

Compare no grouping, pairwise IoU links without forced union, and conservative graph/temporal assignment rules. Treat source reference identity as evaluation-only. Score target coverage, duplicate hypotheses per object, source-pair merging, source identity swaps, track fragmentation, and ambiguous/unassigned cases, with held-out source pairs and equal candidate budget. Never interpret unassigned model proposals as false positives or infer identity from IoU alone. Visually show ambiguity cases and retain source-plane RGB/grayscale crops for later species classification. Synthetic results are not real optical or expert-level accuracy; validate any promising frozen association policy on independently sourced data before adoption.

## Completed association replay and reusable link builder (2026-12-02)

[Visual report](/results/l77/) · [frozen protocol](/results/l77/protocol.json) · [108 scene-variant results](/results/l77/results.json) · [independent replay](/research/l77_verify.py). The first 30 focal-ranked candidates from 36 previously viewed R89 additive/opacity synthetic scenes (18 development, 18 source-field holdout) were replayed without new inference. Each condition has a clean variant, a variant adding exact copies of its first three candidates, and a variant removing all middle-plane candidates. Within a variant, each policy receives identical candidates; budgets differ between variants. Source reference labels are never used to build links or groups.

Possible cross-plane links connect candidate masks on adjacent planes at IoU ≥0.5; no registration is estimated. We compare separate candidates, pairwise links without identity grouping, transitive connected components, mutual-best links at IoU ≥0.7, and mutual-best with a ≥0.1 score margin. For evaluation only, a candidate receives a source label when it matches exactly one rendered source support at IoU ≥0.5 on its own plane; others are unassigned or ambiguous. These labels are conditional synthetic proxies, not confirmed real identities. With 18 clean scenes and 36 source supports per split:

| Split | Policy | Candidate groups | Sources with ≥1 uniquely matched candidate | Groups containing such candidates | Groups with both uniquely labeled sources | Groups containing uncertain candidates |
|---|---|---:|---:|---:|---:|---:|
| Development | separate or uncommitted pairwise | 540 | 18/36 | 35 | 0 | 505 |
| Development | connected components | 267 | 18/36 | 19 | 0 | 248 |
| Development | mutual best | 350 | 18/36 | 24 | 0 | 326 |
| Development | mutual + margin | 441 | 18/36 | 32 | 0 | 409 |
| Source-field holdout | separate or uncommitted pairwise | 540 | 20/36 | 37 | 0 | 503 |
| Source-field holdout | connected components | 266 | 20/36 | 20 | 0 | 247 |
| Source-field holdout | mutual best | 362 | 20/36 | 25 | 0 | 338 |
| Source-field holdout | mutual + margin | 425 | 20/36 | 34 | 0 | 392 |

No labeled cross-source merge is observed under this restrictive unique-label rule, but most candidate groups contain unassigned/ambiguous members and may hide errors; no general safety conclusion is possible. Removing the entire middle plane leaves no adjacent-plane edges under this fixed rule, exposing track fragmentation. Injected copies affect candidate budgets and show duplicate handling, not biological duplicate frequency. Same-source-connected groups, coverage and three-plane spans are in the machine results.

A **separate oracle-constructed falsification** uses the two known different source silhouettes from additive pair 2 at adjacent planes; their IoU is 0.70255. The transitive, mutual-best 0.7, and mutual-plus-margin rules all group them despite different supplied source identities. This is a mathematical counterexample, not a model-prediction frequency estimate; the same-source exact-mask control also groups. The independent verifier replayed all 108 scene variants, edge geometry, source-conditioned labels, candidate preservation, grouping constraints and both oracle constructions from saved masks. Neural inference was not rerun.

Added [`diatom_pilot/crossplane_links.py`](/diatom_pilot/crossplane_links.py): it returns **all candidates as independent nodes** and geometric adjacent-plane IoU links as explicitly uncommitted possibilities, with mask digests and source ordering. It never merges, deletes or assigns biological identity and assumes the caller supplies registered/common-coordinate masks. Three behavior tests cover false merging, empty/nonadjacent nodes and malformed inputs. Its outputs exactly reproduce all 108 frozen synthetic overlap graphs ([parity](/results/l77/production-parity.json)). Applied to the first 30 native-plane focal proposals in each of four previously viewed, unlabeled Academy fields: 107 candidates and 62 possible links, no forced grouping ([graphs](/results/l77/real-links.json), [image galleries](/results/l76/)). Fused candidates lack one source plane and are excluded. These data do not establish true organisms, real registration, false positives, species or human-level accuracy.

Next: develop an image-evidence-aware, non-destructive ambiguity queue and evaluate whether additional focal or morphological evidence can distinguish deliberately confusable links before any forced grouping. Use the fixed masks and source crops first; retain the long-term scientist-review pathway without asking for review while local tests remain.
