arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.09792cs.LG
收藏

双学习算法的故事:多流随机游走与异步 gossip

A Tale of Two Learning Algorithms: Multiple Stream Random Walk and Asynchronous Gossip

University of Illinois at Chicago(伊利诺伊大学香槟分校)

Peyman Gholami, Hulya Seferoglu

AI总结:

本文比较了多流随机游走(Multi-Walk)与异步 gossip 算法在不同图拓扑和数据异质性下的性能,分析了收敛速度、计算和通信开销,发现多流算法在大直径图中表现更优,而在小直径图中性能依赖于流数和数据异质性。

摘要:

尽管 gossip 和基于随机游走的学习算法在去中心化学习中广为人知,但对其在不同图拓扑和数据异质性下的相对性能的理论和实验分析有限。我们首先设计并分析了基于多流(walks)的随机游走学习算法,命名为异步“Multi-Walk(MW)”。我们为 MW 提供了关于迭代次数(计算)、墙钟时间和通信的收敛性分析。我们还对“异步 gossip”进行了收敛性分析,指出文献中缺乏对其收敛性、计算和通信开销的全面分析。我们的结果表明,在具有大直径(例如环形)的图中,MW 相比异步 gossip 在迭代次数上收敛性更优,而在具有小直径(例如完全图)的图中,其相对性能取决于流数和数据异质性。在墙钟时间分析中,我们观察到 MW 和异步 gossip 的收敛速度与流数和节点数成线性关系。最后,我们发现 MW 在通信开销上优于异步 gossip,除了在小直径拓扑中数据异质性极高的情况。这些结果突显了每种算法在不同图拓扑和数据异质性下的有效性。我们的代码可用于复现。

英文摘要:

Although gossip and random walk-based learning algorithms are widely known for decentralized learning, there has been limited theoretical and experimental analysis to understand their relative performance for different graph topologies and data heterogeneity. We first design and analyze a random walk-based learning algorithm with multiple streams (walks), which we name asynchronous "Multi-Walk (MW)". We provide a convergence analysis for MW w.r.t iteration (computation), wall-clock time, and communication. We also present a convergence analysis for "Asynchronous Gossip", noting the lack of a comprehensive analysis of its convergence, along with the computation and communication overhead, in the literature. Our results show that MW has better convergence in terms of iterations as compared to Asynchronous Gossip in graphs with large diameters (e.g., cycles), while its relative performance, as compared to Asynchronous Gossip, depends on the number of walks and the data heterogeneity in graphs with small diameters (e.g., complete graphs). In wall-clock time analysis, we observe a linear speed-up with the number of walks and nodes in MW and Asynchronous Gossip, respectively. Finally, we show that MW outperforms Asynchronous Gossip in communication overhead, except in small-diameter topologies with extreme data heterogeneity. These results highlight the effectiveness of each algorithm in different graph topologies and data heterogeneity. Our codes are available for reproducibility.

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

↑