Blockchain-Based Federated Learning for Privacy-Preserving AI in Smart City
Keywords:
Smart Cities, Federated Learning, Blockchain, Privacy-Preserving AI, IoT, Edge Computing, Proof-of-AuthorityAbstract
Artificial Intelligence (AI) becomes more and more common in infrastructures of Smart Cities with the use of AI to optimize traffic, manage energy consumption, and monitor the environment. There are however major concerns that come with centralized AI training such as privacy risk, governance of data, and single points of failure. The paper introduces a blockchain-enabled federated learning (hereinafter, BFL) framework to organize the training of AI models to ensure privacy and decentralization of training processes on heterogeneous internet of things (IoT) devices located in the urban setting. The framework uses a lightweight Proof-of-Authority (PoA) blockchain to securely, tamper-proof aggregate and log transparent participation and actively uses adaptive compression techniques in model communication and storage costs. An incentive mechanism can be set up with the help of a smart contract to welcome a wider range of stakeholders in the city. Experimental analysis conducted on the METR-LA traffic dataset shows that BFL can attain similar performance evaluation to the centralized methods whilst having lower privacy leakage risks, possessing low blockchain latency (<200 ms), and saving 45 percent in communication expense. The suggested framework gives a scalable and trustworthy AI training scheme to intelligent cities.
References
K. Venigandla, N. Vemuri, and E. Nnamere Aneke, “Empowering Smart Cities with AI and RPA: Strategies for Intelligent Urban Management and Sustainable Development,” int.jour.sci.res.mana, vol. 12, no. 04, pp. 1117–1125, Apr. 2024, doi: 10.18535/ijsrm/v12i04.ec02.
J. R. Martinez-Mireles, M. A. Garcia-Marquez, A. Austria-Cornejo, R. A. Figueroa-Diaz, J. Rodriguez-Flores, and B. B. Garcia-Escorza, “Integrating AI in Green and Blue Infrastructure for Sustainable Smart Cities,” Igi Global, 2025, pp. 337–364. doi: 10.4018/979-8-3693-8074-1.ch014.
Matei and M. Cocoșatu, “Artificial Internet of Things, Sensor-Based Digital Twin Urban Computing Vision Algorithms, and Blockchain Cloud Networks in Sustainable Smart City Administration,” Sustainability, vol. 16, no. 16, p. 6749, Aug. 2024, doi: 10.3390/su16166749.
V. S. Barletta, D. Caivano, M. De Vincentiis, A. Pal, and M. Scalera, “Hybrid quantum architecture for smart city security,” Journal of Systems and Software, vol. 217, p. 112161, July 2024, doi: 10.1016/j.jss.2024.112161.
S. Farooq, B. Farooq, S. Basheer, and S. Walia, “Balancing Environmental Sustainability and Privacy Ethical Dilemmas in AI-Enabled Smart Cities,” Igi Global, 2023, pp. 263–286. doi: 10.4018/979-8-3693-0892-9.ch013.
E. Dritsas and M. Trigka, “Machine Learning for Blockchain and IoT Systems in Smart Cities: A Survey,” Future Internet, vol. 16, no. 9, p. 324, Sept. 2024, doi: 10.3390/fi16090324.
F. Javed, E. Zeydan, J. Mangues-Bafalluy, K. Dev, and L. Blanco, “Blockchain for Federated Learning in the Internet of Things: Trustworthy Adaptation, Standards, and the Road Ahead,” Mar. 31, 2025. doi: 10.48550/arxiv.2503.23823.
R. Alsabt, Y. A. Adenle, and H. M. Alshuwaikhat, “Exploring the Roles, Future Impacts, and Strategic Integration of Artificial Intelligence in the Optimization of Smart City—From Systematic Literature Review to Conceptual Model,” Sustainability, vol. 16, no. 8, p. 3389, Apr. 2024, doi: 10.3390/su16083389.
M. K. Singar, N. Saraswat, G. Shukla, and K. Suneetha, “Artificial Intelligence’s Role in Shaping Renewable Energy for Next-Generation Smart Cities,” E3S Web of Conf., vol. 540, p. 08014, Jan. 2024, doi: 10.1051/e3sconf/202454008014.
Gomes, M. R. Karim, and N. M. Islam, “Data-Driven Environmental Risk Management and Sustainability Analytics,” NHJ, vol. 1, no. 01, pp. 100–113, Oct. 2024, doi: 10.70008/jmldeds.v1i01.46.
D. Gowri, D. Babu, D. Krishna, and D. Krishnaveni, “Enhancing Sustainability: Exploring IoT Integration in Renewable Energy Infrastructure,” Int Res J Adv Engg Hub, vol. 2, no. 04, pp. 793–800, Apr. 2024, doi: 10.47392/irjaeh.2024.0111.
X. Li, Y. An, Y. Hu, X. Xiao, J. Yang, and L. Zeng, “Blockchain‐based federated learning approaches in internet of things applications,” Security and Privacy, vol. 7, no. 6, June 2024, doi: 10.1002/spy2.435.
Y. Zhang, B. Suleiman, M. J. Alibasa, and F. Farid, “Privacy-Aware Anomaly Detection in IoT Environments using FedGroup: A Group-Based Federated Learning Approach,” J Netw Syst Manage, vol. 32, no. 1, Jan. 2024, doi: 10.1007/s10922-023-09782-9.
J. Ahn, M. Kim, and E. Yi, “Blockchain Consensus Mechanisms: A Bibliometric Analysis (2014–2024) Using VOSviewer and R Bibliometrix,” Information, vol. 15, no. 10, p. 644, Oct. 2024, doi: 10.3390/info15100644.
Abellán Álvarez, V. Gramlich, and J. Sedlmeir, “Unsealing the secrets of blockchain consensus: A systematic comparison of the formal security of proof-of-work and proof-of-stake,” Association for Computing Machinery, Apr. 2024, pp. 278–287. doi: 10.1145/3605098.3635970.
Y. Qu et al., “Decentralized Privacy Using Blockchain-Enabled Federated Learning in Fog Computing,” IEEE Internet Things J., vol. 7, no. 6, pp. 5171–5183, June 2020, doi: 10.1109/jiot.2020.2977383.
X. Qu, Q. Hu, X. Cheng, and S. Wang, “Proof of Federated Learning: A Novel Energy-Recycling Consensus Algorithm,” IEEE Trans. Parallel Distrib. Syst., vol. 32, no. 8, pp. 2074–2085, May 2020, doi: 10.1109/tpds.2021.3056773.
Y. Lan, B. Li, Y. Liu, and C. Miao, “Proof of Learning (PoLe): Empowering Machine Learning with Consensus Building on Blockchains (Demo),” AAAI, vol. 35, no. 18, pp. 16063–16066, May 2021, doi: 10.1609/aaai.v35i18.18013.
Wahrstätter, S. Khan, and D. Svetinovic, “OpenFL: A scalable and secure decentralized federated learning system on the Ethereum blockchain,” Internet of Things, vol. 26, p. 101174, Mar. 2024, doi: 10.1016/j.iot.2024.101174.
S. Srinivasan, “A Novel Approach Integrating IoT and WSN with Predictive Modeling and Optimization for Enhancing Efficiency and Sustainability in Smart Cities,” jes, vol. 20, no. 4s, pp. 2228–2237, Apr. 2024, doi: 10.52783/jes.2393.
V. Choudhary, H. B. Lim, J. H. Teh, and V. Beltran, “AirQ: A Smart IoT Platform for Air Quality Monitoring,” Institute Of Electrical Electronics Engineers, Jan. 2020, pp. 1–2. doi: 10.1109/ccnc46108.2020.9045550.
X. Dong, W. Zhao, H. Zhang, H. Han, and Z. Zhu, “MTESformer: Multi-Scale Temporal and Enhance Spatial Transformer for Traffic Flow Prediction,” IEEE Access, vol. 12, pp. 47231–47245, Jan. 2024, doi: 10.1109/access.2024.3381987.
R. Jiang et al., “Spatio-Temporal Meta-Graph Learning for Traffic Forecasting,” AAAI, vol. 37, no. 7, pp. 8078–8086, June 2023, doi: 10.1609/aaai.v37i7.25976.
O. F. Isife, A. A. Vincent, R. E. Subair, M. E. Awomoyi, I. P. Okokpujie, and K. Okokpujie, “Development of a Malicious Network Traffic Intrusion Detection System Using Deep Learning,” IJSSE, vol. 13, no. 4, pp. 587–595, Sept. 2023, doi: 10.18280/ijsse.130401.

