arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.08977cs.DS
收藏

一种高效存储的流数据集高相似度草图估计方法

A Memory-Efficient Sketch Method for Estimating High Similarities in Streaming Sets

Pinghui Wang, Yiyan Qi, Yuanming Zhang, Qiaozhu Zhai, Chenxu Wang, John C. S. Lui, Xiaohong Guan

摘要:

估计集合相似性和检测高度相似集合是诸如数据库、机器学习和信息检索等领域中的基本问题。MinHash是一种用于近似集合的Jaccard相似性的众所周知的技术,并且已经成功地用于许多应用,例如相似性搜索和大规模学习。它的两个压缩版本,b-bit MinHash和Odd Sketch,可以显著减少原始MinHash方法的内存使用,特别是用于估计高相似性(即,相似点1)。虽然MinHash可以应用于静态集合以及流集合,其中元素以流方式给出并且基数未知甚至无限,但不幸的是,b位MinHash和Odd Sketch无法处理流数据。为了解决这个问题,我们设计了一个内存高效的草图方法,MaxLogHash,准确地估计流集中的Jaccard相似性。与MinHash相比,我们的方法使用较小的寄存器(每个寄存器由少于7位组成)来为每个集合构建紧凑的草图。我们还提供了一个简单而准确的估计器,用于从MaxLogHash草图中推断Jaccard相似性。此外,我们推导出用于限制估计误差的公式,并确定最小的必要内存使用(即,用于MaxLogHash草图的寄存器的数量)以获得所需的精度。我们在各种数据集上进行了实验,实验结果表明,我们的方法MaxLogHash比MinHash的内存效率高出约5倍,并且具有相同的精度和计算成本来估计高相似性。

英文摘要:

Estimating set similarity and detecting highly similar sets are fundamental problems in areas such as databases, machine learning, and information retrieval. MinHash is a well-known technique for approximating Jaccard similarity of sets and has been successfully used for many applications such as similarity search and large scale learning. Its two compressed versions, b-bit MinHash and Odd Sketch, can significantly reduce the memory usage of the original MinHash method, especially for estimating high similarities (i.e., similarities around 1). Although MinHash can be applied to static sets as well as streaming sets, of which elements are given in a streaming fashion and cardinality is unknown or even infinite, unfortunately, b-bit MinHash and Odd Sketch fail to deal with streaming data. To solve this problem, we design a memory efficient sketch method, MaxLogHash, to accurately estimate Jaccard similarities in streaming sets. Compared to MinHash, our method uses smaller sized registers (each register consists of less than 7 bits) to build a compact sketch for each set. We also provide a simple yet accurate estimator for inferring Jaccard similarity from MaxLogHash sketches. In addition, we derive formulas for bounding the estimation error and determine the smallest necessary memory usage (i.e., the number of registers used for a MaxLogHash sketch) for the desired accuracy. We conduct experiments on a variety of datasets, and experimental results show that our method MaxLogHash is about 5 times more memory efficient than MinHash with the same accuracy and computational cost for estimating high similarities.

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

↑