arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.03611cs.LGcs.DB
收藏

基于学习的 sketches 在无地面真实数据流中频率估计

Learning-based Sketches for Frequency Estimation in Data Streams without Ground Truth

School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机科学与信息工程学院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Key Laboratory of Knowledge Engineering with Big Data, Hefei University of Technology(合肥工业大学大数据知识工程重点实验室);School of Information and Software Engineering, University of Electronic Science and Technology of China(电子科技大学信息与软件工程学院)

Xinyu Yuan, Yan Qiao, Meng Li, Zhenchun Wei, Cuiying Feng, Zonghui Wang, Wenzhi Chen

AI总结:

本文提出UCL-sketch,一种无需地面真实数据的基于学习的频率估计方法,通过在线训练和逻辑结构化估计桶实现高效准确的频率估计,实验显示其在精度和分布上优于现有方法,且在内存受限情况下接近理想 oracle 的性能。

摘要:

估计高体积、高速数据流中项的频率在数据库和网络测量等领域已有广泛研究。传统 sketch 只能在严格内存约束下提供粗略估计。尽管最近出现了一些学习增强的方法,但它们通常依赖于离线训练的真实频率或标签,这些信息通常不可用。此外,这些方法更新速度慢,限制了其在实时处理中的适用性,尽管仅提供微小的准确性提升。为克服这些挑战,我们提出UCL-sketch,一种实用的学习-based 方案用于 per-key 频率估计。我们的设计引入了两个关键创新:(i) 基于等价学习的在线训练机制,无需地面真实数据 (GT);(ii) 高度可扩展的架构,利用逻辑结构化的估计桶以适应真实数据流。UCL-sketch 利用压缩感知 (CS),收敛到一个估计器,其误差界远低于先前工作,且不牺牲处理速度。在真实世界和合成数据集上的广泛实验表明,我们的方法在 per-key 准确性和分布上优于先前方法。值得注意的是,在极紧的内存预算下,其质量几乎与一个不可行的 omniscient oracle 相当。此外,与现有基于方程的 sketch 相比,UCL-sketch 实现了接近500倍的平均解码加速。为了进一步研究和开发,我们的代码在 https://github.com/Y-debug-sys/UCL-sketch 上公开可用。

英文摘要:

Estimating the frequency of items on the high-volume, fast data stream has been extensively studied in many areas, such as database and network measurement. Traditional sketches provide only coarse estimates under strict memory constraints. Although some learning-augmented methods have emerged recently, they typically rely on offline training with real frequencies or/and labels, which are often unavailable. Moreover, these methods suffer from slow update speeds, limiting their suitability for real-time processing despite offering only marginal accuracy improvements. To overcome these challenges, we propose UCL-sketch, a practical learning-based paradigm for per-key frequency estimation. Our design introduces two key innovations: (i) an online training mechanism based on equivalent learning that requires no ground truth (GT), and (ii) a highly scalable architecture leveraging logically structured estimation buckets to scale to real-world data stream. The UCL-sketch, which utilizes compressive sensing (CS), converges to an estimator that provably yields a error bound far lower than that of prior works, without sacrificing the speed of processing. Extensive experiments on both real-world and synthetic datasets demonstrate that our approach outperforms previously proposed approaches regarding per-key accuracy and distribution. Notably, under extremely tight memory budgets, its quality almost matches that of an (infeasible) omniscient oracle. Moreover, compared to the existing equation-based sketch, UCL-sketch achieves an average decoding speedup of nearly 500 times. To help further research and development, our code is publicly available at https://github.com/Y-debug-sys/UCL-sketch.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑