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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

XGBoost-LR: A method for network traffic anomaly detection

Xiao Wang, Tet Vui Chong, Jun Ma, Guangquan Xu et al.
1 citations
International Journal of Cognitive Computing in Engineering
Network Security and Intrusion Detection
1.49
article

XGBoost-LR: A method for network traffic anomaly detection

Xiao Wang, Tet Vui Chong, Jun Ma, Guangquan Xu, Peng Peng, Tianyu Liu
article en
1 citations

Abstract

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.

International Journal of Cognitive Computing in EngineeringVol. 7
Tianjin University (CN), Tianjin University of Finance and Economics (CN), Tianjin Economic-Technological Development Area (CN), China Automotive Technology and Research Center (CN)
Openalex Percentile: Top 11%
Network Security and Intrusion Detection
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.