Lightweight Network Intrusion Detection in IoT Environments Using Machine Learning

Authors

  • C. Satya Kumar
  • N. Sambasiva Rao
  • G. Venkata Rami Reddy

Keywords:

IoT Security, Intrusion Detection System (IDS), oTID20 Dataset, Machine Learning, Support Vector Machine (SVM), Random Forest, Decision Tree, Pearson Correlation, Imbalanced Dataset, Min-Max Scaling, Feature Selection, One-Versus-Rest (OVR)

Abstract

With the rapid expansion of IoT devices, network intrusion security has indeed become a major issue. This work introduces a machine learning-based IDS using the IoTID20 dataset representing the imbalanced real-world network traffic. Data preprocessing pipeline converts categorical attributes into numerical attributes through Label Encoding, normalizes data via Min-Max Scaling, and selects features using Pearson Correlation. Three classifiers, the Support Vector Machine (SVM) based on One-Versus-Rest, Decision Tree, and Random Forest, have been evaluated. The SVM achieved an accuracy of 83%, while Decision Tree and Random Forest achieved 89.06% and 96.02% respectively. It is evident from the above results that with the correct preprocessing and feature selection, the detection performance can be greatly affected even on imbalanced datasets. The built system thus functions as an accurate yet lightweight IDS solution that can be deployed in resource-limited IoT environments.

Downloads

Published

2025-08-29

How to Cite

C. Satya Kumar, N. Sambasiva Rao, & G. Venkata Rami Reddy. (2025). Lightweight Network Intrusion Detection in IoT Environments Using Machine Learning. Utilitas Mathematica, 122(2), 513–520. Retrieved from https://utilitasmathematica.com/index.php/Index/article/view/2738

Citation Check

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.