Manuscript Offprint
arXiv:2610.05476Population Scaling or Data Dilution? Dynamics of Local Topology Evolution in Decentralized Learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Scaling decentralized learning changes not only the number of clients N, but also the dynamics of information propagation and consensus. We argue that the effect of increasing N cannot be understood in isolation, because data allocation, topology-dependent mixing, and communication capacity may change simultaneously. We study these coupled effects on CIFAR-10 with , comparing a degree-two Ring, a Static Random graph, and Local-First Heuristic Evolution (LFHE), a locally adaptive topology process based on friend-of-friend discovery. The Ring provides an analytically transparent failure mode: its Metropolis spectral gap decays as , implying progressively slower contraction of model disagreement as the population grows. Experiments show that holding the nominal local dataset size fixed substantially reduces the apparent population penalty observed when a fixed total dataset is divided among more clients. The remaining degradation depends strongly on communication structure: Ring enters a high-disagreement regime, whereas Static Random and LFHE remain close to consensus. Increasing LFHE's degree threshold further improves accuracy and consensus, but at a substantially higher model-transmission cost. These results show that decentralized scaling is governed by coupled learning and communication dynamics, rather than by the number of clients alone.
1 Introduction
Decentralized learning replaces server aggregation with peer-to-peer model exchange, building on distributed optimization over communication graphs [4, 6, 7, 11]. Without a central coordinator, optimization becomes directly coupled to the communication topology: the graph structure and mixing weights determine how rapidly information propagates and local models approach consensus [2, 8, 9]. When the topology itself adapts during training, this dependence becomes bidirectional. Model states influence which edges are created or removed, the resulting graph determines subsequent mixing, and mixing in turn changes the model states that guide future topology updates.
Understanding how such systems scale with the number of clients N is difficult because several resources may change simultaneously. Under a fixed total dataset, increasing N enlarges the communication network while reducing the amount of data assigned to each client. Adaptive sparse graphs introduce a second scaling dimension: if their admissible degree grows with N, larger populations also receive greater communication and mixing capacity. Consequently, an observed scaling curve may reflect data allocation, topology-dependent mixing, communication capacity, or a combination of all three. Distinguishing these effects is essential because the convergence of decentralized optimization depends directly on the nontrivial spectrum of the communication operator [1, 2, 9, 12].
Recent work has explored adaptive peer selection and communication topology under heterogeneous data, including performance-based neighbor selection [10] and diversity-driven rewiring [3]. Our focus is complementary: we study how population size, data allocation, and communication capacity jointly shape the dynamics of decentralized learning. We compare three communication structures: a degree-two Ring, which provides an analytically transparent mixing bottleneck; a Static Random graph, which serves as a fixed sparse reference; and Local-First Heuristic Evolution (LFHE), a locally adaptive topology process based on two-hop friend-of-friend (FoF) discovery. For LFHE, we separately study a fixed degree threshold and a population-scaled threshold, allowing us to distinguish the effects of population growth from those of increasing communication capacity.
Our contributions are threefold. First, we show that the apparent population penalty depends strongly on data allocation. For LFHE, the accuracy loss from N = 50 to N = 200 decreases from 14.14 to 3.68 percentage points when moving from a fixed-total regime to one with a fixed nominal local dataset size. Second, we characterize a locality–communication trade-off: bounded local degree limits communication, but causes the

Figure 1: LFHE mechanism. Client i discovers a two-hop FoF candidate k, evaluates a locally improving addition or edge replacement, and sequentially commits accepted updates.
fraction of the population visible through two-hop discovery to shrink with N; increasing the degree threshold expands both local search and mixing capacity, at a rapidly growing communication cost. Third, topology, model-disagreement, and communication-normalized trajectories reveal how these resource choices produce distinct graph-model regimes. Together, these results shift the scaling question from how accuracy changes with N to which data and communication resources must scale with N to preserve effective decentralized learning.
Every rounds, LFHE additionally applies ; otherwise the graph is unchanged. The learning system is therefore coupled: determines model mixing, while provides the local signals used to evolve the topology.
Local topology evolution. Client i evaluates
where measures representation disagreement with current neighbors and measures cosine mismatch with their mean representation. Client samples , then . Improving candidates are added when online degree conditions permit; otherwise LFHE evaluates a one-edge replacement. At each topology epoch, initiators are processed once in a fixed sequential order; each initiator evaluates one FoF candidate and commits at most one accepted add-or-swap operation before the next initiator observes the updated graph. The threshold regulates online edge acquisition and therefore controls the capacity available to topology evolution.
Local visibility. If , the two-hop candidate set satisfies
With bounded local degree, relative FoF visibility therefore shrinks as . For example, with , a client can access at most 12 two-hop candidates, corresponding to at most 24.5% of the population at N = 50, 12.1% at N = 100, and 1.2% at N = 1000. This formalizes a locality-coverage tension: bounded degree controls communication, but the fraction of the population visible through two-hop discovery vanishes as N grows. Increasing degree expands the search frontier but also increases communication, making population size and degree budget distinct scaling axes.
Mixing and disagreement. For symmetric Metropolis–Hastings mixing , let denote global averaging and define
Then one communication step satisfies
so directly controls how quickly model disagreement contracts: smaller implies faster mixing [1, 2, 9, 12]. Under non-IID data, local optimization continually reintroduces disagreement, making the learning dynamics a balance between local drift and network mixing.
This dependence becomes explicit for a degree-two Ring, whose mixing eigenvalues are
Intuitively, information must travel around an increasingly long cycle, so local updates are averaged across the population progressively more slowly. Hence, as N grows, the Ring spectral gap vanishes quadratically and disagreement contracts increasingly slowly. The Ring therefore provides a concrete population-dependent mixing failure mode. Static Random offers a contrasting sparse regime with approximately constant local degree but without the deterministic cycle bottleneck.
3 Controlled Population and Degree Scaling
We use CIFAR-10 [5] with class-wise Dirichlet heterogeneity , , and seeds . Training runs for 300 communication rounds with one local epoch per round, SGD with learning rate 0.05, and batch size 32. Evaluation and LFHE topology updates occur every five rounds. We report means and sample SD; further details appear in Appendix B.
We compare Ring, a fixed cycle; Static Random, a fixed connected sparse graph; and LFHE. Static Random and LFHE share seed-matched connected Erdős–Rényi initializations with expected degree four; all methods use degree-aware Metropolis–Hastings mixing.
Data and degree regimes. Under fixed-total, the 50,000 CIFAR-10 training examples are partitioned across the population, so per-client data decreases with N. Under fixed-per-client, each client instead receives a local dataset of 500 sampled indices, keeping local dataset size constant as the population grows. Full sampling semantics are given in Appendix B.
LFHE uses either a fixed online threshold or the population-dependent schedule
The fixed-threshold setting tests population growth under approximately constant local communication capacity; the scaled-threshold setting measures the benefit and cost of increasing that capacity with population.
Model disagreement and cumulative directed model transmissions are
Communication accounting includes directed model exchange; topology-control traffic and wall-clock latency are not included in this metric.
4 What Drives Population Scaling?
Data allocation changes the scaling regime. With fixed-total data, fixed- LFHE drops from 74.65% to 68.64% over and from 68.64% to 60.51% over , losses of 6.01 and 8.13 points. Under fixed-per-client training, the corresponding losses are 1.71 points (70.52% 68.81%) and 1.97 points (68.81% 66.84%). Preserving local dataset size therefore reduces the apparent penalties by 4.30 and 6.16 points, respectively.
Ring Static Random LFHE, fixed Dmax=4 LFHE, scaled degree
(a) Fixed-total data

(b) Fixed-per-client data
(c) LFHE degree budget
(d) Consensus-communication
Figure 2: Controlled scaling on CIFAR-10. (a) Fixed-total population scaling; (b) fixed-per-client scaling with ; (c) LFHE under fixed and population-scaled degree thresholds; (d) disagreement versus realized communication. Panel (a) uses the aligned cross-method checkpoint; the remaining panels report final endpoints. Error bars show sample SD over seeds 42–44.
Ring Static LFHE, fixed LFHE, scaled
(a) Model disagreement

(b) Accuracy vs. communication

Figure 3: Dynamics at N = 100 under fixed-per-client training. (a) Ring enters a high-disagreement regime, while Static Random and fixed- LFHE remain near consensus. (b) Communication-normalized accuracy: fixed- LFHE leads within the shared budget, while scaled-threshold LFHE reaches a higher endpoint at greater cost.
Residual scaling depends on communication structure. Under fixed-per-client training, Ring falls from 61.34% to 44.46% over , while Static Random remains comparatively stable (64.95% 63.24%). Fixed- LFHE reaches 66.84% at , 3.60 points above Static Random with approximately 9.7% more model transmissions. Disagreement trajectories distinguish the same regimes: Ring moves toward high disagreement, whereas Static Random and LFHE remain near consensus (Figure 3a); topology trajectories are reported in Appendix E.
Communication capacity sets a second scaling frontier. Increasing LFHE's degree threshold raises accuracy from 70.52% to 72.49% at N = 50, from 68.81% to 72.31% at N = 100, and from 66.84% to 72.04% at N = 200, while model transmissions increase by 47.1%, 88.1%, and 104.1%, respectively (Appendix F). At a common 115.8k-transmission budget, fixed- LFHE reaches 67.77% versus 65.98% for Static Random, whereas scaled-threshold LFHE reaches its higher endpoint only after approximately 247k transmissions (Figure 3b). Additional degree therefore extends the attainable learning regime at increasing communication cost.
5 Discussion and Conclusion
Two resource effects shape decentralized scaling. First, data allocation: preserving per-client data reduces LFHE's losses from 6.01 to 1.71 points over and from 8.13 to 1.97 over , revealing different behavior across structures. Ring deteriorates, Static Random remains comparatively stable, and LFHE maintains higher accuracy with low disagreement.
The second effect is communication capacity. Increasing LFHE's degree threshold improves mixing and raises the achievable endpoint, but the benefit comes with rapidly increasing model exchange. The fixed-threshold results show that LFHE retains a performance advantage over Static Random even when their realized communication is close, while the scaled-threshold results expose how additional degree can trade communication for accuracy.
Together, these findings suggest a broader view of decentralized scaling. Population size is not an isolated systems variable: its effect depends on how data, topology, and communication resources scale with it. For the tested finite-population regime, preserving local data substantially reduces the apparent population penalty, topology determines the remaining consensus pressure, and additional degree determines how far that pressure can be reduced. Scaling studies should therefore report these resources jointly rather than summarize behavior through client count and endpoint accuracy alone.
References
[1] Stephen Boyd, Persi Diaconis, and Lin Xiao. Fastest mixing markov chain on a graph. SIAM Review, 46(4): 667–689, 2004. doi: 10.1137/S0036144503423264.
[2] Stephen Boyd, Arpita Ghosh, Balaji Prabhakar, and Devavrat Shah. Randomized gossip algorithms. IEEE Transactions on Information Theory, 52(6):2508–2530, 2006. doi: 10.1109/TIT.2006.874516.
[3] Bart Cox, Antreas Ioannou, and Jérémie Decouchant. Dynamic topology optimization for non-iid data in decentralized learning. arXiv preprint arXiv:2602.03383, 2026.
[4] Anastasia Koloskova, Nicolas Loizou, Sadra Boreiri, Martin Jaggi, and Sebastian Stich. A unified theory of decentralized SGD with changing topology and local updates. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 5381–5393. PMLR, 2020.
[5] Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
[6] 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. In Advances in Neural Information Processing Systems, volume 30, 2017.
[7] Angelia Nedić and Asuman Ozdaglar. Distributed subgradient methods for multi-agent optimization. IEEE Transactions on Automatic Control, 54(1):48–61, 2009. doi: 10.1109/TAC.2008.2009515.
[8] Angelia Nedić, Alex Olshevsky, and Michael G. Rabbat. Network topology and communication-computation tradeoffs in decentralized optimization. Proceedings of the IEEE, 106(5):953–976, 2018. doi: 10.1109/JPROC.2018.2817461.
[9] Reza Olfati-Saber, J. Alex Fax, and Richard M. Murray. Consensus and cooperation in networked multi-agent systems. Proceedings of the IEEE, 95(1):215–233, 2007. doi: 10.1109/JPROC.2006.887293.
[10] Noa Onoszko, Gustav Karlsson, Olof Mogren, and Edvin Listo Zec. Decentralized federated learning of deep neural networks on non-iid data. arXiv preprint arXiv:2107.08517, 2021.
[11] John N. Tsitsiklis, Dimitri P. Bertsekas, and Michael Athans. Distributed asynchronous deterministic and stochastic gradient optimization algorithms. IEEE Transactions on Automatic Control, 31(9):803–812, 1986. doi: 10.1109/TAC.1986.1104412.
[12] Lin Xiao and Stephen Boyd. Fast linear iterations for distributed averaging. Systems & Control Letters, 53(1):65–78, 2004. doi: 10.1016/j.sysconle.2004.02.022.
A Implementation-Faithful LFHE
For the controlled-scaling CIFAR-10 experiments, LFHE uses a 10-dimensional summary of the final classifier weight matrix as the client representation. Let denote client 's final classifier weight matrix. The implemented representation is
obtained by averaging each output class's 256 incoming weights. Its local terms are
with
The structural term is representation-dependent and is not a direct estimator of algebraic connectivity. At each topology epoch, initiators are processed once in a fixed sequential order. Each initiator samples
and evaluates that FoF candidate against its current graph state. A simple addition is available when the relevant online degree conditions are satisfied; otherwise, LFHE evaluates feasible one-edge replacements. Each initiator commits at most one accepted add-or-swap operation before processing moves to the next client, which then observes the already updated graph. The implementation therefore uses sequential rather than concurrent topology commits.
The threshold regulates online edge acquisition. Because the connected Erdős–Rényi initializer is specified by expected degree, some nodes may initially exceed the threshold; these degrees are preserved unless subsequently changed by topology updates. Consequently, fixed- runs have mean degree near 4.4, while endpoint maximum degree can exceed four.
B Experimental Details
Controlled scaling uses CIFAR-10 [5], class-wise Dirichlet , , seeds , 300 communication rounds, one local epoch per round, SGD with learning rate 0.05, batch size 32, evaluation every five rounds, and LFHE topology updates every five rounds.
All methods use the same CIFAR-10 convolutional model: two convolutional stages with 32 and 64 channels, batch normalization and max pooling, followed by a 256-dimensional fully connected hidden representation, dropout 0.3, and a 10-way classifier. In the controlled-scaling runs, LFHE uses the 10-dimensional class-wise mean of the final classifier weight matrix as its topology representation signal. The separate matched-FoF diagnostic uses the complete flattened final classifier weight matrix. The architecture, preprocessing pipeline, and optimizer configuration are held identical across Ring, Static Random, and LFHE. The controlled conditions vary data allocation and communication topology; because training uses one local epoch, the data regime also determines the per-round local SGD workload.
Ring uses a cycle. Static Random and LFHE use seed-matched connected Erdős–Rényi initializations with expected degree four. For neighboring clients,
Under fixed-total training, all 50,000 CIFAR-10 training examples are partitioned across the population. Under fixed-per-client training, each client draws 500 local-dataset indices only from its own Dirichlet pool and reuses the resulting local dataset throughout training. This holds the nominal number of local training entries fixed at 500 per client. Sampling is without replacement when the client's pool contains at least 500 indices and with replacement otherwise; repeated indices therefore do not introduce data from another client's pool.
The two LFHE threshold regimes are
The controlled fixed-threshold runs store exact graph snapshots every five communication rounds together with the final topology. Algebraic connectivity is computed from the unweighted combinatorial Laplacian of these exact edge lists. Historical scaled-threshold runs without evolving adjacency snapshots are not used to construct spectral trajectories.
Model disagreement is
All uncertainty values reported for the controlled study are sample SD over the three paired seeds.
Table 1: Matched-FoF diagnostic at , , over seeds 42–44. Runs use 300 rounds, topology updates every five rounds, , and a budget of six proposals per topology update. Adaptive variants share initialization, candidate generation, update frequency, and proposal budget; only the local score changes. is measured relative to Static at the final endpoint. Ops./update is the system-wide number of accepted topology operations per update, averaged over updates and seeds.
| Method | Final | Final Acc. | Final Div. | Ops./update | |
|---|---|---|---|---|---|
| Static | 0.592 | 0.000 | 0.6675 | 0.781 | 0.000 |
| Similarity-only | 0.578 | -0.014 | 0.6704 | 0.736 | 0.183 |
| Exploration-only | 1.038 | 0.447 | 0.7356 | 0.208 | 3.406 |
| Structural-only | 2.306 | 1.715 | 0.7508 | 0.136 | 1.111 |
| LFHE | 2.247 | 1.655 | 0.7482 | 0.135 | 1.333 |
Exploration-only accepts substantially more topology operations per update than Structural-only or LFHE yet reaches lower algebraic connectivity and lower accuracy. Operation frequency alone therefore does not explain the resulting trajectory; changing the local scoring rule materially changes the graph–model regime produced by the same FoF update process.
C Controlled Scaling Results
Table 2: Final fixed-per-client accuracy (%), mean sample SD over seeds 42–44).
| Method | ||||
|---|---|---|---|---|
| Ring | ||||
| Static Random | ||||
| LFHE, fixed () | ||||
| LFHE, scaled threshold |
The 0.07 sample SD for fixed- LFHE at is computed directly across the three completed seeds.
Table 3: Final fixed- LFHE endpoints at (mean sample SD).
| Regime | Metric | |||
|---|---|---|---|---|
| Fixed-total | Accuracy (%) | |||
| Disagreement | ||||
| Fixed-per-client | Accuracy (%) | |||
| Disagreement | ||||
Table 4: Final fixed-per-client model disagreement.
| Method | ||||
|---|---|---|---|---|
| Ring | ||||
| Static Random | ||||
| LFHE, fixed () | ||||
| LFHE, scaled threshold |
D Communication Accounting
Table 5: LFHE cumulative directed model transmissions under fixed-per-client training (mean over seeds 42–44).
| Threshold regime | |||
|---|---|---|---|
| Fixed () | |||
| Scaled threshold | |||
| Increase |
Table 6: Fixed-per-client communication endpoints at and . Counts include directed model transmissions and exclude separately unlogged topology-control traffic.
| Method | ||
|---|---|---|
| Ring | ||
| Static Random | ||
| LFHE, fixed () | ||
| LFHE, scaled threshold |
At and , fixed-threshold LFHE uses approximately and more model transmissions than Static Random, respectively. Scaling the LFHE threshold from four to nine at increases communication by , while scaling it from four to ten at increases communication by .
E Graph-Model Dynamics Under a Fixed Degree Budget
Ring Static Random LFHE, fixed Dmax=4
(a) Algebraic connectivity

(b) Model disagreement (log scale)
(c) Mean degree

(d) Average clustering

Round

Round
Figure 4: Graph-model dynamics at N = 100 under fixed-per-client training with . LFHE maintains stronger algebraic connectivity than Ring while mean degree remains near 4.4, and its disagreement converges to the low-disagreement regime shared with Static Random. Curves show means over seeds 42–44; shading is sample SD.
At N = 100, LFHE's algebraic connectivity changes from 0.394 to 0.426 while its mean degree remains near 4.4. Static Random remains near 0.35, whereas the Ring has substantially weaker algebraic connectivity. At the same time, LFHE's model disagreement contracts from a large initial value to 0.445, Static Random stabilizes near 0.6, and Ring enters a substantially higher-disagreement regime.
Structural and optimization changes are concentrated in the early part of training, after which both topology and disagreement become comparatively stable. The exact trajectories show that topology evolution and consensus formation occur on related but non-identical time scales, reinforcing the view of LFHE as a coupled graph-model process rather than a single spectral optimization step.
F Degree-Budget Diagnostic
LFHE, fixed Dmax=4
LFHE, scaled degree
(a) Final accuracy

(b) Final disagreement
(c) Final mean degree

(d) Model transmissions
Figure 5: LFHE degree-budget sensitivity under fixed-per-client training. Increasing the online threshold produces higher endpoint accuracy and lower disagreement, together with higher realized degree and communication.
At , changing from 4 to 7 raises accuracy from 70.52% to 72.49%, reduces disagreement from 0.348 to 0.110, and increases transmissions from 66,710 to 98,160. At , changing from 4 to 9 raises accuracy from 68.81% to 72.31%, reduces disagreement from 0.445 to 0.095, and increases transmissions from 131,419 to 247,254. At , changing from 4 to 10 raises accuracy from 66.84% to 72.04%, reduces disagreement from 0.557 to 0.123, and increases transmissions from 265,519 to 541,831.
This comparison quantifies LFHE's sensitivity to additional degree capacity. The corresponding communication-normalized behavior is reported in Appendix G.
G Communication-Normalized Learning
Communication-normalized learning (fixed-per-client, N=100)

Figure 6: Accuracy versus cumulative directed model transmissions at N = 100 under fixed-per-client training. Scaled-threshold LFHE attains the highest endpoint after extending substantially beyond the fixed-threshold communication range.
At a common budget of 115.8k transmissions, Static Random, fixed- LFHE, and scaled-threshold LFHE achieve 65.98%, 67.77%, and 63.58%, respectively. The transmissions required to first reach 65% accuracy are approximately 106.3k, 88.6k, and 130.7k. Fixed-threshold LFHE therefore reaches stronger learning within the shared communication range, whereas scaled-threshold LFHE trades a larger total budget for a higher eventual endpoint.
H Scope and Extensions
The controlled study focuses on CIFAR-10, populations up to N = 200, and three paired seeds, with communication measured through directed model transmissions. Within this setting, the experiments characterize how data allocation, mixing structure, local search visibility, and communication capacity shape the observed scaling regime. LFHE uses final classifier weights as its representation signal throughout; evaluating alternative representation layers or learned signals would further characterize the sensitivity of the topology process.
Extending the analysis to larger populations and broader learning tasks would test whether the same graph-model regimes persist beyond the finite-population setting studied here. An equally dense fixed-graph comparison would further separate additional connectivity from topology adaptation when degree grows, while concurrent topology updates would extend the present sequential protocol toward asynchronous decentralized execution. Comparisons with additional adaptive-topology processes such as PENS and Morph are also natural extensions under the same controlled data and communication regimes.