arXiv:2610.30697cs.IROct 2026

Manuscript Offprint

arXiv:2610.30697

Lychee: Certified Screening of Inverted Lists for High-Recall Vector Search

Dongfang Zhao

Abstract

Nearest-neighbor search over embedding vectors now matches faces against watchlists, transactions against known fraud patterns, and medical images against confirmed cases, where a missed neighbor is a missed threat, fraud, or diagnosis. Because an approximate index cannot report which queries lost a true neighbor, these applications require recall of 0.999 to 0.9999, which cuts the misses of recall 0.99 by 10 to 100 times, at a cost far below that of exact search over billions of vectors. Conventionally, inverted-file indexes reach high recall by probing more lists. However, they read and score every probed vector at full precision, so that the throughput of a query falls in inverse proportion to the number of probed lists. On the other hand, graph indexes are fast at moderate recall but saturate below the high-recall targets, whereas quantized lists must rerank their candidates with the full vectors. Our insight is to decide for almost every probed vector that it cannot enter the top k of the probed lists without reading the vector, through the certified lower bound of exact search by certified exclusion. This paper turns the above insight into LYCHEE, a GPU inverted-file search that screens the probed lists on tensor cores under a threshold from anchors of the same lists, and that computes exact distances only for the few vectors that survive the screening, in increasing order of their certified bounds. We prove that LYCHEE returns exactly the k nearest vectors of the probed lists, which is the answer of an inverted-file search at full precision, while it reads a few hundred full vectors per query regardless of the number of probed lists. We evaluate LYCHEE on eleven datasets from one million to one billion vectors against ten GPU and CPU baselines on two GPU servers. At equal recall with 200 probed lists, LYCHEE is 9.7 to 117 times faster than IVF-Flat of cuVS on the nine datasets of up to 100 million vectors, and 65 times faster on Deep-100M at recall 0.9997 with 1,000 probed lists. LYCHEE also reaches recall levels that CAGRA and HNSW do not reach, and it outruns exact search by certified exclusion by 5 to 18 times on the datasets of more than ten million vectors. On four GPUs, LYCHEE searches one billion vectors at recall 0.9999 and is 44.5 times faster than IVF-Flat on BIGANN-1B.

1 Introduction

Nearest-neighbor search over embeddings increasingly decides outcomes in which a missed neighbor has a direct impact on real-world applications. In security, face recognition [12, 50] searches a watchlist for the nearest face embedding, so that a missed neighbor allows a wanted person to pass the check. In health care, retrieval of medical images [39] supports a diagnosis with the confirmed cases nearest to the image of a patient, so that a missed case withholds evidence from the physician. In finance, fraud and anti-money-laundering screening matches transactions against known fraud patterns and sanctioned parties, where a missed match is both a loss and a compliance violation. Legal discovery [24], the deduplication of training data [1, 35], and retrieval-augmented generation [36] over dense passage retrieval [28, 33, 34] similarly need every relevant document, near-duplicate, or passage.

These applications need recall far above the 0.9 to 0.95 at which approximate indexes are usually compared, because the errors of an approximate index are silent. An index at recall 0.99 loses about one true neighbor in a hundred without reporting which queries lost one, so that no operator can detect or repair the miss. A screening service that answers one million identification queries per day at recall 0.99 therefore misses about ten thousand true matches per day. Since the misses scale with one minus the recall, recall 0.9999 reduces them to about one hundred. Ranking quality follows the same trend: on MS MARCO [40], the mean reciprocal rank (MRR@10) of the retrieved passages rises from 0.3295 at recall 0.957 to 0.3373 at recall 0.997, against 0.3378 for the exact neighbors (Section 4.2). Exact search with CertEx [64] removes the misses, but its cost grows in proportion to the dataset, whereas the embedding datasets of these applications, such as DINOv2 [45], CLIP [47], and DataComp [17], hold millions to billions of vectors. These applications therefore need recall of 0.999 to 0.9999 at the cost of an approximate index, which lies at the expensive end of its recall and throughput trade-off.

The inverted-file (IVF) index [32, 53], as used in Faiss [14, 31] and cuVS [42], is the standard partition index for this trade-off, which splits the dataset into lists by k-means. A query then scans the vectors of its npn_p nearest lists, whose recall grows with npn_p because the true neighbors of a query near a list boundary lie in neighboring lists. However, IVF-Flat reads and scores every probed vector at full precision. On ImageNet DINOv2 embeddings, the throughput of IVF-Flat in cuVS falls from 562,367 to 3,450 queries per second.

Figure

Figure 1: Recall and throughput on DINOv2 embeddings.

(QPS) as npn_{p} grows from 1 to 200 of 1,024 lists (Figure 1a), while recall at 10 rises from 0.860 to 0.999. The other families of indexes respond to this cost in two ways. First, compressed lists (IVF-PQ [32], ScaNN [26], RaBitQ [18]) shrink the scanned bytes but must rerank their candidates with the full vectors to reach high recall. Second, graph indexes such as HNSW [38] and CAGRA [44] visit few vectors per query but saturate below the targets: CAGRA reaches recall 0.986 at its largest search width on DINOv2.

One observation is that the probed lists of a high-recall query hold far more vectors than its answer needs. For instance, at np=200n_{p} = 200, a DINOv2 query probes about 280,000 vectors. Almost all of them lie far outside the radius of the 10th neighbor, so that the exact top 10 among them can be certified from the full distances of fewer than 200 vectors (Figure 1b). A full-precision scan nevertheless spends its memory traffic and arithmetic on the far vectors. The cost of high recall in an IVF index is therefore the cost of proving that far vectors are far.

Our insight is to certify the exclusion of far vectors inside the probed lists from low-dimensional projections, rather than reading and scoring their full vectors. While exact search by certified exclusion (CertEx) [64] proves that distant vectors cannot belong to the global nearest neighbors through hardware-certified lower bounds on short projection rows, an IVF search requires certifying non-membership within an irregular, query-dependent subset of lists. Proving exclusion inside the probed lists requires bounding the k-th distance local to these lists from their own anchors, which enables tensor cores to screen candidate rows at a fraction of full-precision memory traffic. Full-precision reads and exact distances are then needed only for the few survivors whose bounds can still enter the probed top k, breaking the linear dependence of high-recall IVF search on the number of probed vectors.

This paper turns the above insight into LYCHEE, a GPU IVF search with certified screening of the probed lists. LYCHEE takes its threshold from exact distances to anchors of the probed lists, which bound the k-th distance within the lists from above. A routed tensor-core pass screens all (query, list) pairs of a batch at once, grouping the queries that probe a list so that every list streams through the tensor cores once per batch. The survivors of all lists of a query are then verified together in increasing order of their certified bounds, until no remaining survivor can enter the top k. We prove that this procedure returns exactly the k nearest vectors of the probed lists, namely the answer of IVF-Flat on the same lists.

LYCHEE changes the cost of high recall in an IVF index from the number of probed vectors to the number of survivors of the certified screening. On DINOv2, LYCHEE serves 217,195 QPS at recall 0.999 ( np=200n_{p} = 200), 63 times the throughput of IVF-Flat and 53 times that of IVF-PQ with refinement at the same recall. The evaluation spans eleven datasets from one million to one billion vectors, ten baselines that cover the inverted-file, graph, and exhaustive families on GPUs and CPUs, and two GPU servers with five H100 GPUs in total.

In summary, this paper makes the following contributions:

• We propose a list-local certified threshold for inverted-file search, which bounds the k-th distance within the probed lists from the exact distances and thereby admits the certified screening of excluded vectors inside the lists.

• We prove that certified screening followed by tie-aware ordered verification returns exactly the k nearest vectors of the probed lists and derive a cost model in which the full-precision reads of a query follow its survivors rather than its probed vectors.

• We implement LYCHEE on GPUs with a routed tensor-core pass that screens all (query, list) pairs of a batch at once and verifies the survivors of all probed lists of a query together.

• We evaluate LYCHEE on eleven datasets from one million to one billion vectors against ten GPU and CPU baselines on two GPU servers and show that LYCHEE is 9.7 to 117 times faster than IVF-Flat at equal recall with 200 probed lists and up to 44.5 times faster on one billion vectors on four GPUs.

References (62)