Journal of Soft Computing Exploration
Vol. 7 No. 2 (2026): June 2026

Improving intrusion detection performance using bayesian hyperparameter optimization for supervised network traffic classification

Dahlan Dahlan (Politeknik TEDC Bandung)
Dadan Saepul Ramdan (Politeknik TEDC Bandung)



Article Info

Publish Date
28 May 2026

Abstract

The rapid growth of networked systems has increased the complexity of network traffic and the risk of cyber-attacks, making intrusion detection more challenging. Machine learning approaches have been widely used to address this issue; however, their performance often depends on appropriate hyperparameter settings. This study examined the effect of Bayesian-based hyperparameter optimization on the performance of supervised machine learning models for network traffic classification. A publicly available dataset was used, consisting of various traffic-related features and labeled instances indicating normal or malicious activity. Several machine learning models, including Random Forest, Decision Tree, AdaBoost, Logistic Regression, Gradient Boosting, and Naïve Bayes, were evaluated. Each model was tested using default parameters and then optimized using Bayesian Optimization. The performance was assessed using accuracy, precision, recall, and F1-score. The results showed that ensemble-based models, particularly Gradient Boosting and Random Forest, achieved the best performance after optimization, with accuracy values above 89% and strong F1-scores. However, the findings also revealed a trade-off between precision and recall, where higher precision was often associated with lower detection of certain attack instances. In contrast, simpler models such as Logistic Regression showed lower performance, indicating their limitations in capturing complex patterns. Overall, the study demonstrated that Bayesian-based hyperparameter optimization contributed to improving model performance and provided a more reliable approach for network traffic classification.

Copyrights © 2026






Journal Info

Abbrev

journal

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering

Description

The journal focuses on publishing high-quality, original research and review articles in the field of Soft Computing, Informatics and Computer Science, emphasizing the development, application, and rigorous evaluation of Advanced Computational Methods, Artificial Intelligence (AI), Machine Learning ...