A learned DiskANN beam cuts average SSD latency, but usually worsens the tail
Across three 100-million-vector datasets, a per-query search budget beat classical beam search by as much as 29.6% at matched recall. The lead over adaptive beam search was smaller.
The authors of Variants of Beam Search for DiskANN, posted November 19, report that a learned search budget cut mean query latency on an SSD index in 14 of 15 settings versus classical beam search. But at the 99.9th percentile, it was slower in 13 of those settings, by up to 2.1×. The benchmark shows why a gain at matched recall is not necessarily a gain against a tail-latency target.
The baseline changes the size of the win
Classical beam search uses a fixed candidate-list size for every query. The paper’s beam predictor starts with a pilot search and uses what it observes to choose a list size for that query. The reported latencies include the pilot, feature computation and prediction. The largest mean-latency gain over classical search came on MSSpaceV100M at a 95% mean recall target for the top 100 neighbors: 14.51 ms versus 20.61 ms, a 29.6% reduction. Adaptive beam search ran the same setting in 14.77 ms, putting the predictor’s lead at just 1.8%. Against adaptive search, it was faster in 11 of 15 settings, with a maximum reduction of 6.5%, and up to 1.4% slower in the other four. All four exceptions targeted 90% recall. Section 6.3, Table 3
What the test does and does not establish
The authors used 100-million-vector slices of SIFT, DEEP and MSSpaceV, with held-out query halves of 5,000, 5,000 and 14,345 respectively. They tuned both baselines on those test queries to match the predictor’s achieved mean recall within 0.05 percentage points. The timings used one search thread, direct I/O on one NVMe SSD, and five runs per operating point. The offline search sweep took 1.7, 1.8 and 3.4 hours respectively on the authors’ server and was not counted in query latency. Section 6.1
The predictor can spend up to ten times the requested result count on its candidate list for hard queries. Its p99.9 was worse than adaptive beam search in nine settings, although adaptive search had the heavier tail in the 95%-target MSSpaceV100M settings. For a team evaluating the method, the useful next test is to hold recall constant and measure both mean and tail latency under its own query mix and concurrency. The paper establishes the trade-off on a single-threaded setup, not which method will meet a production latency target. Section 6.3 and Appendix B
sources
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026