精确和近似分位数计算的最优Gossip算法
Optimal Gossip Algorithms for Exact and Approximate Quantile Computations
摘要:
本文给出了计算精确分位数和近似分位数的快速gossip算法。Gossip算法允许每个节点在每一轮中联系一个均匀随机的其他节点,由于其快速收敛和对故障的鲁棒性,已经被广泛研究并在许多应用中被采用。Kempe等人。[FOCS'03]给出了gossip算法来计算重要的聚合统计数据,如果每个节点都被赋予一个值。特别是,他们给出了一个漂亮的$O(\log n + \log \frac{1}ε)$轮算法来近似所有值的总和,并给出了一个$O(\log^2 n)$轮算法来计算精确的$ϕ$分位数,即,$\lceil ϕn \rceil$最小值。我们给出了一个二次快,实际上是最优的八卦算法的确切$ϕ$分位数问题,运行在$O(\log n)$轮。我们还表明,可以实现指数加速,如果一个允许的$ε$近似。我们给出了一个$O(\log \log n + \log \frac{1}ε)$轮八卦算法,该算法计算每个节点上$ϕn$和$(ϕ+ε)n$之间的秩值。对于任何$0 \leq ϕ\leq 1$和$0 < ε< 1$。我们的算法非常简单且非常强大-即使每次传输失败的概率可能不同,但它们也可以在相同的运行时间内运行。我们还给出了一个匹配的$Ω(\log \log n + \log \frac{1}ε)$下界,这表明我们的算法是最佳的$ε$的所有值。
英文摘要:
This paper gives drastically faster gossip algorithms to compute exact and approximate quantiles. Gossip algorithms, which allow each node to contact a uniformly random other node in each round, have been intensely studied and been adopted in many applications due to their fast convergence and their robustness to failures. Kempe et al. [FOCS'03] gave gossip algorithms to compute important aggregate statistics if every node is given a value. In particular, they gave a beautiful $O(\log n + \log \frac{1}ε)$ round algorithm to $ε$-approximate the sum of all values and an $O(\log^2 n)$ round algorithm to compute the exact $ϕ$-quantile, i.e., the the $\lceil ϕn \rceil$ smallest value. We give an quadratically faster and in fact optimal gossip algorithm for the exact $ϕ$-quantile problem which runs in $O(\log n)$ rounds. We furthermore show that one can achieve an exponential speedup if one allows for an $ε$-approximation. We give an $O(\log \log n + \log \frac{1}ε)$ round gossip algorithm which computes a value of rank between $ϕn$ and $(ϕ+ε)n$ at every node.% for any $0 \leq ϕ\leq 1$ and $0 < ε< 1$. Our algorithms are extremely simple and very robust - they can be operated with the same running times even if every transmission fails with a, potentially different, constant probability. We also give a matching $Ω(\log \log n + \log \frac{1}ε)$ lower bound which shows that our algorithm is optimal for all values of $ε$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。