Stable-Sketch: A Versatile Sketch for Accurate, Fast, Web-Scale Data Stream Processing
摘要
Data stream processing plays a pivotal role in various web-related applications, including click fraud detection, anomaly identification, and recommendation systems. Accurate and fast detection of items relevant to such tasks within data streams, e.g., heavy hitters, heavy changers, and persistent items, is however non-trivial. This is due to growing streaming speeds, limited fast memory (L1 cache) available in current systems, and highly skewed item distributions encountered in practice. In effect, items of interest that are tracked only based on their features (e.g., item frequency or persistence value) are susceptible to replacement by non-relevant ones, leading to modest detection accuracy, as we reveal. In this work, we introduce the notion of bucket stability, which quantifies the degree of recorded item variation, and show that this is a powerful metric for identifying distinct item types. We propose Stable-Sketch, an elegant and versatile sketch that exploits multidimensional information, including item statistics and bucket stability, and adopts a stochastic approach to drive replacement decisions. We present a theoretical analysis of the error bounds of Stable-Sketch, and conduct extensive experiments to demonstrate that our solution achieves substantially higher accuracy and faster processing speeds than state-of-the-art sketches in a range of item detection tasks, even with tight memories. We further enhance Stable-Sketch's update throughput with Single Instruction Multiple Data (SIMD) instructions and implement our solution with P4, demonstrating real world deployment viability.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- BurstSketch: Finding Bursts in Data Streams 引用了 WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data Streams 引用了 WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data Streams 引用了 On-Off Sketch: A Fast and Accurate Sketch on Persistence
- Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data Streams 引用了 CocoSketch: high-performance sketch-based measurement over arbitrary partial key query
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key query 引用了 WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data Streams
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key query 引用了 On-Off Sketch: A Fast and Accurate Sketch on Persistence
引用它的顶会 Paper2
- Pontus: A Memory-Efficient and High-Accuracy Approach for Persistence-Based Item Lookup in High-Velocity Data StreamsWeihe Li, Zukai Li, Beyza Bütün, Alec F. Diallo 等WWW 2025 · 4 次引用
- Evolving Proxy Kills Drift: Data-Efficient Streaming Time Series Anomaly DetectionQing Wei, Hao Miao, Yan Zhao, Kai Zheng 等WWW 2026 · 1 次引用
它引用的 Paper11
- CocoSketch: high-performance sketch-based measurement over arbitrary partial key queryYinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang 等SIGCOMM 2021 · 146 次引用
- SpreadSketch: Toward Invertible and Network-Wide Detection of SuperspreadersLu Tang, Qun Huang, Patrick P. C. LeeINFOCOM 2020 · 102 次引用
- WavingSketch: An Unbiased and Generic Sketch for Finding Top-k Items in Data StreamsJizhou Li, Zikun Li, Yifei Xu, Shiqi Jiang 等KDD 2020 · 96 次引用
- On-Off Sketch: A Fast and Accurate Sketch on PersistenceYinda Zhang, Jinyang Li, Yutian Lei, Tong Yang 等VLDB 2021 · 63 次引用
- BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan 等SIGMOD 2021 · 58 次引用
相关 Paper
- Hypersistent Sketch: Enhanced Persistence Estimation via Fast Item SeparationLu Cao, Qilong Shi, Weiqiang Xiao, Nianfu Wang 等ICDE 2025 · 8 次引用
- LogLog Filter: Filtering Cold Items within a Large Range over High Speed Data StreamsPeng Jia, Pinghui Wang, Junzhou Zhao, Ye Yuan 等ICDE 2021 · 24 次引用
- DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream ProcessingBohan Zhao, Xiang Li, Boyu Tian, Zhiyu Mei 等KDD 2021 · 47 次引用
- LadderFilter: Filtering Infrequent Items with Small Memory and Time OverheadYuanpeng Li, Feiyu Wang, Xiang Yu, Yilong Yang 等SIGMOD 2023 · 16 次引用
- Pandora: An Efficient and Rapid Solution for Persistence-Based Tasks in High-Speed Data StreamsWeihe LiSIGMOD 2025 · 6 次引用
