arXiv:2610.02387cs.DBOct 2026

Manuscript Offprint

arXiv:2610.02387

SOLO: Certified-Recall Metric Similarity Search with Scan-Only Sampled Inverted Lists

Édgar Chávez

Abstract

We present SOLO, an index for approximate nearest-neighbor search in general metric spaces whose serving path contains no ranking heuristic of any kind: a query is routed to the ksk_s nearest points of a random sample of the database, and every object in the touched posting lists is evaluated with the true distance. Because nothing must outrank anything, recall equals a coverage probability computable from the stored index: one ground-truth pass over a query sample certifies every operating point at once, without serving any of them — a recall certificate, and for a navigable graph no analogous object exists at any price. The whole index is one recursive rule — sample the collection, post each object to its bb nearest sample points, split any list that outgrows a bound, always scan the leaves — and its operating surface obeys an equal-work law, recall ≈f(b⋅ks)\approx f(b \cdot k_s), whose level is a one-scalar signature of the dataset. The same scan-only structure gives a serving floor no graph architecture reaches once the router is itself indexed by the same rule: Deep-100M served at recall 0.9977 from 1 GB of resident memory (enforced cap, 10.7 bytes per object) and at 0.9964 from 256 MB, Deep-1B at recall 0.9925 from 512 MB (and from 96 MB at depth 3), inserts that are one search, and deletes that are exact. Throughput is competitive where the hardware allows it — up to 1.8×1.8 \times a tuned HNSW at 10810^8 on the machine of §5, with operating points to the right of where that graph saturates — and the tables report it against HNSW, DiskANN, GRAFT, NAPP, misi, and SPANN's assignment rule on the same hardware and ground truth.

1 Introduction

At 10810^8 objects, the practical frictions of nearest-neighbor serving are no longer about raw speed. First, recall dials saturate: an exhaustively tuned HNSW on Deep-100M stops improving at recall@10 = 0.9989 (ef=4000); beyond that point there is no operating point, at any cost. Second, recall is unpredictable: a graph's recall is an emergent property of its construction, measurable only against ground truth after the fact. Third, serving floors are heavy: disk-resident graph systems pin gigabytes of navigation state (DiskANN needs 12 GB for Deep-100M in our measurements and fails below 9.6 GB). Fourth, dynamism is hard: deleting from a navigable graph is famously delicate, and update layers are systems in their own right [15, 20].

SOLO (Scan-Only Lists, One rule) 1^{1} is built from the opposite end: make the serving path so simple that its recall is a theorem about the index rather than an outcome of search heuristics. The index is an inverted file over a vocabulary that is a uniform random sample S of the database itself, ∣S∣=αn|S| = \alpha n. Each object is posted to its b nearest sample points; a query is routed to its ksk_s nearest sample points; the touched lists are scanned exhaustively with the true distance. There is no vote, no scoreboard, no beam, no pruning bound: the only approximation in the entire path is which lists are touched. Consequently ( §2.2\S2.2) recall equals a coverage probability computable from the stored signatures by integer set intersection: exact neighbors for one sample of queries — paid once, on the operator's own workload — certify the recall of every (b,ks)(b, k_s) configuration simultaneously, with no query served and no index rebuilt.

1^{1}Officially SOLOVINO, after the archetypal stray of Spanish folk naming (“solo vino” — it came alone): no clustering, no training, no graph; a random sample and one rule.

One rule completes the design. Random sampling does not balance list sizes, and a list too large to scan would break the cost model — so a list that outgrows a bound is treated as what it is, a database: sampled, split by the same rank-b assignment, routed the same way. Leaves are always scanned. On the most hub-skewed dataset we have (GloVe), coverage inside the oversized lists is, if anything, easier than globally (up to 0.9994 at depth 2), and the recursive index matches its own composed prediction to 2×10−42 \times 10^{-4} end to end.

Scanning more candidates than a graph probes is the deliberate trade: the scan is a streaming, prefetchable, SIMD-friendly computation, and replication forgives local error exponentially (a covered neighbor is re-found in a median of ∼\sim13 touched lists). Both properties are cashed in twice. In RAM, a scalar-quantized screen with exact re-ranking of RR survivors is lossless at every operating point we measure: 8-bit codes lift throughput up to 2.8×2.8\times, and a list-major stream of 4-bit codes, scanned in the order objects rank their sample points, serves SIFT-1M at 0.9992 at 8,836 queries/s on a laptop — 2.1×2.1\times a saturated HNSW. On disk, the same codes duplicated into posting-ordered leaf blocks turn a query into ∼ks\sim k_s sequential reads plus ∼R\sim R row fetches — serving Deep-100M under an enforced 1 GB memory cap at full recall — and, with the router indexed by the same rule, under 256 MB.