DDoS Detection Framework Using Machine Learning Optimized by Bayesian and PSO Techniques
Date
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
This paper presents a distributed denial of service (DDoS) detection framework using machine learning techniques enhanced with hyperparameter optimization for network traffic classification and evaluated on the BCCC-cPacket-Cloud-DDoS-2024 dataset. The framework includes data preprocessing with normalization and class imbalance handling via the synthetic minority over-sampling technique. A critical contribution of this study is the rigorous analysis of the trade-off between detection accuracy and model complexity. Unlike arbitrary feature selection methods, we empirically determined the optimal feature set using information gain, identifying that the top 100 features represent the saturation point that balances high accuracy with minimal overhead. Model performance was further improved through hyperparameter optimization using particle swarm optimization and Bayesian algorithms. The extreme gradient boosting (XGBoost) model optimized using Bayesian optimization and the top 100 features achieved the highest performance, with an accuracy of 99.29% and an F1-score of 98.91%. As a result, the proposed framework improves detection performance while reducing model complexity by selecting an optimal feature set to improve model stability and efficiency.
