XGBoost-LR: A method for network traffic anomaly detection
With the rapid evolution of internet technology, individuals are facing increasingly severe network security challenges. Confronted with diverse and sophisticated network attacks, traditional methods for network attack detection often struggle to keep pace with these evolving threats, leading to problems such as low anomaly detection accuracy and high false alarm rates. After thoroughly reviewing domestic and international advances in network traffic anomaly detection, this paper introduces a machine learning–based approach, namely the extreme gradient boosting (XGBoost-LR) anomaly traffic detection method. Building on the XGBoost model, this method is designed to address the prevailing issue of low accuracy in current network traffic anomaly detection. Unlike conventional XGBoost+LR approaches that simply stack a single XGBoost model with LR, our method introduces three key innovations: (1) parallel training of multiple diversified XGBoost base classifiers on strategically partitioned data subsets to capture complementary feature representations; (2) a novel two-phase feature interaction mechanism, where base classifiers first learn high-level nonlinear patterns before LR performs fine-grained probabilistic calibration; and (3) dynamic sample re-weighting during ensemble to emphasize hard-to-detect attack categories. This architecture enables more comprehensive feature learning than single-model XGBoost+LR while maintaining computational efficiency. Through strategic dataset segmentation and sub-model parallelism, it effectively identifies malicious traffic, reducing training time and enhancing detection accuracy. Experimental results demonstrate that the proposed method successfully detects and recognizes network traffic anomalies. When compared with several conventional machine learning models using the F1 score, it achieves a modest but consistent improvement in anomaly traffic detection performance. • Innovative Application of XGBoost-LR for Network Traffic Anomaly Detection. • Optimized Model Architecture and Parallel Processing for Improved Efficiency and Accuracy.
Authors
- Xiao Wang (ORCID: https://orcid.org/0000-0002-4666-0392)
- Tet Vui Chong (ORCID: https://orcid.org/0000-0002-2315-4171)
- Jun Ma (ORCID: https://orcid.org/0000-0003-0958-0913)
- Guangquan Xu (ORCID: https://orcid.org/0000-0001-8701-3944)
- Peng Peng (ORCID: https://orcid.org/0000-0002-5707-4938)
- Tianyu Liu
Institutions
- Tianjin University (CN)
- Tianjin University of Finance and Economics (CN)
- Tianjin Economic-Technological Development Area (CN)
- China Automotive Technology and Research Center (CN)
Publication Details
- Journal
- International Journal of Cognitive Computing in Engineering
- Published
- 2025-11-30
- DOI
- https://doi.org/10.1016/j.ijcce.2025.11.007
- Citations
- 1
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 1.49