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

在具有恢复能力的全动态数据流上维护 k-MinHash 签名

Maintaining $k$-MinHash Signatures over Fully-Dynamic Data Streams with Recovery

Andrea Clementi, Luciano Gualà, Luca Pepè Sciarria, Alessandro Straziota

AI总结:

本文提出带缓冲的动态 k-MinHash 草图,通过减少昂贵的恢复重建次数,以 O(k log |U|) 内存和摊销更新时间支持全动态数据流上的 Jaccard 相似度查询,并在实验中展现出与最先进全局方案相当的竞争力。

摘要:

我们考虑在根据流式输入模型动态更新的大型项目集合上执行 Jaccard 相似度查询的任务。这里的项目是大型元素全集 U 的一个子集。数据挖掘中解决这一重要问题的一种经过充分研究的方法是设计快速相似度数据草图。在本文中,我们关注该问题的全局解决方案,即一个单一数据结构,它既能回答相似度估计查询和全候选对查询,同时还能动态管理输入中接收到的任意在线元素插入和删除序列。我们引入并深入分析了一种动态的、带缓冲的著名 k-MinHash 草图版本。这种带缓冲的版本能更好地管理关键更新操作,从而显著减少需要使用昂贵的恢复查询从头重建草图的次数。我们证明,带缓冲的 k-MinHash 每个子集使用 O(k log |U|) 个内存字,并且每次插入/删除的摊销更新时间以高概率为 O(k log |U|)。此外,我们的数据结构可以在 O(k) 时间内返回任意子集的 k-MinHash 签名,并且该签名与从头计算得到的签名完全相同(因此签名质量与静态 k-MinHash 所保证的质量相同)。与 [Bury et al., WSDM'18] 中给出的该问题其他最先进全局解决方案进行的分析和实验比较表明,带缓冲的 k-MinHash 在广泛且相关的在线输入参数范围内具有竞争力。

英文摘要:

We consider the task of performing Jaccard similarity queries over a large collection of items that are dynamically updated according to a streaming input model. An item here is a subset of a large universe $U$ of elements. A well-studied approach to address this important problem in data mining is to design fast-similarity data sketches. In this paper, we focus on global solutions for this problem, i.e., a single data structure which is able to answer both Similarity Estimation and All-Candidate Pairs queries, while also dynamically managing an arbitrary, online sequence of element insertions and deletions received in input. We introduce and provide an in-depth analysis of a dynamic, buffered version of the well-known $k$-MinHash sketch. This buffered version better manages critical update operations thus significantly reducing the number of times the sketch needs to be rebuilt from scratch using expensive recovery queries. We prove that the buffered $k$-MinHash uses $O(k \log |U|)$ memory words per subset and that its amortized update time per insertion/deletion is $O(k \log |U|)$ with high probability. Moreover, our data structure can return the $k$-MinHash signature of any subset in $O(k)$ time, and this signature is exactly the same signature that would be computed from scratch (and thus the quality of the signature is the same as the one guaranteed by the static $k$-MinHash). Analytical and experimental comparisons with the other, state-of-the-art global solutions for this problem given in [Bury et al.,WSDM'18] show that the buffered $k$-MinHash turns out to be competitive in a wide and relevant range of the online input parameters.

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

↑