Zarc: Exact Nearest Neighbors over a Billion Vectors in Seconds
22 Nov · Dongfang Zhao · arXiv:2611.29252
Exact k-nearest-neighbor vector search lies on the critical path of machine learning systems, from sparse attention in the latest large language models (LLMs) to long-context memories and training-data deduplication. Exhaustive GPU search scans the whole dataset for every query, while approximate indexes return inexact neighbors. Recent methods skip almost every vector with a cheap half-precision proof that it lies…