HAVEN:高带宽闪存增强向量引擎用于大规模近似最近邻搜索加速
HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search Acceleration
AI总结:
HAVEN通过高带宽闪存增强GPU,实现大规模近似最近邻搜索加速,提升重新排序吞吐量和效率。
摘要:
检索增强生成(RAG)依赖大规模近似最近邻搜索(ANNS)来为大语言模型检索语义相关的内容。在ANNS方法中,IVF-PQ在内存效率和搜索准确性之间提供了良好的平衡。然而,实现高召回率需要重新排序,这会检索全精度向量进行重新排序,而十亿级的向量数据库需要存储在CPU DRAM或SSD中,因为GPU HBM的容量有限。这种离GPU的数据移动引入了显著的延迟和吞吐量下降。我们提出了HAVEN,一种配备了高带宽闪存(HBF)的GPU架构,HBF是一种最近引入的堆叠式3D NAND技术,旨在提供千兆字节级的容量和数百GB/s的读取带宽。通过将HBF和近存储搜索单元作为封装内的补充,HAVEN使全精度向量数据库能够完全存储在设备上,从而在重新排序过程中消除PCIe和DDR瓶颈。通过详细建模重新设计的3D NAND子数组、功率受限的HBF带宽以及端到端的IVF-PQ管道,我们证明HAVEN在十亿级数据集上将重新排序吞吐量提高了20倍,延迟提高了40倍,相比GPU-DRAM和GPU-SSD系统。我们的结果表明,HBF增强的GPU能够实现高召回率的检索,其吞吐量此前只能在无重新排序的情况下实现,为以内存为中心的AI加速器提供了一个有前景的方向。
英文摘要:
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 NAND technology engineered to deliver terabyte-scale capacity and hundreds of GB/s read bandwidth. By integrating HBF and near-storage search unit as an on-package complement to HBM, HAVEN enables the full-precision vector database to reside entirely on-device, eliminating PCIe and DDR bottlenecks during reranking. Through detailed modeling of re-architected 3D NAND subarrays, power-constrained HBF bandwidth, and end-to-end IVF-PQ pipelines, we demonstrate that HAVEN improves reranking throughput by up to 20x and latency up to 40x across billion-scale datasets compared to GPU-DRAM and GPU-SSD systems. Our results show that HBF-augmented GPUs enable high-recall retrieval at throughput previously achievable only without reranking, offering a promising direction for memory-centric AI accelerators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。