NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processing
On the map: Retrieval-augmented generation → Vector search and ANN indexes
also in 1 more
Abstract (arXiv)
As large language models (LLMs) continue to advance, retrieval-augmented generation (RAG) has become the key mechanism for expanding model knowledge and reducing hallucinations. Central to RAG is approximate nearest neighbor search (ANNS), which retrieves database vectors most similar to a given query. However, distance calculation over high-dimensional vectors is inherently memory-bound, causing retrieval performance to be constrained by I/O bandwidth on mainstream platforms such as CPUs and GPUs. Although many prior early exiting (EE) techniques attempt to reduce memory accesses by only computing partial dimensions, the partial distance converges too slowly to the EE threshold, which ultimately limits their performance gains. To address these challenges, we propose NASZIP, a hardware-software co-designed framework that integrates near data processing (NDP) with a novel feature-level early exiting guided by statistics-based principal component analysis (PCA). Instead of relying solely on partial distances, NASZIP incorporates estimation and correction parameters to approximate full dimensional distances accurately, enabling earlier exiting without compromising accuracy. We further introduce a bit-level NDP-aware dynamic-float scheme that significantly reduces memory access for vector data. On the hardware side, we develop a data aware neighbor list mapping strategy that reduces neighbor retrieval latency and inter-channel communication overhead, complemented by a dedicated cache that exploits data locality and enhances prefetch efficiency. With these co-optimized techniques, NASZIP delivers speedups of up to 8.4× / 1.4× over CPU baseline and state-of-the-art GPU implementation at equal accuracy. Relative to the state-of-the-art NDP ANNS accelerator ANSMET, NASZIP achieves 1.69× performance improvement.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 30 of its 93 references that are in the map. First posted on arXiv 21 May 2026.
Builds on
30 of 93 references.
References · 30
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
18 more
- 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
- 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
- 2017Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graphcited by 103
- 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80
- 2024RaBitQ: Quantizing High-Dimensional Vectors with a Theoretical Error Bound for Approximate Nearest Neighbor Searchcited by 46
- 2022Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor Searchcited by 45
- 2021SPANN: Highly-efficient Billion-scale Approximate Nearest Neighbor Searchcited by 35
- 2020A Modern Primer on Processing in Memorycited by 30
- 2024SPFresh: Incremental In-Place Update for Billion-Scale Vector Searchcited by 28
- 2023High-Dimensional Approximate Nearest Neighbor Search: with Reliable and Efficient Distance Comparison Operationscited by 25
- 2023CAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUscited by 22
- 2022Manu: A Cloud Native Vector Database Management Systemcited by 18
- 2024Accelerating Retrieval-Augmented Generationcited by 14
- 2023NDSEARCH: Accelerating Graph-Traversal-Based Approximate Nearest Neighbor Search through Near Data Processingcited by 5
- 2025REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processingcited by 4
- 2021A Survey of Near-Data Processing Architectures for Neural Networkscited by 3
- 2024Evaluating the Effectiveness and Efficiency of Demonstration Retrievers in RAG for Coding Taskscited by 2
- 20253D-ICE 4.0: Accurate and efficient thermal modeling for 2.5D/3D heterogeneous chiplet systemscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Cosmos: A CXL-Based Full In-Memory System for Approximate Nearest Neighbor Search
- 2026Filtered Approximate Nearest Neighbor Search in Vector Databases: System Design and Performance Analysis
- 2026ACRONYM: Accelerated Approximate Nearest Neighbor Search in Memory for Dynamic Vector Databases ↗
- 2026HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search Acceleration
- 2025MicroNN: An On-device Disk-resident Updatable Vector Database
- 2024Revisiting the Index Construction of Proximity Graph-Based Approximate Nearest Neighbor Search
- 2025Leveraging Approximate Caching for Faster Retrieval-Augmented Generation
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptation