Skip to main content
QUICK REVIEW

[Paper Review] Distributed Learning over Unreliable Networks

Chen Yu, Hanlin Tang|arXiv (Cornell University)|Oct 17, 2018
Age of Information OptimizationComputer Science21 citations
TL;DR

This paper proposes a novel theoretical analysis of distributed stochastic gradient descent (SGD) over unreliable networks, where each communication has a non-zero probability $p$ of being dropped. It demonstrates that convergence is still achievable with a comparable rate to reliable networks, and the impact of packet loss diminishes as the number of parameter servers increases, enabling robust training in real-world shared network environments.

ABSTRACT

Most of today's distributed machine learning systems assume {\em reliable networks}: whenever two machines exchange information (e.g., gradients or models), the network should guarantee the delivery of the message. At the same time, recent work exhibits the impressive tolerance of machine learning algorithms to errors or noise arising from relaxed communication or synchronization. In this paper, we connect these two trends, and consider the following question: {\em Can we design machine learning systems that are tolerant to network unreliability during training?} With this motivation, we focus on a theoretical problem of independent interest---given a standard distributed parameter server architecture, if every communication between the worker and the server has a non-zero probability $p$ of being dropped, does there exist an algorithm that still converges, and at what speed? The technical contribution of this paper is a novel theoretical analysis proving that distributed learning over unreliable network can achieve comparable convergence rate to centralized or distributed learning over reliable networks. Further, we prove that the influence of the packet drop rate diminishes with the growth of the number of extcolor{black}{parameter servers}. We map this theoretical result onto a real-world scenario, training deep neural networks over an unreliable network layer, and conduct network simulation to validate the system improvement by allowing the networks to be unreliable.

Motivation & Objective

  • To investigate whether distributed machine learning can converge under unreliable network conditions where messages may be dropped with probability $p$.
  • To analyze the convergence behavior of a modified parameter server algorithm (RPS) under unreliable communication in a theoretical framework.
  • To quantify how the packet drop rate $p$ affects convergence and whether this impact lessens with more parameter servers.
  • To validate the theoretical findings through network simulations in a realistic data center scenario with shared network resources.
  • To explore the practical benefits of allowing network unreliability in machine learning systems to improve overall system performance for co-located workloads.

Proposed method

  • Proposes the RPS (Reliable-Parameter-Server) algorithm, a modified version of centralized SGD that handles unreliable communication by randomly selecting subsets of workers for Reduce-Scatter and All-Gather steps.
  • Models unreliable communication as each message being dropped independently with probability $p$, and analyzes the expected update weights in the aggregation process.
  • Derives a theoretical convergence bound for RPS by analyzing the second moment of update weights, accounting for random selection and packet loss.
  • Uses conditional expectation and variance decomposition to bound the expected squared norm of the update vector across different network states.
  • Introduces key terms such as $T_1$, $T_2$, $T_3$ to represent complex expectations of update weights under various network conditions.
  • Validates theoretical results via network simulation, showing improved performance when machine learning traffic tolerates packet loss in shared data center networks.

Experimental results

Research questions

  • RQ1Can distributed SGD converge when every communication between workers and parameter servers has a non-zero probability $p$ of being dropped?
  • RQ2What is the theoretical convergence rate of distributed learning under unreliable communication, and how does it compare to reliable networks?
  • RQ3How does the influence of packet drop rate $p$ change as the number of parameter servers increases?
  • RQ4Can allowing network unreliability improve overall system performance in shared data center environments with co-located workloads?
  • RQ5Does the RPS algorithm maintain convergence properties comparable to standard distributed SGD under reliable communication?

Key findings

  • The RPS algorithm achieves a convergence rate comparable to that of centralized or distributed learning over reliable networks, even with non-zero packet loss.
  • The influence of the packet drop rate $p$ diminishes as the number of parameter servers increases, reducing its impact on convergence.
  • Theoretical analysis shows that the expected squared norm of the update vector remains bounded, ensuring convergence under the unreliable model.
  • Simulation results confirm that allowing network unreliability can improve overall system performance by enabling higher-priority traffic for other applications.
  • The derived convergence bound depends on $p$ and $n$ (number of servers), with the term $p(1+2T_3)$ capturing the dominant effect of packet loss, which decreases with larger $n$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.