Zarc: Exact Nearest Neighbors over a Billion Vectors in Seconds
Not on the map. Why?
Abstract (arXiv)
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 too far away, but only on one GPU that holds the whole dataset. Our insight is to keep only the short rows of these proofs in GPU memory and to fetch the few remaining full vectors from host memory. Our system, Zarc, answers Euclidean, cosine, inner-product, and filtered queries exactly under updates. On four H100 GPUs, it answers 10,000 exact queries over one billion vectors in 1.1 seconds instead of five minutes. On eleven open LLMs, it retrieves the exact top-10 attention keys 2.2x to 13.1x faster than exhaustive search. In sparse attention over one million tokens, it runs 3.1x faster than bf16 selection with FlashInfer, which misses the exact top-64 for most queries.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 46 of its 86 references that are in the map. Submitted 22 Nov 2026, announced 24 Nov 2026.
Builds on
46 of 86 references.
References · 46
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,559
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2024Qwen2.5 Technical Reportcited by 5,525
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2017Billion-scale similarity search with GPUscited by 2,575
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
34 more
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 893
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 835
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2023DataComp: In search of the next generation of multimodal datasetscited by 685
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2024The Faiss librarycited by 423
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 334
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
- 2021Efficiently Teaching an Effective Dense Retriever with Balanced Topic Aware Samplingcited by 242
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 220
- 2025Qwen2.5-1M Technical Reportcited by 178
- 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 139
- 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 135
- 2017Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graphcited by 107
- 2024RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Searchcited by 57
- 2022Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor Searchcited by 51
- 2021FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Searchcited by 42
- 2018Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighborscited by 38
- 2024ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Datacited by 38
- 2024Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Searchcited by 27
- 2023CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUscited by 26
- 2022Manu: A Cloud Native Vector Database Management Systemcited by 19
- 2024Starling: An I/O-Efficient Disk-Resident Graph Index Framework for High-Dimensional Vector Similarity Search on Data Segmentcited by 18
- 2024BANG: Billion-Scale Approximate Nearest Neighbor Search using a Single GPUcited by 15
- 2022GPU-Initiated On-Demand High-Throughput Storage Access in the BaM System Architecturecited by 14
- 2019GGNN: Graph-based GPU Nearest Neighbor Searchcited by 12
- 2022Onesweep: A Faster Least Significant Digit Radix Sort for GPUscited by 8
- 2026HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search Accelerationcited by 8
- 2026GPU-Native Approximate Nearest Neighbor Search with IVF-RaBitQ: Fast Index Build and Searchcited by 5
- 2025PilotANN: Memory-Bounded GPU Acceleration for Vector Searchcited by 2
- 2026SVFusion: A CPU-GPU Co-Processing Architecture for Large-Scale Real-Time Vector Searchcited by 2
- 2026CertEx: Exact Visual Retrieval at Scale by Certified Exclusioncited by 1
Built on by
Not cited yet.