DISCO: A Dynamically Configurable Sketch Framework in Skewed Data Streams
Jiaqian Liu, Ran Ben Basat, Louis De Wardt, Haipeng Dai, Guihai Chen
Abstract
Sketches have gained popularity as effective methods for estimating frequency in data streams, and optimizing their accuracy is critical in many applications. However, while sketches are backed by a standard guarantee under the worst-case analysis, their actual errors can vary significantly with real-world skewed data streams. Therefore, it is challenging to configure sketches to optimize accuracy without prior knowledge of the input. Moreover, even with a new configuration, it is unclear when to apply it. This paper presents a novel sketch framework that can be dy-namically configured to optimize the accuracy given a processed data stream. Specifically, we provide a precise guarantee and derive an optimal number of hash functions under the Zipfian distribution, which is an appropriate way to model skewed data streams in practice. We then propose a dynamically configurable sketch framework, namely DISCO, that can estimate the distri-bution parameter and adjust the number of hash functions on the fly to optimize accuracy. We provide rigorous mathematical analysis and apply DISCO to three classical solutions, including the Count-min, Conservative Update, and Count sketches. Experimental results, using synthetic and real datasets, show that DISCO can achieve the optimal configuration for the metric (i.e., FP) related to the sketch guarantee, while achieving near-optimal accuracy for other common metrics (e.g., ARE) compared with state-of-the-art methods.
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.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
its abstract · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
Related papers
- Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
- SketchConf: A Framework for Automatic Sketch ConfigurationRuijie Miao, Fenghao Dong, Yikai Zhao, Yiming Zhao et al.ICDE 2023 · 11 citations
- MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong et al.KDD 2023 · 10 citations
- MimoSketch: A Framework to Mine Item Frequency on Multiple Nodes with SketchesYuchen Xu, Wenfei Wu, Bohan Zhao, Tong Yang et al.KDD 2023 · 5 citations
- Evolving Sketch: Time-Decaying Frequency Estimation for Evolving StreamsGe Gao, Yang Du, He Huang, Yu-E Sun et al.ICDE 2026
