论文

SpaceR:无需预测的单遍算法提升偏斜数据流频率估计

The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams

精选理由

如果你做流处理或计数类系统,这篇论文挺有意思:作者证明多用一点内存的经典算法就能追平带完美预测的学习增强方法,还给出了 SpaceR,一个不用任何预测的单遍算法,精度和两遍预测式方法持平。实现简单、省掉预测器训练,做数据工程的朋友可以直接参考。

arXiv 论文《The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams》质疑了学习增强型频率估计算法对 heavy-hitter 预测器的依赖。作者证明,经典算法只需将内存从 Θ(B) 提高到 Θ(B log B),就能在偏斜数据流上达到与拥有完美预测的 oracle 相同的性能;且即便给定完美预测,一个平凡机制的表现也与最先进的学习增强算法持平。

正文

在算法层面,论文提出单遍算法 SpaceR:它不依赖任何预测,通过随机采样在单次遍历数据的过程中识别并追踪高频元素,在合成数据集和真实数据集上实现了接近完美的频率恢复,且内存开销极小。SpaceR 以单遍达到现有两遍预测式方法的精度,同时省去了训练预测器的成本。

这项工作对数据流处理领域有直接参考价值:它说明在内存预算小幅增加的条件下,简单经典算法即可替代复杂的预测型方案,降低了部署门槛。

原文 · arXiv cs.LG

The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams

Estimating element frequencies in data streams is a fundamental problem when processing large amounts of data. Recent approaches suggest learning-augmented algorithms that can access a heavy-hitter oracle that knows the most frequent elements. In this paper, we challenge the idea of these complex oracles: First, we show that heavy-hitter predictions do not necessarily yield significant efficiency gains in frequency estimation. We prove that a classical algorithm using slightly more memory, $Θ(B \log B)$ instead of $Θ(B)$, matches the performance of learning-augmented methods with perfect predictions. Furthermore, we show that given (perfect) predictions, a trivial mechanism achieves the same performance as state-of-the-art learning-augmented algorithms. On the algorithmic side, we introduce $\textit{SpaceR}$, a single-pass algorithm that matches the accuracy of existing two-pass prediction-based methods without requiring any predictions. SpaceR uses randomized sampling to identify and track frequent elements in one pass through the data, achieving near-perfect frequency recovery with minimal memory on both synthetic and real-world datasets.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:SpaceR、频率估计、数据流、学习增强算法,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Lisa Schmierer, Ioana-Oriana Bercea),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们