Research on intrusion detection model based on improved MLP algorithm

Abstract In intrusion detection, imbalanced datasets often degrade the accuracy of certain detections, potentially allowing malicious traffic to remain undetected and leading to significant losses. The multi-layer perceptron (MLP) offers distinct advantages for intrusion detection, as attack pattern...

Full description

Saved in:
Bibliographic Details
Main Authors: Qihao Zhao, Fuwei Wang, Weimin Wang, Tianxin Zhang, Haodong Wu, Weijun Ning
Format: Article
Language:English
Published: Nature Portfolio 2025-02-01
Series:Scientific Reports
Online Access:https://doi.org/10.1038/s41598-025-89798-0
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850197838815821824
author Qihao Zhao
Fuwei Wang
Weimin Wang
Tianxin Zhang
Haodong Wu
Weijun Ning
author_facet Qihao Zhao
Fuwei Wang
Weimin Wang
Tianxin Zhang
Haodong Wu
Weijun Ning
author_sort Qihao Zhao
collection DOAJ
description Abstract In intrusion detection, imbalanced datasets often degrade the accuracy of certain detections, potentially allowing malicious traffic to remain undetected and leading to significant losses. The multi-layer perceptron (MLP) offers distinct advantages for intrusion detection, as attack patterns often follow complex, nonlinear relationships. These patterns can be effectively captured through MLP’s multiple nonlinear transformations, such as ReLU and Sigmoid activation functions, which are especially beneficial for intrusion detection. Additionally, MLP exhibits low resource consumption, making it suitable for resource-constrained environments. However, MLP often struggles to accurately classify minority classes in imbalanced datasets due to its limited feature extraction capabilities. In contrast, convolutional neural networks (CNNs), particularly AlexNet’s small convolutional filters, offer more precise feature extraction for detailed dataset features. Therefore, this study integrates AlexNet’s feature extraction module with MLP and incorporates the SKNet attention mechanism to improve the recognition of minority classes. Experimental results show that our enhanced MLP algorithm outperforms the standard MLP across all seven proposed classification tasks. Specifically, the F1 scores for BotnetARES and PortScan show significant improvements of 18.93% and 26.57%, respectively, validating the efficacy of the algorithmic enhancements.
format Article
id doaj-art-9e3f7c13b13a4777ba739769735fde49
institution OA Journals
issn 2045-2322
language English
publishDate 2025-02-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-9e3f7c13b13a4777ba739769735fde492025-08-20T02:13:02ZengNature PortfolioScientific Reports2045-23222025-02-0115111110.1038/s41598-025-89798-0Research on intrusion detection model based on improved MLP algorithmQihao Zhao0Fuwei Wang1Weimin Wang2Tianxin Zhang3Haodong Wu4Weijun Ning5School of Artificial Intelligence and Software, LiaoNing Petrochemical UniversitySchool of Artificial Intelligence and Software, LiaoNing Petrochemical UniversitySchool of Artificial Intelligence and Software, LiaoNing Petrochemical UniversitySchool of Artificial Intelligence and Software, LiaoNing Petrochemical UniversitySchool of Artificial Intelligence and Software, LiaoNing Petrochemical UniversitySchool of Artificial Intelligence and Software, LiaoNing Petrochemical UniversityAbstract In intrusion detection, imbalanced datasets often degrade the accuracy of certain detections, potentially allowing malicious traffic to remain undetected and leading to significant losses. The multi-layer perceptron (MLP) offers distinct advantages for intrusion detection, as attack patterns often follow complex, nonlinear relationships. These patterns can be effectively captured through MLP’s multiple nonlinear transformations, such as ReLU and Sigmoid activation functions, which are especially beneficial for intrusion detection. Additionally, MLP exhibits low resource consumption, making it suitable for resource-constrained environments. However, MLP often struggles to accurately classify minority classes in imbalanced datasets due to its limited feature extraction capabilities. In contrast, convolutional neural networks (CNNs), particularly AlexNet’s small convolutional filters, offer more precise feature extraction for detailed dataset features. Therefore, this study integrates AlexNet’s feature extraction module with MLP and incorporates the SKNet attention mechanism to improve the recognition of minority classes. Experimental results show that our enhanced MLP algorithm outperforms the standard MLP across all seven proposed classification tasks. Specifically, the F1 scores for BotnetARES and PortScan show significant improvements of 18.93% and 26.57%, respectively, validating the efficacy of the algorithmic enhancements.https://doi.org/10.1038/s41598-025-89798-0
spellingShingle Qihao Zhao
Fuwei Wang
Weimin Wang
Tianxin Zhang
Haodong Wu
Weijun Ning
Research on intrusion detection model based on improved MLP algorithm
Scientific Reports
title Research on intrusion detection model based on improved MLP algorithm
title_full Research on intrusion detection model based on improved MLP algorithm
title_fullStr Research on intrusion detection model based on improved MLP algorithm
title_full_unstemmed Research on intrusion detection model based on improved MLP algorithm
title_short Research on intrusion detection model based on improved MLP algorithm
title_sort research on intrusion detection model based on improved mlp algorithm
url https://doi.org/10.1038/s41598-025-89798-0
work_keys_str_mv AT qihaozhao researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm
AT fuweiwang researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm
AT weiminwang researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm
AT tianxinzhang researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm
AT haodongwu researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm
AT weijunning researchonintrusiondetectionmodelbasedonimprovedmlpalgorithm