Skip to content

Menu

WorksMathematics

Data-Topology Compatibility Enables Personalization in Decentralized Learning

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_9afphdyh. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Decentralized learning must balance collaboration with personalization across heterogeneous agents. This paper studies when cooperation can support statistically coherent groups of personalized models. We show that data-topology compatibility enables robust orbit-wise personalization: when local objectives and communication topology have (approximately) compatible automorphisms, agents within an orbit share (approximately) equal limiting distributions, while different orbits remain distinct without explicit personalization. This creates a new intermediate regime between global consensus and independent local learning. Under exact data-topology compatibility, as a reference system, we decompose the stochastic learning dynamics into orbit-level and transverse components, derive a necessary and sufficient stability criterion for distributional synchronization, and characterize the orbit-structured stationary law. Modelling an approximate data-topology compatible system as an ε\varepsilon-perturbed reference system, we prove the introduced errors have uniform-in-time and stationary O(ε)O(\varepsilon) bounds in 2-Wasserstein distance. We also prove sufficient conditions for lower stationary average excess risk than both independent local training and the best single shared parameter. Experiments on synthetic data, MNIST, and CIFAR-10 are in full agreement with the theory. The code is available at https://github.com/Veronicaaa1/orbit-personalization.

Introduction

Decentralized learning allows agents to train through local computation and neighbor communication without sharing raw data [28]. When local objectives differ, however, cooperation must accommodate competing learning needs [27, 45, 17]. Independent training preserves each agent’s local objective but forgoes the benefits of collaboration [22, 15, 6], whereas a single shared model can compromise performance across heterogeneous tasks [11, 17]. Communication can reduce stochastic fluctuations [42, 13, 3], yet coupling agents with different local optima can also introduce bias [4, 27, 15]. This raises a fundamental question:

Under what conditions can local updates and neighbor communication produce statistically coherent groups of personalized models that benefit from cooperation?

Answering this question requires understanding how local learning tasks and communication structure jointly determine which agents develop similar behavior, which remain distinct, and when these differences improve learning. This paper proves:

(Approximately) compatible data-topology automorphism enables robust orbit-wise personalization in heterogeneous decentralized learning.

In an automorphic communication topology, a permutation of agents preserves the weighted communication graph, while associated orbits collect agents that can be mapped to one another. Exact data-topology compatibility additionally requires local objective characteristics, such as curvatures, noise intensities, and minimizers, to agree within the topology’s algebraic structure; approximate compatibility allows small deviations from such a reference system. Under suitable stability conditions, agents within an orbit develop common stationary parameter marginals, while different orbits retain distinct distributions. This agreement is distributional: stochastic noise may sustain differences between individual parameter trajectories. The resulting organization provides a new intermediate regime between global consensus and independent local learning, without an explicit personalization step (see relevant works in Appendix § 9). Moreover, agents can exhibit this statistical agreement even when they have no direct communication edges [29], reflecting the role of their positions in the wider network.

We develop the theory in three steps. For an exactly compatible system, as reference, we decompose the dynamics into orbit-level motion and transverse disagreement within orbits. This decomposition yields a necessary and sufficient transverse-stability criterion for distributional orbit synchronization, together with convergence rates for the transverse mean and covariance. We then model an approximate compatible system, the general case, by applying an ε\varepsilon perturbation to the local curvatures, minimizers, noise intensities, and communication weights of the corresponding reference system. Uniform-in-time and stationary O(ε)O(\varepsilon) bounds in 2-Wasserstein distance [40] are proved, which imply approximate agreement within reference orbits and explicit thresholds for preserving separation across them. Finally, by separating coupling bias from stationary fluctuation cost, we derive sufficient conditions under which decentralized learning achieves lower stationary excess risk than both independent local training and the best single shared parameter. Both advantages persist under sufficiently small perturbations, with guaranteed gains reduced by at most O(ε)O(\varepsilon).

We examine our theory through synthetic systems and neural-network experiments on a communication graph with fourteen agents and four orbits. Quadratic experiments verify the predicted stationary distributions and show that orbit separation and both risk advantages persist across all 120 tested perturbation configurations. A smooth nonquadratic example exhibits similar qualitative grouping beyond the affine setting. Experiments with multi-layer perceptron (MLP) and ResNet [9] models on MNIST [18] and CIFAR-10 [16] reveal corresponding prediction patterns: agents within reference orbits make relatively similar predictions, while differences remain across orbits, despite the absence of direct communication within each orbit. Comparisons with independent training and misaligned data allocations further show that both communication and data-topology alignment contribute to this organization.

Related works

Algebraic structures of communication topology. The literature of decentralised learning has seen studies on graph automorphisms [25], symmetry-based reductions [31], and graph partitions for reduced network dynamics [32], showing how communication topology induces invariant subspaces and reduced collective dynamics. Related group-consensus and multiconsensus results identify synchronized groups under suitable dynamics or control protocols [14, 38], while cluster-synchronization theory studies quotient dynamics and transverse stability of symmetry- or partition-induced clusters [30, 32]. These works provide the algebraic foundation for our orbit-level decomposition, but mainly concern structural network analysis, deterministic consensus, oscillator synchronization, or controlled multiconsensus. Our work builds on these tools to characterize how local learning tasks and communication roles jointly organize stationary parameter distributions, connecting orbit-based coordination to statistical behavior in decentralized learning.

Stochastic and non-consensus multi-agent dynamics. Stochastic consensus analyses establish agreement under noisy measurements [12], time-varying topologies with communication noise [20], and random communication networks [36]. Non-consensus also arises in bounded-confidence opinion models, which can produce opinion clusters [5] and polarization or fragmentation [10]. Other stochastic opinion models show that random interactions with agents holding fixed, different opinions can sustain persistent fluctuations and disagreement while the joint state converges in distribution [1]. Network symmetries organize time-averaged observables in stochastic network models, yielding common long-run statistics within automorphism orbits [34]. Our analysis identifies when within-orbit statistical agreement and cross-orbit separation persist under approximate data-topology compatibility, and when this orbit-wise personalization benefits decentralized learning.

More related works are given in Appendix § 9.

Preliminaries

Decentralized learning. Let G=(V,E)\mathcal{G}=(\mathcal{V},\mathcal{E}), with V={1,…,N}\mathcal{V}=\{1,\ldots,N\}, be an undirected communication graph over which NN agents train without a central server. Each agent ii updates its local parameter wi(t)∈Rmw_i(t)\in\mathbb{R}^m by combining local stochastic-gradient steps based on samples from its own data distribution Di\mathcal{D}_i, and exchanges information only with adjacent agents. For any local parameter value u∈Rmu\in\mathbb{R}^m, agent ii’s local population risk is Li(u)=Eξ∼Di[ℓ(u;ξ)]L_i(u)=\mathbb{E}_{\xi\sim\mathcal{D}_i}[\ell(u;\xi)], where ξ\xi is a local sample and ℓ(u;ξ)\ell(u;\xi) is the sample loss. Around a reference local minimizer wi⋆∈Rmw_i^\star\in\mathbb{R}^m of LiL_i, we use the quadratic approximation L~i(u)=Li(wi⋆)+12(u−wi⋆)⊤Qi(u−wi⋆)\widetilde{L}_i(u)=L_i(w_i^\star)+\frac{1}{2}(u-w_i^\star)^\top Q_i(u-w_i^\star), where Qi=Qi⊤⪰0Q_i=Q_i^\top\succeq0 is the local curvature matrix, and hence the local gradient model ∇L~i(u)=Qi(u−wi⋆)\nabla\widetilde{L}_i(u)=Q_i(u-w_i^\star). Local quadratic and stochastic-process approximations are standard tools for studying SGD near minima [26, 8, 24]. A conventional equal-node-weighted centralized reference is the single-model objective Lglob(u)=N−1∑i=1NLi(u)L_{\mathrm{glob}}(u)=N^{-1}\sum_{i=1}^{N}L_i(u), which optimizes one shared parameter uu against the average of all agents’ local population risks. In contrast, our personalized analysis keeps node-specific parameters w=(w1⊤,…,wN⊤)⊤∈RNmw=(w_1^\top,\ldots,w_N^\top)^\top\in\mathbb{R}^{Nm} and studies their stochastic dynamics under local objectives and graph-mediated communication. The node-wise population risk is R(w)=N−1∑i=1NLi(wi)R(w)=N^{-1}\sum_{i=1}^{N}L_i(w_i). For a fixed training sample SS, we define the sample-dependent generalization gap GS(w)=R(w)−R^S(w)G_S(w)=R(w)-\widehat{R}_S(w), where R^S\widehat{R}_S is the empirical counterpart of RR.

Optimization dynamics. Let η>0\eta>0 be the learning-rate scale and H∈Rm×mH\in\mathbb{R}^{m\times m} the parameter-space coupling operator. For each node ii, let σi∈Rm×m\sigma_i\in\mathbb{R}^{m\times m} be the noise-intensity matrix and Bi(t)B_i(t) an mm-dimensional standard Brownian motion, independent across nodes. The communication matrix C=[Cij]∈RN×NC=[C_{ij}]\in\mathbb{R}^{N\times N} satisfies Cij=Cji≥0C_{ij}=C_{ji}\ge0, Cii=0C_{ii}=0, and Cij=0C_{ij}=0 whenever {i,j}∉E\{i,j\}\notin\mathcal{E}. The node-wise affine SDE is

dwi(t)=[−ηQi(wi(t)−wi⋆)+∑j=1NCijH(wj(t)−wi(t))]dt+σi dBi(t).dw_i(t)=\left[-\eta Q_i(w_i(t)-w_i^\star)+\sum_{j=1}^{N}C_{ij}H(w_j(t)-w_i(t))\right]dt+\sigma_i\,dB_i(t).

Define zi(t):=wi(t)−wi⋆z_i(t):=w_i(t)-w_i^\star and bi⋆:=∑j=1NCijH(wj⋆−wi⋆)b_i^\star:=\sum_{j=1}^{N}C_{ij}H(w_j^\star-w_i^\star). Stack wi⋆w_i^\star, Bi(t)B_i(t), and bi⋆b_i^\star in node order to form w⋆w^\star, B(t)B(t), and b⋆b^\star, respectively, and write z(t)=w(t)−w⋆z(t)=w(t)-w^\star. Define the m×mm\times m blocks of K,Σ∈RNm×NmK,\Sigma\in\mathbb{R}^{Nm\times Nm} by Kii:=−ηQi−(∑j=1NCij)HK_{ii}:=-\eta Q_i-\left(\sum_{j=1}^{N}C_{ij}\right)H, Kij:=CijHK_{ij}:=C_{ij}H for i≠ji\ne j, Σii:=σi\Sigma_{ii}:=\sigma_i, and Σij:=0\Sigma_{ij}:=0 for i≠ji\ne j. With calculation detailed in Appendix C.2, the centered dynamics is

References

  1. [1]Daron Acemoğlu, Giacomo Como, Fabio Fagnani, and Asuman Ozdaglar. Opinion fluctuations and disagreement in social networks. Mathematics of Operations Research, 38(1):1–27, 2013.
  2. [2]Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016.
  3. [3]Bassam Bamieh, Mihailo R Jovanovic, Partha Mitra, and Stacy Patterson. Coherence in large-scale networks: Dimension-dependent limitations of local feedback. IEEE Transactions on Automatic Control, 57(9):2235–2249, 2012.DOI
  4. [4]Jie Chen, Cédric Richard, and Ali H Sayed. Diffusion lms over multitask networks. IEEE Transactions on Signal Processing, 63(11):2733–2748, 2015.DOI
  5. [5]Guillaume Deffuant, David Neau, Frederic Amblard, and Gérard Weisbuch. Mixing beliefs among interacting agents. Advances in complex systems, 3(01n04):87–98, 2000.DOI
  6. [6]Mathieu Even, Laurent Massoulié, and Kevin Scaman. On sample optimality in personalized collaborative and federated learning. Advances in Neural Information Processing Systems, 35:212–225, 2022.DOI
  7. [7]Avishek Ghosh, Jichan Chung, Dong Yin, and Kannan Ramchandran. An efficient framework for clustered federated learning. Advances in neural information processing systems, 33:19586–19597, 2020.arxiv.org/abs/2006.04088
  8. [8]Fengxiang He, Tongliang Liu, and Dacheng Tao. Control batch size and learning rate to generalize well: Theoretical and empirical evidence. Advances in neural information processing systems, 32, 2019.
  9. [9]Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.arxiv.org/abs/1512.03385
  10. [10]Rainer Hegselmann and Ulrich Krause. Opinion dynamics and bounded confidence: Models, analysis and simulation. Journal of Artificial Societies and Social Simulation, 5(3), 2002.
  11. [11]Kevin Hsieh, Amar Phanishayee, Onur Mutlu, and Phillip Gibbons. The non-iid data quagmire of decentralized machine learning. In International Conference on Machine Learning, pp. 4387–4398. PMLR, 2020.arxiv.org/abs/1910.00189
  12. [12]Minyi Huang and Jonathan H Manton. Coordination and consensus of networked agents with noisy measurements: Stochastic algorithms and asymptotic behavior. SIAM Journal on Control and Optimization, 48(1):134–161, 2009.DOI
  13. [13]Soummya Kar and José MF Moura. Distributed consensus algorithms in sensor networks with imperfect communication: Link failures and channel noise. IEEE Transactions on Signal Processing, 57(1):355–369, 2008.DOI
  14. [14]Isaac Klickstein, Louis Pecora, and Francesco Sorrentino. Symmetry induced group consensus. Chaos: An Interdisciplinary Journal of Nonlinear Science, 29(7), 2019.DOI
  15. [15]Anastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi, and Sebastian Stich. A unified theory of decentralized sgd with changing topology and local updates. In International conference on machine learning, pp. 5381–5393. PMLR, 2020.arxiv.org/abs/2003.10422
  16. [16]Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. URL https://www.cs.toronto.edu/~kriz/learning-features-2009-TR.pdf.
  17. [17]Batiste Le Bars, Aurélien Bellet, Marc Tommasi, Erick Lavoie, and Anne-Marie Kermarrec. Refined convergence and topology learning for decentralized sgd with heterogeneous data. In International Conference on Artificial Intelligence and Statistics, pp. 1672–1702. PMLR, 2023.arxiv.org/abs/2204.04452
  18. [18]Yann LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998.
  19. [19]Qinglun Li, Yingqi Liu, Miao Zhang, Xiaochun Cao, Quanjun Yin, and Li Shen. Unveiling the power of multiple gossip steps: A stability-based generalization analysis in decentralized training. Advances in Neural Information Processing Systems, 38:73808–73827, 2026.arxiv.org/abs/2510.07980
  20. [20]Tao Li and Ji-Feng Zhang. Consensus conditions of multi-agent systems with time-varying topologies and stochastic communication noises. IEEE Transactions on Automatic Control, 55(9):2043–2057, 2010.DOI
  21. [21]Wenjie Li, Chi-hua Wang, Guang Cheng, and Qifan Song. International conference on machine learning. Transactions on machine learning research, 2023.
  22. [22]Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Wei Zhang, and Ji Liu. Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel stochastic gradient descent. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1705.09056
  23. [23]I Lin, Osman Yagan, Carlee Joe-Wong, et al. Fedsp: A soft-clustering approach for personalized decentralized federated learning. arXiv preprint arXiv:2410.18862, 2024.arxiv.org/abs/2410.18862
  24. [24]Kangqiao Liu, Liu Ziyin, and Masahito Ueda. Noise and fluctuation of finite learning rate stochastic gradient descent. In International Conference on Machine Learning, pp. 7045–7056. PMLR, 2021.arxiv.org/abs/2012.03636
  25. [25]Ben D MacArthur, Rubén J Sánchez-García, and James W Anderson. Symmetry in complex networks. Discrete Applied Mathematics, 156(18):3525–3531, 2008.
  26. [26]Stephan Mandt, Matthew D Hoffman, and David M Blei. Stochastic gradient descent as approximate bayesian inference. Journal of Machine Learning Research, 18(134):1–35, 2017.arxiv.org/abs/1704.04289
  27. [27]Roula Nassif, Stefan Vlaski, Cédric Richard, and Ali H Sayed. Learning over multitask graphs—part ii: Performance analysis. IEEE Open Journal of Signal Processing, 1:46–63, 2020.arxiv.org/abs/1805.08547
  28. [28]Angelina Nedic and Asuman Ozdaglar. Distributed subgradient methods for multi-agent optimization. IEEE Transactions on automatic control, 54(1):48–61, 2009.DOI
  29. [29]Vincenzo Nicosia, Miguel Valencia, Mario Chavez, Albert Díaz-Guilera, and Vito Latora. Remote synchronization reveals network symmetries and functional modules. Physical review letters, 110(17):174102, 2013.pubmed.ncbi.nlm.nih.gov/23679731
  30. [30]Louis M Pecora, Francesco Sorrentino, Aaron M Hagerstrom, Thomas E Murphy, and Rajarshi Roy. Cluster synchronization and isolated desynchronization in complex networks with symmetries. Nature communications, 5(1):4079, 2014.DOI
  31. [31]Rubén J Sánchez-García. Exploiting symmetry in network analysis. Communications Physics, 3(1):87, 2020.
  32. [32]Michael T Schaub, Neave O’Clery, Yazan N Billeh, Jean-Charles Delvenne, Renaud Lambiotte, and Mauricio Barahona. Graph partitions and cluster synchronization in networks of oscillators. Chaos: An Interdisciplinary Journal of Nonlinear Science, 26(9), 2016.DOI
  33. [33]Virginia Smith, Chao-Kai Chiang, Maziar Sanjabi, and Ameet Talwalkar. Federated multi-task learning. Advances in neural information processing systems, 30, 2017.arxiv.org/abs/1705.10467
  34. [34]Francesco Sorrentino, Abu Bakar Siddique, and Louis M Pecora. Symmetries in the time-averaged dynamics of networks: Reducing unnecessary complexity through minimal network models. Chaos: An Interdisciplinary Journal of Nonlinear Science, 29(1), 2019.DOI
  35. [35]Canh T Dinh, Nguyen Tran, and Josh Nguyen. Personalized federated learning with moreau envelopes. Advances in neural information processing systems, 33:21394–21405, 2020.arxiv.org/abs/2006.08848
  36. [36]Alireza Tahbaz-Salehi and Ali Jadbabaie. Consensus over ergodic stationary graph processes. IEEE Transactions on automatic Control, 55(1):225–230, 2009.
  37. [37]Yuki Takezawa, Anastasia Koloskova, and Sebastian U Stich. Improved convergence analysis of topology dependence in decentralized sgd. arXiv preprint arXiv:2606.09154, 2026.arxiv.org/abs/2606.09154
  38. [38]Cinzia Tomaselli, Lucia Valentina Gambuzza, Francesco Sorrentino, and Mattia Frasca. Multicensus induced by network symmetries. Systems & Control Letters, 181:105629, 2023.DOI
  39. [39]Paul Vanhaesebrouck, Aurélien Bellet, and Marc Tommasi. Decentralized collaborative learning of personalized models over networks. In Artificial Intelligence and Statistics, pp. 509–517. PMLR, 2017.
  40. [40]Cédric Villani et al. Optimal transport: old and new, volume 338. Springer, 2009.
  41. [41]Yuxin Wu and Kaiming He. Group normalization. In Proceedings of the European conference on computer vision (ECCV), pp. 3–19, 2018.arxiv.org/abs/1803.08494
  42. [42]Lin Xiao, Stephen Boyd, and Seung-Jean Kim. Distributed average consensus with least-mean-square deviation. Journal of parallel and distributed computing, 67(1):33–46, 2007.DOI
  43. [43]Danni Yang, Zhikang Chen, Sen Cui, Mengyue Yang, Ding Li, Abudekelimu Wuerkaixi, Haoxuan Li, Jinke Ren, and Mingming Gong. Decentralized dynamic cooperation of personalized models for federated continual learning. Advances in Neural Information Processing Systems, 38:111897–111926, 2026.
  44. [44]Kun Yuan, Qing Ling, and Wotao Yin. On the convergence of decentralized gradient descent. SIAM Journal on Optimization, 26(3):1835–1854, 2016.arxiv.org/abs/1310.7063
  45. [45]Valentina Zantedeschi, Aurélien Bellet, and Marc Tommasi. Fully decentralized joint learning of personalized models and collaboration graphs. In International Conference on Artificial Intelligence and Statistics, pp. 864–874. PMLR, 2020.arxiv.org/abs/1901.08460
  46. [46]Tongtian Zhu, Fengxiang He, Lan Zhang, Zhengyang Niu, Mingli Song, and Dacheng Tao. Topology-aware generalization of decentralized sgd. In International Conference on Machine Learning, pp. 27479–27503. PMLR, 2022.arxiv.org/abs/2206.12680
  47. [47]Tongtian Zhu, Tianyu Zhang, Mingze Wang, Zhangpeng Zhou, and Can Wang. On the surprising effectiveness of a single global merging in decentralized learning. In International Conference on Learning Representations, volume 2026, pp. 40206–40241, 2026.arxiv.org/abs/2507.06542

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Table 1

1 / 10

Pick where to look, or just type