arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1710.08436cs.DScs.DB
收藏

HyperMinHash:LogLog空间中的MinHash

HyperMinHash: MinHash in LogLog space

Yun William Yu, Griffin M. Weber

摘要:

在这个扩展的摘要中,我们描述和分析了一个有损压缩MinHash从大小为$O(\log n)$的桶大小为$O(\log\log n)$的桶编码使用浮点符号。这个新的压缩草图,我们称之为HyperMinHash,因为我们构建了HyperLogLog支架,可以用作MinHash的直接替代品。与亚对数空间中的Jaccard索引指纹算法(如b位MinHash)不同,HyperMinHash保留了MinHash的流式更新,联合和基数估计的功能。对于Jaccard索引$ t $上的乘法近似误差$1+ ε$,给定随机预言,HyperMinHash需要$O\left(ε^{-2} \left( \log\log n + \log \frac{1}{ t ε} \right)\right)$空间。HyperMinHash允许使用64 KiB的内存估计$10^{19}$数量级的集合基数的Jaccard索引为0.01,相对误差约为10%; MinHash只能估计$10^{10}$的基数的Jaccard索引,具有相同的内存消耗。

英文摘要:

In this extended abstract, we describe and analyze a lossy compression of MinHash from buckets of size $O(\log n)$ to buckets of size $O(\log\log n)$ by encoding using floating-point notation. This new compressed sketch, which we call HyperMinHash, as we build off a HyperLogLog scaffold, can be used as a drop-in replacement of MinHash. Unlike comparable Jaccard index fingerprinting algorithms in sub-logarithmic space (such as b-bit MinHash), HyperMinHash retains MinHash's features of streaming updates, unions, and cardinality estimation. For a multiplicative approximation error $1+ ε$ on a Jaccard index $ t $, given a random oracle, HyperMinHash needs $O\left(ε^{-2} \left( \log\log n + \log \frac{1}{ t ε} \right)\right)$ space. HyperMinHash allows estimating Jaccard indices of 0.01 for set cardinalities on the order of $10^{19}$ with relative error of around 10\% using 64KiB of memory; MinHash can only estimate Jaccard indices for cardinalities of $10^{10}$ with the same memory consumption.

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

↑