KuroANN: Avoiding Unnecessary SSD Reads in High-Recall Filtered Vector Search: what it means for business leaders

KuroANN sets each filtered vector query's SSD read budget from the number of vectors that pass its filter, known before the first read, and reports large throughput gains at high recall over graph and partition baselines.

1. What the method is

KuroANN is a filtered vector search engine for partition (inverted file) indexes whose raw vectors sit on an SSD and whose compressed product-quantization codes sit in memory. Its advance is to set each query's search budget from the query's match count, the number of vectors that pass its filter, which the index knows before any SSD read. An offline calibration measures, at a handful of counts, the fastest combination of route (scan all matches or probe the nearest partitions), number of partitions probed and rerank pool size that still meets a target recall, and stores the result as a table of a few kilobytes. At query time the engine looks up its row, applies the filter only inside the partitions it probes, and stops reading raw vectors once further reads are unlikely to change the answer. The authors say plainly that this stopping rule is a heuristic, not a per-query guarantee.

2. Why the method was developed

Filtered search, the nearest items among those carrying a label or falling in a range, is the normal production case for retrieval-augmented generation, semantic search and recommendation, and the share of vectors passing a filter varies by orders of magnitude between queries. On an SSD every reranked candidate is a random read, so over-reading is expensive in a way it is not in memory. Graph indexes lose their paths when non-matching vectors are skipped; the repairs either spend extra reads and, by the authors' projection, grow a billion-scale index more than tenfold, or leave recall near zero for selective labels. Partition indexes survive a filter, but existing ones give every query in a selectivity range or route the same budget, sized for the hardest query. The authors measure throughput below a tenth of the best per-band setting in some bands, plus CPU wasted marking matches the query never ranks.

3. Who should care

This matters to the teams that run retrieval for RAG, semantic search or recommendation over tens of millions to billions of vectors with metadata filters, where the data is too large to hold in memory. For platform and infrastructure engineering it is a question of queries served per machine and of tail latency when selective and broad filters arrive in the same stream. For search and ML engineers it changes how recall targets are met: by a measured table per workload instead of one tuned setting. For whoever buys or evaluates vector databases, it gives a pointed question to ask vendors: how is the read budget set per query under a filter. Operations should note the new duty it creates, since calibration needs held-out queries with exact filtered answers and must be redone when the recall target, the trained centroids or codebooks, or the query mix changes.

4. How the method works

Each label keeps a list of its matching vectors sorted by where their compressed codes lie in memory. The list's length gives the match count, and because a partition's codes are contiguous, two binary searches return the matches inside each probed partition without a bitmap; for multi-label AND filters the count is estimated by sampling. The count selects a row of the calibrated plan, each row validated with a margin of two standard errors, so a 0.99 target must measure at least 0.993 on 500 queries. The engine then ranks only the matching codes, prefetching eight candidates ahead on huge pages. Finally it reads raw vectors from block-aligned slots, 32 at a time, and stops once the tenth-best exact distance is no worse than the most optimistic bound on any unread candidate, where bounds come from compression-error quantiles recorded per count. Inserts go to a delta segment and deletes to tombstones until a merge.

5. How it was evaluated

The authors test six datasets: LAION-100M, SIFT-1B, YFCC-10M, YT-5M, and two application sets, 23.9 million PubMed abstracts and 35.1 million Amazon items with natural filters. LAION and SIFT carry synthetic labels drawn from k-means clusters, with selectivity bands from 0.01% to about 17%, and a separate test uses labels drawn at random. Baselines are three on-SSD graph systems, PipeANN-Filter, PipeANN with post-filtering and Filtered-DiskANN, and two in-memory partition indexes, Faiss and Curator, which the authors themselves adapted to SSD. The main server has 32 cores, 256 GB of memory and one NVMe SSD, with 32 search threads. KuroANN's plans were calibrated in 4.2 hours on 500 held-out queries per band and frozen; evaluation used another 500 per band, while each baseline was tuned on the evaluation queries, which favors the baselines. Every query asks for 10 neighbors, and systems are compared at equal recall.

6. How it performed

On LAION-100M at 0.99 recall, KuroANN is 10.0 times faster than PipeANN-Filter in geometric mean and up to 34.5 times; it beats the adapted Faiss by up to 9.10 times at 0.9. On a mixed-selectivity stream it is 6.9 to 8.2 times faster than Faiss, with p99 latency 5.4 to 28.4 times better than both. At one billion vectors the lead over PipeANN-Filter narrows to 1.48 and 2.11 times. On the PubMed and Amazon workloads it serves the stream 1.6 times faster than Faiss. It stores 409.6 GB against 819.2 GB for PipeANN-Filter's densified index. The limits are stated: Faiss is slightly faster on some OR bands, PipeANN-Filter is up to 1.85 times faster than the plans without a filter, counts calibration has not seen run up to 3.83 times slower, and updates support label predicates only. Our call: pilot it where we run filtered search on SSD at high recall, and otherwise watch. (Source: arXiv 2611.32908, 2026)

← Back to dossier index