面向高维近似最近邻搜索的高效数据感知距离比较操作
Efficient Data-aware Distance Comparison Operations for High-Dimensional Approximate Nearest Neighbor Search
AI总结:
针对高维近似最近邻搜索中占主导时间成本的距离比较操作,提出数据感知距离估计方法DADE,通过低维空间无偏估计、优化公式及自适应维数选择加速该过程,集成到主流算法后实验验证其优越性。
摘要:
高维近似K最近邻搜索(AKNN)是信息检索等多种应用的基础任务。大多数现有AKNN算法可分解为候选生成和距离比较操作(DCOs)两个主要组件。不同方法生成候选的方式各异,但均共享相同的DCO过程。本研究聚焦于加速DCOs过程,该过程在多数现有AKNN算法中占主导时间成本。为此,我们提出一种数据感知距离估计方法DADE,在低维空间中近似精确距离。理论证明DADE的距离估计在数据分布方面是无偏的。此外,我们基于无偏距离估计公式提出优化估计,并提出假设检验方法自适应确定以足够置信度估计精确距离所需的维数。我们将DADE集成到IVF和HNSW等广泛使用的AKNN搜索算法中,通过大量实验证明其优越性。
英文摘要:
High-dimensional approximate $K$ nearest neighbor search (AKNN) is a fundamental task for various applications, including information retrieval. Most existing algorithms for AKNN can be decomposed into two main components, i.e., candidate generation and distance comparison operations (DCOs). While different methods have unique ways of generating candidates, they all share the same DCO process. In this study, we focus on accelerating the process of DCOs that dominates the time cost in most existing AKNN algorithms. To achieve this, we propose an Data-Aware Distance Estimation approach, called DADE, which approximates the exact distance in a lower-dimensional space. We theoretically prove that the distance estimation in DADE is unbiased in terms of data distribution. Furthermore, we propose an optimized estimation based on the unbiased distance estimation formulation. In addition, we propose a hypothesis testing approach to adaptively determine the number of dimensions needed to estimate the exact distance with sufficient confidence. We integrate DADE into widely-used AKNN search algorithms, e.g., IVF and HNSW, and conduct extensive experiments to demonstrate the superiority.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。