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

设置相似性搜索超出MinHash

Set Similarity Search Beyond MinHash

Tobias Christiani, Rasmus Pagh

摘要:

本文研究了Braun-Blanquet相似性$B(\mathbf{x}, \mathbf{y}) = |\mathbf{x} \cap \mathbf{y}| / \max(|\mathbf{x}|, |\mathbf{y}|)$下的近似集相似性搜索问题。$(b_2, b_2)$ -近似Braun-Blanquet相似性搜索问题是预处理集合$P$的集合,使得给定查询集合$\mathbf{q}$,如果存在具有$B(\mathbf{q}, \mathbf{x}) \geq b_1$的$\mathbf{x} \in P$,则我们可以有效地返回具有$B(\mathbf{q}, \mathbf{x}') > b_2$的$\mathbf{x}' \in P$。我们提出了一个简单的数据结构,解决了这个问题的空间使用$O(n^{1+ρ}\log n + \sum_{\mathbf{x} \in P}|\mathbf{x}|)$和查询时间$O(|\mathbf{q}|n^ρ \log n)$,其中$n = |P|$和$ρ= \log(1/b_1)/\log(1/b_2)$。利用O 'Donnell等人(TOCT 2014)的局部敏感散列的现有下限,我们证明了$ρ$的这个值在参数空间中是紧的,即,对于每个常数$0 < b_2 < b_1 < 1$的选择。在所有集合具有相同大小的情况下,我们的解决方案严格提高了$ρ$的值,该值可以通过使用Indyk-Motwani局部敏感哈希框架(STOC 1998)中最先进的数据独立技术来获得,例如Broder的MinHash(CCS 1997)用于Jaccard相似性和Andoni等人。的交叉多面体LSH(NIPS 2015)的余弦相似性。令人惊讶的是,尽管我们的解决方案是数据独立的,但对于参数空间的很大一部分,我们优于Andoni和Razenshteyn(STOC 2015)目前最好的数据依赖方法。

英文摘要:

We consider the problem of approximate set similarity search under Braun-Blanquet similarity $B(\mathbf{x}, \mathbf{y}) = |\mathbf{x} \cap \mathbf{y}| / \max(|\mathbf{x}|, |\mathbf{y}|)$. The $(b_2, b_2)$-approximate Braun-Blanquet similarity search problem is to preprocess a collection of sets $P$ such that, given a query set $\mathbf{q}$, if there exists $\mathbf{x} \in P$ with $B(\mathbf{q}, \mathbf{x}) \geq b_1$, then we can efficiently return $\mathbf{x}' \in P$ with $B(\mathbf{q}, \mathbf{x}') > b_2$. We present a simple data structure that solves this problem with space usage $O(n^{1+ρ}\log n + \sum_{\mathbf{x} \in P}|\mathbf{x}|)$ and query time $O(|\mathbf{q}|n^ρ \log n)$ where $n = |P|$ and $ρ= \log(1/b_1)/\log(1/b_2)$. Making use of existing lower bounds for locality-sensitive hashing by O'Donnell et al. (TOCT 2014) we show that this value of $ρ$ is tight across the parameter space, i.e., for every choice of constants $0 < b_2 < b_1 < 1$. In the case where all sets have the same size our solution strictly improves upon the value of $ρ$ that can be obtained through the use of state-of-the-art data-independent techniques in the Indyk-Motwani locality-sensitive hashing framework (STOC 1998) such as Broder's MinHash (CCS 1997) for Jaccard similarity and Andoni et al.'s cross-polytope LSH (NIPS 2015) for cosine similarity. Surprisingly, even though our solution is data-independent, for a large part of the parameter space we outperform the currently best data-dependent method by Andoni and Razenshteyn (STOC 2015).

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

↑