NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Exponential Graph: Communication-Efficient Topologies for Decentralized Learning via Finite-time Convergence

Yuki Takezawa, Ryoma Sato, Han Bao, Kenta Niwa, Makoto Yamada

Introduction

In decentralized learning, a network of nodes collaborates to train a machine learning model without a central server. Each node maintains its own local parameters and updates them by communicating only with immediate neighbors. While this architecture enhances privacy and scalability, it introduces a critical bottleneck: consensus. For the collective model to be effective, all nodes must eventually agree on the average of their parameters.

Existing network topologies often struggle to balance communication efficiency with convergence speed. This paper introduces the BASE-$(k+1)$ GRAPH, a novel topology that achieves exact consensus in a finite number of steps for any network size, effectively breaking the "power-of-two" limitation prevalent in current state-of-the-art methods.

The Consensus Challenge: Efficiency vs. Complexity

Decentralized optimization typically relies on a mixing matrix to spread information across the network. Traditional solutions generally fall into two categories:

  1. Low-Degree Topologies (e.g., Ring Graphs): These are easy to implement because each node only communicates with two neighbors. However, information spreads slowly, leading to high "parameter drift" where local models diverge significantly before reaching consensus.
  2. High-Degree Topologies (e.g., Exponential Graphs): These spread information rapidly but require nodes to have many connections (high degree). This is often prohibitively expensive in large-scale hardware implementations.

Recent "1-peer" graphs attempted to bridge this gap, but they suffer from a rigid structural requirement: they only achieve fast, exact consensus if the number of nodes ($n$) is a power of two (e.g., 8, 16, 32). When $n$ is an arbitrary number like 13 or 25, their performance degrades sharply.

Methodology: The BASE-$(k+1)$ Construction

The authors propose a hierarchical approach to graph construction designed to achieve finite-time convergence—the mathematical guarantee that nodes will reach the exact average of their parameters in a fixed number of iterations.

1. $k$-Peer Hyper-Hypercube

This is an extension of the standard hypercube topology. It allows each node to communicate with $k$ neighbors simultaneously. This construction works optimally when the prime factors of the network size $n$ are no larger than $k+1$.

2. Simple BASE-$(k+1)$ Graph

To accommodate any arbitrary $n$, the authors utilize a base decomposition strategy. Similar to representing a number in binary or decimal, they decompose $n$ into a sum of powers of $(k+1)$. The nodes are partitioned into groups based on this decomposition, and a specific sequence of communication exchanges bridges these groups to ensure information permeates the entire network.

3. Optimized BASE-$(k+1)$ Graph

The final iteration of the design removes redundant communication steps found in the simple version. This optimization ensures that the network reaches consensus in the minimum possible number of steps, specifically $O(\log_{k+1} n)$.

Experimental Evaluation

The researchers evaluated the BASE-$(k+1)$ graphs using standard computer vision benchmarks, including Fashion MNIST, CIFAR-10, and CIFAR-100.

A key focus of the evaluation was performance under heterogeneous data distributions. By using a Dirichlet distribution (with $\alpha=0.1$ and $\alpha=10$), the researchers simulated "non-IID" settings where nodes possess very different local datasets. This is a rigorous stress test for decentralized learning, as it necessitates rapid consensus to prevent the models from specializing too heavily on local data.

Key Insights and Results

Finite-Time Convergence

Unlike traditional graphs where consensus error approaches zero asymptotically (getting closer but never quite reaching it), BASE graphs reach zero consensus error in a predictable, finite number of steps. In experiments with $n=100, 500,$ and $1000$ nodes, BASE graphs achieved exact consensus in 10–20 iterations. In contrast, Ring and Torus graphs remained far from consensus even after 50 iterations.

Superior Accuracy-to-Cost Ratio

When integrated with Decentralized Stochastic Gradient Descent (DSGD), the BASE-2 graph (which has a degree of 1) outperformed the Exponential graph on CIFAR-10. This is significant because the Exponential graph requires a much higher degree (approximately 10 for $n=1000$), meaning the BASE graph achieves better results with significantly less communication overhead.

Robustness to Data Skew

In highly heterogeneous settings ($\alpha=0.1$), the BASE graphs significantly outperformed existing topologies. This confirms that in real-world scenarios where data is not uniformly distributed, the speed of consensus is the most critical factor for model accuracy.

Conclusion and Future Work

The BASE-$(k+1)$ graph represents a significant advancement in decentralized learning by providing a tunable, communication-efficient topology that works for any network size. It effectively eliminates the "power-of-two" constraint and provides a mathematical guarantee of finite-time convergence.

Future research directions include:

  • Dynamic Networks: Adapting the BASE construction for environments where nodes frequently join or leave (churn).
  • Directed Graphs: Extending the logic to directed communication, which is common in certain wireless and sensor network applications.
  • Implementation Complexity: While the communication is efficient, the initial setup of the graph sequence is more complex than a simple Ring; streamlining this setup for plug-and-play use in deep learning frameworks remains a goal.

Summary updated

BibTeX
@inproceedings{takezawa2023beyond,
  author = {Yuki Takezawa and Ryoma Sato and Han Bao and Kenta Niwa and Makoto Yamada},
  title = {{Beyond Exponential Graph: Communication-Efficient Topologies for Decentralized Learning via Finite-time Convergence}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=PSngfm5B9q},
}
Figure