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

具有Jaccard相似性的双色最近对的硬度

Hardness of Bichromatic Closest Pair with Jaccard Similarity

Rasmus Pagh, Nina Stausholm, Mikkel Thorup

摘要:

分别考虑红色和蓝色集合的集合$\mathcal{A}$和$\mathcal{B}$。双色最近对是从$\mathcal{A}\times \mathcal{B}$中找到一个根据某种相似性度量具有高于给定阈值的相似性的对的问题。这里我们的重点是$(\textbf{a},\textbf{b})\in \mathcal{A}\times \mathcal{B}$的经典Jaccard相似性$|\textbf{a}\cap \textbf{b}|/|\textbf{a}\cup \textbf{b}|$。我们考虑问题的近似版本,其中我们被给予阈值$j_1>j_2$,并且如果在$\mathcal{A}\times \mathcal{B}$中存在具有至少$j_1$的Jaccard相似性的对,则希望从具有高于$j_2$的Jaccard相似性的$\mathcal{A}\times \mathcal{B}$返回对。Indyk和Motwani(STOC '98)的经典局部敏感散列(LSH)算法,用Broder等人的MinHash LSH函数实例化,如果$j_1\ge j_2^{1-δ}$,则在$\tilde O(n^{2-δ})$时间内解决该问题。特别地,对于$δ=Ω(1)$,近似比$j_1/j_2=1/j_2^δ$在$1/j_2$中多项式地增加。本文给出了相应的硬度结果。假设正交向量猜想(OVC),我们表明,不可能有一个通用的解决方案,解决双色最近对问题的$O(n^{2-Ω(1)})$时间为$j_1/j_2=1/j_2^{o(1)}$。具体来说,假设OVC,我们证明,对于任何$δ>0$存在一个$\varepsilon>0$,使双色最接近的对Jaccard相似性需要时间$Ω(n^{2-δ})$为任何选择的阈值$j_2<j_1<1-δ$,满足$j_1\le j_2^{1-\varepsilon}$。

英文摘要:

Consider collections $\mathcal{A}$ and $\mathcal{B}$ of red and blue sets, respectively. Bichromatic Closest Pair is the problem of finding a pair from $\mathcal{A}\times \mathcal{B}$ that has similarity higher than a given threshold according to some similarity measure. Our focus here is the classic Jaccard similarity $|\textbf{a}\cap \textbf{b}|/|\textbf{a}\cup \textbf{b}|$ for $(\textbf{a},\textbf{b})\in \mathcal{A}\times \mathcal{B}$. We consider the approximate version of the problem where we are given thresholds $j_1>j_2$ and wish to return a pair from $\mathcal{A}\times \mathcal{B}$ that has Jaccard similarity higher than $j_2$ if there exists a pair in $\mathcal{A}\times \mathcal{B}$ with Jaccard similarity at least $j_1$. The classic locality sensitive hashing (LSH) algorithm of Indyk and Motwani (STOC '98), instantiated with the MinHash LSH function of Broder et al., solves this problem in $\tilde O(n^{2-δ})$ time if $j_1\ge j_2^{1-δ}$. In particular, for $δ=Ω(1)$, the approximation ratio $j_1/j_2=1/j_2^δ$ increases polynomially in $1/j_2$. In this paper we give a corresponding hardness result. Assuming the Orthogonal Vectors Conjecture (OVC), we show that there cannot be a general solution that solves the Bichromatic Closest Pair problem in $O(n^{2-Ω(1)})$ time for $j_1/j_2=1/j_2^{o(1)}$. Specifically, assuming OVC, we prove that for any $δ>0$ there exists an $\varepsilon>0$ such that Bichromatic Closest Pair with Jaccard similarity requires time $Ω(n^{2-δ})$ for any choice of thresholds $j_2<j_1<1-δ$, that satisfy $j_1\le j_2^{1-\varepsilon}$.

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

↑