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

QuIVer:通过无训练二进制量化重新思考ANN图拓扑

QuIVer: Efficient Graph Indexing with Two-Bit Construction and Navigation

Changsha University(长沙学院)

Wenxuan Xiao, Peidong Zhu, Chengcheng Li, Xu Cao

AI总结:

本文研究了二进制量化能否定义图拓扑本身,并提出了QuIVer,一个无需训练的ANN图索引,在2位Sign-Magnitude二进制量化度量空间中完成边选择、多样性剪枝和束搜索导航,揭示了二进制量化拓扑在不同数据集上的适用边界,提出了可验证的工业向量搜索系统在压缩、吞吐量和通用数据兼容性之间的不可能三角。

摘要:

近似最近邻(ANN)图索引如HNSW和Vamana在全精度或高保真量化度量空间中构建边拓扑,将二进制量化(BQ)作为搜索过程中的后处理距离估计器。本文提出一个不同问题:二进制量化能否定义图拓扑本身?如果可以,是在什么条件下?我们通过QuIVer(用于向量检索的量化索引)研究了这个问题,这是一个无需训练的ANN图索引,完全在2位Sign-Magnitude BQ度量空间中执行Vamana边选择、多样性剪枝和束搜索导航,仅在最终重排序时访问float32向量。对十二百万规模数据集的系统评估揭示了明确的适用边界:BQ原生拓扑在余弦原生对比学习嵌入(>=88% Recall@10在ef=64跨五个数据集,384-3072维度)上非常有效,对多模态CLIP数据(71-78%)中等有效,但对欧几里得原生或无结构分布(<15%)经验上不适用。我们的结果表明存在一个经验上的“不可能三角”:激进压缩、高吞吐量和通用数据兼容性之间。核心贡献不仅在于系统本身,还在于它揭示的边界:可验证的准则,用于工业向量搜索系统在安全地为紧凑BQ原生导航牺牲度量保真度时的条件。在兼容的工作负载上,系统收益显著:QuIVer的BQ原生热点路径(<1.3 GB for 1M vectors)在匹配召回率下比DiskANN Rust和HNSW变体高2.5-5.5倍的多线程吞吐量,内存占用更少4.7倍,且无代码本或旋转训练(不同于PQ/OPQ/RaBitQ)

英文摘要:

High-dimensional vector indices must balance construction time, memory, and query throughput. Two-bit comparisons reduce computation and storage, but preserving useful graph connections and search candidates requires scores suited to each stage. We present QuIVer, a graph index that uses a training-free sign-magnitude representation for construction and navigation while reserving original vectors for bounded final reranking. Construction discovers candidates with Hamming scores, orders them with an integer proxy, and defers reverse-edge pruning across parallel insertions. Search uses reconstruction norms and bitwise inner products to order both the frontier and retained candidates, without query calibration or an exact anchor. Experiments cover 21 datasets and compare 30 external baseline modes on three core workloads. QuIVer's validation-selected 95% configurations lie on the measured Pareto frontiers of achieved recall, throughput, index preparation time, and memory, whether memory counts navigation state alone or also the original vectors. On Cohere-5M, QuIVer reaches 95.90% Recall@10 at 3,075 single-thread queries/s, $11.74\times$ the throughput of Lucene BBQ with FP32 reranking at 95.83% recall. Against SymphonyQG at 95.87%, it retains 81% of single-thread and 97% of 32-thread throughput while reducing index preparation time by 54%, total logical memory by 47%, and navigation storage by 87%. An SSD mode with INT8 reranking serves Cohere-5M at about 5 GiB of steady-state process RSS. Controlled crossovers and candidate-coverage diagnostics connect these results to construction and retention quality. Across 21 datasets, high recall holds for most text and image embeddings, while non-negative descriptors, cross-modal queries, and random data expose the limits of the representation.

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

↑