AI summary · arXiv: 2611.29252v1 · cs.DC
Zarc: Exact Nearest Neighbors over a Billion Vectors in Seconds
The essentials
Zarc combines certified screening, tiered memory, and ordered verification to deliver exact vector search at billion-vector scale with substantial speedups over exhaustive GPU search.
Question
Can exact nearest-neighbor search scale to billion-vector datasets and changing workloads without keeping all raw vectors in GPU memory? The paper addresses how to retain exactness while supporting filters, updates, multiple similarity metrics, and LLM attention workloads.
Method
Zarc keeps half-precision screening rows and anchor samples on GPUs, while full-precision vectors reside in host memory; certified lower bounds screen candidates, and survivors are verified in double precision. The evaluation uses four H100 GPUs, datasets up to one billion vectors, and attention-key retrieval from eleven open LLMs, alongside tests of filters, updates, cosine similarity, and inner products.
Findings
-
Result
On four H100 GPUs, Zarc answered 10,000 exact queries over one billion vectors in 1.1 seconds, compared with about five minutes for exhaustive search.
See the passage in the paper
On four H100 GPUs, Zarc indexes BIGANN-1B Jegou et al. (2011) in 79 s and answers the same 10,000 queries exactly in 1.1 s (Figure 1(a)).
- Result Zarc was 2.2 to 13.1 times faster than exhaustive cuVS search for exact top-10 attention-key retrieval across the evaluated open LLMs.
- Result For one-million-token sparse attention with k=64, Zarc reduced the forward-pass time to 3.6 seconds while selecting the exact top-64 for every query.
-
Authors’ interpretation
The authors' central design conclusion is that certified screening can reduce GPU memory requirements by storing short proof rows on the GPU and leaving full vectors in host memory.
See the passage in the paper
Our insight is to keep only these rows in GPU memory and the full-precision vectors in host memory, because exact verification reads the full vectors of only the few vectors that remain.
-
Result
The system supported exact filtered queries and updates, and the authors report exact answers across their evaluated workloads.
See the passage in the paper
Every answer of Zarc is checked against the ground truth and matches it, which gives an exact fraction of 100% throughout, including on adversarial inputs with exact ties, duplicates, and extreme norms (Appendix O).
Limitations
- The reported evidence is based on selected benchmark datasets, evaluated models, and specified hardware platforms, so it does not establish performance for all datasets or deployment settings.
See the passage in the paper
The main platform is a server with four 94 GB H100 GPUs connected pairwise by NVLink, 192 cores of the Intel Xeon Platinum 8468, and 960 GB of host DRAM, which runs the billion-scale and LLM experiments.
- The update design keeps projections fixed between rebuilds, so periodic projection recomputation and row rebuilding remain necessary.
See the passage in the paper
As insertions keep the projection fixed, Zarc periodically recomputes it and rebuilds the rows.
Why it matters
The authors argue that certified exclusion can make exact search practical beyond GPU memory by separating compact screening data from full vectors and verifying only plausible neighbors. They present Zarc as a way to retain exactness while extending vector search to billion-scale data and workloads such as sparse LLM attention.
Written by AI from the paper. Passages are checked word for word against the text we analysed; the rest may contain errors.
Ask questions about this paper to our AI assistant
How to chat with this paper? Illustrated guide
You can also chat with multiple papers at once here.
Keep this conversation — a free account saves your questions and answers, your collections of papers and your alerts.
Continue with Google Create a free accountTools for this paper
Advanced tools Premium
For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium
Among the 23 papers around this one, the name that comes back most: Jian-Yang Gao (2 papers)
2 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.
Papers around this one
See them on a mapRanked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Fast k nearest neighbor search using GPUV. Garcia, Eric Debreuve, M. Barlaud · 2008 · IEEE Computer Society Conference on Computer Vision and Pattern Recognition workshops · cited 627 times · Not summarized yet
Fast k nearest neighbor search using GPU applies kNN to estimate information-theoretic measures for image and video tasks, rather than scaling exact vector retrieval.
Abstract
Statistical measures coming from information theory represent interesting bases for image and video processing tasks such as image retrieval and video object tracking. For example, let us mention the entropy and the Kullback-Leibler divergence. Accurate estimation of these measures requires to adapt to the local sample density, especially if the data are high-dimensional. The k nearest neighbor (kNN) framework has been used to define efficient variable-bandwidth kernel-based estimators with such a locally adaptive property. Unfortunately, these estimators are computationally intensive since they rely on searching neighbors among large sets of d-dimensional vectors. This computational burden …
-
CertEx: Exact Visual Retrieval at Scale by Certified ExclusionDongfang Zhao · 2026 · cited 2 times · Not summarized yet
CertEx uses low-precision certified exclusion to prove which image-embedding vectors cannot be exact nearest neighbors, as Zarc does for vector search.
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. S…
-
Billion-scale similarity search with GPUsJeff Johnson, Matthijs Douze, Hervé Jégou · 2017 · Computer Vision and Pattern Recognition · cited 6,722 times · AI summary available
Billion-scale similarity search with GPUs accelerates nearest-neighbor search through high-performance GPU k-selection, whereas Zarc screens candidates with certified bounds and verifies survivors.
Abstract
Similarity search finds application in specialized database systems handling complex data such as images or videos, which are typically represented by high-dimensional features and require specific indexing structures. This paper tackles the problem of better utilizing GPUs for this task. While GPUs excel at data-parallel tasks, prior approaches are bottlenecked by algorithms that expose less parallelism, such as k-min selection, or make poor use of the memory hierarchy. We propose a design for k-selection that operates at up to 55% of theoretical peak performance, enabling a nearest neighbor implementation that is 8.5x faster than prior GPU state of the art. We apply it in different similar…
-
PilotANN: Memory-Bounded GPU Acceleration for Vector SearchYun-Tao Gui, Peiqi Yin, Xiao Yan et al. · 2025 · Knowledge Discovery and Data Mining · cited 12 times · Not summarized yet
PilotANN combines CPU RAM and GPU processing for memory-bounded graph-based approximate search, while Zarc uses host memory to support exact search.
Abstract
Approximate Nearest Neighbor Search (ANNS) has become fundamental to modern deep learning applications, having gained particular prominence through its integration into recent generative models that work with increasingly complex datasets and higher vector dimensions. Existing CPU-only solutions, even the most efficient graph-based ones, struggle to meet these growing computational demands, while GPU-only solutions face memory constraints. As a solution, we propose PilotANN, a hybrid CPU-GPU system for graph-based ANNS that utilizes both CPU's abundant RAM and GPU's parallel processing capabilities. Our key innovation lies in decomposing the top-k search process into three complementary stag…
-
GPU-Native Approximate Nearest Neighbor Search with IVF-RaBitQ: Fast Index Build and SearchJi-Fan Shi, Jian-Yang Gao, J. Xia et al. · 2026 · Proceedings of the VLDB Endowment · cited 12 times · Not summarized yet
IVF-RaBitQ uses GPU-native clustering and quantization for high-recall approximate vector search, unlike Zarc’s certified exact search.
Abstract
Approximate nearest neighbor search (ANNS) on GPUs is gaining increasing popularity for modern retrieval and recommendation workloads that operate over massive high-dimensional vectors. Graph-based indexes deliver high recall and throughput but incur heavy build-time and storage costs. In contrast, cluster-based methods build and scale efficiently yet often need many probes for high recall, straining memory bandwidth and compute. Aiming to simultaneously achieve fast index build, high-throughput search, high recall, and low storage requirement for GPUs, we present IVF-RaBitQ (GPU), a GPU-native ANNS solution that integrates the cluster-based method IVF with RaBitQ quantization into an effici…
-
Cosmos: A CXL-Based Full In-Memory System for Approximate Nearest Neighbor SearchSeoyoung Ko, Hyunjeong Shim, Wanju Doh et al. · 2025 · IEEE computer architecture letters · cited 12 times · Not summarized yet
Cosmos offloads billion-scale approximate search to CXL memory devices and optimizes distance computation, whereas Zarc targets exact search across host and GPU memory.
Abstract
Retrieval-Augmented Generation (RAG) is crucial for improving the quality of large language models by injecting proper contexts extracted from external sources. RAG requires high-throughput, low-latency Approximate Nearest Neighbor Search (ANNS) over billion-scale vector databases. Conventional DRAM/SSD solutions face capacity/latency limits, whereas specialized hardware or RDMA clusters lack flexibility or incur network overhead. We present Cosmos, integrating general-purpose cores within CXL memory devices for full ANNS offload and introducing rank-level parallel distance computation to maximize memory bandwidth. We also propose an adjacency-aware data placement that balances search loads …
-
GGNN: Graph-Based GPU Nearest Neighbor SearchFabian Groh, Lukas Ruppert, Patrick Wieschollek et al. · 2019 · IEEE Transactions on Big Data · cited 85 times · Not summarized yet
GGNN builds GPU-friendly nearest-neighbor graphs for approximate search, whereas Zarc screens vectors with certified bounds to preserve exact results.
Abstract
Approximate nearest neighbor (ANN) search in high dimensions is an integral part of several computer vision systems and gains importance in deep learning with explicit memory representations. Since PQT (Wieschollek et al., 2016), FAISS (Johnson et al., 2021), and SONG (Zhao et al., 2020) started to leverage the massive parallelism offered by GPUs, GPU-based implementations are a crucial resource for today’s state-of-the-art ANN methods. While most of these methods allow for faster queries, less emphasis is devoted to accelerating the construction of the underlying index structures. In this paper, we propose a novel GPU-friendly search structure based on nearest neighbor graphs and informatio…
-
SVFusion: A CPU-GPU Co-Processing Architecture for Large-Scale Real-Time Vector SearchYuchen Peng, Ding-Yu Yang, Zhong-Le Xie et al. · 2026 · Proceedings of the VLDB Endowment · cited 8 times · Not summarized yet
SVFusion coordinates GPU, CPU, and disk for dynamic approximate vector search, while Zarc supports updates with exact results using GPU screening and host-resident vectors.
Abstract
Approximate Nearest Neighbor Search (ANNS) underpins modern applications such as information retrieval and recommendation. With the rapid growth of vector data, efficient indexing for real-time vector search has become rudimentary. Existing CPU-based solutions support updates but suffer from low throughput, while GPU-accelerated systems deliver high performance but face challenges with dynamic updates and limited GPU memory, resulting in a critical performance gap for continuous, large-scale vector search requiring both accuracy and speed. In this paper, we present SVFusion, a GPU-CPU-disk collaborative framework for real-time vector search that bridges sophisticated GPU computation with onl…
Prior work it builds on
-
CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUsHiroyuki Ootomo, Akira Naruse, Corey J. Nolet et al. · 2023 · IEEE International Conference on Data Engineering · cited 142 times · Not summarized yet
CAGRA constructs GPU-parallel graphs for approximate nearest-neighbor search, while Zarc uses certified candidate exclusion for exact search.
Abstract
Approximate Nearest Neighbor Search (ANNS) plays a critical role in various disciplines spanning data mining and artificial intelligence, from information retrieval and computer vision to natural language processing and recommender systems. Data volumes have soared in recent years and the computational cost of an exhaustive exact nearest neighbor search is often prohibitive, necessitating the adoption of approximate techniques. The balanced performance and recall of graph-based approaches have more recently garnered significant attention in ANNS algorithms, however, only a few studies have explored harnessing the power of GPUs and multi-core processors despite the widespread use of massively…
-
Searching in one billion vectors: Re-rank with source codingH. Jégou, R. Tavenard, M. Douze et al. · 2011 · IEEE International Conference on Acoustics, Speech, and Signal Processing · cited 435 times · Not summarized yet
Searching in one billion vectors reranks compressed-index candidates using short quantization codes to avoid full-vector reads, while Zarc verifies survivors in double precision.
Abstract
Recent indexing techniques inspired by source coding have been shown successful to index billions of high-dimensional vectors in memory. In this paper, we propose an approach that re-ranks the neighbor hypotheses obtained by these compressed-domain indexing methods. In contrast to the usual post-verification scheme, which performs exact distance calculation on the short-list of hypotheses, the estimated distances are refined based on short quantization codes, to avoid reading the full vectors from disk. We have released a new public dataset of one billion 128-dimensional vectors and proposed an experimental setup to evaluate high dimensional indexing algorithms on a realistic scale. Experime…
-
Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor SearchH. Simhadri, G. Williams, Martin Aumüller et al. · 2022 · Neural Information Processing Systems · cited 120 times · Not summarized yet
The NeurIPS’21 challenge provides an open evaluation framework and leaderboards for billion-scale approximate search, rather than proposing Zarc’s exact-search method.
Abstract
Despite the broad range of algorithms for Approximate Nearest Neighbor Search, most empirical evaluations of algorithms have focused on smaller datasets, typically of 1 million points~\citep{Benchmark}. However, deploying recent advances in embedding based techniques for search, recommendation and ranking at scale require ANNS indices at billion, trillion or larger scale. Barring a few recent papers, there is limited consensus on which algorithms are effective at this scale vis-\`a-vis their hardware cost. This competition compares ANNS algorithms at billion-scale by hardware cost, accuracy and performance. We set up an open source evaluation framework and leaderboards for both standardized …
-
Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with FiltersSiddharth Gollapudi, Neel Karia, Varun Sivashankar et al. · 2023 · The Web Conference · cited 174 times · Not summarized yet
Filtered-DiskANN develops graph algorithms for filtered approximate search, while Zarc supports filtered queries with exact nearest-neighbor results.
Abstract
As Approximate Nearest Neighbor Search (ANNS)-based dense retrieval becomes ubiquitous for search and recommendation scenarios, efficiently answering filtered ANNS queries has become a critical requirement. Filtered ANNS queries ask for the nearest neighbors of a query’s embedding from the points in the index that match the query’s labels such as date, price range, language. There has been little prior work on algorithms that use label metadata associated with vector data to build efficient indices for filtered ANNS queries. Consequently, current indices have high search latency or low recall which is not practical in interactive web-scenarios. We present two algorithms with native support f…
-
HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search AccelerationPo-Kai Hsu, Wei-Hong Xu, Qun-You Liu et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 16 times · Not summarized yet
HAVEN augments GPU memory with high-bandwidth flash for approximate vector search and reranking, while Zarc uses host memory and certified screening for exact search.
Abstract
Retrieval-Augmented Generation (RAG) relies on large-scale Approximate Nearest Neighbor Search (ANNS) to retrieve semantically relevant context for large language models. Among ANNS methods, IVF-PQ offers an attractive balance between memory efficiency and search accuracy. However, achieving high recall requires reranking which fetches full-precision vectors for reranking, and the billion-scale vector databases need to reside in CPU DRAM or SSD due to the limited capacity of GPU HBM. This off-GPU data movement introduces substantial latency and throughput degradation. We propose HAVEN, a GPU architecture augmented with High-Bandwidth Flash (HBF) which is a recently introduced die-stacked 3D …
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 30 November 2026.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.