Top-K Feature Selection for IoT Intrusion Detection: Contributions of XGBoost, LightGBM, and Random Forest
Open Access
- 19 November 2025
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 17 (11) , 529
Abstract
The rapid growth of the Internet of Things (IoT) has created vast networks of interconnected devices that are increasingly exposed to cyberattacks. Ensuring the security of such distributed systems requires efficient and adaptive intrusion detection mechanisms. However, conventional methods face limitations in processing large and complex feature spaces. To address this issue, this study proposes an optimized intrusion detection approach based on Top-K feature selection combined with ensemble learning models, evaluated on the CICIoMT2024 dataset. Three algorithms, XGBoost, LightGBM, and Random Forest, were trained and tested on IoT datasets using three feature configurations: Top-10, Top-15, and the complete feature set. The results show that the Random Forest model provides the best balance between accuracy and computational efficiency, achieving 91.7% accuracy and an F1-score of 93% with the Top-10 subset while reducing processing time by 35%. These findings demonstrate that the Top-K selection strategy enhances the interpretability and performance of IDSs in IoT environments. Future work will extend this framework to real-time adaptive detection and edge computing integration for large-scale IoT deployments.Keywords
This publication has 45 references indexed in Scilit:
- An explainable AI-driven transformer model for spoofing attack detection in Internet of Medical Things (IoMT) networksDiscover Applied Sciences, 2025
- A secure IoT-edge architecture with data-driven AI techniques for early detection of cyber threats in healthcareDiscover Internet of Things, 2025
- A novel intrusion detection framework for optimizing IoT securityScientific Reports, 2024
- CICIoMT2024: A benchmark dataset for multi-protocol security assessment in IoMTInternet of Things, 2024
- Selective ensemble method for anomaly detection based on parallel learningScientific Reports, 2024
- A lightweight IoT intrusion detection model based on improved BERT-of-TheseusExpert Systems with Applications, 2023
- A stacking ensemble of deep learning models for IoT intrusion detectionKnowledge-Based Systems, 2023
- SCOUT: Security by computing OUTliers on activity logsComputers & Security, 2023
- Anomaly-based intrusion detection system for IoT applicationDiscover Internet of Things, 2023
- EIDM: deep learning model for IoT intrusion detection systemsThe Journal of Supercomputing, 2023