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

面向收敛式 ANN 搜索的无协调车道划分

Coordination-Free Lane Partitioning for Convergent ANN Search

Carl Kugblenu, Petri Vuorimaa

AI总结:

本文提出一种无协调车道划分方法,通过确定性候选池、伪随机置换和不相交位置分配,在不增加预算和延迟的前提下将并行车道间的重复搜索转化为互补覆盖,显著提升 ANN 搜索召回率。

摘要:

生产环境中的向量搜索系统通常将每个查询扇出到多个并行车道(线程、副本或分片),以满足延迟服务级别目标(SLO)。在实践中,这些车道会重复发现相同的候选结果,因此额外的计算并不会提高覆盖率。我们提出了一种无协调的车道划分器,在相同成本和截止时间下将重复工作转化为互补工作。对于每个查询,我们(1)构建一个确定性候选池,其大小等于总 top-k 预算,(2)应用针对每个查询的伪随机置换,(3)为每个车道分配一段不相交的位置。这样,各车道在构造上就会返回不同的结果,无需运行时协调。在相同成本、四条车道(总候选预算 64)的条件下,在 SIFT1M(100 万个 SIFT 特征向量)上使用分层可导航小世界图(HNSW)时,recall@10 从 0.249 提升到 0.999,同时车道重叠率从接近 100% 降至 0%。在 MS MARCO(880 万条段落)上使用 HNSW 时,hit@10 从 0.200 提升到 0.601,前 10 位平均倒数排名(MRR@10)从 0.133 提升到 0.330。对于倒排文件(IVF)索引,我们观察到较小但一致的增益(例如,在 MS MARCO 上提升 11%),这是通过对列表路由进行去重实现的。微基准测试显示,规划器开销约为每次查询 37 微秒(主设置下的平均值),并随合并候选数量的增加呈线性增长。这些结果得出了一条简单的运维准则:将每次查询的候选池大小设置为总预算,确定性地在各车道间划分位置,并在不改变预算或截止时间的情况下将冗余扇出转化为互补覆盖。

英文摘要:

Production vector search systems often fan out each query across parallel lanes (threads, replicas, or shards) to meet latency service-level objectives (SLOs). In practice, these lanes rediscover the same candidates, so extra compute does not increase coverage. We present a coordination-free lane partitioner that turns duplication into complementary work at the same cost and deadline. For each query we (1) build a deterministic candidate pool sized to the total top-k budget, (2) apply a per-query pseudorandom permutation, and (3) assign each lane a disjoint slice of positions. Lanes then return different results by construction, with no runtime coordination. At equal cost with four lanes (total candidate budget 64), on SIFT1M (1M SIFT feature vectors) with Hierarchical Navigable Small World graphs (HNSW) recall@10 rises from 0.249 to 0.999 while lane overlap falls from nearly 100% to 0%. On MS MARCO (8.8M passages) with HNSW, hit@10 improves from 0.200 to 0.601 and Mean Reciprocal Rank at 10 (MRR@10) from 0.133 to 0.330. For inverted file (IVF) indexes we see smaller but consistent gains (for example, +11% on MS MARCO) by de-duplicating list routing. A microbenchmark shows planner overhead of ~37 microseconds per query (mean at the main setting) with linear growth in the number of merged candidates. These results yield a simple operational guideline: size the per-query pool to the total budget, deterministically partition positions across lanes, and turn redundant fan-out into complementary coverage without changing budget or deadline.

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

↑