arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.00566cs.LGcs.AIcs.DB
收藏

全景图:快速跟踪最近邻

Panorama: Fast-Track Nearest Neighbors

Carnegie Mellon University(卡内基梅隆大学);IIT Delhi(德里印度理工学院);UCPH(乌兹堡大学);Indian Institute of Technology Delhi(德里印度理工学院);University of Copenhagen(哥本哈根大学)

Vansh Ramani, Alexis Schlomer, Akash Nayar, Sayan Ranu, Jignesh M. Patel, Panagiotis Karras

AI总结:

针对高维神经嵌入的近似最近邻搜索,提出PANORAMA技术,利用嵌入固有频谱衰减加速验证,通过PCA压缩信号能量,增量评估候选距离,解决与乘积量化假设冲突问题,在FAISS库中优化,实现加速。

摘要:

用于高维神经嵌入的近似最近邻搜索(ANNS)管道在候选验证中花费大量查询时间,这成为搜索过程的主要瓶颈。本文提出PANORAMA,一种利用这些嵌入的固有频谱衰减加速验证的先进细化技术。使用PCA压缩信号能量,PANORAMA增量评估候选距离,在每个步骤计算全向量距离的严格下界,并在该界超过运行中的第k个最近邻距离时动态修剪候选。虽然PCA的方差集中有助于修剪,但它打破了乘积量化(PQ)所需的均匀方差假设;我们通过方差整形步骤解决此问题,该步骤在子向量之间重新分配能量,使累积细化与量化索引兼容。通过向量化批量修剪和缓存感知数据布局针对现代内存层次结构进行优化,PANORAMA已被纳入FAISS库的主要索引家族(IVFPQ/Flat、HNSW和Refine)。PANORAMA在任何目标召回率下都能实现更高的QPS,其成本与数据集频谱衰减成反比,实现高达28.9倍的端到端加速,并在所有召回频段上优于概率方法。

英文摘要:

Approximate Nearest-Neighbor Search (ANNS) pipelines for high-dimensional neural embeddings spend the bulk of their query time in candidate verification, making it the primary bottleneck in the search process. In this paper, we present PANORAMA, a state-of-the-art refinement technique that accelerates verification by exploiting the inherent spectral decay of these embeddings. Using PCA to compact signal energy, PANORAMA evaluates candidate distances incrementally, computing at each step a strict lower bound on the full-vector distance and dynamically pruning candidates the moment this bound exceeds the running k-th nearest neighbor distance. While PCA's concentration of variance facilitates pruning, it breaks the uniform-variance assumption required by Product Quantization (PQ); we resolve this with a variance-shaping step that redistributes energy across subvectors, rendering accretive refinement compatible with quantized indexes. Optimized for modern memory hierarchies via vectorized bulk-pruning and cache-conscious data layouts, PANORAMA has been upstreamed into the FAISS library across major index families (IVFPQ/Flat, HNSW, and Refine). PANORAMA achieves higher QPS at any target recall with a cost that provably scales inversely with dataset spectral decay, delivering end-to-end speedups of up to 28.9x and outperforming probabilistic methods across all recall bands.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑