Lune

KDD2022顶会

HyperLogLogLog: Cardinality Estimation With One Log More

Matti Karppa, Rasmus Pagh

2022年份
24被引次数
4顶会引用

摘要

We present HyperLogLogLog, a practical compression of the Hy-perLogLog sketch that compresses the sketch from 𝑂 (𝑚 log log 𝑛) bits down to 𝑚 log 2 log 2 log 2 𝑚 + 𝑂 (𝑚 + log log 𝑛) bits for estimating the number of distinct elements 𝑛 using 𝑚 registers. The algorithm works as a drop-in replacement that preserves all estimation properties of the HyperLogLog sketch, it is possible to convert back and forth between the compressed and uncompressed representations, and the compressed sketch maintains mergeability in the compressed domain. The compressed sketch can be updated in amortized constant time, assuming 𝑛 is sufficiently larger than 𝑚. We provide a C++ implementation of the sketch, and show by experimental evaluation against well-known implementations by Google and Apache that our implementation provides small sketches while maintaining competitive update and merge times. Concretely, we observed approximately a 40% reduction in the sketch size. Furthermore, we obtain as a corollary a theoretical algorithm that compresses the sketch down to 𝑚 log 2 log 2 log 2 log 2 𝑚 + 𝑂 (𝑚 log log log 𝑚/log log 𝑚 + log log 𝑛) bits. CCS CONCEPTS • Information systems → Data management systems; • Theory of computation → Design and analysis of algorithms.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper4

问问它们各自怎么用它

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖