Scalable Decentralized Learning with Teleportation

Yuki Takezawa, Sebastian U. Stich

Abstract

Decentralized SGD can run with low communication costs, but its sparse communication characteristics deteriorate the convergence rate, especially when the number of nodes is large. In decentralized learning settings, communication is assumed to occur on only a given topology, while in many practical cases, the topology merely represents a preferred communication pattern, and connecting to arbitrary nodes is still possible. Previous studies have tried to alleviate the convergence rate degradation in these cases by designing topologies with large spectral gaps. However, the degradation is still significant when the number of nodes is substantial. In this work, we propose TELEPORTATION. TELEPORTATION activates only a subset of nodes, and the active nodes fetch the parameters from previous active nodes. Then, the active nodes update their parameters by SGD and perform gossip averaging on a relatively small topology comprising only the active nodes. We show that by activating only a proper number of nodes, TELEPORTATION can completely alleviate the convergence rate degradation. Furthermore, we propose an efficient hyperparameter-tuning method to search for the appropriate number of nodes to be activated. Experimentally, we showed that TELEPORTATION can train neural networks more stably and achieve higher accuracy than Decentralized SGD.

Introduction

In decentralized learning, nodes train a model by communicating only with their immediate neighbors (gossip averaging) rather than a central server. While this saves communication bandwidth, it introduces a major trade-off known as the "large $n$" problem.

As the number of nodes ($n$) grows, the communication topology usually becomes "sparser" (e.g., a ring or a grid). This makes it harder for information to travel across the network, leading to "client drift," where individual nodes' models diverge significantly. Mathematically, the convergence rate of standard Decentralized SGD (DSGD) degrades as $n$ increases because the "spectral gap" of the network topology shrinks. Previous attempts to fix this involved designing complex topologies, but even the best ones still suffer when $n$ is very large.

The TELEPORTATION Framework

The proposed method, TELEPORTATION, fundamentally changes how nodes participate in the training process to break the $n$-dependency. The core idea is to decouple the physical network size from the effective communication size during training iterations.

The TELEPORTATION mechanism: active nodes fetch parameters from previous active nodes and perform gossip on a subset.

The process follows four main steps:

  1. Subset Activation: In each iteration, only a subset of $k$ nodes is "active."
  2. Parameter Fetching (The "Teleportation"): Each active node fetches the current model parameters from a node that was active in the previous iteration. This "teleports" the model state across the physical network.
  3. Local Update & Gossip: The active nodes perform a local SGD step and then conduct gossip averaging, but only among the $k$ active nodes.
  4. Efficient Hyperparameter Tuning: Since the optimal number of active nodes ($k$) depends on the noise and data heterogeneity, the authors provide an algorithm to search for $k$ (using powers of 2) in parallel.

Unlike "client sampling" in Federated Learning, which often exacerbates divergence in decentralized settings, TELEPORTATION performs gossip on the active subset using a well-connected topology of size $k$. This ensures that the parameters reach a consensus quickly, regardless of how many total nodes are in the system.

Experimental Evaluation

The researchers evaluated TELEPORTATION using synthetic quadratic problems to control noise ($\sigma^2$) and data heterogeneity ($\zeta^2$), as well as real-world datasets like Fashion MNIST (LeNet) and CIFAR-10 (VGG). To simulate real-world challenges, they used a Dirichlet distribution ($\alpha$) to distribute data non-identically (heterogeneously) across nodes.

Key Results

  • Speedup: In synthetic experiments, TELEPORTATION converged up to three orders of magnitude faster than standard DSGD on a ring topology. Even against state-of-the-art topologies like the Base-2 Graph, it was up to 10x faster.
  • Accuracy & Stability: On Fashion MNIST and CIFAR-10 with high data heterogeneity ($\alpha=0.1$), standard DSGD showed highly unstable accuracy curves. TELEPORTATION remained stable and achieved significantly higher final test accuracy.
  • Wall-clock Efficiency: When simulating network delays, TELEPORTATION reached high accuracy faster than DSGD in non-IID settings, proving that the communication overhead of "teleporting" parameters is well worth the faster convergence.
Convergence comparison between TELEPORTATION and Decentralized SGD across various noise and heterogeneity levels.

Discussion and Conclusion

The most significant theoretical contribution is the proof that TELEPORTATION's convergence rate can be made independent of the total number of nodes $n$. This makes it the first decentralized method to truly scale to massive networks without requiring a fully connected (complete) graph.

However, the current algorithm assumes any node can communicate with any other node (all-to-all reachability). It is not directly applicable to networks with hard physical constraints, such as wireless sensor networks where nodes can only talk to those in physical proximity. Additionally, because active nodes are sampled randomly, "teleportation" might involve communication between distant nodes, potentially increasing latency. Future work will focus on extending the method to environments where communication between certain pairs of nodes is strictly impossible, broadening its use in edge computing and IoT.

Summary updated

BibTeX
@inproceedings{takezawa2025scalable,
  author = {Yuki Takezawa and Sebastian U. Stich},
  title = {{Scalable Decentralized Learning with Teleportation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=AvmBgiQxxp},
}
Figure