XGBoost-LR: A method for network traffic anomaly detection

Tianyu Liu , Tonghong Chong , Guangquan Xu , Xiao Wang , Peng Peng , JingLi Ma
{"title":"XGBoost-LR: A method for network traffic anomaly detection","authors":"Tianyu Liu ,&nbsp;Tonghong Chong ,&nbsp;Guangquan Xu ,&nbsp;Xiao Wang ,&nbsp;Peng Peng ,&nbsp;JingLi Ma","doi":"10.1016/j.ijcce.2025.11.007","DOIUrl":null,"url":null,"abstract":"<div><div>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.</div></div>","PeriodicalId":100694,"journal":{"name":"International Journal of Cognitive Computing in Engineering","volume":"7 ","pages":"Pages 325-333"},"PeriodicalIF":0.0000,"publicationDate":"2026-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Cognitive Computing in Engineering","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666307425000658","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/11/30 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
XGBoost-LR:一种网络流量异常检测方法
随着互联网技术的飞速发展,个人面临着越来越严峻的网络安全挑战。面对种类繁多、技术复杂的网络攻击,传统的网络攻击检测方法往往难以跟上威胁的变化,导致异常检测准确率低、虚警率高等问题。在全面回顾国内外网络流量异常检测进展的基础上,本文介绍了一种基于机器学习的方法,即极限梯度增强(XGBoost-LR)异常流量检测方法。该方法基于XGBoost模型,旨在解决当前网络流量异常检测中普遍存在的准确率低的问题。与传统的XGBoost+LR方法(简单地将单个XGBoost模型与LR叠加)不同,我们的方法引入了三个关键创新:(1)在战略划分的数据子集上并行训练多个多样化的XGBoost基分类器,以捕获互补的特征表示;(2)一种新的两阶段特征交互机制,基分类器首先学习高级非线性模式,然后LR进行细粒度概率校准;(3)在集成过程中对样本进行动态加权,强调难以检测的攻击类别。该架构在保持计算效率的同时,能够实现比单模型XGBoost+LR更全面的特征学习。通过战略性的数据集分割和子模型并行化,有效识别恶意流量,减少了训练时间,提高了检测准确率。实验结果表明,该方法能够成功地检测和识别网络流量异常。当与使用F1分数的几种传统机器学习模型进行比较时,它在异常流量检测性能上实现了适度但一致的改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
13.80
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书