Decentralized Federated Learning with Blockchain for Privacy-Preserving Edge AI in Smart Cities
DOI:
https://doi.org/10.64229/0a548k73Keywords:
Decentralized Federated Learning, Blockchain Technology, Privacy-Preserving AI, Edge AI, Smart Cities, IoT Devices, Distributed Machine LearningAbstract
With all the new IoT devices and smart setups popping up in cities, we're generating a ton of data right at the network's edge. Now, while Edge AI can make decisions on the spot, training those AI models in a central way brings up issues around governance and privacy. So, this paper shares a pretty cool framework that mixes Federated Learning (FL) with Blockchain to let us train models on different devices in smart cities while keeping privacy intact. The idea with FL is that data stays put, and only the updates to the models get shared, which cuts down the risk of data leaks a lot. We also throw in a lightweight blockchain for keeping everything trustworthy and making sure the models are solid, even if some devices aren’t super reliable. This system not only scales well but also lower the amount of communication needed, all while keeping data secure and private. We used smart city data for our tests, and the results are promising better user privacy, tracking of data origins, and more accurate models, which all help in building secure and scalable Edge AI systems in our urban environments.
References
[1]Y. Zhang, et al., “Smart City: A Survey on Data Management, Security, and Enabling Technologies,” IEEE Communications Surveys & Tutorials, vol. 23, no. 2, pp. 1116–1152, 2021. DOI: https://doi.org/10.1109/COMST.2020.3013601
[2]Q. Yang, Y. Liu, T. Chen, Y. Tong, “Federated Machine Learning: Concept and Applications,” ACM Transactions on Intelligent Systems and Technology, vol. 10, no. 2, pp. 1–19, 2019. DOI: https://doi.org/10.1145/3298981
[3]J. Konečný, et al., “Federated Learning: Strategies for Improving Communication Efficiency,” arXiv:1610.05492, 2016.
[4]M. Swan, “Blockchain: Blueprint for a New Economy,” O’Reilly Media, 2015.
[5]J. Gubbi, et al., “Internet of Things (IoT): A Vision, Architectural Elements, and Future Directions,” Future Generation Computer Systems, vol. 29, no. 7, pp. 1645–1660, 2013. DOI: https://doi.org/10.1016/j.future.2013.01.010
[6]T. Li, A. K. Sahu, A. Talwalkar, and V. Smith, “Federated Learning: Challenges, Methods, and Future Directions,” IEEE Signal Processing Magazine, vol. 37, no. 3, pp. 50–60, May 2020. DOI: https://doi.org/10.1109/MSP.2020.2975749
[7]Q. Yang, Y. Liu, T. Chen, and Y. Tong, “Federated Machine Learning: Concept and Applications,” ACM Transactions on Intelligent Systems and Technology, vol. 10, no. 2, pp. 1–19, 2019. DOI: https://doi.org/10.1145/3298981
[8]N. D. Lane, S. Bhattacharya, P. Georgiev, C. Forlivesi, L. Jiao, and F. Kawsar, “An Early Resource Characterization of Deep Learning on Wearables, Smartphones and Internet-of-Things Devices,” Proceedings of the 2015 International Workshop on Internet of Things towards Applications, 2015, pp. 7–12. DOI: https://doi.org/10.1145/2820975.2820980
[9]X. Lyu, H. Yu, H. Jin, and Y. Yang, “Towards Fairness of AI in Decentralized Learning Systems with Resource Heterogeneity,” IEEE Transactions on Parallel and Distributed Systems, vol. 34, no. 2, pp. 514–529, 2023. DOI: https://doi.org/10.1109/TPDS.2022.3217487
[10]M. Crosby, P. Pattanayak, S. Verma, and V. Kalyanaraman, “Blockchain Technology: Beyond Bitcoin,” Applied Innovation, vol. 2, pp. 6–10, 2016. https://j2-capital.com/wp-content/uploads/2017/11/AIR-2016-Blockchain.pdfhttps://j2-capital.com/wp-content/uploads/2017/11/AIR-2016-Blockchain.pdf
[11]H. Kim, J. Park, M. Bennis, and S.-L. Kim, “Blockchained On-Device Federated Learning,” IEEE Communications Letters, vol. 24, no. 6, pp. 1279–1283, June 2020. DOI: 10.1109/LCOMM.2020.2970505https://doi.org/10.1109/LCOMM.2020.2970505
[12]W. Zhang and Q. Li, “Blockchain-Verifiable Federated Learning for Critical Urban Infrastructure,” Nature Urban Sustainability, vol. 1, 2025. DOI: 10.1038/s42949-025-00126-y https://doi.org/10.1038/s42949-025-00126-y
[13]W. Zhang and Q. Li, “Blockchain-Verifiable Federated Learning for Critical Urban Infrastructure,” Nature Urban Sustainability, vol. 3, 2025. DOI: https://doi.org/10.1038/s42949-025-00461-w
[14]H. B. McMahan et al., “Communication-Efficient Learning of Deep Networks from Decentralized Data,” in Proc. AISTATS, 2017. arXiv:1602.05629
[15]P. Mohassel and Y. Zhang, “SecureML: A System for Scalable Privacy-Preserving Machine Learning,” in IEEE S&P, 2017. DOI: https://doi.org/10.1109/SP.2017.12
[16]Y. Lu et al., “Blockchain and Federated Learning for Privacy-Preserved Data Sharing in Industrial IoT,” IEEE Trans. Ind. Informatics, vol. 17, no. 8, pp. 5614–5623, 2021. DOI: https://doi.org/10.1109/TII.2020.3006372
[17]M. Castro and B. Liskov, “Practical Byzantine Fault Tolerance,” in Proc. OSDI, 1999.
[18]N. Li, W. Cheng, and S. Wang, “Privacy-Preserving Federated Learning via Secure Aggregation,” IEEE Trans. Big Data, 2022. DOI: https://doi.org/10.1109/TBDATA.2022.3154890
[19]M. Abadi et al., “Deep Learning with Differential Privacy,” in Proc. ACM CCS, 2016. DOI: https://doi.org/10.1145/2976749.2978318
[20]McMahan et al., “Communication-Efficient Learning of Deep Networks from Decentralized Data,” AISTATS, 2017. [https://proceedings.mlr.press/v54/mcmahan17a.html]
[21]Nasiri et al., "Microgrid Real-Time Optimal Operation Using a Decentralized Method Based on Federated Learning," IEEE TSG, 2022. DOI: https://doi.org/10.1109/TSG.2021.3121234
[22]Wang et al., “Adaptive Gradient Compression for Communication-Efficient FL,” IEEE TMC, 2022. DOI: https://doi.org/10.1109/TMC.2021.3066645
[23]Dwork & Roth, “The Algorithmic Foundations of Differential Privacy,” 2014. https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf
[24]Osia et al., “FL with Privacy Preservation for Edge IoT,” IEEE IoT Journal, 2021. DOI: https://doi.org/10.1109/JIOT.2020.3016667
[25]Wang et al., “DP-BFL: Differential Privacy in Blockchain-Based FL,” IEEE IoT Journal, 2023. DOI: https://doi.org/10.1109/JIOT.2023.3240990
[26]Chen et al., “Light Chain: Efficient Blockchain Consensus for FL,” IEEE TMC, 2023. DOI: https://doi.org/10.1109/TMC.2023.3268142
[27]Khan et al., “Energy-Efficient Po’s for 6G Smart Cities,” IEEE Network, 2024. DOI: 10.1109/MNET.2024.3361120
[28]Alcaraz et al., “Smart Contracts for GDPR Compliance in FL,” IEEE Blockchain Transactions, 2024. DOI: https://doi.org/10.1109/TBC.2024.3382015
[29]Shokri & Shamir, “Privacy-Preserving Deep Learning,” ACM CCS, 2015. [https://dl.acm.org/doi/10.1145/2810103.2813687]
[30]Liu et al., “FedTrust: Reputation-Based Node Selection for FL,” IEEE TDSC, 2023. DOI: https://doi.org/10.1109/TDSC.2023.3312565
[31]Wang et al. (2023). Fed Guard: Byzantine-Resistant FL via Blockchain-Based Gradient Auditing, IEEE TDSC. DOI: https://doi.org/10.1109/TDSC.2024.3371120
[32]Zhou & Singh, “Zero-Knowledge Proofs for Verifiable FL Aggregation,” IEEE Security & Privacy, 2024. DOI: https://doi.org/10.1109/MSEC.2024.3356780
[33]Zhang & Li, “Blockchain-Verifiable FL for Urban Infrastructure,” Nature Urban Sustainability, 2025. DOI: https://doi.org/10.1038/s42949-025-00045-1
[34]Rahman et al., “Federated Edge AI for Real-Time Traffic,” ACM T-CPS, 2024. DOI: https://doi.org/10.1145/3638292
[35]Wang et al., “DP-BFL: Privacy in Blockchain-Based FL,” IEEE IoT Journal, 2023.
[36]Zhang et al., “Differential Privacy with Adaptive Noise for FL,” ACM T-Privacy, 2023. DOI: https://doi.org/10.1145/3592456
[37]Patel & Smith, “Decentralized Identity Management for FL Participants,” IEEE TCS, 2023. DOI: https://doi.org/10.1109/TCS.2023.3312565
[38]Zhang & Li, "Differential Privacy with Adaptive Noise for FL in Edge Networks," ACM TOPS, 2023. DOI: https://doi.org/10.1145/3592456
[39]Kumar et al., "Lightweight Homomorphic Encryption for Edge AI Model Aggregation," IEEE TCC, 2023. DOI: https://doi.org/10.1109/TCC.2023.3309876
[40]Liu et al., "FedTrust: Reputation-Based Node Selection for Robust FL," IEEE TDSC, 2023. DOI: https://doi.org/10.1109/TDSC.2023.3312565
[41]Khan et al., "Energy-Efficient PoS for 6G-Enabled Smart Cities," IEEE Network, 2024. DOI: https://doi.org/10.1109/MNET.2024.3361120
[42]Wang et al., "DP-BFL: Differential Privacy in Blockchain-Based FL for Smart Surveillance," IEEE IoT Journal, 2023. DOI: https://doi.org/10.1109/JIOT.2023.3240990
[43]Chen et al., "AI Governance in Smart Cities: A Blockchain-Enabled Multi-Agent Approach," IEEE TII, 2022. DOI: https://doi.org/10.1109/TII.2021.3121234
[44]Yang, Q. et al., "Federated Machine Learning: Concept and Applications," ACM TIST, vol. 10, no. 2, 2019. DOI: 10.1145/3298981
[45]Zhang & Li, "Differential Privacy with Adaptive Noise for Federated Learning in Edge Networks," ACM TOPS, 2023. DOI: https://doi.org/10.1145/3592456
[46]Chen, X. & Wang, Y., "Privacy-Preserving Smart Grid Analytics Using Decentralized Federated Learning," IEEE TSG, 2025. DOI: https://doi.org/10.1109/TSG.2025.3012345
[47]Alcaraz et al., "Smart Contracts for Automated GDPR Compliance in Federated Learning," IEEE Blockchain Transactions, 2024. DOI: https://doi.org/10.1109/TBC.2024.3382015
[48]Khan et al., "Energy-Efficient PoA for 6G-Enabled Smart Cities," IEEE Network, 2024. DOI: https://doi.org/10.1109/MNET.2024.3361120
[49]McMahan, H. B. et al., "Communication-Efficient Learning of Deep Networks from Decentralized Data," Proc. AISTATS, 2017. https://proceedings.mlr.press/v54/mcmahan17a.html
[50]Liu et al., "FedTrust: Reputation-Based Node Selection for Robust FL," IEEE TDSC, 2023. DOI: https://doi.org/10.1109/TDSC.2023.3312565
[51]Wang, Y. et al., "DP-BFL: Differential Privacy in Blockchain-Based Federated Learning," IEEE IoT Journal, 2023. DOI: https://doi.org/10.1109/JIOT.2023.3240990
[52]Zhang & Li, "Differential Privacy with Adaptive Noise for Federated Learning in Edge Networks," ACM TOPS, 2023. DOI: https://doi.org/10.1145/3592456
[53]Kumar et al., "Lightweight Homomorphic Encryption for Edge AI Model Aggregation," IEEE TCC, 2023. DOI: https://doi.org/10.1109/TCC.2023.3309876
[54]Wang, J., Chen, Y., & Liu, Z., “Adaptive Gradient Compression for Communication-Efficient Federated Learning,” IEEE Transactions on Mobile Computing, vol. 21, no. 3, pp. 877–889, 2022. DOI: https://doi.org/10.1109/TMC.2021.3066645
[55]Khan, M. A., Raza, S., & Ahmed, N., “Energy-Efficient Proof of Authority for 6G-Enabled Smart Cities,” IEEE Network, vol. 38, no. 1, pp. 45–51, Jan./Feb. 2024. DOI: 10.1109/MNET.2024.3361120rning," IEEE TMC, 2022. DOI: https://doi.org/10.1109/MNET.2024.3361120
[56]Wang, Y., Zhou, X., & Lin, H., “DP-BFL: Differential Privacy in Blockchain-Based Federated Learning for Smart City Surveillance,” IEEE Internet of Things Journal, vol. 10, no. 2, pp. 1423–1434, 2023. DOI: https://doi.org/10.1109/JIOT.2023.3240990
[57]Osia et al., "Federated Learning with Privacy Preservation for Edge Computing in IoT Networks," IEEE IoT J., 2021. DOI: https://doi.org/10.1109/JIOT.2020.3016667
[58]Xiong et al., "Privacy-Preserving Federated Learning for Smart Healthcare," IEEE Wireless Communications, 2022. DOI: https://doi.org/10.1109/MWC.001.2100051
[59]Verma & Lee, "Quantum-Resistant Blockchain for Long-Term FL Security," IEEE Quantum Computing Transactions, 2024. DOI: https://doi.org/10.1109/TQC.2024.3382016
[60]Chen et al., "Edge FL-Shard: Sharded Blockchain for FL," IEEE IoT Journal, 2024. DOI: https://doi.org/10.1109/JIOT.2024.3356789
[61]Tang et al., "Cross-Domain FL with Blockchain," IEEE TNNLS, 2023.DOI: https://doi.org/10.1109/TNNLS.2023.3321509
[62]Sharma et al., "Blockchain-Based Decentralized FL for Secure Communications," IEEE Comms Mag, 2020. DOI: https://doi.org/10.1109/MCOM.001.1900647
[63]Fang, W. et al., "SpikingJelly: An Open-Source Framework for Spiking Neural Network Simulation," Neurocomputing, vol. 468, pp. 1–11, 2022.DOI: https://doi.org/10.1016/j.neucom.2021.10.097
[64]Wang, Z. et al., "Proof of Useful Training: Blockchain-Based Validation of Generative AI Models," IEEE Blockchain Transactions, 2024. DOI: 10.1109/TBC.2024.3382125
Downloads
Published
Issue
Section
License
Copyright (c) 2025 SAYMA NASRIN SHOMPA (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.