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:
federated learning
; 6G
; edge computing
; framework comparison
; FedAvg
; MNIST
; CIFAR-10
; performance evaluation
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 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 , 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
- Model quality — global test accuracy and cross-entropy loss after each of communication rounds;
- Computational efficiency — total wall-clock time on a documented Proxmox containerized testbed;
- Communication cost — simulated parameter traffic 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.
2. Related Work
2.1. Federated Learning at the 6G Edge
Federated learning was introduced as a communication-efficient approach for training deep models on decentralized data [10,19]. Comprehensive surveys document algorithms, privacy mechanisms, and open problems [11,21,23]. For wireless and mobile networks, FL surveys emphasize latency, bandwidth, and heterogeneity constraints at the edge [8,12]. Sixth-generation network visions and FL-specific 6G surveys explicitly motivate distributed machine learning close to users and devices [2,3,4,5,20], while edge-computing literature argues that intelligence should be pushed toward the network periphery [6,7,9]. Our work sits at this intersection: we do not yet model full 6G radio channels, but we establish reproducible framework baselines that future work can extend with bandwidth and latency profiles aligned to IMT-2030 usage scenarios [2].
Non-IID data, stragglers, and heterogeneous compute remain active research topics [24,25,26,27]. Security and privacy extensions—secure aggregation [28], differential privacy [29], and poisoning attacks [30,31]—are orthogonal to our Phase 1–2 ideal-network study but motivate the benchmark harness as a platform for later security chapters.
2.2. FL Frameworks and Tooling
Multiple open-source FL frameworks target different ecosystems. Flower provides a framework-agnostic client–server abstraction widely used in research [16]. TensorFlow Federated (TFF) integrates tightly with TensorFlow and supports simulation at scale [17]. FedML targets cross-device and cross-silo production workflows with a unified research library [13]. NVIDIA FLARE focuses on enterprise and regulated deployments, including clinical use cases [14]. OpenFL supports Intel-based federated research clusters [18]. PySyft emphasizes privacy-preserving and encrypted computation over distributed data [15,32].
Each project publishes tutorials and performance claims for its own runtime. However, framework documentation typically demonstrates a single stack under settings chosen by the vendor. Cross-framework comparisons are rarely conducted with matched models, optimizers, random seeds, and aggregation semantics. Because frameworks are not interoperable in one federated round, fair comparison requires a disciplined experimental protocol—the gap our study addresses.
2.3. FL Benchmarks and Empirical Studies
Several benchmark suites study federated learning at scale or in realistic domains. LEAF provides federated datasets and reference implementations for natural user partitions [33]. FedScale benchmarks system and model performance with thousands of clients, focusing on scalability and scheduling [34]. FLBench proposes a broader benchmark suite across tasks and algorithms [35]. FLamby targets healthcare cross-silo settings with domain-realistic datasets [36]. These contributions advance FL methodology and scale but generally emphasize algorithms, datasets, or system scheduling rather than answering: given the same FedAvg job, how do today’s popular Python FL frameworks differ in accuracy, time, and bytes?
2.4. Research Gap and Added Value
Table 1 contrasts our study with representative prior lines of work. Existing resources are complementary; none simultaneously (i) compare six mainstream frameworks under locked hyperparameters and model topology, (ii) formalize the exact FedAvg and communication equations implemented, (iii) publish per-round benchmark metrics and global model checkpoints alongside a containerized evaluation protocol [1], and (iv) structure experiments as a two-phase MNIST→CIFAR-10 progression aimed at 6G edge vision workloads.
Added value. This paper makes four concrete contributions beyond prior surveys and benchmarks:
- 1.
- Controlled multi-framework comparison. We execute Flower, TFF, FedML, NVFlare, OpenFL, and PySyft under one protocol (six IID clients, ten rounds, , , seed 42), isolating framework/runtime effects from algorithmic diversity.
- 2.
- Evidence that task difficulty matters. MNIST shows near-identical accuracy ( pp spread) but 80% wall-time variation; CIFAR-10 exposes a pp accuracy gap (TFF vs. PyTorch runners). This supports the methodological claim that easy datasets alone are insufficient for framework selection in edge vision scenarios.
- 3.
- Documented 6G-oriented testbed. Proxmox virtual machines, per-framework container images, and a unified evaluation harness with per-round metric logging provide a transparent experimental record; benchmark metrics and global checkpoints are published in [1].
- 4.
- Foundation for thesis extensions. Communication baselines (∼798 MB MNIST, ∼281 MB CIFAR-10) and the documented evaluation pipeline provide a starting point for 6G network profiles (eMBB, URLLC, mMTC), non-IID Dirichlet partitions [24], and security experiments [28,30] without redesigning the study design.
To our knowledge, this is among the first studies to report head-to-head FedAvg metrics for six widely cited Python FL frameworks with explicit native-versus-reference implementation labels, a formal communication-cost model, and publicly released result artifacts [1].
3. Materials and Methods
3.1. Problem Formulation
We consider a cross-device federated learning setting with K clients indexed by [10,11]. Client k holds a private dataset drawn from an unknown distribution over the input–label space . Let denote the total number of training samples. Each client trains a model parameterized by , where d is the number of learnable parameters.
The local empirical risk at client k is
where is the neural network mapping, is the cross-entropy loss, and for both MNIST and CIFAR-10. The global federated objective is the sample-size weighted average
In the ideal case, FL seeks without exchanging raw data [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 to all participating clients. Each client k performs E epochs of mini-batch stochastic gradient descent (SGD) on , initialized at . Denoting the local optimizer update by , the client model after local training is
The server aggregates client models by sample-size weighted averaging:
3.3. Evaluation Metrics
After each round t, the global model is evaluated on a held-out test set :
where is the indicator function and is the logit for class c. We also report the average cross-entropy loss on . System-level metrics include total wall-clock time and per-round communication volume. For the reference PyTorch runner, the simulated bytes per round are
where is the serialized model size (upload of client weights plus download of the global model). Over T rounds, . Under constrained 6G uplinks, bounds the minimum transfer time given bandwidth via [8,19].
3.4. Two-Phase Experimental Design
We evaluate frameworks in two phases of increasing difficulty while holding FL hyperparameters constant (Table 3).
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 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 and dataset , 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 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.
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 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 8.
Final test accuracy (round 10) across datasets and frameworks.

Figure 9.
Total simulated FedAvg communication over ten rounds (reference runners only).

Figure 9 plots for reference runners (RQ3). MNIST requires ∼2.8× more bytes than CIFAR-10 (798 vs. 281 MB) because the MNIST CNN yields larger 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 ; (3) plan uplink capacity using 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.
Informed Consent 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
- 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.
- 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/.
- 3rd Generation Partnership Project (3GPP). Release 20. Available online: https://www.3gpp.org/specifications-technologies/releases/release-20.
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Google LLC. TensorFlow Federated Version 0.85.0 used in experiments. 2024. Available online: https://www.tensorflow.org/federated.
- 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]
- 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]
- 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]
- Wang, J.; Liu, Q.; Liang, H.; Joshi, G.; Poor, H.V. A Field Guide to Federated Optimization. arXiv 2021, arXiv:2107.06917. [Google Scholar]
- Krizhevsky, A. Learning Multiple Layers of Features from Tiny Images. In Technical report; University of Toronto, 2009. [Google Scholar]
- 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]
- 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]
- 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]
- 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]
- Stich, S.U. Local SGD Converges Fast and Communicates Little. In Proceedings of the Proceedings of ICLR, 2019. [Google Scholar]
- 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]
- Geyer, R.C.; Klein, T.; Nabi, M. Differentially Private Federated Learning: A Client Level Perspective. arXiv 2017, arXiv:1712.07557. [Google Scholar]
- 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]
- Lyu, L.; Yu, H.; Yang, Q. Threats to Federated Learning: A Survey. arXiv 2020, arXiv:2003.02133. [Google Scholar]
- 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]
- Caldas, S.; Konečnỳ, J.; McMahan, H.B.; Talwalkar, A. LEAF: A Benchmark for Federated Settings. arXiv 2018, arXiv:1812.01097. [Google Scholar]
- 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.
- 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]
- 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]
- LeCun, Y.; Cortes, C.; Burges, C.J.C. MNIST Handwritten Digit Database. ATT Labs 2010. [Google Scholar] [CrossRef]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep Learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef] [PubMed]
- 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]
- 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]
- 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.

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.

Figure 3.
Global test accuracy versus communication round on MNIST (Phase 1).

Figure 4.
Global test cross-entropy loss versus round on MNIST (Phase 1).

Figure 5.
Global test accuracy versus communication round on CIFAR-10 (Phase 2).

Figure 6.
Global test cross-entropy loss versus round on CIFAR-10 (Phase 2).

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.
| Symbol | Description |
|---|---|
| K | Number of federated clients ( in experiments) |
| , | Local dataset and its cardinality at client k |
| N | Total training samples, |
| Global model parameters | |
| Client k model after local training at round t | |
| Communication round index () | |
| Learning rate () | |
| E | Local epochs per round () |
| B | Mini-batch size () |
| Cross-entropy loss function | |
| CNN classifier | |
| Global test accuracy after round t | |
| Communication bytes per federated round |
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.
| 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).
| 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).
| 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.
| 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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
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.