在网络中执行随机游走是一种基本的原语,其在通信网络中已经找到了许多应用,诸如令牌管理、负载均衡、网络拓扑发现和构造、搜索以及对等成员资格管理。虽然几个这样的算法是无处不在的,并使用大量的随机游走样本,行走本身一直是天真地执行。在本文中,我们专注于在分布式网络中有效地执行随机游走采样的问题。给定带宽限制,目标是最小化以连续在线方式获得若干随机游走样本所需的轮数和消息数。我们提出了第一轮和消息最优分布式算法,提出了一个显着的改进,所有以前的方法。理论分析和全面的实验评估表明,我们的算法在不同类型的网络,不同的拓扑结构,他们表现得很好。特别是,我们的结果显示了如何连续执行几个随机游走(当源节点仅在运行时提供时,即,在线),使得长度为$\ell$的每次行走可以仅在$\tilde{O}(\sqrt{\ell D})$轮中精确地执行(其中$D$是网络的直径),以及$O(\ell)$消息。这大大改进了两种方法,需要$O(\ell)$轮次和$O(\ell)$消息的简单技术,以及[DasSarma et al. PODC 2010]的复杂算法,该算法具有与本文相同的轮次复杂度,但需要$Ω(m\sqrt{\ell})$消息(其中$m$是网络中的边数)。我们的理论结果是通过各种拓扑数据集上的大量实验得到证实。我们的算法是完全分散的,轻量级的,易于实现,并可以作为构建块的拓扑感知网络的设计。
英文摘要:
Performing random walks in networks is a fundamental primitive that has found numerous applications in communication networks such as token management, load balancing, network topology discovery and construction, search, and peer-to-peer membership management. While several such algorithms are ubiquitous, and use numerous random walk samples, the walks themselves have always been performed naively.
In this paper, we focus on the problem of performing random walk sampling efficiently in a distributed network. Given bandwidth constraints, the goal is to minimize the number of rounds and messages required to obtain several random walk samples in a continuous online fashion. We present the first round and message optimal distributed algorithms that present a significant improvement on all previous approaches. The theoretical analysis and comprehensive experimental evaluation of our algorithms show that they perform very well in different types of networks of differing topologies.
In particular, our results show how several random walks can be performed continuously (when source nodes are provided only at runtime, i.e., online), such that each walk of length $\ell$ can be performed exactly in just $\tilde{O}(\sqrt{\ell D})$ rounds, (where $D$ is the diameter of the network), and $O(\ell)$ messages. This significantly improves upon both, the naive technique that requires $O(\ell)$ rounds and $O(\ell)$ messages, and the sophisticated algorithm of [DasSarma et al. PODC 2010] that has the same round complexity as this paper but requires $Ω(m\sqrt{\ell})$ messages (where $m$ is the number of edges in the network). Our theoretical results are corroborated through extensive experiments on various topological data sets. Our algorithms are fully decentralized, lightweight, and easily implementable, and can serve as building blocks in the design of topologically-aware networks.