野外高效的向量搜索:一个支持多K查询的模型
Efficient K-generalizable Learned Search
AI总结:
OMEGA是一种支持多K查询的高效向量搜索模型,通过动态细化和统计特性优化,实现高精度、高性能和低预处理成本。
摘要:
学习的Top-K搜索是一种有前景的方法,用于同时提供高精度和高性能的向量查询。然而,当前针对特定K值训练的模型无法适应现实中的多K查询:对于较大的K值,它们会降级精度;对于较小的K值,它们会损失性能。训练模型以在不同K值上通用需要数倍于预处理时间,不适合野外服务向量查询。我们提出了OMEGA,一种K通用的学习Top-K搜索方法,能够在多K向量查询中同时实现高精度、高性能和低预处理成本。关键思想是,一个在K=1上正确训练的基模型,通过基于轨迹的特征可以准确预测较大的K值,通过动态细化过程,并且在较小的K值上几乎不损失性能。为了使我们的细化过程高效,我们进一步利用了Top-K搜索的统计特性来减少过多的模型调用。在多个公共和生产数据集上的广泛评估表明,在相同的预处理预算下,OMEGA相比最先进的学习搜索方法,平均延迟降低了6-33%,同时所有系统都达到了相同的召回目标。仅使用16-30%的预处理时间,OMEGA达到了这些基线的最佳平均延迟的1.01-1.28倍。
英文摘要:
Learned top-K search improves the accuracy-latency trade-off of graph-based vector search, but existing methods target a fixed K. Serving real-world workloads with various K values thus incurs preprocessing cost proportional to the number of distinct Ks. We present OMEGA, which supports efficient arbitrary K learned search with the preprocessing cost of one top-1 model. It achieves so by reducing learned top-K search to repeated masked learned top-1 search with refinement, using carefully crafted trajectory features that generalize across Ks. OMEGA further employs rank-wise confidence allocation to tame error accumulation during refinements and applies a statistical forecast method to reduce model invocation overhead without compromising recall. Across nine dataset-scale configurations, OMEGA meets the 0.95 recall target and reduces mean latency by up to 65% (average: 23%; median: 20%) compared with learned search methods (including LAET, DARTH, MultiK-DARTH, ANNiE, and Ada-ef) at their lowest-preprocessing configurations. On production traces, it reduces total CPU time by up to 28% versus traditional HNSW search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。