相似联接的动态枚举
Dynamic Enumeration of Similarity Joins
摘要:
本文考虑在动态更新下枚举相似连接查询的答案:给定$\mathbb{R}^d$中的两组$n$点$A,B$,度量$ϕ(\cdot)$和距离阈值$r > 0$,用$ϕ(a,b) \le r$报告所有点对$(a, b) \in A \times B$。我们的目标是将$A,B$存储到一个动态数据结构中,无论何时被要求,都可以枚举所有具有最坏情况延迟保证的结果对,即,枚举两个连续对之间的时间是有界的。此外,当点被插入到$A$或$B$中或从$A$或$B$中删除时,可以有效地更新数据结构。我们提出了几个有效的数据结构,以回答低维的相似连接查询。对于精确枚举的相似性连接,我们提出了近线性大小的数据结构$\ell_1, \ell_\infty$度量与$\log^{O(1)} n$更新时间和延迟。我们表明,这样的数据结构是不可行的$\ell_2$度量$d \ge 4$。对于近似枚举的相似连接,距离阈值是一个软约束,我们得到了一个统一的线性大小的数据结构$\ell_p$度量,与$\log^{O(1)} n$延迟和更新时间。在高维度,我们提出了一个有效的数据结构,最坏情况下的延迟保证使用局部敏感哈希(LSH)。
英文摘要:
This paper considers enumerating answers to similarity-join queries under dynamic updates: Given two sets of $n$ points $A,B$ in $\mathbb{R}^d$, a metric $ϕ(\cdot)$, and a distance threshold $r > 0$, report all pairs of points $(a, b) \in A \times B$ with $ϕ(a,b) \le r$. Our goal is to store $A,B$ into a dynamic data structure that, whenever asked, can enumerate all result pairs with worst-case delay guarantee, i.e., the time between enumerating two consecutive pairs is bounded. Furthermore, the data structure can be efficiently updated when a point is inserted into or deleted from $A$ or $B$. We propose several efficient data structures for answering similarity-join queries in low dimension. For exact enumeration of similarity join, we present near-linear-size data structures for $\ell_1, \ell_\infty$ metrics with $\log^{O(1)} n$ update time and delay. We show that such a data structure is not feasible for the $\ell_2$ metric for $d \ge 4$. For approximate enumeration of similarity join, where the distance threshold is a soft constraint, we obtain a unified linear-size data structure for $\ell_p$ metric, with $\log^{O(1)} n$ delay and update time. In high dimensions, we present an efficient data structure with worst-case delay-guarantee using locality sensitive hashing (LSH).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。