CodingSketch: A Hierarchical Sketch with Efficient Encoding and Recursive Decoding
Qizhi Chen, Yisen Hong, Yuhan Wu, Tong Yang, Bin Cui
Abstract
Sketch is a probabilistic data structure widely used in various fields due to its high accuracy under small memory. Designing hierarchical data structures for real-world datasets with high skewness is one of the main optimization directions of Sketch. However, there is still a big accuracy gap between the existing sketches and the optimum. To fill the gap, we propose a new sketch called Coding Sketch. For the first time, we used both hierarchical structure and nearly-lossless encoding-and-decoding to compress frequent items, which significantly improves the accuracy of frequent items. Besides, we propose flagless pruning to remove the additional flag bits in traditional hierarchical structure. Thus Coding Sketch can optimize the frequency estimation of both frequent and infrequent items. Our evaluation shows that our algorithm is 10 times more accurate than the state-of-the-art under the same memory cost. All related codes are open-sourced.22https://github.com/CodingSketch/Coding-Sketc
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Sublime: Sublinear Error & Space for Unbounded Skewed Streams cites WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- Sublime: Sublinear Error & Space for Unbounded Skewed Streams cites Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation
- CounterSnake: A lossless and generalized compression framework for diverse sketches cites WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- CounterSnake: A lossless and generalized compression framework for diverse sketches cites Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation cites WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency Estimation cites Correlation Sketches for Approximate Join-Correlation Queries
Cited by top-tier papers2
Builds on14
- WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data StreamsJizhou Li, Zikun Li, Yifei Xu, Shiqi Jiang et al.KDD 2020 · 96 citations
- Frequency Estimation under Local Differential PrivacyGraham Cormode, Samuel Maddock, Carsten MapleVLDB 2021 · 70 citations
- Stingy Sketch: A Sketch Framework for Accurate and Fast Frequency EstimationHaoyu Li, Qizhi Chen, Yixin Zhang, Tong Yang et al.VLDB 2022 · 54 citations
- Self-Adaptive Sampling for Network Traffic MeasurementYang Du, He Huang, Yu-e Sun, Shigang Chen et al.INFOCOM 2021 · 49 citations
- Correlation Sketches for Approximate Join-Correlation QueriesAécio S. R. Santos, Aline Bessa, Fernando Chirigati, Christopher Musco et al.SIGMOD 2021 · 45 citations
Related papers
- JoinSketch: A Sketch Algorithm for Accurate and Unbiased Inner-Product EstimationFeiyu Wang, Qizhi Chen, Yuanpeng Li, Tong Yang et al.SIGMOD 2023 · 20 citations
- Meta-Sketch: A Neural Data Structure for Estimating Item Frequencies of Data StreamsYukun Cao, Yuan Feng, Xike XieAAAI 2023 · 13 citations
- XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 citations
- MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong et al.KDD 2023 · 10 citations
- TreeSensing: Linearly Compressing Sketches with FlexibilityZirui Liu, Yixin Zhang, Yifan Zhu, Ruwen Zhang et al.SIGMOD 2023 · 10 citations
