IoT Traffic Parameter Classification based on Optimized BPSO for Enabling Green Wireless Networks
Received: 11 October 2024 | Revised: 27 October 2024 and 31 October 2024 | Accepted: 3 November 2024 | Online: 2 December 2024
Corresponding author: Ahmed M. Elshewey
Abstract
The rapid expansion of artificial intelligence (AI) integrated with the Internet of Things (IoT) has fueled the development of various smart devices, particularly for smart city applications. However, the heterogeneity of these devices necessitates a robust communication network capable of maintaining a consistent traffic flow. This paper employs Machine Learning (ML) models to classify continuously received network parameters from diverse IoT devices, identifying necessary adjustments to enhance network performance. Key network traffic parameters, such as packet data, are transmitted through gateways via specialized tools. Six different ML techniques with default parameters were used: Decision Tree (DT), Random Forest (RF), Support Vector Machines (SVMs), K-Nearest Neighbors (KNN), Naive Bayes (NB), and Stochastic Gradient Descent Classifiers (SGDC), to classify the traffic of the environment (IoT / non IoT). The models' performance was evaluated in a real-time smart laboratory environment comprising 38 IoT devices from various vendors with the following metrics: Accuracy, F1-score, Recall and Precision. The RF model achieved the highest Accuracy of 95.6%. Also the Binary Particle Swarm Optimizer (BPSO) was used across the RF. The results demonstrated that the BPSO-RF with hyperparameter optimization enhanced the Accuracy from 95.6% to 99.4%.
Keywords:
IoT, Network Traffic Classification, Machine Learning, BPSODownloads
References
M. Lombardi, F. Pascale, and D. Santaniello, "Internet of Things: A General Overview between Architectures, Protocols and Applications," Information, vol. 12, no. 2, Feb. 2021, Art. no. 87.
L. Elhaloui, S. Elfilali, M. Tabaa, and E. H. Benlahmer, "Toward a Monitoring System Based on IoT Devices for Smart Buildings," in Advances on Smart and Soft Computing, Singapore, 2021, pp. 285–293.
F. Aljuaydi, B. Behera, A. Elshewey, and Z. Tarek, "A Deep Learning Prediction Model to Predict Sustainable Development in Saudi Arabia," Applied Mathematics & Information Sciences, vol. 18, pp. 1345–1366, Sep. 2024.
S. Naik and V. Maral, "Cyber security — IoT," in 2017 2nd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), Feb. 2017, pp. 764–767.
A. Sivanathan, H. H. Gharakheili, and V. Sivaraman, "Can We Classify an IoT Device using TCP Port Scan?," in 2018 IEEE International Conference on Information and Automation for Sustainability (ICIAfS), Sep. 2018, pp. 1–4.
M. Snehi and A. Bhandari, "A Novel Distributed Stack Ensembled Meta-Learning-Based Optimized Classification Framework for Real-time Prolific IoT Traffic Streams," Arabian Journal for Science and Engineering, vol. 47, no. 8, pp. 9907–9930, Aug. 2022.
A. M. Elshewey, A. A. Alhussan, D. S. Khafaga, E. S. M. Elkenawy, and Z. Tarek, "EEG-based optimization of eye state classification using modified-BER metaheuristic algorithm," Scientific Reports, vol. 14, no. 1, Oct. 2024, Art. no. 24489.
B. Bezawada, M. Bachani, J. Peterson, H. Shirazi, I. Ray, and I. Ray, "Behavioral Fingerprinting of IoT Devices," in Proceedings of the 2018 Workshop on Attacks and Solutions in Hardware Security, New York, NY, USA, Jan. 2018, pp. 41–50.
M. Lopez-Martin, B. Carro, A. Sanchez-Esguevillas, and J. Lloret, "Network Traffic Classifier With Convolutional and Recurrent Neural Networks for Internet of Things," IEEE Access, vol. 5, pp. 18042–18050, 2017.
I. Cvitić, D. Peraković, M. Periša, and M. D. Stojanović, "Novel Classification of IoT Devices Based on Traffic Flow Features," Journal of Organizational and End User Computing (JOEUC), vol. 33, no. 6, pp. 1–20, 2021.
E. S. M. Elkenawy, A. A. Alhussan, D. S. Khafaga, Z. Tarek, and A. M. Elshewey, "Greylag goose optimization and multilayer perceptron for enhancing lung cancer classification," Scientific Reports, vol. 14, no. 1, Oct. 2024, Art. no. 23784.
M. Aria, C. Cuccurullo, and A. Gnasso, "A comparison among interpretative proposals for Random Forests," Machine Learning with Applications, vol. 6, Dec. 2021, Art. no. 100094.
Y. Fouad, A. M. Osman, S. A. Z. Hassan, H. M. El-Bakry, and A. M. Elshewey, "Adaptive Visual Sentiment Prediction Model Based on Event Concepts and Object Detection Techniques in Social Media," International Journal of Advanced Computer Science and Applications (IJACSA), vol. 14, no. 7, 2023.
A. M. Elshewey et al., "Optimizing HCV Disease Prediction in Egypt: The hyOPTGB Framework," Diagnostics, vol. 13, no. 22, Jan. 2023, Art. no. 3439.
S. T. Mrudula et al., "Internet of things and optimized knn based intelligent transportation system for traffic flow prediction in smart cities," Measurement: Sensors, vol. 35, Oct. 2024, Art. no. 101297.
B. Wang, H. Kang, G. Sun, and J. Li, "Efficient traffic-based IoT device identification using a feature selection approach with Lévy flight-based sine chaotic sub-swarm binary honey badger algorithm," Applied Soft Computing, vol. 155, Apr. 2024, Art. no. 111455.
I. Ahmad, Z. Wan, A. Ahmad, and S. S. Ullah, "A Hybrid Optimization Model for Efficient Detection and Classification of Malware in the Internet of Things," Mathematics, vol. 12, no. 10, Jan. 2024, Art. no. 1437.
Z. Tarek et al., "An Optimized Model Based on Deep Learning and Gated Recurrent Unit for COVID-19 Death Prediction," Biomimetics, vol. 8, no. 7, Nov. 2023, Art. no. 552.
E. H. Alkhammash et al., "Application of Machine Learning to Predict COVID-19 Spread via an Optimized BPSO Model," Biomimetics, vol. 8, no. 6, Oct. 2023, Art. no. 457.
M. Y. Shams, E. S. M. El-kenawy, A. Ibrahim, and A. M. Elshewey, "A hybrid dipper throated optimization algorithm and particle swarm optimization (DTPSO) model for hepatocellular carcinoma (HCC) prediction," Biomedical Signal Processing and Control, vol. 85, Aug. 2023, Art. no. 104908.
A. M. Elshewey, M. Y. Shams, N. El-Rashidy, A. M. Elhady, S. M. Shohieb, and Z. Tarek, "Bayesian Optimization with Support Vector Machine Model for Parkinson Disease Classification," Sensors, vol. 23, no. 4, Jan. 2023, Art. no. 2085.
A. M. Elshewey and A. M. Osman, "Orthopedic disease classification based on breadth-first search algorithm," Scientific Reports, vol. 14, no. 1, Oct. 2024, Art. no. 23368.
M. Y. Shams, A. M. Elshewey, E. S. M. El-kenawy, A. Ibrahim, F. M. Talaat, and Z. Tarek, "Water quality prediction using machine learning models based on grid search method," Multimed Tools Appl, vol. 83, no. 12, pp. 35307–35334, Apr. 2024.
M. Eed, A. A. Alhussan, A. S. T. Qenawy, A. M. Osman, A. M. Elshewey, and R. Arnous, "Potato Consumption Forecasting Based on a Hybrid Stacked Deep Learning Model," Potato Research, Jul. 2024.
A. A. Abdelhamid, A. A. Alhussan, A. S. T. Qenawy, A. M. Osman, A. M. Elshewey, and M. Eed, "Potato Harvesting Prediction Using an Improved ResNet-59 Model," Potato Research, Aug. 2024.
S. A. Alzakari, A. A. Alhussan, A. S. T. Qenawy, and A. M. Elshewey, "Early Detection of Potato Disease Using an Enhanced Convolutional Neural Network-Long Short-Term Memory Deep Learning Model," Potato Research, Jul. 2024.
S. A. Alzakari, A. A. Alhussan, A.-S. T. Qenawy, A. M. Elshewey, and M. Eed, "An Enhanced Long Short-Term Memory Recurrent Neural Network Deep Learning Model for Potato Price Prediction," Potato Research, Jun. 2024.
B. Mopuru and Y. Pachipala, "Advancing IoT Security: Integrative Machine Learning Models for Enhanced Intrusion Detection in Wireless Sensor Networks," Engineering, Technology & Applied Science Research, vol. 14, no. 4, pp. 14840–14847, Aug. 2024.
Downloads
How to Cite
License
Copyright (c) 2024 Yasser Fouad, Nehal E. Abdelaziz, Ahmed M. Elshewey
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.