A Comparative Study of Federated Learning Frameworks for IoT-Driven Smart Cities
DOI:
https://doi.org/10.5433/1679-0375.2026.v47.53937Keywords:
smart city, internet of things, machine learning, federated learning, privacyAbstract
The integration of Machine Learning (ML) with smart cities offers promising solutions for analyzing IoT (Internet of Things) data. However, conventional ML approaches often struggle to balance accuracy and computational costs, particularly in heterogeneous and resource-constrained IoT environments. Federated Learning (FL) has emerged as an alternative, enabling privacy-preserving collaborative learning across distributed devices while reducing centralized data collection. Over the past decade, both industry and academia have contributed to a growing ecosystem of FL frameworks with distinct functionalities and design choices. Despite this progress, research on FL in smart cities remains limited, making it difficult to assess framework suitability for real-world use cases. This paper presents a comparative analysis of FL frameworks in engineering-oriented smart city scenarios. We evaluate representative frameworks, focusing on Flower and NVFlare, using datasets derived from IoT infrastructures. The results highlight the trade-offs of FL compared to conventional ML, offering insights for researchers, engineers, and decision-makers.
Downloads
References
Adhikari, U., Pan, S., Morris, T., Borges, R., & Beaver, J. (2014). Industrial control system (ICS) cyber attack datasets: Power system datasets. https://sites.google.com/a/uah.edu/tommy-morris-uah/icsdata-sets
Al-Huthaifi, R., Li, T., Huang, W., Gu, J., & Li, C. (2023). Federated learning in smart cities: Privacy and security survey. Information Sciences, 632, 833–857. https://doi.org/10.1016/j.ins.2023.03.033
Alla, K. R., & Thangarasu, G. (2023). Federated learning for IoT devices in smart cities: A particle swarm optimization-based approach. In Institute of Electrical and Electronics Engineers, International Conference SmartTechCon [Proceedings]. Second International Conference on Smart Technologies for Smart Nation, Singapore, Singapore, 730–734. https://doi.org/10.1109/SmartTechCon57526.2023.10391420
Annas, G. J. (2003). HIPAA regulations—a new era of medical-record privacy? New England Journal of Medicine, 348(15), 1486–1490. https://doi.org/10.1056/NEJMlim035027
Arafeh, M., Hammoud, A., Otrok, H., Mourad, A., Talhi, C., & Dziong, Z. (2022). Independent and identically distributed (IID) data assessment in federated learning. In Institute of Electrical and Electronics Engineers, GLOBECOM 2022 [Proceedings]. Global Communications Conference, Rio de Janeiro, Brazil, 293–298. https://doi.org/10.1109/GLOBECOM48099.2022.10001718
Banabilah, S., Aloqaily, M., Alsayed, E., Malik, N., & Jararweh, Y. (2022). Federated learning review: Fundamentals, enabling technologies, and future applications. Information Processing & Management, 59(6), 103061.
Beutel, D. J., Topal, T., Mathur, A., Qiu, X., Fernandez-Marques, J., Gao, Y., Sani, L., Li, K. H., Parcollet, T., de Gusmão, P. P. B., & Lane, N. D. (2022). Flower: A friendly federated learning research framework [Preprint]. Arxiv, 1–15. https://arxiv.org/abs/2007.14390
Blinder, A., & Perlroth, N. (2018). A cyberattack hobbles Atlanta, and security experts shudder. The New York Times, 27. https://www.nytimes.com/2018/03/27/us/cyberattack-atlanta-ransomware.html
Cho, H., Mathur, A., & Kawsar, F. (2022). Flame: Federated learning across multi-device environments. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 6(3), 1–29. https://doi.org/10.1145/355028
Cui, L., Xie, G., Qu, Y., Gao, L., & Yang, Y. (2018). Security and privacy in smart cities: Challenges and opportunities. IEEE Access, 6, 46134–46145. https://doi.org/10.1109/ACCESS.2018.2853985
Djenouri, Y., Michalak, T. P., & Lin, J. C. (2023). Federated deep learning for smart city edge-based applications. Future Generation Computer Systems, 147, 350–359. https://doi.org/10.1016/j.future.2023.04.034
Ekmefjord, M., Ait-Mlouk, A., Alawadi, S., Åkesson, M., Singh, P., Spjuth, O., Toor, S., & Hellander, A. (2022). Scalable federated machine learning with FEDn [Preprint]. Arxiv, 1–15. https://arxiv.org/abs/2103.00148
Foley, P., Sheller, M. J., Edwards, B., Pati, S., Riviera, W., Sharma, M., Moorthy, P. N., Wang, S., Martin, J., Mirhaji, P., Shah, P., & Bakas, S. (2022). OpenFL: The open federated learning library. Physics in Medicine & Biology, 67(21), 214001. https://doi.org/10.1088/1361-6560/ac97d9
Galtier, M. N., & Marini, C. (2019). Substra: A framework for privacy-preserving, traceable and collaborative machine learning [Preprint]. Arxiv, 1–22. https://arxiv.org/abs/1910.11567
Georgiou, D., & Lambrinoudakis, C. (2021). Data protection impact assessment (DPIA) for cloud-based health organizations. Future Internet, 13(3), 66. https://doi.org/10.3390/fi13030066
Gracias, J. S., Parnell, G. S., Specking, E., Pohl, E. A., & Buchanan, R. (2023). Smart cities—a structured literature review. Smart Cities, 6(4), 1719–1743. https://doi.org/10.3390/smartcities6040080
Hasan, J. (2023). Security and privacy issues of federated learning [Preprint]. Arxiv, 1–6. https://arxiv.org/abs/2307.12181
He, C., Li, S., So, J., Zeng, X., Zhang, M., Wang, H., Wang, X., Vepakomma, P., Singh, A., Qiu, H., Zhu, X., Wang, J., Shen, L., Zhao, P., Kang, Y., Liu, Y., Raskar, R., Yang, Q., Annavaram, M., & Avestimehr, S. (2020). FedML: A research library and benchmark for federated machine learning [Preprint]. Arxiv, 1–18. https://arxiv.org/abs/2007.13518
Heidari, A., Navimipour, N. J., & Unal, M. (2022). Applications of ML/DL in the management of smart cities and societies: A systematic literature review. Sustainable Cities and Society, 85, 104089. https://doi.org/10.1016/j.scs.2022.104089
Heyndrickx, W., Mervin, L., Morawietz, T., Sturm, N., Friedrich, L., Zalewski, A., Pentina, A., Humbeck, L., Oldenhof, M., Niwayama, R., Schmidtke, P., Fechner, N., Simm, J., Arany, A., Drizard, N., Jabal, R., Afanasyeva, A., Loeb, R., Verma, S., & Ceulemans, H. (2022). MELLODDY: cross pharma federated learning at unprecedented scale unlocks benefits in QSAR without compromising proprietary information [Preprint]. Chemrxiv, 1–23. https://doi.org/10.26434/chemrxiv-2022-ntd3r
Jain, A., Gue, I. H., & Jain, P. (2023). Research trends, themes, and insights on artificial neural networks for smart cities towards SDG-11. Journal of Cleaner Production, 412, 137300. https://doi.org/10.1016/j.jclepro.2023.137300
Jiang, J. C., Kantarci, B., Oktug, S., & Soyata, T. (2020). Federated learning in smart city sensing: Challenges and opportunities. Sensors, 20(21), 6230. https://doi.org/10.3390/s20216230
Karimireddy, S. P., Veeraragavan, N. R., Elvatun, S., & Nygård, J. F. (2023). Federated learning showdown: The comparative analysis of federated learning frameworks. In Institute of Electrical and Electronics Engineers, FMEC 2023 [Proceedings]. Eighth International Conference on Fog and Mobile Edge Computing. https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=10305961
Konečný, J., McMahan, B., & Ramage, D. (2015). Federated optimization: Distributed optimization beyond the datacenter datacenter [Preprint]. Arxiv, 1–5. https://arxiv.org/abs/1511.03575
Krawczyk, H., Paterson, K. G., & Wee, H. (2013). On the security of the TLS protocol: A systematic analysis. In R. Canetti & J. A. Garay (Eds.), Advances in Cryptology – CRYPTO 2013 (pp. 429–448). Springer. https://doi.org/10.1007/978-3-642-40041-4_24
Kuang, Z., & Chen, C. (2023). Research on smart city data encryption and communication efficiency improvement under federated learning framework. Egyptian Informatics Journal, 24(2), 217–227. https://doi.org/10.1016/j.eij.2023.02.005
Li, X., Moreschini, S., Zhang, Z., & Taibi, D. (2022). Exploring factors and metrics to select open source software components for integration: An empirical study. Journal of Systems and Software, 188, 111255. https://doi.org/10.1016/j.jss.2022.111255
Liu, Y., Fan, T., Chen, T., Xu, Q., & Yang, Q. (2021). FATE: An industrial grade platform for collaborative learning with data protection. Journal of Machine Learning Research, 22, 1–6. https://doi.org/https://www.jmlr.org/papers/v22/20-815.html
Liu, Y., Kang, Y., Zou, T., Pu, Y., He, Y., Ye, X., Ouyang, Y., Zhang, Y.-Q., & Yang, Q. (2024). Vertical federated learning: Concepts, advances, and challenges. IEEE Transactions on Knowledge and Data Engineering, 36(7), 3615–3634. https://doi.org/10.1109/tkde.2024.3352628
Majeed, U., Khan, L. U., Yaqoob, I., Kazmi, S. M. A., Salah, K., & Hong, C. S. (2021). Blockchain for IoT-based smart cities: Recent advances, requirements, and future challenges. Journal of Network and Computer Applications, 181, 103007. https://doi.org/10.1016/j.jnca.2021.103007
McMahan, H. B., Moore, E., Ramage, D., Hampson, S., & y Arcas, B. A. (2023). Communication-efficient learning of deep networks from decentralized data [Preprint]. Arxiv, 1–11. https://arxiv.org/abs/1602.05629
Menegazzo, J., & von Wangenheim, A. (2020). Multi-contextual and multi-aspect analysis for road surface type classification through inertial sensors and deep learning. In Institute of Electrical and Electronics Engineers, Brazilian Symposium on Computing Systems Engineering (SBESC) [Proceedings]. 10º Brazilian Symposium on Computing Systems Engineering (SBESC), Florianopolis, Brazil. https://doi.org/10.1109/SBESC51047.2020.9277846
Moncada-Torres, A., Martin, F., Sieswerda, M., Soest, J., & Geleijnse, G. (2021). Vantage6: An open source privacy preserving federated learning infrastructure for secure insight exchange. AMIA Annual Symposium Proceedings Archive, 2020, 870–877. https://pmc.ncbi.nlm.nih.gov/articles/PMC8075508/
Mugunthan, V., Polychroniadou, A., Byrd, D., & Balch, T. H. (2019). SMPAI: Secure multi-party computation for federated learning. In Annual Conference on Neural Information Processing Systems [Proceedings]. 33rd Annual Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada. https://www.jpmorgan.com/content/dam/jpm/cib/complex/content/technology/airesearch-publications/pdf-9.pdf
Nguyen, H., Nawara, D., & Kashef, R. (2024). Connecting the indispensable roles of IoT and artificial intelligence in smart cities: A survey. Journal of Information and Intelligence, 2(3), 261–285. https://doi.org/10.1016/j.jiixd.2024.01.003
Park, J., & Lim, H. (2022). Privacy-preserving federated learning using homomorphic encryption. Applied Sciences, 12(2), 734. https://doi.org/10.3390/app12020734
Rana, O., Spyridopoulos, T., Hudson, N., Baughman, M., Chard, K., Foster, I., & Khan, A. (2023). Hierarchical and decentralised federated learning [Preprint]. Arxiv, 1–11. https://arxiv.org/abs/2304.14982
Riedel, P., Schick, L., von Schwerin, R., Reichert, M., Schaudt, D., & Hafner, A. (2024). Comparative analysis of open-source federated learning frameworks – a literature-based survey and review. International Journal of Machine Learning and Cybernetics, 15, 5257–5278. https://doi.org/10.1007/s13042-024-02234-z
Roth, H. R., Cheng, Y., Wen, Y., Yang, I., Xu, Z., Hsieh, Y.-T., Kersten, K., Harouni, A., Zhao, C., Lu, K., Zhang, Z., Li, W., Myronenko, A., Yang, D., Yang, S., Rieke, N., Quraini, A., Chen, C., Xu, D., ... Feng, A. (2022). NVIDIA FLARE: Federated learning from simulation to real-world [Preprint]. Arxiv, 1–13. https://arxiv.org/abs/2210.13291
Ryu, M., Kim, Y., Kim, K., & Madduri, R. K. (2022). APPFL: Open-source software framework for privacy-preserving federated learning. In Institute of Electrical and Electronics Engineers, IPDPSW 2022 [Proceedings]. International Parallel and Distributed Processing Symposium Workshops, Lyon, France. https://doi.org/10.1109/IPDPSW55747.2022.00175
Spinellis, D. (2019). How to select open source components. Computer, 42(12), 103–106. https://doi.org/10.1109/MC.2019.2940809
The European Parliament and the Council of the European Union. (2016). Regulation (EU) 2016/679. http://data.europa.eu/eli/reg/2016/679/oj
Ullah, A., Anwar, S. M., Li, J., Nadeem, L., Mahmood, T., Rehman, A., & Saba, T. (2024). Smart cities: The role of internet of things and machine learning in realizing a data-centric smart environment. Complex & Intelligent Systems, 10(1), 1607–1637. https://doi.org/10.1007/s40747-023-01175-4
Vaizman, Y., Ellis, K., & Lanckriet, G. (2017). Recognizing detailed human context in the wild from smartphones and smartwatches. IEEE Pervasive Computing, 16(4), 62–74. https://doi.org/10.1109/MPRV.2017.3971131
Valente, R., Senna, C., Rito, P., & Sargento, S. (2023). Federated learning framework to decentralize mobility forecasting in smart cities. In Institute of Electrical and Electronics Engineers, NOMS 2023 [Proceedings]. IEEE/IFIP Network Operations and Management Symposium, Miami, FL, USA, 1–5. https://doi.org/10.1109/NOMS56928.2023.10154456
Wang, B., Li, H., Guo, Y., & Wang, J. (2023). Ppflhe: A privacy-preserving federated learning scheme with homomorphic encryption for healthcare data. Applied Soft Computing, 146, 110677.
Wang, B., & Li, Z. (2021). Healthchain: A privacy protection system for medical data based on blockchain. Future Internet, 13(10), 247. https://doi.org/10.3390/fi13100247
Wei, K., Li, J., Ding, M., Ma, C., Yang, H. H., Farhad, F., Jin, S., Quek, T. Q. S., & Poor, H. V. (2019). Federated learning with differential privacy: Algorithms and performance analysis [Preprint]. Arxiv, 1–15. https://arxiv.org/abs/1911.00222
Wu, P., Zhang, Z., Peng, X., & Wang, R. (2024). Deep learning solutions for smart city challenges in urban development. Scientific Reports, 14(1), 5176. https://doi.org/10.1038/s41598-024-55928-3
Xie, Y., Wang, Z., Gao, D., Chen, D., Yao, L., Kuang, W., Li, Y., Ding, B., & Zhou, J. (2022). FederatedScope: A flexible federated learning platform for heterogeneity. Proceedings of the VLDB Endowment, 16(5), 1059–1072. https://doi.org/10.14778/3579075.3579081
Yuan, L., Wang, Z., Sun, L., Yu, P. S., & Brinton, C. G. (2024). Decentralized federated learning: A survey and perspective. IEEE Internet of Things Journal, 11(21), 34617–34638. https://doi.org/10.1109/JIOT.2024.3407584
Zhang, X., Yin, W., Hong, M., & Chen, T. (2021). Hybrid federated learning: Algorithms and implementation [Preprint]. Arxiv, 1–8. https://arxiv.org/abs/2012.12420
Zhu, H., Xu, J., Liu, S., & Jin, Y. (2021). Federated learning on non-IID data: A survey [Preprint]. Arxiv, 1–29. https://arxiv.org/abs/2106.06843
Ziller, A., Trask, A., Lopardo, A., Szymkow, B., Wagner, B., Bluemke, E., Nounahon, J. M., Passerat-Palmbach, J., Prakash, K., Rose, N., Ryffel, T., Reza, Z. N., & Kaissis, G. (2021). PySyft: A library for easy federated learning. In Rehman, M. H., & Gaber, M. M. (Eds.), Federated Learning Systems. Studies in Computational Intelligence (Vol. 965, pp. 111–139). Springer. https://doi.org/10.1007/978-3-030-70604-3_5
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Leandro di Lauro, Bruno Bogaz Zarpelao, Sylvio Barbon Junior

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
The Copyright Declaration for articles published in this journal is the author's right. Since manuscripts are published in an open access Journal, they are free to use, with their own attributions, in educational and non-commercial applications. The Journal has the right to make, in the original document, changes regarding linguistic norms, orthography, and grammar, with the purpose of ensuring the standard norms of the language and the credibility of the Journal. It will, however, respect the writing style of the authors. When necessary, conceptual changes, corrections, or suggestions will be forwarded to the authors. In such cases, the manuscript shall be subjected to a new evaluation after revision. Responsibility for the opinions expressed in the manuscripts lies entirely with the authors.
This journal is licensed with a license Creative Commons Attribution-NonCommercial 4.0 International.