Research Article | Open Access | Download PDF
Volume 74 | Issue 11 | Year 2026 | Article Id. IJETT-V74I11P133 | DOI : https://doi.org/10.14445/22315381/IJETT-V74I11P133Optimised Intrusion Detection Framework: Feature Selection and Hyperparameter Tuning for Enhanced Machine Learning Performance
Sayyada Mubeen, Balakrishna Gudla
| Received | Revised | Accepted | Published |
|---|---|---|---|
| 21 May 2026 | 31 Aug 2026 | 12 Sep 2026 | 25 Nov 2026 |
Citation :
Sayyada Mubeen, Balakrishna Gudla, "Optimised Intrusion Detection Framework: Feature Selection and Hyperparameter Tuning for Enhanced Machine Learning Performance," International Journal of Engineering Trends and Technology (IJETT), vol. 74, no. 11, pp. 521-537, 2026. Crossref, https://doi.org/10.14445/22315381/IJETT-V74I11P133
Abstract
The increasing number of cyberattacks has led to a never-ending evolution of improving cybersecurity. Heuristics designed to detect intrusions have been the standard for many traditional security systems. Still, with Machine Learning (ML) becoming more prominent, learning-based models can perform out of the box by scaling with data available through continuous training on labelled data. However, the downside of supervised ML is that it does not perform well in intrusion detection if the training data is either insufficient or of poor quality. To tackle these difficulties, it is essential to improve ML models. In this task, we investigate the establishment of an IDS that incorporates feature engineering techniques and is based on machine learning. This paper proposes two algorithms: Learning-based Intrusion Detection (LbID) and Hybrid Feature Selection (HFS). Using the CICIDS2017 dataset, the system was tested for Classification challenges that are binary and multi-class. The RF model attained the maximum accuracy (94.22%) in binary classification. The Decision Tree model performed the best without optimisations and delivered 91.67% accuracy in multi-class classification. Using the tested optimisation techniques, RF achieved the best accuracy at 93.46%. Additionally, these findings contribute to our knowledge of the fusion of feature engineering and ML in improving the performance of ID.
Keywords
IDS, ML, Feature selection, Hyperparameter tuning, CICIDS2017 dataset.
References
- Chie-Hong Lee et al., “Machine Learning based Network Intrusion Detection,” 2017 2nd IEEE International Conference on Computational Intelligence and Applications, Beijing, China, pp. 79-83, 2017.
[CrossRef] [Google Scholar] [Publisher Link] - Razan Abdulhammed et al., “Features Dimensionality Reduction Approaches for Machine Learning based Network Intrusion Detection,” Electronics, vol. 8, no. 3, pp. 1-27, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Elie Alhajjar, Paul Maxwell, and Nathaniel Bastian, “Adversarial Machine Learning in Network Intrusion Detection Systems,” Expert Systems with Applications, vol. 186, pp. 1-13, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Gustavo De Carvalho Bertoli et al., “An End-to-End Framework for Machine Learning-based Network Intrusion Detection System,” IEEE Access, vol. 9, pp. 106790-106805, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Zeeshan Ahmad et al., “Network Intrusion Detection System: A Systematic Study of Machine Learning and Deep Learning Approaches,” Transactions on Emerging Telecommunications Technologies, vol. 32, no. 1, pp. 1-29, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Marzia Zaman, and Chung-Horng Lung, “Evaluation of Machine Learning Techniques for Network Intrusion Detection,” 2018 IEEE/IFIP Network Operations and Management Symposium, Taipei, Taiwan, pp. 1-5, 2018.
[CrossRef] [Google Scholar] [Publisher Link] - Nasrin Sultana et al., “Survey on SDN based Network Intrusion Detection System using Machine Learning Approaches,” Peer-to-Peer Networking and Applications, vol. 12, no. 2, pp. 493-501, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Jie Li et al., Machine Learning Algorithms for Network Intrusion Detection, Springer, vol. 151, pp. 151-179, 2018.
[CrossRef] [Google Scholar] [Publisher Link] - Anshu Parashar, Kuljot Singh Saggu, and Anupam Garg, “Machine Learning based Framework for Network Intrusion Detection System using Stacking Ensemble Technique,” Indian Journal of Engineering and Materials Sciences, vol. 29, no. 4, pp. 509-518, 2022.
[CrossRef] [Google Scholar] [Publisher Link] - Kazi Abu Taher, Billal Mohammed Yasin Jisan, and Md. Mahbubur Rahman, “Network Intrusion Detection using Supervised Machine Learning Technique with Feature Selection,” 2019 International Conference on Robotics, Electrical and Signal Processing Techniques, Dhaka, Bangladesh, pp. 643-646, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Roberto Magán-Carrión et al., “Towards a Reliable Comparison and Evaluation of Network Intrusion Detection Systems based on Machine Learning Approaches,” Applied Sciences, vol. 10, no. 5, pp. 1-21, 2020.
[CrossRef] [Google Scholar] [Publisher Link] - Anish Halimaa A., and K. Sundarakantham, “Machine Learning based Intrusion Detection System,” 2019 3rd International Conference on Trends in Electronics and Informatics, Tirunelveli, India, pp. 916-920, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Aditya Phadke et al., “A Review of Machine Learning Methodologies for Network Intrusion Detection,” 2019 3rd International Conference on Computing Methodologies and Communication, Erode, India, pp. 272-275, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Pierpaolo Dini, and Sergio Saponara, “Analysis, Design, and Comparison of Machine-Learning Techniques for Networking Intrusion Detection,” Designs, vol. 5, no. 1, pp. 1-22, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Preeti Mishra et al., “A Detailed Investigation and Analysis of using Machine Learning Techniques for Intrusion Detection,” IEEE Communications Surveys and Tutorials, vol. 21, no. 1, pp. 686-728, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Kelton A.P. da Costa et al., “Internet of Things: A Survey on Machine Learning-based Intrusion Detection Approaches,” Computer Networks, vol. 151, pp. 147-157, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - B. Ida Seraphim et al., “Survey on Machine Learning Techniques in Network Intrusion Detection System,” 2018 4th International Conference on Computing Communication and Automation, Greater Noida, India, pp. 1-5, 2018.
[CrossRef] [Google Scholar] [Publisher Link] - T. Rupa Devi, and Srinivasu Badugu, “A Review on Network Intrusion Detection System using Machine Learning,” International Conference on E-Business and Telecommunications, Prague, Czech Republic, pp. 598-607, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Mohammad Almseidin et al., “Evaluation of Machine Learning Algorithms for Intrusion Detection System,” 2017 IEEE 15th International Symposium on Intelligent Systems and Informatics, Subotica, Serbia, pp. 000277-000282, 2017.
[CrossRef] [Google Scholar] [Publisher Link] - Lan Liu et al., “Intrusion Detection of Imbalanced Network Traffic based on Machine Learning and Deep Learning,” IEEE Access, vol. 9, pp. 7550-7563, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Fei Wu et al., “Research on Network Intrusion Detection Technology based on Machine Learning,” International Journal of Wireless Information Networks, vol. 28, no. 3, pp. 262-275, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Achmad Akbar Megantara, and Tohari Ahmad, “A Hybrid Machine Learning Method for Increasing the Performance of Network Intrusion Detection Systems,” Journal of Big Data, vol. 8, no. 1, pp. 1-19, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Yaping Chang, Wei Li, and Zhongming Yang, “Network Intrusion Detection based on Random Forest and Support Vector Machine,” 2017 IEEE International Conference on Computational Science and Engineering and IEEE International Conference on Embedded and Ubiquitous Computing, Guangzhou, China, pp. 635-638, 2017. [CrossRef] [Google Scholar] [Publisher Link]
- Atiku Abubakar, and Bernardi Pranggono, “Machine Learning based Intrusion Detection System for Software Defined Networks,” 2017 Seventh International Conference on Emerging Security Technologies, Canterbury, UK, pp. 138-143, 2017.
[CrossRef] [Google Scholar] [Publisher Link] - Farrukh Aslam Khan, and Abdu Gumaei, “A Comparative Study of Machine Learning Classifiers for Network Intrusion Detection,” International Conference on Artificial Intelligence and Security, Springer, Cham, pp. 75-86, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - N. Thomas Rincy, and Roopam Gupta, “Design and Development of an Efficient Network Intrusion Detection System using Machine Learning Techniques,” Wireless Communications and Mobile Computing, vol. 2021, no. 1, pp. 1-35, 2021.
[CrossRef] [Google Scholar] [Publisher Link] - Jing Li et al., “Optimizing IoT Intrusion Detection System: Feature Selection versus Feature Extraction in Machine Learning,” Journal of Big Data, vol. 11, no. 1, pp. 1-44, 2024.
[CrossRef] [Google Scholar] [Publisher Link] - Ameera S. Jaradat, Malek M. Barhoush, and Rawan S. Bani Easa, “Network Intrusion Detection System: Machine Learning Approach,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 25, no. 2, pp. 1151-1158, 2022.
[CrossRef] [Google Scholar] [Publisher Link] - Zhihui Fan, and Zhixuan You, “Research on Network Intrusion Detection based on XGBoost Algorithm and Multiple Machine Learning Algorithms,” Theoretical and Natural Science, vol. 31, pp. 161-166, 2024.
[CrossRef] [Google Scholar] [Publisher Link] - Chunying Zhang et al., “Three-Branch Random Forest Intrusion Detection Model,” Mathematics, vol. 10, no. 23, pp. 1-21, 2022.
[CrossRef] [Google Scholar] [Publisher Link] - Md. Alamin Talukder et al., “Machine Learning-based Network Intrusion Detection for Big and Imbalanced Data using Oversampling, Stacking Feature Embedding and Feature Extraction,” Journal of Big Data, vol. 11, no. 1, pp. 1-44, 2024.
[CrossRef] [Google Scholar] [Publisher Link] - Sukhpreet Singh Dhaliwal, Abdullah-Al Nahid, and Robert Abbas, “Effective Intrusion Detection System using XGBoost,” Information, vol. 9, no. 7, pp. 1-24, 2018.
[CrossRef] [Google Scholar] [Publisher Link] - Witcha Chimphlee, and Siriporn Chimphlee, “Intrusion Detection System (IDS) Development using Tree-based Machine Learning Algorithms,” International Journal of Computer Networks and Communications, vol. 15, no. 4, pp. 93-109, 2023.
[CrossRef] [Google Scholar] [Publisher Link] - Canadian Institute for Cybersecurity, Intrusion Detection Evaluation Dataset, Canadian Institute for Cybersecurity, 2017. [Online]. Available: https://www.unb.ca/cic/datasets/ids-2017.html
- Sebastián Maldonado, and Richard Weber, “A Wrapper Method for Feature Selection using Support Vector Machines,” Information Sciences, vol. 179, no. 13, pp. 2208-2217, 2009.
[CrossRef] [Google Scholar] [Publisher Link] - John A. Rice, Mathematical Statistics and Data Analysis, China Machine Press, 2003.
[Google Scholar] - S. Kullback, and R.A. Leibler, “On Information and Sufficiency,” Annals of Mathematical Statistics, vol. 22, no. 1, pp. 79-86, 1951.
[Google Scholar] [Publisher Link] - Xianwei Gao et al., “An Adaptive Ensemble Machine Learning Model for Intrusion Detection,” IEEE Access, vol. 7, pp. 82512-82521, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Peng Wei et al., “An Optimization Method for Intrusion Detection Classification Model based on Deep Belief Network,” IEEE Access, vol. 7, pp. 87593-87605, 2019.
[CrossRef] [Google Scholar] [Publisher Link] - Mohammed Hasan Ali et al., “A New Intrusion Detection System based on Fast Learning Network and Particle Swarm Optimization,” IEEE Access, vol. 6, pp. 20255-20261, 2018.
[CrossRef] [Google Scholar] [Publisher Link] - Ashwitha C Shetty, “Explainable Network Intrusion Detection using Random Forest and SHAP on the CICIDS2017 Dataset,” International Journal for Research in Applied Science and Engineering Technology, vol. 14, no. 1, pp. 1883-1886, 2026.
[CrossRef] [Publisher Link]