Energy-Efficient Large-Scale Vector Similarity Search in NAND-Flash via Hybrid Matching
Vector similarity search (VSS) is crucial in many AI applications, such as few-shot learning (FSL) and approximate nearest-neighbor search (ANNS), but it demands significant memory capacity and incurs substantial energy costs for data transfers during large-scale comparisons. Various in-memory search technologies have been developed to improve energy efficiency, with NAND-based multi-bit content-addressable memory (MCAM) standing out as a promising solution for its high density and large capacity. MCAM can operate in exact-search (ES) mode, supporting only perfect matches with low energy cost, or in approximate-search (AS) mode, enabling flexible VSS. However, AS mode incurs significant energy waste when comparing queries with non-target stored vectors. To address this issue, we propose Hybrid-M, a 3D NAND-based in-memory VSS architecture that integrates both modes into a single hybrid matching process, using ES mode as a filter to reduce redundant searches for AS mode. We apply three techniques to optimize this integration: range encoding for multi-level cells (MLC) to enhance filtering, search voltage shifts to mitigate the impact on AS accuracy and reduce matching currents, and a filtering-aware training method to further improve reliability and energy efficiency. Results show that Hybrid-M achieves comparable accuracy while reducing energy consumption by 67% to 83% compared to MACM-based VSS using only AS mode, across various many-class FSL and ANNS workloads.
Authors
- Ming-Hsiu Lee
- Po-Hao Tseng (ORCID: https://orcid.org/0000-0002-6206-7409)
- Hsiang-Yun Cheng (ORCID: https://orcid.org/0000-0002-8983-9835)
- Chi-Tse Huang (ORCID: https://orcid.org/0000-0003-0393-3976)
- Cui Hu
- An-Yeu Wu (ORCID: https://orcid.org/0000-0003-4731-8633)
- Hao-Wei Chiang (ORCID: https://orcid.org/0009-0006-9487-3954)
Institutions
- National Taiwan University (TW)
- Research Center for Information Technology Innovation, Academia Sinica (TW)
- Macronix International (Taiwan) (TW)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11132636
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 0.00