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

可变哈希函数数量的Count-min sketch:一项实验研究

Count-min sketch with variable number of hash functions: an experimental study

Éric Fusy, Gregory Kucherov

AI总结:

本文通过实验分析了保守Count-Min sketch在不同状态和输入分布下的行为,并提出为不同元素分配可变数量哈希函数的方法,在保持较小误差的同时减小了数据结构空间。

摘要:

保守Count-Min是Count-Min sketch [Cormode, Muthukrishnan 2005]的改进版本,是一种基于哈希的在线维护数据结构,用于汇总元素频率信息而无需存储元素本身。尽管有几项工作试图分析Count-Min可能产生的误差,但对这种数据结构的理解仍然不足。在 [Fusy, Kucherov 2022] 中,我们证明了在输入元素均匀分布的情况下,保守Count-Min的误差根据其负载因子遵循两种不同的状态。在这项工作中,我们提供了一系列实验结果,为保守Count-Min的行为提供了新的见解。我们的贡献可以看作是双重的。一方面,我们对Count-Min sketch在不同状态下以及输入元素的几种代表性概率分布下的行为进行了详细的实验分析。另一方面,我们展示了通过为不同元素分配可变数量的哈希函数所能实现的改进。这尤其包括减小数据结构的空间,同时仍保持较小的误差。

英文摘要:

Conservative Count-Min, an improved version of Count-Min sketch [Cormode, Muthukrishnan 2005], is an online-maintained hashing-based data structure summarizing element frequency information without storing elements themselves. Although several works attempted to analyze the error that can be made by Count-Min, the behavior of this data structure remains poorly understood. In [Fusy, Kucherov 2022], we demonstrated that under the uniform distribution of input elements, the error of conservative Count-Min follows two distinct regimes depending on its load factor. In this work, we provide a series of experimental results providing new insights into the behavior of conservative Count-Min. Our contributions can be seen as twofold. On one hand, we provide a detailed experimental analysis of the behavior of Count-Min sketch in different regimes and under several representative probability distributions of input elements. On the other hand, we demonstrate improvements that can be made by assigning a variable number of hash functions to different elements. This includes, in particular, reduced space of the data structure while still supporting a small error.

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

↑