SketchBuilder: Learning-Augmented Proactive Sketch Construction for Heavy Hitter Detection in Data Streams
Yifan Han, Yang Du, Yu-E. Sun, He Huang, Xiaocan Wu
摘要
Heavy hitter detection is a fundamental problem in data stream processing with broad applications. State-of-the-art self-adjusting sketches adapt to skewed streams by repeatedly adjusting local memory structures at runtime. However, they largely overlook global sketch-level collisions that persistently map multiple heavy hitters to the same memory regions. Such collisions not only degrade estimation accuracy but also induce frequent structural readjustments, incurring substantial overhead and undermining overall efficiency. We present SketchBuilder, a learning-augmented framework that introduces a new paradigm by shifting from reactive adaptation to proactive sketch construction. By leveraging historical sketches to anticipate stream evolution, SketchBuilder jointly optimizes sketch construction along two coordinated dimensions via complementary modules: (1) a Dispatcher that refines global item mapping to proactively mitigate heavy hitter collisions, and (2) a Constructor that pre-allocates local memory layouts based on predicted demand. The proactive optimization enables SketchBuilder to construct collision-aware, workload-tailored sketches in advance, significantly reducing costly runtime adjustments while providing additional robustness to distribution shifts through a flexible scaling mechanism. Experiments on real-world traces demonstrate that SketchBuilder achieves an F?-score of 0.99 for top-k detection and 99.70% precision for threshold-t detection using only 100 KB of memory. Compared with SOTA work, it reduces average absolute error by up to 99.81%, improving both accuracy and efficiency.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- HeavyLocker: Lock Heavy Hitters in Distributed Data StreamsQilong Shi, Xirui Li, Hanyue Zheng, Tong Yang 等KDD 2025 · 被引用 2 次
- 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 次
- Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal 等NeurIPS 2023 · 被引用 16 次
- BitMatcher: Bit-level Counter Adjustment for SketchesQilong Shi, Chengjun Jia, Wenjun Li, Zaoxing Liu 等ICDE 2024 · 被引用 22 次
- MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong 等KDD 2023 · 被引用 10 次
