Decentralized Machine Learning Framework for the Internet of Things: Enhancing Security, Privacy, and Efficiency in Cloud-Integrated Environments
Abstract
:1. Introduction
- Decentralized Adaptive Nearest Neighbor Learning (DANL): This algorithm is specifically designed for resource-constrained IoT devices. Unlike traditional algorithms that rely heavily on centralized data processing, DANL employs incremental learning techniques that allow for adaptive model updates directly on the devices. This minimizes data transmission and enhances privacy by ensuring that sensitive information remains on-device, addressing a critical gap in existing solutions.
- Collaborative Model Exchange Protocol (CMEP): While there are existing protocols for model synchronization, the CMEP is uniquely focused on maintaining a balance between efficiency and communication overheads in a decentralized environment. By utilizing lightweight communication methods, CMEP distinguishes itself by optimizing resource usage without compromising the integrity of the exchanged models.
- Gossip-Based Communication Protocol (GBCP): Although similar protocols exist, the GBCP introduces a novel approach to energy-efficient model exchange tailored specifically for IoT networks. It supports scalable collaborative learning, enabling efficient knowledge dissemination among devices, while considering their limited energy resources, a feature often overlooked in other models.
- Security and Privacy Measures: The proposed framework integrates security measures that not only protect data integrity, but also ensure confidentiality during interactions within the Internet of cloud. This dual focus on security and privacy is a significant advancement over traditional methods, which often address these concerns in isolation.
2. Related Works
3. Methodology
3.1. Decentralized Learning Algorithm
3.2. Collaborative Model Exchange Protocol (CMEP)
- Random Sharing Protocol [50]: In this mode, each device i selects a random subset of peers from its neighboring devices and securely shares its encrypted model with them. This random selection mechanism promotes diversity in the learning process by exposing each device to a wide range of models, thereby enhancing the robustness of the collective learning outcome. The use of encryption ensures that communication remains secure, even if the transmitted data are intercepted.
- Performance-Based Sharing Protocol: This mode introduces an additional layer of intelligence by allowing devices to evaluate their model’s performance using a predefined metric , such as accuracy or F-score. Devices then selectively share their models with peers exhibiting lower performance metrics . The rationale behind this approach is to propagate beneficial updates more effectively, as devices with superior models are more likely to contribute positively to the overall learning process. The selection and sharing processes are still governed by secure encryption and decryption protocols, ensuring that only authorized devices can access the shared models.
3.3. Gossip-Based Communication Protocol (GBCP)
3.4. Prediction and Adaptation Mechanisms (PAM)
3.5. Experimental Evaluation
3.6. Performance Metrics
- F-score: Measuring the balance between precision and recall in the consensus model, defined as
- Convergence Time: The time required to reach 85% of the best F-score:
- Storage Complexity: The memory required to store prototype dictionaries at each node:
- Communication Complexity: The number of messages exchanged during the learning process:
- Security and Privacy: Assessing the framework’s resilience against data breaches and ensuring data integrity during model exchanges:
4. Results
4.1. Performance Metrics
4.2. Convergence Time
4.3. Storage Complexity
4.4. Communication Complexity
4.5. Impact of Encryption Overheads on Performance
4.6. Scalability Analysis
4.7. Energy Consumption
4.8. Security and Privacy in Adversarial Scenarios
4.9. Latency Analysis in Real-Time Applications
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Rai, H.M.; Pal, A.; Mishra, S.; Shukla, K.K. Use of Internet of Things in the context of execution of smart city applications: A review. Discov. Internet Things 2023, 3, 8. [Google Scholar] [CrossRef]
- Ullah, A.; Anwar, S.M.; Li, J.; Nadeem, L.; Mahmood, T.; Rehman, A.; Saba, T. Smart cities: The role of Internet of Things and machine learning in realizing a data-centric smart environment. Complex Intell. Syst. 2024, 10, 1607–1637. [Google Scholar] [CrossRef]
- Pandey, N.K.; Kumar, K.; Saini, G.; Mishra, A.K. Security issues and challenges in cloud of things-based applications for industrial automation. Ann. Oper. Res. 2023, 1–20. [Google Scholar] [CrossRef]
- Rath, K.C.; Khang, A.; Roy, D. The role of Internet of Things (IoT) technology in Industry 4.0 economy. In Advanced IoT Technologies and Applications in the Industry 4.0 Digital Economy; CRC Press: Boca Raton, FL, USA, 2024; pp. 1–28. [Google Scholar] [CrossRef]
- Zeb, S.; Abbas, Q.; Hassan, S.A.; Mahmood, A.; Mumtaz, R.; Zaidi, S.H.; Zaidi, S.A.R.; Gidlund, M. NOMA enhanced backscatter communication for green IoT networks. In Proceedings of the 2019 16th International Symposium on Wireless Communication Systems (ISWCS), Oulu, Finland, 27–30 August 2019; pp. 640–644. [Google Scholar] [CrossRef]
- Salam, A. Internet of things for environmental sustainability and climate change. In Internet of Things for Sustainable Community Development: Wireless Communications, Sensing, and Systems; Springer: Cham, Switzerland, 2024; pp. 33–69. [Google Scholar] [CrossRef]
- Chataut, R.; Phoummalayvane, A.; Akl, R. Unleashing the power of IoT: A comprehensive review of IoT applications and future prospects in healthcare, agriculture, smart homes, smart cities, and industry 4.0. Sensors 2023, 23, 7194. [Google Scholar] [CrossRef]
- Chi, H.R.; de Fátima Domingues, M.; Zhu, H.; Li, C.; Kojima, K.; Radwan, A. Healthcare 5.0: In the perspective of consumer Internet-of-Things-based fog/cloud computing. IEEE Trans. Consum. Electron. 2023, 69, 745–755. [Google Scholar] [CrossRef]
- Ruggeri, G.; Briante, O. A framework for iot and e-health systems integration based on the social internet of things paradigm. In Proceedings of the 2017 International Symposium on Wireless Communication Systems (ISWCS), Bologna, Italy, 28–31 August 2017; pp. 426–431. [Google Scholar] [CrossRef]
- Nematzadeh, S.; Torkamanian-Afshar, M.; Seyyedabbasi, A.; Kiani, F. Maximizing coverage and maintaining connectivity in WSN and decentralized IoT: An efficient metaheuristic-based method for environment-aware node deployment. Neural Comput. Appl. 2023, 35, 611–641. [Google Scholar] [CrossRef]
- Rodríguez, D.Z.; Rosa, R.L.; Almeida, F.L.; Mittag, G.; Möller, S. Speech Quality Assessment in Wireless Communications with MIMO Systems Using a Parametric Model. IEEE Access 2019, 7, 35719–35730. [Google Scholar] [CrossRef]
- López, O.L.; Rosabal, O.M.; Ruiz-Guirola, D.E.; Raghuwanshi, P.; Mikhaylov, K.; Lovén, L.; Iyer, S. Energy-sustainable iot connectivity: Vision, technological enablers, challenges, and future directions. IEEE Open J. Commun. Soc. 2023, 4, 2609–2666. [Google Scholar] [CrossRef]
- Ribeiro, D.A.; Melgarejo, D.C.; Saadi, M.; Rosa, R.L.; Rodríguez, D.Z. A novel deep deterministic policy gradient model applied to intelligent transportation system security problems in 5G and 6G network scenarios. Phys. Commun. 2023, 56, 101938. [Google Scholar] [CrossRef]
- Carvalho Barbosa, R.; Shoaib Ayub, M.; Lopes Rosa, R.; Zegarra Rodríguez, D.; Wuttisittikulkij, L. Lightweight PVIDNet: A priority vehicles detection network model based on deep learning for intelligent traffic lights. Sensors 2020, 20, 6218. [Google Scholar] [CrossRef]
- Hussain, F.; Hussain, R.; Hassan, S.A.; Hossain, E. Machine learning in IoT security: Current solutions and future challenges. IEEE Commun. Surv. Tutor. 2020, 22, 1686–1721. [Google Scholar] [CrossRef]
- Asharf, J.; Moustafa, N.; Khurshid, H.; Debie, E.; Haider, W.; Wahab, A. A review of intrusion detection systems using machine and deep learning in internet of things: Challenges, solutions and future directions. Electronics 2020, 9, 1177. [Google Scholar] [CrossRef]
- Zhang, R.; Liu, L.; Dong, M.; Ota, K. On-Demand Centralized Resource Allocation for IoT Applications: AI-Enabled Benchmark. Sensors 2024, 24, 980. [Google Scholar] [CrossRef] [PubMed]
- Dhinakaran, D.; Sankar, S.; Selvaraj, D.; Raja, S.E. Privacy-Preserving Data in IoT-based Cloud Systems: A Comprehensive Survey with AI Integration. arXiv 2024, arXiv:2401.00794. [Google Scholar] [CrossRef]
- Karthikeyan, M.; Manimegalai, D.; RajaGopal, K. Firefly algorithm based WSN-IoT security enhancement with machine learning for intrusion detection. Sci. Rep. 2024, 14, 231. [Google Scholar] [CrossRef] [PubMed]
- Qin, Z.; Liang, L.; Wang, Z.; Jin, S.; Tao, X.; Tong, W.; Li, G.Y. AI Empowered Wireless Communications: From Bits to Semantics. Proc. IEEE, 2024; early access. [Google Scholar] [CrossRef]
- Liang, F.; Zhang, Z.; Lu, H.; Leung, V.; Guo, Y.; Hu, X. Communication-Efficient Large-Scale Distributed Deep Learning: A Comprehensive Survey. arXiv 2024, arXiv:2404.06114. [Google Scholar] [CrossRef]
- Hegedűs, I.; Danner, G.; Jelasity, M. Gossip learning as a decentralized alternative to federated learning. In Distributed Applications and Interoperable Systems: 19th IFIP WG 6.1 International Conference, DAIS 2019, Held as Part of the 14th International Federated Conference on Distributed Computing Techniques, DisCoTec 2019, Kongens Lyngby, Denmark, June 17–21; Springer: Cham, Switzerland, 2019; pp. 74–90. [Google Scholar] [CrossRef]
- Lu, Y.; De Sa, C. Decentralized learning: Theoretical optimality and practical improvements. J. Mach. Learn. Res. 2023, 24, 1–62. [Google Scholar]
- Naik, D.; Grace, P.; Naik, N.; Jenkins, P.; Mishra, D.; Prajapat, S. An Introduction to Gossip Protocol Based Learning in Peer-to-Peer Federated Learning. In Proceedings of the 2023 IEEE International Conference on ICT in Business Industry & Government (ICTBIG), Indore, India, 8–9 December 2023; pp. 1–8. [Google Scholar] [CrossRef]
- Moparthi, N.R.; Balakrishna, G.; Chithaluru, P.; Kolla, M.; Kumar, M. An improved energy-efficient cloud-optimized load-balancing for IoT frameworks. Heliyon 2023, 9, e21947. [Google Scholar] [CrossRef]
- Lee, T.; Jo, O.; Shin, K. CoRL: Collaborative reinforcement learning-based MAC protocol for IoT networks. Electronics 2020, 9, 143. [Google Scholar] [CrossRef]
- Rangu, G.; Kulkarni, D.D.; Nair, J.S.; Nair, S.B. A Hybrid Federated Reinforcement Learning Approach for Networked Robots. In International Conference on Science, Technology and Engineering; Springer: Singapore, 2023; pp. 493–500. [Google Scholar] [CrossRef]
- Hou, X.; Chen, L.; Tang, J.; Li, J.; Yang, W. Hierarchical Swarm Learning for Edge-Assisted Collaborative Vehicle Trajectory Prediction. In Proceedings of the ICC 2023-IEEE International Conference on Communications, Rome, Italy, 28 May–1 June 2023; pp. 4144–4149. [Google Scholar] [CrossRef]
- Wang, X.; Zhang, H.; Yang, M.; Wu, X.; Cheng, P. Privacy-preserving Collaborative Learning: A Scheme Providing Heterogeneous Protection. IEEE Internet Things J. 2023, 11, 1840–1853. [Google Scholar] [CrossRef]
- Darabkh, K.A.; Awawdeh, B.R.; Saifan, R.R.; Khalifeh, A.; Alnabelsi, S.H.; Bany Salameh, H. Routing in cognitive radio networks using adaptive full-duplex communications over IoT environment. Wirel. Netw. 2023, 29, 1439–1463. [Google Scholar] [CrossRef]
- Patsias, V.; Amanatidis, P.; Karampatzakis, D.; Lagkas, T.; Michalakopoulou, K.; Nikitas, A. Task allocation methods and optimization techniques in edge computing: A systematic review of the literature. Future Internet 2023, 15, 254. [Google Scholar] [CrossRef]
- Rehman, Z.; Tariq, N.; Moqurrab, S.A.; Yoo, J.; Srivastava, G. Machine learning and internet of things applications in enterprise architectures: Solutions, challenges, and open issues. Expert Syst. 2024, 41, e13467. [Google Scholar] [CrossRef]
- Alabadi, M.; Habbal, A.; Guizani, M. An Innovative Decentralized and Distributed Deep Learning Framework for Predictive Maintenance in the Industrial Internet of Things. IEEE Internet Things J. 2024, 11, 20271–20286. [Google Scholar] [CrossRef]
- Falayi, A.; Wang, Q.; Liao, W.; Yu, W. Survey of distributed and decentralized IoT securities: Approaches using deep learning and blockchain technology. Future Internet 2023, 15, 178. [Google Scholar] [CrossRef]
- Xu, C.; Qu, Y.; Xiang, Y.; Gao, L. Asynchronous federated learning on heterogeneous devices: A survey. Comput. Sci. Rev. 2023, 50, 100595. [Google Scholar] [CrossRef]
- Loconte, D.; Ieva, S.; Pinto, A.; Loseto, G.; Scioscia, F.; Ruta, M. Expanding the cloud-to-edge continuum to the IoT in serverless federated learning. Future Gener. Comput. Syst. 2024, 155, 447–462. [Google Scholar] [CrossRef]
- Tam, P.; Corrado, R.; Eang, C.; Kim, S. Applicability of deep reinforcement learning for efficient federated learning in massive IoT communications. Appl. Sci. 2023, 13, 3083. [Google Scholar] [CrossRef]
- Yazdinejad, A.; Dehghantanha, A.; Srivastava, G.; Karimipour, H.; Parizi, R.M. Hybrid privacy preserving federated learning against irregular users in next-generation Internet of Things. J. Syst. Archit. 2024, 148, 103088. [Google Scholar] [CrossRef]
- Behnke, I.; Austad, H. Real-time performance of industrial IoT communication technologies: A review. IEEE Internet Things J. 2023, 11, 7399–7410. [Google Scholar] [CrossRef]
- Mansour, M.; Gamal, A.; Ahmed, A.I.; Said, L.A.; Elbaz, A.; Herencsar, N.; Soltan, A. Internet of things: A comprehensive overview on protocols, architectures, technologies, simulation tools, and future directions. Energies 2023, 16, 3465. [Google Scholar] [CrossRef]
- Ahmad, S.; Mehfuz, S.; Beg, J. Hybrid cryptographic approach to enhance the mode of key management system in cloud environment. J. Supercomput. 2023, 79, 7377–7413. [Google Scholar] [CrossRef]
- Sodiya, E.O.; Umoga, U.J.; Obaigbena, A.; Jacks, B.S.; Ugwuanyi, E.D.; Daraojimba, A.I.; Lottu, O.A. Current state and prospects of edge computing within the Internet of Things (IoT) ecosystem. Int. J. Sci. Res. Arch. 2024, 11, 1863–1873. [Google Scholar] [CrossRef]
- Chiang, Y.; Zhang, Y.; Luo, H.; Chen, T.Y.; Chen, G.H.; Chen, H.T.; Wang, Y.J.; Wei, H.Y.; Chou, C.T. Management and orchestration of edge computing for IoT: A comprehensive survey. IEEE Internet Things J. 2023, 10, 14307–14331. [Google Scholar] [CrossRef]
- Safaei Yaraziz, M.; Jalili, A.; Gheisari, M.; Liu, Y. Recent trends towards privacy-preservation in Internet of Things, its challenges and future directions. IET Circuits Devices Syst. 2023, 17, 53–61. [Google Scholar] [CrossRef]
- Okey, O.D.; Maidin, S.S.; Adasme, P.; Lopes Rosa, R.; Saadi, M.; Carrillo Melgarejo, D.; Zegarra Rodríguez, D. BoostedEnML: Efficient technique for detecting cyberattacks in IoT systems using boosted ensemble machine learning. Sensors 2022, 22, 7409. [Google Scholar] [CrossRef]
- AlMarshoud, M.; Sabir Kiraz, M.; Al-Bayatti, A.H. Security, privacy, and decentralized trust management in VANETs: A review of current research and future directions. ACM Comput. Surv. 2024, 56, 260. [Google Scholar] [CrossRef]
- Hua, H.; Li, Y.; Wang, T.; Dong, N.; Li, W.; Cao, J. Edge computing with artificial intelligence: A machine learning perspective. ACM Comput. Surv. 2023, 55, 184. [Google Scholar] [CrossRef]
- Ben Sada, A.; Khelloufi, A.; Naouri, A.; Ning, H.; Dhelim, S. Hybrid metaheuristics for selective inference task offloading under time and energy constraints for real-time IoT sensing systems. Clust. Comput. 2024, 27, 12965–12981. [Google Scholar] [CrossRef]
- Huai, M.; Miao, C.; Li, Y.; Suo, Q.; Su, L.; Zhang, A. Learning distance metrics from probabilistic information. ACM Trans. Knowl. Discov. Data (TKDD) 2020, 14, 53. [Google Scholar] [CrossRef]
- Liu, D.; Yu, G.; Ding, Y.; Zhong, Z.; Wang, C. Privacy Preserving Multi-party Computation with Secret Sharing for Trajectory Prediction in VANETs. IEEE Trans. Veh. Technol. 2024, 9, 875–881. [Google Scholar] [CrossRef]
Reference | Approach | Advantages | Disadvantages |
---|---|---|---|
Lee et al. (2020) [26] | Collaborative model exchange using reinforcement learning | Optimizes model exchange by considering resource constraints such as battery life and processing power | Limited to specific ML models and requires significant computational resources |
Hegedüs et al. (2019) [22] | Gossip learning (fully decentralized approach) | Facilitates decentralization and efficient information sharing | High communication overheads and energy consumption, simplistic parameter averaging may lead to suboptimal global model performance |
Rangu et al. (2023) [27] | Hybrid framework combining centralized and decentralized approaches | Balances communication efficiency with model accuracy | Scalability and security challenges, complexity of implementation |
Hou et al. (2023) [28] | Edge-assisted collaborative learning | Reduces burden on IoT devices, faster model convergence and data processing | Heavily dependent on edge infrastructure availability, security of data transmission between edge and cloud |
Wang et al. (2023) [29] | Privacy-preserving collaborative learning using SMC and DP | Enhanced data security and privacy during model training | Additional computational overheads and complexity in resource-constrained IoT environments |
Darabkh et al. (2023) [30] | Adaptive communication protocols for dynamic IoT networks | Optimizes data transmission efficiency, reduces energy consumption | Effectiveness in highly dynamic and heterogeneous networks remains unclear, security concerns in cloud-integrated environments |
Patsias et al. (2023) [31] | Edge-centric optimization techniques for task allocation | Improves task allocation and resource management, enhances system performance | Sophisticated resource management required, security concerns regarding edge–cloud interaction |
Framework | Lower Whisker | Median | Upper Whisker |
---|---|---|---|
Proposed Framework | 4 | 7 | 10 |
Federated Learning | 7 | 10 | 14 |
Gossip-Based | 9 | 13 | 17 |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gonçalves, J.G.; Ayub, M.S.; Zhumadillayeva, A.; Dyussekeyev, K.; Ayimbay, S.; Saadi, M.; Lopes Rosa, R.; Rodríguez, D.Z. Decentralized Machine Learning Framework for the Internet of Things: Enhancing Security, Privacy, and Efficiency in Cloud-Integrated Environments. Electronics 2024, 13, 4185. https://doi.org/10.3390/electronics13214185
Gonçalves JG, Ayub MS, Zhumadillayeva A, Dyussekeyev K, Ayimbay S, Saadi M, Lopes Rosa R, Rodríguez DZ. Decentralized Machine Learning Framework for the Internet of Things: Enhancing Security, Privacy, and Efficiency in Cloud-Integrated Environments. Electronics. 2024; 13(21):4185. https://doi.org/10.3390/electronics13214185
Chicago/Turabian StyleGonçalves, José Gelson, Muhammad Shoaib Ayub, Ainur Zhumadillayeva, Kanagat Dyussekeyev, Sunggat Ayimbay, Muhammad Saadi, Renata Lopes Rosa, and Demóstenes Zegarra Rodríguez. 2024. "Decentralized Machine Learning Framework for the Internet of Things: Enhancing Security, Privacy, and Efficiency in Cloud-Integrated Environments" Electronics 13, no. 21: 4185. https://doi.org/10.3390/electronics13214185
APA StyleGonçalves, J. G., Ayub, M. S., Zhumadillayeva, A., Dyussekeyev, K., Ayimbay, S., Saadi, M., Lopes Rosa, R., & Rodríguez, D. Z. (2024). Decentralized Machine Learning Framework for the Internet of Things: Enhancing Security, Privacy, and Efficiency in Cloud-Integrated Environments. Electronics, 13(21), 4185. https://doi.org/10.3390/electronics13214185