Lune

KDD2024顶会

QSketch: An Efficient Sketch for Weighted Cardinality Estimation in Streams

Yiyan Qi, Rundong Li, Pinghui Wang, Yufang Sun, Rui Xing

摘要

Estimating cardinality, i.e., the number of distinct elements, of a data stream is a fundamental problem in areas like databases, computer networks, and information retrieval. This study delves into a broader scenario where each element carries a positive weight. Unlike traditional cardinality estimation, limited research exists on weighted cardinality, with current methods requiring substantial memory and computational resources, challenging for devices with limited capabilities and real-time applications like anomaly detection. To address these issues, we propose QSketch, a memory-efficient sketch method for estimating weighted cardinality in streams. QSketch uses a quantization technique to condense continuous variables into a compact set of integer variables, with each variable requiring only 8 bits, making it 8 times smaller than previous methods. Furthermore, we leverage dynamic properties during QSketch generation to significantly enhance estimation accuracy and achieve a lower time complexity of O(1) for updating estimations upon encountering a new element. Experimental results on synthetic and real-world datasets show that QSketch is approximately 30% more accurate and two orders of magnitude faster than the state-of-the-art, using only 1/8 of the memory.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Measuring Item Freshness in Data Streams 引用了 On the algebra of data sketches
  • Efficient framework for operating on data sketches 引用了 On the algebra of data sketches
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Measuring Item Freshness in Data StreamsZirui Liu, Zihan Jiang, An Zhang, Zhouran Shi 等KDD 2025

它引用的 Paper4

  1. HyperLogLogLog: Cardinality Estimation With One Log MoreMatti Karppa, Rasmus PaghKDD 2022 · 24 次引用
  2. On the algebra of data sketchesJakub LemieszVLDB 2021 · 21 次引用
  3. Fast Generating A Large Number of Gumbel-Max VariablesYiyan Qi, Pinghui Wang, Yuanming Zhang, Junzhou Zhao 等WWW 2020 · 6 次引用
  4. Efficient framework for operating on data sketchesJakub LemieszVLDB 2023 · 6 次引用

相关 Paper

  1. ZRing: A Dynamic Sketch for Weighted Cardinality Estimation in Data StreamsZhicheng Li, Pinghui Wang, Qiheng Song, Rundong Li 等KDD 2026
  2. TardySketch: A Framework for Cardinality Estimation Adaptable to Sliding WindowsXuyang Jing, Qinghua Cao, Chenhao Zhang, Zheng Yan 等ICDE 2025 · 3 次引用
  3. Efficient and Accurate Differentially Private Cardinality Continual ReleasesDongdong Xie, Pinghui Wang, Quanqing Xu, Chuanhui Yang 等SIGMOD 2025 · 1 次引用
  4. Bayesian Sketches for Volume Estimation in Data StreamsFrancesco Da Dalt, Simon Scherrer, Adrian PerrigVLDB 2023 · 5 次引用
  5. Convolution and Cross-Correlation of Count Sketches Enables Fast Cardinality Estimation of Multi-Join QueriesMike Heddes, Igor Nunes, Tony Givargis, Alex NicolauSIGMOD 2024 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖