The number that should have moved didn’t. A recognition lookup cost 42.3 ms at top_k = 1024, 36.3 ms at 512, 13.3 ms at 256. Halving the keypoints from 1024 to 512 cut the multiply-accumulates in the matcher by about three quarters, and the time by 14 %.
The profiling number that looked boring was the whole finding.
Five passes over the same pixels
Anchor.locate() detects features internally. That’s fine for one reference photograph. But CheckpointBank.locate() asks several references about the same frame, and each of them called the full detector on identical pixels. A four-wide shortlist ran the neural backbone four times on one image, plus once more for the signature path: five backbone passes per lookup, four of them recomputing something already in memory.
The fix is smaller than the bug
Anchor.locate_features(k1, d1) accepts query features that have already been extracted. The bank detects once and passes those features to each reference. At a four-reference shortlist, the archived lookup time fell from 169.1 ms to 94.4 ms, about 1.8 times faster. The recorded matching outputs were unchanged: the optimisation removed repeated extraction rather than deliberately reducing the evidence.
It also overturned an earlier cost model. That model assumed detection happened once, so moving the backbone to the accelerator saved a fixed amount regardless of shortlist width. The actual implementation repeated it k + 1 times. Removing the repetition recovered about 75 ms in this CPU comparison before another model or accelerator optimisation was needed.

A cost model with the right boundary
Let F be query feature extraction, M the work of matching one reference, S the other lookup overhead, and k the shortlist width. The repeated path costs approximately (k + 1)F + kM + S; the shared path costs F + kM + S. This is an explanatory decomposition, not a claim that every term stays constant across hardware or workload.
It also explains why reducing keypoints did not yield the expected end-to-end speedup. A pairwise descriptor comparison depends on the number of query/reference pairs, while repeatedly extracting features carries a different cost. Reducing one term does not remove the other. Profiling at the complete lookup boundary made that visible.
The bank comparison is not the same benchmark as the bare accelerator’s throughput. It includes reference search and matching. The export investigation keeps sustained chip throughput separate from the latency of an application-facing call.
Sharing a result has conditions
The extraction can be shared because the consumers are asking about the same query image with the same feature configuration. If one path changes its crop, resize, colour preparation or model weights, it is no longer safe to assume the features are interchangeable.
The cache lifetime matters too. Features from one captured frame must not quietly become evidence for the next. Coordinates need to remain in a defined image space, and consumers must not mutate a shared descriptor array in place. If an asynchronous backend reuses an output buffer, retaining a view without ownership can make apparently cached features change underneath the matcher.
These are the invariants I would preserve when extending this optimisation, not additional capabilities demonstrated by the historical timing result.
What the saved time does not establish
An unchanged inlier count is evidence that this reuse did not intentionally approximate the matching path. It is not a field recognition-accuracy metric, a promise that every query will be 1.8 times faster, or a bound on complete capture-to-control latency. The archive supplies this particular workload and comparison, not a distribution over every scene.
The useful result is more concrete than a general “faster AI” claim: the same frame stopped running through the same extractor five times. That left more of the budget available for the work that actually differs between references. The question of which views deserved those references is the anchor-policy story; the question of whether the resulting observation is still current is the frame-age problem.
