Particle Swarm Optimized Federated Learning For Industrial IoT and Smart City Services

Most of the research on Federated Learning (FL) has focused on analyzing global optimization, privacy, and communication, with limited attention focusing on analyzing the critical matter of performing efficient local training and inference at the edge devices. One of the main challenges for successful and efficient training and inference on edge devices is the careful selection of parameters to build local Machine Learning (ML) models. To this aim, we propose a Particle Swarm Optimization (PSO)-based technique to optimize the hyperparameter settings for the local ML models in an FL environment. We evaluate the performance of our proposed technique using two case studies. First, we consider smart city services and use an experimental transportation dataset for traffic prediction as a proxy for this setting. Second, we consider Industrial IoT (IIoT) services and use the real-time telemetry dataset to predict the probability that a machine will fail shortly due to component failures. Our experiments indicate that PSO provides an efficient approach for tuning the hyperparameters of deep Long short-term memory (LSTM) models when compared to the grid search method. Our experiments illustrate that the number of clients-server communication rounds to explore the landscape of configurations to find the near-optimal parameters are greatly reduced (roughly by two orders of magnitude needing only 2%--4% of the rounds compared to state of the art non-PSO-based approaches). We also demonstrate that utilizing the proposed PSO-based technique to find the near-optimal configurations for FL and centralized learning models does not adversely affect the accuracy of the models.

[1]  M. Clerc,et al.  Particle Swarm Optimization , 2006 .

[2]  Zheng-yi Wang,et al.  Parameters optimization of SVM based on the swarm intelligence , 2020 .

[3]  Ahmad-Reza Sadeghi,et al.  Security and privacy challenges in industrial Internet of Things , 2015, 2015 52nd ACM/EDAC/IEEE Design Automation Conference (DAC).

[4]  Hao Deng,et al.  LoAdaBoost: Loss-Based AdaBoost Federated Machine Learning on medical Data , 2018, ArXiv.

[5]  Mohsen Guizani,et al.  Trust-Based Cloud Machine Learning Model Selection for Industrial IoT and Smart City Services , 2020, IEEE Internet of Things Journal.

[6]  Michael J. A. Berry,et al.  Data Mining Techniques: For Marketing, Sales, and Customer Relationship Management , 2004 .

[7]  R. R. Rajalaxmi,et al.  A Mutated Salp Swarm Algorithm for Optimization of Support Vector Machine Parameters , 2019, 2019 5th International Conference on Advanced Computing & Communication Systems (ICACCS).

[8]  Li Huang,et al.  LoAdaBoost: Loss-based AdaBoost federated machine learning with reduced computational complexity on IID and non-IID intensive care data , 2018, PloS one.

[9]  Anit Kumar Sahu,et al.  Federated Optimization in Heterogeneous Networks , 2018, MLSys.

[10]  Kin K. Leung,et al.  Adaptive Federated Learning in Resource Constrained Edge Computing Systems , 2018, IEEE Journal on Selected Areas in Communications.

[11]  Fei-Yue Wang,et al.  Traffic Flow Prediction With Big Data: A Deep Learning Approach , 2015, IEEE Transactions on Intelligent Transportation Systems.

[12]  Nicola Conci,et al.  How Deep Features Have Improved Event Recognition in Multimedia , 2019, ACM Trans. Multim. Comput. Commun. Appl..

[13]  Anit Kumar Sahu,et al.  Federated Learning: Challenges, Methods, and Future Directions , 2019, IEEE Signal Processing Magazine.

[14]  Majdi Maabreh,et al.  Parameters optimization of deep learning models using Particle swarm optimization , 2017, 2017 13th International Wireless Communications and Mobile Computing Conference (IWCMC).

[15]  Tianjian Chen,et al.  Federated Machine Learning: Concept and Applications , 2019 .

[16]  Ala I. Al-Fuqaha,et al.  Role of Deep LSTM Neural Networks and Wi-Fi Networks in Support of Occupancy Prediction in Smart Buildings , 2017, 2017 IEEE 19th International Conference on High Performance Computing and Communications; IEEE 15th International Conference on Smart City; IEEE 3rd International Conference on Data Science and Systems (HPCC/SmartCity/DSS).

[17]  Kevin Swingler,et al.  Applying neural networks - a practical guide , 1996 .

[18]  Farid Melgani,et al.  Ensemble of Deep Models for Event Recognition , 2018, ACM Trans. Multim. Comput. Commun. Appl..

[19]  Junaid Qadir,et al.  Leveraging Machine Learning and Big Data for Smart Buildings: A Comprehensive Survey , 2019, IEEE Access.

[20]  Zhuang Wang,et al.  Log-based predictive maintenance , 2014, KDD.

[21]  Davide Anguita,et al.  A Public Domain Dataset for Human Activity Recognition using Smartphones , 2013, ESANN.

[22]  Ameet Talwalkar,et al.  Federated Multi-Task Learning , 2017, NIPS.

[23]  T. Serizawa,et al.  Optimization of Convolutional Neural Network Using the Linearly Decreasing Weight Particle Swarm Optimization , 2020, ArXiv.

[24]  Tulay Yildirim,et al.  Learning parameter optimization of Multi-Layer Perceptron using Artificial Bee Colony, Genetic Algorithm and Particle Swarm Optimization , 2015, 2015 IEEE 13th International Symposium on Applied Machine Intelligence and Informatics (SAMI).

[25]  Riccardo Poli,et al.  Particle swarm optimization , 1995, Swarm Intelligence.

[26]  Siti Zaiton Mohd Hashim,et al.  Training feedforward neural networks using hybrid particle swarm optimization and gravitational search algorithm , 2012, Appl. Math. Comput..

[27]  Rozaida Ghazali,et al.  Solving a classification task using Functional Link Neural Networks with modified Artificial Bee Colony , 2013, 2013 Ninth International Conference on Natural Computation (ICNC).

[28]  Gary G. Yen,et al.  Particle swarm optimization of deep neural networks architectures for image classification , 2019, Swarm Evol. Comput..

[29]  Aboul Ella Hassanien,et al.  Quantum-Behaved Particle Swarm Optimization for Parameter Optimization of Support Vector Machine , 2019, Journal of Classification.

[30]  Blaise Agüera y Arcas,et al.  Communication-Efficient Learning of Deep Networks from Decentralized Data , 2016, AISTATS.

[31]  H. Moayedi,et al.  Employing artificial bee colony and particle swarm techniques for optimizing a neural network in prediction of heating and cooling loads of residential buildings , 2020 .

[32]  Ingo Weber,et al.  Hyper-parameter optimization in classification: To-do or not-to-do , 2020, Pattern Recognit..