HyperLogLog超扩展:凹次线性频率统计的草图
HyperLogLog Hyper Extended: Sketches for Concave Sublinear Frequency Statistics
摘要:
对数据元素计算的最常见的统计信息之一是不同键的数量。30年前,Flajolet和Martin开创了一系列研究,最终设计出了最佳近似计数草图,其大小是不同密钥数量的双对数,并且提供了相对误差较小的估计。此外,草图是可组合的,因此适合于流式、并行或分布式计算。我们在这里考虑所有的统计数据的频率分布的关键,其中的贡献的关键的聚合是凹的,并增长(子)线性与其频率。这些基本的聚合在文本、图形和日志分析中非常常见,包括统计量、低频矩和封顶统计。我们为所有凹次线性统计量设计了双对数大小的可组合草图。我们的设计结合了理论上的最优性和实际的简单性。简而言之,我们指定了数据元素到输出元素的定制映射函数,以便数据元素上的目标统计数据近似于输出元素的(最大)不同统计数据,这可以使用现成的草图来近似。我们的关键见解是将这些目标统计数据与输入频率的{ \em补拉普拉斯}变换相关联。
英文摘要:
One of the most common statistics computed over data elements is the number of distinct keys. A thread of research pioneered by Flajolet and Martin three decades ago culminated in the design of optimal approximate counting sketches, which have size that is double logarithmic in the number of distinct keys and provide estimates with a small relative error. Moreover, the sketches are composable, and thus suitable for streamed, parallel, or distributed computation. We consider here all statistics of the frequency distribution of keys, where a contribution of a key to the aggregate is concave and grows (sub)linearly with its frequency. These fundamental aggregations are very common in text, graphs, and logs analysis and include logarithms, low frequency moments, and capping statistics. We design composable sketches of double-logarithmic size for all concave sublinear statistics. Our design combines theoretical optimality and practical simplicity. In a nutshell, we specify tailored mapping functions of data elements to output elements so that our target statistics on the data elements is approximated by the (max-) distinct statistics of the output elements, which can be approximated using off-the-shelf sketches. Our key insight is relating these target statistics to the {\em complement Laplace} transform of the input frequencies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。