How Network Topology and Data Heterogeneity Shape Decentralized Learning: A Spectral Analysis
Organizations: IIT institute of the National Research Council, Pisa · Central European University, Vienna
Abstract
Network topology influences decentralized federated learning through information mixing and the relative contribution of individual nodes. While existing analyses primarily focus on spectral mixing properties, they often assume doubly stochastic aggregation, overlooking topology-dependent influence under irregular communication networks. We develop a spectral framework that separates two complementary mechanisms: the dominant eigenmode determines the consensus trajectory and node influence, while non-dominant eigenmodes govern the propagation and attenuation of disagreement. Under uniform neighborhood averaging, we show that the stationary influence is proportional to node degree plus one and derive a bound relating model disagreement to spectral mixing and gradient heterogeneity. We then investigate how these mechanisms interact with the data distribution across nodes. Experiments across regular and heterogeneous network topologies reveal nearly identical learning dynamics under IID data, while network size and connectivity affect how unevenly distributed information is learned under non-IID data. For non-IID settings, we characterize how the distribution of data across nodes shapes the relative contribution of local information to consensus dynamics.
Figures & tables
| Work | Main focus | Mixing assumptions | Treatment of topology and data heterogeneity | Node influence and data placement |
|---|---|---|---|---|
| [ 12 ] | Convergence and disagreement in decentralized SGD | Doubly stochastic mixing | Relates spectral connectivity to information mixing, disagreement, and convergence | Assumes uniform stationary influence; heterogeneous data placement not explicitly analyzed. |
| [ 17 ] | Convergence and communication complexity | Network-dependent spectral properties | Characterizes how network connectivity affects convergence and communication requirements | Focuses on network-level convergence rather than node-specific contributions. |
| [ 25 ] | Generalization and algorithmic stability | Spectral connectivity in decentralized optimization | Investigates how network structure affects stability and generalization | Does not explicitly characterize heterogeneous data placement. |
| [ 21 ] | Asymptotic network independence | Decentralized SGD under suitable learning conditions | Identifies regimes in which the influence of topology diminishes | Studies aggregate learning behavior rather than node-specific stationary influence. |
| [ 16 ] | Network-dependent convergence analysis | Network-dependent mixing | Develops convergence results accounting for communication properties | Does not explicitly investigate topology-dependent data placement. |
| [ 19 ] | Topology independence in decentralized learning | Regular graphs and homogeneous data settings | Relates gradient variability to sensitivity to network connectivity | Explains when topology becomes less influential without analyzing localized information. |
| Data distribution | Classes | # images per node |
|---|---|---|
| IID | 0 to 9 | 10 |
| Non-IID | 0 | 10 (all nodes) |
| 1 | 10 (only node ) |
| Configuration | |||
|---|---|---|---|
| Complete graph | 435 | ||
| BA (high-degree node) | 0.134 | 4.014 | 56 |
| BA (low-degree node) | 0.021 | 0.634 | 56 |
Decentralized Learning
Decentralized learning trains models through local computation and peer-to-peer information exchange rather than relying on a central coordinator.
See all 108 papers