几乎最优的可完全合并的相对误差流分位数
Almost Optimal Relative Error Streaming Quantiles with Full Mergeability
AI总结:
该研究设计了一种具备完全合并性的新型相对误差流分位数摘要,其空间复杂度更接近下界,且比现有最优算法更简单,更适合实现。
摘要:
分位数摘要为估计大型数据集(常分布于多台机器或由传感器网络生成)中单个属性的分布提供了可扩展的方式。具备±ε·秩的相对误差保证的最先进摘要(对分布尾部的准确性更高)包括ReqSketch(Cormode等人,JACM 2023)以及Gribelyuk等人近期提出的流算法(SODA 2025)。对于大小为N的输入和超出误差界的概率δ,ReqSketch的内存空间为O(ε⁻¹·log¹.⁵(εN)·√logδ⁻¹),且具备完全合并性,支持数据集的分布式或并行处理。相比之下,后者算法仅比Cormode与Veselý(PODS 2020)给出的下界Ω(ε⁻¹·log(εN)·loglogδ⁻¹)高出O(logε⁻¹·(logε⁻¹ + loglogN)·log²logδ⁻¹)的因子,但它缺乏合并性,比ReqSketch复杂得多,且实际性能尚不明确。这两种数据结构均由ReqSketch中的相对压缩器构成,这些压缩器以结构化方式对流进行子采样,在流场景中表现良好,但在合并性下难以分析。我们设计了一种新的相对误差分位数摘要,它实现了完全合并性,同时将最先进的流空间界改进为O(ε⁻¹·log(εN)·loglogδ⁻¹·(logε⁻¹ + loglog(εN) + loglogδ⁻¹)),该空间界更接近下界。与此同时,我们的数据结构比Gribelyuk等人(SODA 2025)的算法更简单,因此更便于实现。
英文摘要:
Quantile summaries provide a scalable way to estimate the distribution of individual attributes in large datasets that are often distributed across multiple machines or generated by sensor networks. The state-of-the-art summaries with \emph{relative error guarantees} of $\pm \varepsilon\cdot \mathrm{rank}$, offering increasingly higher accuracy towards the distribution's tails, are ReqSketch (Cormode et al., JACM 2023) and the recent streaming algorithm by Gribelyuk et al. (SODA 2025). For inputs of size $N$ and probability $δ$ of exceeding the error bound, ReqSketch achieves space of $O(\varepsilon^{-1}\cdot \log^{1.5}(\varepsilon N)\cdot \sqrt{\log δ^{-1}})$ memory words, and offers \emph{full mergeability}, allowing distributed or parallel processing of datasets. In contrast, the latter algorithm exceeds the lower bound of $Ω(\varepsilon^{-1}\cdot \log(\varepsilon N)\cdot \log\logδ^{-1})$ from (Cormode \& Veselý, PODS 2020) only by a factor of $O(\log\varepsilon^{-1}\cdot (\log \varepsilon^{-1} + \log\log N)\cdot\log^2\logδ^{-1})$, but it lacks the mergeability property, is substantially more involved than ReqSketch, and has unclear practical performance. Both of these data structures consist of relative compactors from ReqSketch that subsample the stream in a structured way and work well in the streaming setting but are difficult to analyze under mergeability. We design a new relative-error quantile summary that achieves full mergeability and also improves the state-of-the-art streaming space bound to $$O(\varepsilon^{-1}\cdot \log(\varepsilon N) \cdot\log \log δ^{-1} \cdot (\log \varepsilon^{-1} + \log \log(\varepsilon N) + \log \log δ^{-1})),$$ which is substantially closer to the lower bound. At the same time, our data structure is simpler than the algorithm from (Gribelyuk et al., SODA 2025) and therefore more suitable for implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。