Comparative Analysis of Machine Learning Techniques for Intrusion Detection in IoT Networks

The rapid increase of Internet of Things (IoT) devices has introduced significant security challenges, requiring the development of effective Intrusion Detection Systems (IDS) to protect networks from malicious attacks. This study presents a comparative analysis of five machine learning (ML) algorithms (Random Forest (RF), K-Nearest Neighbors (KNN), Naïve Bayes (NB), XGBoost, and Support Vector Machine (SVM)) for IoT intrusion detection using the NSL-KDD dataset. Linear Discriminant Analysis (LDA) is used as a feature extraction technique to optimize model performance by reducing data dimensionality while retaining critical information. Three LDA scenarios with 2, 3, and 4 extracted features are used to compare the mentioned ML algorithms using the performance metrics like accuracy, precision, recall, F1-score, and execution time. The results show that RF achieved the highest accuracy (98.76%) with a slightly higher execution times making it ideal for applications prioritizing accuracy. KNN and XGBoost displayed a balance between high accuracy and computational efficiency, with execution times suitable for real-time IoT applications, with KNN achieving the shortest execution time. The results also highlight the importance of selecting ML algorithms based on the trade-offs between accuracy and efficiency for IoT intrusion detection.

Authors

Institutions

Publication Details

Journal
University of Aden Journal of Natural and Applied Sciences
Published
2025-04-17
DOI
https://doi.org/10.47372/uajnas.2024.n2.a05
Citations
1
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of Machine Learning Techniques for Intrusion Detection in IoT Networks

Ahmed Mohammed Moqubel, Khaled Ahmed Abood
1 citations
University of Aden Journal of Natural and Applied Sciences
Network Security and Intrusion Detection
1.49
article

Comparative Analysis of Machine Learning Techniques for Intrusion Detection in IoT Networks

Ahmed Mohammed Moqubel, Khaled Ahmed Abood
article en
1 citations

Abstract

The rapid increase of Internet of Things (IoT) devices has introduced significant security challenges, requiring the development of effective Intrusion Detection Systems (IDS) to protect networks from malicious attacks. This study presents a comparative analysis of five machine learning (ML) algorithms (Random Forest (RF), K-Nearest Neighbors (KNN), Naïve Bayes (NB), XGBoost, and Support Vector Machine (SVM)) for IoT intrusion detection using the NSL-KDD dataset. Linear Discriminant Analysis (LDA) is used as a feature extraction technique to optimize model performance by reducing data dimensionality while retaining critical information. Three LDA scenarios with 2, 3, and 4 extracted features are used to compare the mentioned ML algorithms using the performance metrics like accuracy, precision, recall, F1-score, and execution time. The results show that RF achieved the highest accuracy (98.76%) with a slightly higher execution times making it ideal for applications prioritizing accuracy. KNN and XGBoost displayed a balance between high accuracy and computational efficiency, with execution times suitable for real-time IoT applications, with KNN achieving the shortest execution time. The results also highlight the importance of selecting ML algorithms based on the trade-offs between accuracy and efficiency for IoT intrusion detection.

University of Aden Journal of Natural and Applied SciencesVol. 28(2)
University of Aden (YE)
Openalex Percentile: Top 18%
Network Security and Intrusion Detection
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.