nav emailalert searchbtn searchbox tablepage yinyongbenwen piczone journalimg journalInfo journalinfonormal searchdiv searchzone qikanlogo popupnotification paper paperNew
AI智读

腾云AI智读

以下回复内容均依据本文提供!

AI导读
* 友情提示:该部分内容由 AI技术自动生成,仅供参考。对于因使用本网站以上内容产生的相关后果,本网站不承担任何商业和法律责任。
* 登录仅用于提升体验和增强功能,不会增加额外使用限制。
基于CNN-LightGBM-MLP的异常流量检测方法
基金项目(Foundation): 四川省科技计划重点研发项目(2023YFS0371); 企业信息化与物联网测控技术四川省高校重点试验室开放基金项目(2024WYJ03)
邮箱(Email): zwz@suse.edu.cn
DOI:
发布时间: 2026-09-17
出版时间: 2026-09-17
网络发布时间: 2026-09-17
移动端阅读
摘要:

针对网络环境中具有隐蔽性的复杂攻击流量与正常流量高度相似,致使原始特征判别力不足、攻击样本易被误判为正常流量,同时数据类别分布普遍失衡的问题,提出一种基于CNN-LightGBM-MLP的异常流量检测方法。首先,利用一维卷积神经网络(1D-CNN)提取局部高维特征作为下游模型的第一类特征输入;然后,预训练Light Gradient Boosting Machine(LightGBM),计算叶子节点作为深度特征进行嵌入,并利用通道注意力机制增强判别性特征,将其作为第二类特征;最后,联合两类特征进行融合模型训练,通过多层感知机(MLP)输出分类结果。在CICIDS2018数据集上进行多分类任务测试,结果表明,针对隐蔽性复杂攻击流量的分类任务,所提方法取得了98.28%的准确率,其精确率与F1分数均优于对比方法,展现出优异的稳定性与可靠性。本研究为复杂攻击的检测提供了有效方案,对未来的网络安全与流量管理实践具有重要参考价值。

Abstract:

To address the problems that stealthy complex attack traffic in network environments is highly similar to normal traffic, resulting in insufficient discriminative power of original features and making attack samples prone to misclassification as normal traffic, along with the generally imbalanced class distribution, an Anomaly Traffic Detection Method Based on CNN-LightGBM-MLP is proposed in the paper. First, a one-dimensional convolutional neural network (1D-CNN) is utilized to extract local high-dimensional features, which serve as the first type of feature input for the downstream model. Subsequently, Light Gradient Boosting Machine (LightGBM) is pre-trained, and its leaf nodes are calculated and embedded as deep features. A channel attention mechanism is employed to enhance discriminative features, which are then used as the second type of feature input. Finally, the two types of features are combined for fusion model training, and the classification result is output through a multilayer perceptron (MLP). The method is tested on the CICIDS2018 dataset for a multi-classification task. Results demonstrate that for classifying stealthy complex attack traffic, the proposed method achieves an accuracy of 98.28%, with both precision and F1-score outperforming comparative approaches, exhibiting excellent stability and reliability. This study provides an effective solution for detecting complex attacks and offers valuable insights for future network security and traffic management practices.

参考文献

[1] 于治平,刘彩霞,刘树新,等.基于机器学习的网络流量分类综述[J].信息工程大学学报,2023,24(4):447-453,483.

[2] DONG W Q,YU J,LIN X J,et al.Deep learning and pre-training technology for encrypted traffic classification:a comprehensive review[J].Neurocomputing,2025,617:128444.

[3] BECHOO C,MUNGUR A.A real-time network traffic classification system using cost-sensitive deep neural networks[J].Journal of Ambient Intelligence and Smart Environments,2025,17(2):230-260.

[4] GUAN X J,ZHU S Y,WAN X L,et al.STARNeT:Multidimensional spatial-temporal attention recall network for accurate encrypted traffic classification[J].Journal of Network and Computer Applications,2025,236:104109.

[5] 马博文,郭渊博,田继伟,等.基于可解释人工智能的流量对抗样本攻击及防御方法[J].通信学报,2025,46(4):160-173.

[6] 王强,刘奕智,李涛,等.网络流量密态匿迹与体系对抗综述[J].信息网络安全,2024,24(10):1484-1492.

[7] 陈虹,杨思文,金海波,等.改进生成对抗网络与残差网络的流量异常检测模型[J].计算机技术与发展,2025,35(4):65-72.

[8] Binbusayyis A.Hybrid VGG19 and 2D-CNN for intrusion detection in the FOG-cloud environment[J].Expert Systems with Applications,2024,238:121758.

[9] 刘会景,唐永旺,郑登峰.多模态融合与时序特征相残差的异常流量检测方法[J].计算机应用与软件,2025,42(3):102-109.

[10] 李柄军,陈帅良,段晓英,等.基于改进的GAN与DL融合的入侵检测方法[J].计算机技术与发展,2025,35(5):67-75.

[11] 陈万志,赵林,王天元.特征增强的改进LightGBM流量异常检测方法[J].电子测量与仪器学报,2024,38(3):195-207.

[12] 赵新建,夏飞,朱凤玲,等.面向网络流量分类的Mamba网络:引入数据增强的优化方法[J].软件导刊,2025,24(3):99-108.

[13]翟明芳.基于深度学习的加密恶意流量检测研究[D].郑州:战略支援部队信息工程大学,2021.

[14] KE G,MENG Q,FINLEY T,et al.LightGBM:A highly efficient gradient boosting decision tree[J].Advances in Neural Information Processing Systems,2017,30:3147-3155.

[15] LV X,HAN D Z,LI D,et al.Network abnormal traffic detection method based on fusion of chord similarity and multiple loss encoder[J].EURASIP Journal on Wireless Communications and Networking,2022,2022(1):105.

[16] NIE F Y,LIU G J,LIU W W,et al.IoT-AMLHP:aligned multimodal learning of header-payload representations for resource-efficient malicious IoT traffic classification[J].Ad Hoc Networks,2025,178:103916.

[17] WEI W H,CHEN Y,LIN Q Z,et al.Multi-objective evolving long-short term memory networks with attention for network intrusion detection[J].Applied Soft Computing,2023,139:110216.

基本信息:

中图分类号:TP393.08;TP18

引用信息:

[1]张康,朱文忠.基于CNN-LightGBM-MLP的异常流量检测方法[J].四川轻化工大学学报(自然科学版)().

基金信息:

四川省科技计划重点研发项目(2023YFS0371); 企业信息化与物联网测控技术四川省高校重点试验室开放基金项目(2024WYJ03)

发布时间:

2026-09-17

出版时间:

2026-09-17

网络发布时间:

2026-09-17

检 索 高级检索

引用

GB/T 7714-2015 格式引文
MLA格式引文
APA格式引文