Preprint
Article

This version is not peer-reviewed.

Comparative Performance Evaluation of Federated Learning Frameworks for Edge-Oriented 6G Applications

A peer-reviewed version of this preprint was published in:
Future Internet 2026, 18(8), 416. https://doi.org/10.3390/fi18080416

Submitted:

10 July 2026

Posted:

13 July 2026

You are already at the latest version

Abstract
Federated learning (FL) enables privacy-preserving collaborative training at the network edge, a core capability envisioned for sixth-generation (6G) wireless systems. While surveys and scale-oriented benchmarks advance FL methodology, reproducible head-to-head comparisons of mainstream Python frameworks under identical FedAvg settings remain scarce. We benchmark six frameworks—Flower, TensorFlow Federated (TFF), FedML, NVIDIA FLARE, OpenFL, and PySyft—in a controlled two-phase study on a Proxmox virtualized testbed with containerized runners, formalize the FedAvg objective and communication-cost model, and position our contribution against prior surveys, scale benchmarks, and single-framework documentation. Phase 1 (MNIST) confirms protocol fairness (99.22–99.35% accuracy) but reveals up to 80% wall-time variation; Phase 2 (CIFAR-10) exposes stack-dependent accuracy gaps (TFF 71.74% vs. approximately 68% for PyTorch runners). We report per-round accuracy and loss curves, accuracy gains, wall-time comparisons, and simulated communication volume across nine figures. The experimental protocol, model topology, and hyperparameters are specified in full; per-round JSON metrics and global model checkpoints are published in . The study provides a documented baseline for 6G edge framework selection and for follow-on network-constrained and security experiments.
Keywords: 
;  ;  ;  ;  ;  ;  ;  

1. Introduction

Sixth-generation (6G) wireless networks—standardized internationally as IMT-2030 [2] and studied in parallel by 3GPP Release 20 [3]—will connect massive numbers of intelligent edge devices—smartphones, vehicles, industrial sensors, and wearables—that produce data locally but benefit from collaborative model training without centralizing raw data [4,5]. Unlike cloud-centric machine learning, edge intelligence pushes inference and increasingly training toward the network periphery [6,7], where uplink bandwidth, latency, and device availability are constrained [8,9]. Federated learning (FL) addresses this setting by keeping private datasets D k on client devices while a coordinator aggregates model updates according to a shared protocol such as FedAvg [10,11,12].

1.1. Motivation: Framework Selection at the 6G Edge

Deploying FL in 6G scenarios involves more than choosing an aggregation algorithm. Systems engineers must select a software framework that orchestrates client–server communication, local training loops, checkpointing, and (optionally) privacy or security extensions [13,14,15]. Candidate stacks include Flower [16], TensorFlow Federated (TFF) [17], FedML [13], NVIDIA FLARE [14], OpenFL [18], and PySyft [15]. Each targets a different ecosystem, yet all must ultimately execute the same federated training contract: broadcast w ( t ) , train locally, upload updates, aggregate, and evaluate.
Framework documentation and tutorials rarely answer a practical deployment question: when the same model, optimizer, data partition, and number of rounds are fixed, how much do accuracy, wall-clock time, and communication bytes differ across frameworks? This question matters for 6G service orchestration because edge training jobs must fit within finite scheduling windows and uplink budgets [19,20]. A framework that is correct in principle but slow or heavy on the wire may be unsuitable for URLLC-style deadlines or mMTC-scale deployments even if its API is convenient.

1.2. Evaluation Dimensions

We evaluate frameworks along three axes that map directly to Equations (5)–(6) in Section 3:
  • Model quality — global test accuracy Acc ( t ) and cross-entropy loss after each of T = 10 communication rounds;
  • Computational efficiency — total wall-clock time T wall on a documented Proxmox containerized testbed;
  • Communication cost — simulated parameter traffic C total for reference PyTorch runners (baseline before 6G bandwidth profiles are applied).
We deliberately hold the FL algorithm constant (FedAvg, IID partition, seed 42) so observed differences reflect runtime stacks, orchestration overhead, and numerical training paths rather than algorithmic diversity [21]. We further distinguish native framework integrations from a shared reference PyTorch FedAvg loop (Section 3), reporting both in every result file.

1.3. Research Questions and Paper Organization

This paper addresses three research questions:
  • RQ1: Under identical FedAvg settings and IID data, how do six FL frameworks compare in accuracy and wall time on MNIST?
  • RQ2: When task difficulty increases (CIFAR-10 edge vision), do framework rankings hold or do stack-specific dynamics widen gaps?
  • RQ3: What communication volume does FedAvg incur, establishing a baseline before 6G bandwidth constraints?
Our study follows a two-phase design: Phase 1 (MNIST) verifies protocol correctness quickly; Phase 2 (CIFAR-10) stresses the same frameworks on a harder vision task representative of camera and sensing workloads at the edge [6,22]. Section 2 reviews prior work; Section 2.4 positions our contribution against surveys, scale benchmarks, and vendor documentation. Section 3 formalizes FedAvg and describes the testbed. Section 4 presents accuracy, loss, timing, and communication results with nine figures. Section 5Section 6 interpret findings and outline 6G/security extensions.

3. Materials and Methods

3.1. Problem Formulation

We consider a cross-device federated learning setting with K clients indexed by k ∈ { 1 , … , K } [10,11]. Client k holds a private dataset D k = { ( x i , y i ) } i = 1 n k drawn from an unknown distribution over the input–label space X × Y . Let N = ∑ k = 1 K n k denote the total number of training samples. Each client trains a model parameterized by w ∈ R d , where d is the number of learnable parameters.
The local empirical risk at client k is
F k ( w ) = 1 n k ∑ ( x , y ) ∈ D k ℓ f w ( x ) , y ,
where f w : X → R | Y | is the neural network mapping, ℓ ( · , · ) is the cross-entropy loss, and | Y | = 10 for both MNIST and CIFAR-10. The global federated objective is the sample-size weighted average
F ( w ) = ∑ k = 1 K n k N F k ( w ) .
In the ideal case, FL seeks w ★ ∈ arg min w F ( w ) without exchanging raw data D k [12].
Table 2 summarizes the notation used throughout this paper.

3.2. Federated Averaging (FedAvg)

We employ Federated Averaging (FedAvg) [10], the de facto baseline algorithm for cross-framework comparison [19,21]. At communication round t, the server broadcasts the current global model w ( t ) to all participating clients. Each client k performs E epochs of mini-batch stochastic gradient descent (SGD) on D k , initialized at w ( t ) . Denoting the local optimizer update by LocalUpdate ( · ) , the client model after local training is
w k ( t + 1 ) = LocalUpdate w ( t ) ; D k , η , E , B .
The server aggregates client models by sample-size weighted averaging:
w ( t + 1 ) = ∑ k = 1 K n k N w k ( t + 1 ) .
Equations (3)–(4) reduce to single-step local SGD followed by averaging when E = 1 [27]. All six frameworks in this study implement Equation (4); differences arise from runtime stacks (TensorFlow vs. PyTorch) and orchestration overhead, not from the aggregation formula itself.
For non-IID data, convergence of FedAvg can degrade because local objectives F k diverge from the global objective F [24]. Our experiments use IID partitions (uniform random split with fixed seed) to isolate framework effects; extensions to Dirichlet non-IID splits are planned [25,26].

3.3. Evaluation Metrics

After each round t, the global model w ( t ) is evaluated on a held-out test set D test :
Acc ( t ) = 1 | D test | ∑ ( x , y ) ∈ D test I arg max c f w ( t ) ( x ) c = y ,
where I [ · ] is the indicator function and f w ( t ) ( x ) c is the logit for class c. We also report the average cross-entropy loss on D test . System-level metrics include total wall-clock time T wall and per-round communication volume. For the reference PyTorch runner, the simulated bytes per round are
C round = ∑ k = 1 K | w | bytes + | w | bytes = 2 K | w | bytes ,
where | w | bytes is the serialized model size (upload of client weights plus download of the global model). Over T rounds, C total = T · C round . Under constrained 6G uplinks, C total bounds the minimum transfer time given bandwidth B uplink via T comm ≥ C total / B uplink [8,19].

3.4. Two-Phase Experimental Design

We evaluate frameworks in two phases of increasing difficulty while holding FL hyperparameters constant (Table 3).
Phase 1 uses MNIST [37] (28×28 grayscale digits) for fast framework screening. Phase 2 uses CIFAR-10 [22] (32×32 RGB images) as a closer proxy for edge vision workloads [6,38].

3.5. Models

Each dataset uses a lightweight convolutional neural network sized for edge feasibility [38]. MNIST employs two convolutional layers with pooling followed by two fully connected layers (512 units, 10 outputs). CIFAR-10 adds a third convolutional block. TFF implements an equivalent Keras model; PyTorch runners (Flower and the shared reference) share the same topology. The parameter count d determines | w | bytes in Equation (6).

3.6. Framework Implementations

Table 4 lists the runner used per framework. Flower (v1.31.0) [16] and TFF (v0.85.0) [17] use native integrations. FedML [13], NVFlare [14], OpenFL [18], and PySyft [15] execute a shared PyTorch FedAvg reference loop implementing Equations (3)–(4) with identical CNN, data split, and hyperparameters. Differences among reference frameworks reflect measurement noise, not distinct SDK behaviour. Results are labelled as native (framework SDK) or reference (shared PyTorch loop) throughout tables and figures.

3.7. Benchmark Harness and Infrastructure

We developed a custom benchmark harness to enforce protocol parity across frameworks. The harness (i) loads MNIST and CIFAR-10 with a fixed IID partition (seed 42), (ii) instantiates the dataset-specific CNN, (iii) orchestrates ten FedAvg rounds with the hyperparameters in Table 3, (iv) evaluates the global model on the held-out test set after each round, and (v) records accuracy, loss, wall time, and (for reference runners) simulated communication volume. For frameworks without a native FedAvg path under our constraints, the same harness invokes a shared PyTorch reference loop so that local training, aggregation, and evaluation follow Equations (3)–(5) exactly.
Experiments run on a Proxmox hypervisor [39] with two Ubuntu 22.04.05 LTS Server virtual machines [40]: a coordinator host (reserved for optional distributed aggregation; idle in the standalone configuration) and a worker host that executes one framework container at a time. The worker was allocated 4 vCPUs and 8 GB RAM. Each framework is packaged in an isolated container image with pinned SDK dependencies to avoid cross-contamination between runs.
For each framework f ∈ { flower , tff , fedml , nvflare , openfl , pysyft } and dataset d ∈ { MNIST , CIFAR - 10 } , the workflow comprises three steps: build the framework-specific container image, execute the federated benchmark on the worker host, and archive per-round metrics together with the final global model state. All runs use standalone simulation: six virtual clients co-located inside a single container, under an ideal network profile (zero latency, unlimited bandwidth). This isolates framework runtime and training-stack effects from distributed networking variability. Per-round JSON summaries and global model checkpoints are published in [1]; benchmark source code and container images are not released.

4. Results

This section reports empirical answers to RQ1–RQ3. All figures use the per-round metric logs from Phase 1 (MNIST) and Phase 2 (CIFAR-10). Solid lines and hatched bars denote native runners (Flower, TFF); dashed lines denote the shared PyTorch reference loop (FedML, NVFlare, OpenFL, PySyft).

4.1. Overview

Figure 1 provides a high-level snapshot of round-10 test accuracy across both datasets. MNIST accuracies cluster above 99.2% for every framework, while CIFAR-10 separates native TFF (∼71.7%) from the PyTorch cluster (∼68%). Figure 2 quantifies how much each framework improves from round 1 to round 10: CIFAR-10 gains are an order of magnitude larger (∼25–31 pp) than MNIST (∼1.6–1.9 pp), confirming that Phase 2 is the discriminative benchmark.

4.2. Phase 1: MNIST

Table 5 summarizes results after ten FedAvg rounds. All frameworks converge to 99.22–99.35% accuracy (spread 0.13 percentage points), validating that Equations (4)–(5) were implemented consistently. Wall time spans 23.4–42.1 minutes: TFF is fastest among native runners; Flower is slowest on MNIST despite comparable accuracy.
Figure 3 shows per-round accuracy; all curves rise monotonically with no divergence. Figure 4 reports cross-entropy loss, which mirrors the accuracy ranking: Flower achieves the lowest final loss (0.0199) while remaining within 0.002 of all other frameworks. The near-overlap of reference-runner loss curves (≤0.002 spread at round 10) confirms that FedML, NVFlare, OpenFL, and PySyft execute the same underlying training loop on MNIST.
RQ1 (MNIST). Accuracy is framework-agnostic under IID MNIST (≤0.13 pp spread), but T wall is not: Flower requires 1.8× the time of TFF (42.1 vs. 23.4 min). Reference runners occupy a narrow 27.8–28.6 min band. For 6G planners, this implies that orchestration overhead alone can dominate edge training schedules even when model quality is identical.
Reference runners transfer 39.9 MB upload and 39.9 MB download per round (∼798 MB over ten rounds), consistent with Equation (6) for K = 6 and the MNIST CNN parameter size (Figure 9).

4.3. Phase 2: CIFAR-10

Table 6 and Figure 5Figure 6 report Phase 2 results. Accuracy spread widens to 3.90 percentage points (67.84–71.74%). TFF leads at 71.74%; PyTorch reference runners cluster near 68.2%. Native Flower (68.84%) aligns with references, not TFF.
TFF’s advantage appears from round 1 onward (46.05% vs. ∼38% for PyTorch runners) and persists in both accuracy and loss throughout training—suggesting a training-dynamics difference in the equivalent CNN rather than late-round aggregation effects. Loss at round 10 ranges from 0.823 (TFF) to 0.933 (OpenFL reference), correlating with the accuracy spread.
Wall times on CIFAR-10 converge to 22.7–24.2 minutes across frameworks, unlike MNIST where Flower required 42.1 minutes. One Flower CIFAR run (∼164 min wall time, 68.23% accuracy) is excluded as an operational outlier; we report the retained Flower run (24.2 min, 68.84%).
RQ2 (CIFAR-10). Framework rankings change relative to MNIST: TFF leads on accuracy (+2.90 pp over native Flower), while wall-time rankings collapse to a ∼1.5 min band. Phase 2 is therefore essential for framework discrimination in edge vision scenarios. Reference communication totals ∼281 MB over ten rounds (Figure 9), lower than MNIST despite richer inputs because the CIFAR CNN has fewer serialized parameters in our implementation.

4.4. Cross-Phase Analysis: Time, Communication, and Heatmap

Figure 7 compares T wall across datasets. Flower is a pronounced MNIST outlier (42.1 min) but not on CIFAR-10 (24.2 min), indicating run-configuration sensitivity rather than a universal penalty. Figure 8 summarizes final accuracies side-by-side: the MNIST column is uniformly green (≥99.2%), whereas the CIFAR-10 column reveals TFF as the clear leader.
Figure 7. End-to-end wall time by framework and dataset. Hatched bars: native runners.
Figure 7. End-to-end wall time by framework and dataset. Hatched bars: native runners.
Preprints 222589 g007
Figure 8. Final test accuracy (round 10) across datasets and frameworks.
Figure 8. Final test accuracy (round 10) across datasets and frameworks.
Preprints 222589 g008
Figure 9. Total simulated FedAvg communication over ten rounds (reference runners only).
Figure 9. Total simulated FedAvg communication over ten rounds (reference runners only).
Preprints 222589 g009
Figure 9 plots C total for reference runners (RQ3). MNIST requires ∼2.8× more bytes than CIFAR-10 (798 vs. 281 MB) because the MNIST CNN yields larger | w | bytes in our PyTorch implementation. These values anchor future 6G profile experiments: under a 5 Mbps edge uplink, 281 MB alone implies at least ∼7.5 minutes of pure transfer time before compute is counted.
Table 7 summarizes answers to the research questions.

5. Discussion

The narrow MNIST accuracy band (±0.13 pp) and tight reference clustering on CIFAR-10 (∼68.2%) confirm consistent FedAvg (Equation (4)), partitioning, and seed 42 across runners. The TFF advantage on CIFAR-10 likely reflects TensorFlow/Keras optimization paths and numerical differences in the equivalent architecture [41]—not a different aggregation rule. Similar accuracy variance across deep-learning frameworks has been reported in centralized benchmarks [34].
For 6G edge deployment [4,8,20]: (1) use at least one non-trivial vision dataset before framework selection; (2) budget scheduling windows from measured T wall ; (3) plan uplink capacity using C total from Equation (6) before applying bandwidth-limited or mMTC profiles [2,9,20].
Four frameworks share one PyTorch loop; comparing FedML, NVFlare, OpenFL, and PySyft on accuracy or bytes tests the runner, not product SDKs [13,14,15,18]. Flower and TFF remain the primary native comparison until reference runners are replaced. Future work will evaluate secure aggregation overhead [28,29] and poisoning resilience [30,31].

5.1. Limitations

Single run per framework (no confidence intervals); ideal network only; IID partition; missing communication logs for native Flower/TFF; standalone simulation without distributed TLS/gRPC stress testing [28]; one hardware configuration; one excluded Flower CIFAR outlier. Broader FL benchmarks such as FedScale [34] and LEAF [33] address different axes (scale, realism) and are complementary to our framework-centric study.

6. Conclusions

We presented a documented two-phase comparison of six federated learning frameworks on MNIST and CIFAR-10 with six IID clients, ten FedAvg rounds (Equations (3)–(4)), and an ideal network profile on a Proxmox containerized testbed. MNIST confirms fairness (∼99.3% across frameworks) but hides stack differences. CIFAR-10 reveals a meaningful accuracy lead for TFF (71.74% vs. ∼68% for PyTorch runners) while wall times converge. Communication baselines (∼798 MB MNIST, ∼281 MB CIFAR-10) support upcoming 6G constraint and security studies [8,31] including non-IID data [24,25], radio profiles (eMBB, URLLC, mMTC) [4,5], and adversarial evaluations [30].

Author Contributions

Conceptualization, V.D.B. and C.T.A.; methodology, V.D.B.; software, V.D.B.; validation, V.D.B.; formal analysis, V.D.B.; investigation, V.D.B.; resources, V.D.B.; data curation, V.D.B.; writing—original draft preparation, V.D.B.; writing—review and editing, V.D.B. and C.T.A.; visualization, V.D.B.; supervision, C.T.A.; project administration, C.T.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Per-round benchmark metrics (JSON and CSV summaries) and federated global model checkpoints supporting the conclusions of this article are available in the public results archive [1]. The experimental protocol, model architectures, hyperparameters, and framework versions are fully specified in Section 3. Benchmark source code and container images are not publicly released.

Acknowledgments

The authors thank the Department of Informatics and Telecommunications, University of Ioannina, for supporting this research.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Batsios, V.D.; Angelis, C.T. FL Framework Performance Benchmark for 6G Wireless Scenarios. Software repository. 2026. Available online: https://github.com/vasileiosbatsios/phd_6g_federated_learning.
  2. International Telecommunication Union. IMT-2030: Technical Requirements for the 6G Future Summarizes ITU-R WP 5D draft minimum performance requirements for IMT-2030; builds on Recommendation ITU-R M. 2026. Available online: https://www.itu.int/hub/2026/03/imt-2030-technical-requirements-for-the-6g-future/.
  3. 3rd Generation Partnership Project (3GPP). Release 20. Available online: https://www.3gpp.org/specifications-technologies/releases/release-20.
  4. Saad, W.; Bennis, M.; Chen, M. A Vision of 6G Wireless Systems: Applications, Trends, Technologies, and Open Research Problems. IEEE Netw. 2020, 34, 134–142. [Google Scholar] [CrossRef]
  5. Letaief, K.B.; Chen, W.; Shi, Y.; Zhang, J.; Zhang, Y.J.A. The Roadmap to 6G: AI Empowered Wireless Networks. IEEE Commun. Mag. 2019, 57, 84–90. [Google Scholar] [CrossRef]
  6. Zhou, Z.; Chen, X.; Li, E.; Zeng, L.; Luo, J.; Zhang, J. Edge Intelligence: Paving the Last Mile of Artificial Intelligence with Edge Computing. Proc. IEEE 2019, 107, 1738–1762. [Google Scholar] [CrossRef]
  7. Shi, W.; Cao, J.; Zhang, Q.; Li, Y.; Xu, L. Edge Computing: Vision and Challenges. IEEE Internet Things J. 2016, 3, 637–646. [Google Scholar] [CrossRef]
  8. Lim, W.Y.B.; Luong, N.C.; Hoang, D.T.; Jiao, Y.; Liang, Y.C.; Yang, Q.; Niyato, D.; Miao, C. Federated Learning in Mobile Edge Networks: A Comprehensive Survey. IEEE Commun. Surv. Tutor. 2020, 22, 2031–2063. [Google Scholar] [CrossRef]
  9. Park, J.; Samarakoon, S.; Bennis, M.; Debbah, M.; Poor, H.V.; Shroff, N.B. Wireless Network Intelligence at the Edge. Proc. IEEE 2019, 107, 2204–2235. [Google Scholar] [CrossRef]
  10. McMahan, H.B.; Moore, E.; Ramage, D.; Hampson, S.; y Arcas, B.A. Communication-Efficient Learning of Deep Networks from Decentralized Data. In Proceedings of the Proceedings of the 20th International Conference on Artificial Intelligence and Statistics (AISTATS), 2017; pp. 1273–1282. [Google Scholar]
  11. Kairouz, P.; McMahan, H.B.; Avent, B.; Bellet, A.; Bennis, A.; et al. Advances and Open Problems in Federated Learning. Found. Trends Mach. Learn. 2021, 14, 1–210. [Google Scholar] [CrossRef]
  12. Yang, Q.; Liu, Y.; Chen, T.; Tong, Y. Federated Machine Learning: Concept and Applications. ACM Trans. Intell. Syst. Technol. 2019, 10, 1–19. [Google Scholar] [CrossRef]
  13. He, C.; Li, S.; So, J.; Bian, Z.; Wang, M.; Zhao, H.; Zeng, H.; Li, Z.; Li, Y.; Chen, Y.; et al. FedML: A Research Library and Benchmark for Federated Machine Learning. In Proceedings of the Proceedings of NeurIPS Workshop on Federated Learning, 2020. [Google Scholar]
  14. Roth, H.; Cheng, Y.; Wen, Y.; Yang, I.; Xu, Z.; Hsieh, Y.T.; Kersten, K.; Harouni, A.; Zhao, C.; Li, W.; et al. NVIDIA FLARE: Federated Learning from Simulation to Real-World. arXiv 2022, arXiv:2210.13291. [Google Scholar]
  15. Ryffel, T.; Trask, A.; Dahl, B.; Wagner, B.; Mancuso, J.; Rueckauer, J.; Mazzone, D.; Onuigbo, I.; Platt, D.; Wergan, N.; et al. A Generic Framework for Privacy Preserving Deep Learning. arXiv 2018, arXiv:1811.04017. [Google Scholar]
  16. Beutel, D.J.; Topal, T.; Mathur, A.; Qiu, T.; Parcollet, T.; Lane, N.D.; McMahan, H.B.; Ramage, D. Flower: A Friendly Federated Learning Framework. arXiv 2020, arXiv:2007.14390. [Google Scholar]
  17. Google LLC. TensorFlow Federated Version 0.85.0 used in experiments. 2024. Available online: https://www.tensorflow.org/federated.
  18. Patel, P.; Gurev, M.; Isenhour, B.; Plater, M.; Huang, Z.; Chang, D.; et al. OpenFL: An Open-Source Framework for Federated Learning. arXiv 2021, arXiv:2105.06413. [Google Scholar]
  19. Konečnỳ, J.; McMahan, H.B.; Ramage, D.; Drágu, P. Federated Learning: Strategies for Improving Communication Efficiency. In Proceedings of the Proceedings of NeurIPS Workshop on Private Multi-Party Machine Learning, 2016. [Google Scholar]
  20. Yang, Z.; Chen, M.; Wong, K.K.; Poor, H.V.; Cui, S. Federated Learning for 6G: Applications, Challenges, and Opportunities. Engineering 2022, 8, 33–41. [Google Scholar] [CrossRef]
  21. Wang, J.; Liu, Q.; Liang, H.; Joshi, G.; Poor, H.V. A Field Guide to Federated Optimization. arXiv 2021, arXiv:2107.06917. [Google Scholar]
  22. Krizhevsky, A. Learning Multiple Layers of Features from Tiny Images. In Technical report; University of Toronto, 2009. [Google Scholar]
  23. Li, T.; Sahu, A.K.; Talwalkar, A.; Smith, V. Federated Learning: Challenges, Methods, and Future Directions. IEEE Signal Process. Mag. 2020, 37, 50–60. [Google Scholar] [CrossRef]
  24. Zhao, Y.; Li, M.; Lai, L.; Park, N.; Wang, T.; Paulik, B.; Singh, A.; Yousif, K. Federated Learning with Non-IID Data. In Proceedings of the Proceedings of ICLR Workshop, 2018. [Google Scholar]
  25. Li, T.; Sahu, A.K.; Zaheer, M.; Sanjabi, M.; Talwalkar, A.; Smith, V. Federated Optimization in Heterogeneous Networks. In Proceedings of the Proceedings of MLSys, 2020; pp. 429–450. [Google Scholar]
  26. Karimireddy, S.P.; Kale, S.; Mohri, M.; Reddi, S.; Stich, S.; Suresh, A.T. SCAFFOLD: Stochastic Controlled Averaging for Federated Learning. In Proceedings of the Proceedings of ICML, 2020; pp. 5132–5143. [Google Scholar]
  27. Stich, S.U. Local SGD Converges Fast and Communicates Little. In Proceedings of the Proceedings of ICLR, 2019. [Google Scholar]
  28. Bonawitz, K.; Ivanov, V.; Kreuter, B.; Marcedone, A.; McMahan, H.B.; Patel, S.; Ramage, D.; Segal, A.; Seth, K. Practical Secure Aggregation for Privacy-Preserving Machine Learning. In Proceedings of the Proceedings of CCS, 2017; pp. 1175–1191. [Google Scholar]
  29. Geyer, R.C.; Klein, T.; Nabi, M. Differentially Private Federated Learning: A Client Level Perspective. arXiv 2017, arXiv:1712.07557. [Google Scholar]
  30. Bagdasaryan, E.; Veit, A.; Hua, Y.; Na, S.; Shmatikov, V. How to Backdoor Federated Learning. In Proceedings of the Proceedings of AISTATS, 2020; pp. 2938–2948. [Google Scholar]
  31. Lyu, L.; Yu, H.; Yang, Q. Threats to Federated Learning: A Survey. arXiv 2020, arXiv:2003.02133. [Google Scholar]
  32. Ziller, A.; Usynin, D.; Braren, R.; Gruening, P.; Kaissis, G.; Passerat-Palmbach, J.; Ziller, A.; Rueckauer, J.; Mazzone, D.; et al. Medical Imaging Deep Learning with Confidential Computing. arXiv 2021, arXiv:2104.00967. [Google Scholar]
  33. Caldas, S.; Konečnỳ, J.; McMahan, H.B.; Talwalkar, A. LEAF: A Benchmark for Federated Settings. arXiv 2018, arXiv:1812.01097. [Google Scholar]
  34. Lai, F.; Dai, Y.; Singapuram, S.S.; Liu, J.; Zhu, X.; Madhyastha, H.V.; Chowdhury, M. FedScale: Benchmarking Model and System Performance of Federated Learning at Scale. Proceedings of the Proceedings of the 39th International Conference on Machine Learning (ICML) 2022, Vol. 162, Proceedings of Machine Learning Research, pp. 11814–11827.
  35. Jiang, J.; Li, A.; Wang, J.; Liu, Y.; Zhang, J.; et al. FLBench: A Benchmark Suite for Federated Learning. arXiv 2022, arXiv:2206.01832. [Google Scholar]
  36. Ogier du Terrail, J.; Ayed, S.S.; Cyffers, E.; Grimberg, F.; He, C.; Loeb, R.; Mangold, P.; Marchand, T.; Marfoq, O.; Mushtaq, E.; et al. FLamby: Datasets and Benchmarks for Cross-Silo Federated Learning in Realistic Healthcare Settings. Proc. Adv. Neural Inf. Process. Syst. 2022, Vol. 35, 5315–5334. [Google Scholar] [CrossRef]
  37. LeCun, Y.; Cortes, C.; Burges, C.J.C. MNIST Handwritten Digit Database. ATT Labs 2010. [Google Scholar] [CrossRef]
  38. LeCun, Y.; Bengio, Y.; Hinton, G. Deep Learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
  39. Peng, C.; Zou, D.; Xu, J.; Wu, Z.; Ma, M.; Gao, W. A Survey on Virtualization Technologies. ACM Comput. Surv. 2015, 47, 1–36. [Google Scholar]
  40. Felter, W.; Ferreira, A.; Rajamony, R.; Rubio, J. An Updated Performance Comparison of Virtual Machines and Linux Containers. In Proceedings of the 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), 2015; pp. 171–172. [Google Scholar] [CrossRef]
  41. Reddi, S.J.; Charles, Z.; Zaheer, M.; Garrett, Z.; Rush, K.; Konečnỳ, J.; Kumar, S.; McMahan, H.B. Adaptive Federated Optimization. In Proceedings of the Proceedings of ICLR, 2021. [Google Scholar]
Figure 1. Final test accuracy (round 10) by framework for MNIST and CIFAR-10. Hatched bars: native runners.
Figure 1. Final test accuracy (round 10) by framework for MNIST and CIFAR-10. Hatched bars: native runners.
Preprints 222589 g001
Figure 2. Accuracy improvement from round 1 to round 10 (percentage points). Left: MNIST; right: CIFAR-10.
Figure 2. Accuracy improvement from round 1 to round 10 (percentage points). Left: MNIST; right: CIFAR-10.
Preprints 222589 g002
Figure 3. Global test accuracy versus communication round on MNIST (Phase 1).
Figure 3. Global test accuracy versus communication round on MNIST (Phase 1).
Preprints 222589 g003
Figure 4. Global test cross-entropy loss versus round on MNIST (Phase 1).
Figure 4. Global test cross-entropy loss versus round on MNIST (Phase 1).
Preprints 222589 g004
Figure 5. Global test accuracy versus communication round on CIFAR-10 (Phase 2).
Figure 5. Global test accuracy versus communication round on CIFAR-10 (Phase 2).
Preprints 222589 g005
Figure 6. Global test cross-entropy loss versus round on CIFAR-10 (Phase 2).
Figure 6. Global test cross-entropy loss versus round on CIFAR-10 (Phase 2).
Preprints 222589 g006
Table 1. Positioning of this paper relative to prior FL research.
Table 1. Positioning of this paper relative to prior FL research.
Dimension FL surveys [8,11] Scale benchmarks [33,34] Framework docs [13,16] This paper
Primary goal Taxonomy, open problems Scalability, scheduling Single-stack usage Cross-framework performance
Frameworks compared Many (conceptual) 1–2 per study 1 per document 6 (same protocol)
Algorithm fixed No Varies N/A FedAvg only
Model / data fixed No Per benchmark Per tutorial Same CNN, seed, split
Native vs ref. reporting No Partial N/A Explicit labelling
Protocol specification Theory only Partial Informal Section 3
6G / edge motivation Yes Partial Rare Central + future profiles
Documented methodology N/A Partial Partial Protocol + public results [1]
Two-phase difficulty No Per task No MNIST then CIFAR-10
Table 2. Mathematical notation.
Table 2. Mathematical notation.
Symbol Description
K Number of federated clients ( K = 6 in experiments)
D k , n k Local dataset and its cardinality at client k
N Total training samples, N = ∑ k n k
w ∈ R d Global model parameters
w k ( t ) Client k model after local training at round t
t ∈ { 0 , … , T − 1 } Communication round index ( T = 10 )
η Learning rate ( η = 0.01 )
E Local epochs per round ( E = 1 )
B Mini-batch size ( B = 32 )
ℓ ( · , · ) Cross-entropy loss function
f w ( · ) CNN classifier
Acc ( t ) Global test accuracy after round t
C round Communication bytes per federated round
Table 3. Fixed hyperparameters for both experimental phases.
Table 3. Fixed hyperparameters for both experimental phases.
Parameter Value
Clients 6
Communication rounds 10
Local epochs per round 1
Batch size 32
Learning rate 0.01
Data partition IID (uniform random split)
Random seed 42
Aggregation FedAvg (sample-size weighted)
Network profile Ideal (0 ms latency, unlimited bandwidth)
Table 4. Framework runner fidelity.
Table 4. Framework runner fidelity.
Framework Runner SDK version
Flower Native (Flower simulation) 1.31.0
TFF Native (TensorFlow Federated) 0.85.0
FedML PyTorch FedAvg reference —
NVFlare PyTorch FedAvg reference —
OpenFL PyTorch FedAvg reference —
PySyft PyTorch FedAvg reference —
Table 5. Phase 1: MNIST results (round 10).
Table 5. Phase 1: MNIST results (round 10).
Framework Impl. Acc. (%) Loss Time (min) Comm. (MB)
OpenFL ref. 99.35 0.0201 27.8 798
FedML ref. 99.31 0.0222 28.5 798
NVFlare ref. 99.28 0.0210 28.6 798
TFF native 99.27 0.0204 23.4 —
Flower native 99.24 0.0199 42.1 —
PySyft ref. 99.22 0.0220 27.8 798
Table 6. Phase 2: CIFAR-10 results (round 10).
Table 6. Phase 2: CIFAR-10 results (round 10).
Framework Impl. Acc. (%) Loss Time (min) Comm. (MB)
TFF native 71.74 0.823 23.2 —
Flower native 68.84 0.896 24.2 —
NVFlare ref. 68.36 0.909 22.7 281
FedML ref. 68.09 0.909 23.2 281
PySyft ref. 68.25 0.921 22.9 281
OpenFL ref. 67.84 0.933 23.5 281
Table 7. Research question summary.
Table 7. Research question summary.
RQ Finding
RQ1 MNIST: equivalent accuracy (∼99.3%); TFF fastest native (23.4 min), Flower slowest (42.1 min).
RQ2 CIFAR-10: TFF leads by ∼3.4 pp; accuracy gaps emerge only under harder tasks.
RQ3 Reference FedAvg: ∼798 MB (MNIST) and ∼281 MB (CIFAR-10) over ten ideal-network rounds.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.