pipette
ENEnglish

Batched Feedback and the Random-Access Wall in Search-Based Graph Construction

\'Edgar Ch\'avez

Preprint

En palabras de los autores

Navigable graphs for nearest-neighbor search are built either incrementally, each inserted point searching a graph that mutates as construction proceeds, or in batch over a fixed substrate, which buys determinism and parallelism at a price in build time. We measure that price and find where it comes from. Instrumenting a tuned Vamana and PiPNN and building every system repeatedly in a paired design on one 64-thread machine, we separate build time into work (distance evaluations) and cost per evaluation. Letting the batch builder's substrate mutate in synchronous blocks recovers the feedback loop of incremental construction while the graph stays a function of (data, seed, parameters, ): eight trees with batched feedback match thirty-two frozen trees, and the build does Vamana's distance work. Yet it takes Vamana's wall-clock, because the mutating substrate costs more per evaluation. Pushing further, we find a wall that no search-based builder crosses. Every one of them, incremental or batched, evaluates distances adaptively, one dependent random access at a time, and runs - below a dense kernel on the same machine at , five to six times of it with the data resident in cache. The gap is not a low-dimension artifact: an adaptive evaluation costs and a blocked one , so the wall grows as and is twice as high at as at . PiPNN's order-of-magnitude build advantage is that kernel: it evaluates as many distances per point, but as fixed-in-advance dense blocks. We show the beam cannot be batched after the fact (the useful density of a lockstep block is 2-3%), state the wall as a two-ceiling roofline, and delimit it: it binds whenever the distance is a black box or the evaluation order is data-dependent.

Resultado principalEl resumen no menciona limitaciones.

Apareció: lunes, 28 de septiembre. arXiv. Preprint, todavía sin revisión por pares.