Quantile Estimation with Duplicates
Tianrui Xia, Ziling Chen, Shaoxu Song
Abstract
Quantile estimation in data streams is a fundamental task in data analysis. Data structures named quantile sketches are constructed to summarize data and estimate quantiles using limited storage. Duplicate data records often occur in real-world data, while there is no relevant design or analysis in existing quantile sketches, including the best known method KLL sketch. In this paper, we present DupliSketch, a quantile sketch with optimizations for duplicates. The sketch compresses arrival duplicates into elements and performs randomized compaction operations to meet the space limit. To better summarize heavy-tailed data, DupliSketch maintains values frequent enough dynamically and counts them separately, while summarizes other values with weighted elements obtained from compactions. Analyses show its error in rank estimation, space complexity to provide error guarantees under input with duplicates, and time complexity. The approach is deployed as a user-defined function in a database Apache IoTDB. Extensive experiments support the theoretical analyses and compare DupliSketch with existing methods on real and synthetic datasets. On average, the error of the DupliSketch is 44% smaller than that of the baseline methods under the same space limit.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Randomized Sketches for Quantile in LSM-tree based StoreZiling Chen, Shaoxu SongSIGMOD 2025 · 2 citations
- Determining Exact Quantiles with Randomized SummariesZiling Chen, Haoquan Guan, Shaoxu Song, Xiangdong Huang et al.SIGMOD 2024 · 3 citations
- Cooled-KLL: Enhancing Quantile Estimation by Filtering Hot ItemQilong Shi, Wei Zhou, Yizhuo Zheng, Xinye Xu et al.KDD 2025
- Together is Better: Heavy Hitters Quantile EstimationRana Shahout, Roy Friedman, Ran Ben BasatSIGMOD 2023 · 15 citations
- XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 citations
