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 about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get b02eb402-4135-40f4-a90b-42be5d5a541aRelated 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
