ExtendedHyperLogLog:一种新的基数估计的分析
ExtendedHyperLogLog: Analysis of a new Cardinality Estimator
摘要:
我们讨论了在流中计数不同元素的问题。流通常被认为是一个元素序列,每次出现一个元素。这个问题的精确解决方案需要流大小的内存空间。对于许多应用,由于非常大的流,该解决方案是不可行的。在这种情况下,解决方案是使用概率数据结构(也称为草图),从中我们可以高精度地估计流的基数。我们提出了一种新的算法,扩展HyperLogLog(EHLL),这是基于国家的最先进的算法,HyperLogLog(HLL)。为了达到与HLL相同的精度,EHLL使用的内存减少了16%。近年来,鞅方法得到了发展。在鞅的设置,我们得到更好的准确性的代价是不能合并草图。EHLL也适用于鞅环境。Martingale EHLL实现了与Martingale HLL相同的精度,使用的内存减少了12%。
英文摘要:
We discuss the problem of counting distinct elements in a stream. A stream is usually considered as a sequence of elements that come one at a time. An exact solution to the problem requires memory space of the size of the stream. For many applications this solution is infeasible due to very large streams. The solution in that case, is to use a probabilistic data structure (also called sketch), from which we can estimate with high accuracy the cardinality of the stream. We present a new algorithm, ExtendedHyperLogLog (EHLL), which is based on the state-of-the-art algorithm, HyperLogLog (HLL). In order to achieve the same accuracy as HLL, EHLL uses 16% less memory. In recent years, a martingale approach has bean developed. In the martingale setting we receive better accuracy at the price of not being able to merge sketches. EHLL also works in the martingale setting. Martingale EHLL achieves the same accuracy as Martingale HLL using 12% less memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。