CertEx: Exact Visual Retrieval at Scale by Certified Exclusion
Dongfang Zhao
Key points
From the paper's conclusion- We call this principle certified exclusion and realize it in an exact kNN method for GPUs, which we call \certex.
Abstract
Exact $k$-nearest-neighbor (kNN) search over image descriptors and embeddings underlies visual retrieval, near-duplicate detection, the evaluation of learned representations, and increasingly the memory of LLM agents. However, exhaustive search computes every distance at full precision, whereas approximate indexes return recall below one. We observe that exact search only needs a proof that each excluded vector cannot be a neighbor. Because such a proof only has to be conservative, it can be checked in low precision, much as the retina examines the whole scene at low resolution. We call this principle certified exclusion and realize it in an exact kNN method for GPUs, which we call \certex. Specifically, \certex\ stores a lower-bounding projection of each vector in half precision and folds a rounding certificate into the same tensor-core dot product, so that only the few vectors that the test keeps need exact distances. We prove that \certex\ returns the exact kNN of every query. On sixteen datasets with up to 100M vectors, \certex\ is exact for every query at 7.1$\times$ to 18.0$\times$ the throughput of the fastest cuVS search on one H100 and outperforms quantized and graph indexes whenever every query must be exact.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Lychee: Certified Screening of Inverted Lists for High-Recall Vector SearcharXiv · 2026
- One-Sided Residual Certificates for Exact Quantized Image RetrievalInformation · 2026
- Zarc: Exact Nearest Neighbors over a Billion Vectors in SecondsarXiv · 2026
- OctEx: Billion-Scale Vector Search by Precomputed Lattice Neighbor Lists on GPUsarXiv · 2026
- Errpedia: Is Your Exact $k$-NN Vector Search Really Exact?arXiv · 2026
- When Does Low-Bit Quantization Preserve the Decisions of Vector Search?arXiv · 2026