Scalable Decentralized Learning with Teleportation

Yuki Takezawa, Sebastian U Stich

Introduction: The Scalability Bottleneck in Decentralized Learning

In decentralized learning, nodes (such as servers or mobile devices) train a machine learning model collaboratively by communicating only with their immediate neighbors, rather than relying on a central server. This paradigm is highly advantageous for preserving privacy and reducing central communication bottlenecks. However, as the number of nodes ($n$) in the network grows, the network topology typically becomes "sparser" (e.g., forming a ring or a grid).

This sparsity introduces a major challenge: information travels slowly across the network. Consequently, models on distant nodes begin to drift apart, which significantly degrades the overall convergence rate of the training process. While researchers have attempted to mitigate this by designing better network topologies with larger "spectral gaps" (a measure of how efficiently information spreads), performance still drops off sharply once the network reaches a substantial size. This raises a critical question: Can we design a decentralized method whose convergence speed does not degrade as the network scales?

The TELEPORTATION Method

To solve this scalability bottleneck, the authors propose TELEPORTATION, a novel decentralized learning algorithm that fundamentally changes how nodes participate in the training process. Instead of utilizing every node at every step, TELEPORTATION operates through the following mechanisms:

  1. Subset Activation: Rather than having all $n$ nodes compute and communicate simultaneously, the algorithm selects a smaller subset of $k$ "active" nodes at each iteration.
  2. Parameter Teleportation: These newly active nodes "fetch" (or teleport) the latest model parameters from the active nodes of the previous iteration. This ensures that the current computational step starts from the most recent consensus state.
  3. Gossip Averaging: The active nodes perform a local update using Stochastic Gradient Descent (SGD) and then exchange parameters with each other. Because this exchange happens over a small, well-connected topology of size $k$, information spreads much faster among the active group than it would across the entire $n$-node network.
  4. Efficient Tuning: The optimal number of active nodes ($k$) depends on factors like data distribution and noise. To address this, the authors introduce an efficient search method that finds the best $k$ in just $O(\log n)$ parallel runs.
The TELEPORTATION process: active nodes fetch parameters from previous active nodes, update, and average.

Experimental Setup

The researchers evaluated TELEPORTATION across several environments to test its robustness:

  • Synthetic Data: Using quadratic loss functions to rigorously test convergence under varying levels of noise and data heterogeneity.
  • Image Classification: Training a LeNet architecture on Fashion MNIST and a VGG architecture on CIFAR-10.

To simulate realistic, non-IID (heterogeneous) settings where different nodes hold vastly different types of data, the datasets were distributed across the nodes using a Dirichlet distribution.

Key Insights and Results

The core insight of TELEPORTATION is counter-intuitive: less is more. By intentionally not using every node at every step, the system trains faster. Restricting communication to a small, fast-mixing group prevents the global model from fracturing into inconsistent local versions. This effectively decouples the convergence rate from the total number of nodes $n$. The "speed limit" of the training is instead determined by the size of the active subset $k$, allowing the system to scale to massive networks without the usual performance penalty.

Empirical results demonstrate that TELEPORTATION consistently outperforms standard Decentralized SGD (DSGD):

  • Massive Speedups: In synthetic tests, TELEPORTATION reached target accuracy up to 1,000 times faster than DSGD on a ring topology, and 10 times faster than the state-of-the-art "Base-2" topology.
  • Enhanced Stability: On complex neural network tasks (Fashion MNIST and CIFAR-10), TELEPORTATION proved significantly more stable in heterogeneous data environments. While DSGD's accuracy curves became erratic when data was highly non-IID, TELEPORTATION maintained steady convergence.
  • Linear Speedup Preservation: The method preserves the desirable "linear speedup" property—meaning that as you add more total nodes (and thus more total data) to the system, the time required to reach a specific error threshold continues to decrease.
Convergence of error for different noise and heterogeneity levels. TELEPORTATION reaches target accuracy much faster than standard Decentralized SGD.

Limitations and Future Work

While TELEPORTATION offers massive scalability improvements, it does come with specific assumptions. Primarily, it requires that any node can connect to any other node if requested (e.g., within a data center or over the open Internet). It is not suited for networks with strict physical constraints, such as wireless sensor networks where nodes can only communicate with immediate physical neighbors.

Additionally, the "teleportation" step involves fetching parameters from potentially distant nodes, which might incur higher latency in certain network environments compared to strictly local neighbor communication. Future work will explore extending this approach to settings with more restricted communication capabilities or where nodes exhibit varying computational power, requiring asynchronous updates.

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