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

加權歐氏距離與凸度量下的最優平面k近鄰查詢

Optimal Planar $k$ Nearest Neighbors Queries for Additively Weighted Euclidean Distances and Convex Metrics

National Taiwan University(国立台湾大学)

Chih-Hung Liu

AI总结:

該研究針對加權歐氏距離與凸度量,構建了具O(n)空間、O(log n + k)查詢時間的最優k近鄰數據結構,推廣了淺分區定理,為非點位等通用距離函數的最優k近鄰查詢提供了基礎成果。

摘要:

给定平面上由n个点位点构成的集合P,k近邻问题旨在构建一种数据结构,使其能针对查询点v和查询整数k,高效返回P中距离v最近的k个点位点。对于欧氏度量,历经四十年研究,已开发出最优数据结构,其空间复杂度为O(n),查询时间为O(log n + k),预处理时间为O(n log n) [Mat92b, Cha00, AC09, CT16]。相比之下,对于一类距离函数,现有最优数据结构 [AES99, KMR+20, Liu22] 的空间复杂度为O(n log log n),查询时间为O(log n + k),期望预处理时间为O(n log n)。一个开放性问题是:对于比欧氏度量更通用的距离函数,是否存在空间复杂度为O(n)、查询时间为O(log n + k)的最优数据结构。即使对于欧氏度量下的非点位点,如磁盘位点,或更一般的加權歐氏距離,这类最优数据结构也尚未被发现。我们针对加權歐氏距離开发了最优k近邻数据结构,其空间复杂度为O(n),查询时间为O(log n + k),期望预处理时间为O(n log n)。由于该数据结构可适配磁盘位点,因此它为非点位点的最优性研究提供了初步成果。我们还将该数据结构适配到一类凸度量下的点位点,包括常用的Lp度量和统一方向度量。该数据结构可进一步扩展到满足特定公理的距离函数。因此,我们证明了对于比欧氏度量下的点位点更通用的距离函数,存在最优k近邻数据结构。我们的主要技术进展是将Matoušek的超平面浅分區定理 [Mat92b] 推广到这些场景,同时实现了对数交叉数。

英文摘要:

Given a set $P$ of $n$ point sites in the plane, the $k$ nearest neighbors problem is to build a data structure that, for a query point $v$ and a query integer $k$, reports the $k$ nearest point sites of $v$ in $P$ efficiently. For the Euclidean metric, after four decades of efforts, an optimal data structure has been developed with $O(n)$ space, $O(\log n+k)$ query time and $O(n\log n)$ preprocessing time [Mat92b, Cha00, AC09, CT16]. In contrast, for a family of distance functions, the state-of-the-art data structure [AES99, KMR+20, Liu22] attains $O(n\log\log n)$ space, $O(\log n+k)$ query time and expected $O(n\log n)$ preprocessing time. An open question is the existence of an optimal data structure with $O(n)$ space and $O(\log n + k)$ query time for distance functions more general than the Euclidean metric. Such an optimal data structure also remains unknown for non-point sites in the Euclidean metric, even for disk sites or, more generally, additively weighted Euclidean distances. We develop an optimal $k$-nearest-neighbors data structure for additively weighted Euclidean distances with $O(n)$ space, $O(\log n + k)$ query time and expected $O(n\log n)$ preprocessing time. Since this data structure can be adjusted to disk sites, it serves as an initial result toward optimality for non-point sites. We also adapt our data structure to point sites under a family of convex metrics, including commonly used $L_p$ metrics and uniform orientation metrics. The data structure can be further extended to distance functions that satisfy certain axioms. Thus, we demonstrate the existence of optimal $k$-nearest-neighbors data structures for distance functions more general than point sites in the Euclidean metric. Our main technical advance is to generalize Matoušek's shallow partition theorem for hyperplanes [Mat92b] to these settings, while achieving a logarithmic crossing number.

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

↑