轻量而高效:点到超平面最近邻搜索的球树算法
Lightweight-Yet-Efficient: Revitalizing Ball-Tree for Point-to-Hyperplane Nearest Neighbor Search
摘要:
寻找超平面的最近邻(或点到超平面最近邻搜索,简称P2 HNNS)是一个新的和具有挑战性的问题,在许多研究领域都有应用。虽然现有的最先进的散列方案(例如,NH和FH)能够实现次线性时间复杂度,而无需假设数据在单位超球面中,它们需要非对称变换,这将数据维度从$d$增加到$Ω(d^2)$。这会导致索引的开销相当大,并导致严重的失真错误。在本文中,我们研究了基于树的方法来解决P2 HNNS使用经典的球树索引。与基于散列的方法相比,基于树的方法通常需要大致线性的构造成本,并且它们提供了具有出色灵活性的不同类型的近似。首先在Ball-Tree上提出了一个简单的分支定界算法,并给出了一个新的下界。然后,描述了一种新的树结构BC-Tree,它保持了Ball-Tree叶节点的球和锥结构,并给出了两种有效的策略,即:点级修剪和协作内积计算。BC-Tree继承了Ball-Tree的低建造成本和轻量级特性,同时提供类似或更高效的搜索。在16个真实数据集上的实验结果表明,Ball-Tree和BC-Tree比NH和FH快1.1 $\sim$ 10 $\times$左右,索引大小和索引时间平均减少约1 $\sim$ 3个数量级.代码可在\url{https://github.com/HuangQiang/BC-Tree}上获得。
英文摘要:
Finding the nearest neighbor to a hyperplane (or Point-to-Hyperplane Nearest Neighbor Search, simply P2HNNS) is a new and challenging problem with applications in many research domains. While existing state-of-the-art hashing schemes (e.g., NH and FH) are able to achieve sublinear time complexity without the assumption of the data being in a unit hypersphere, they require an asymmetric transformation, which increases the data dimension from $d$ to $Ω(d^2)$. This leads to considerable overhead for indexing and incurs significant distortion errors. In this paper, we investigate a tree-based approach for solving P2HNNS using the classical Ball-Tree index. Compared to hashing-based methods, tree-based methods usually require roughly linear costs for construction, and they provide different kinds of approximations with excellent flexibility. A simple branch-and-bound algorithm with a novel lower bound is first developed on Ball-Tree for performing P2HNNS. Then, a new tree structure named BC-Tree, which maintains the Ball and Cone structures in the leaf nodes of Ball-Tree, is described together with two effective strategies, i.e., point-level pruning and collaborative inner product computing. BC-Tree inherits both the low construction cost and lightweight property of Ball-Tree while providing a similar or more efficient search. Experimental results over 16 real-world data sets show that Ball-Tree and BC-Tree are around 1.1$\sim$10$\times$ faster than NH and FH, and they can reduce the index size and indexing time by about 1$\sim$3 orders of magnitudes on average. The code is available at \url{https://github.com/HuangQiang/BC-Tree}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。