{"title":"Bal-IDS:增强物联网网络低频攻击检测的鲁棒网络入侵检测系统","authors":"Jing Li, Mengru Wang, Zhi Yin","doi":"10.1002/cpe.70306","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Network Intrusion Detection Systems (NIDS) are crucial in safeguarding IoT security. However, due to complex traffic patterns and severe class imbalance, existing intrusion detection methods struggle to detect low-frequency attacks, which are rare and sophisticated. This paper proposes Bal-IDS, a novel NIDS designed to enhance low-frequency attack detection in IoT networks. Bal-IDS employs a parallel architecture that combines an improved one-dimensional Convolutional Neural Network (1DCNN) for spatial feature extraction with Bidirectional Gated Recurrent Units (BiGRU) for temporal feature extraction. These features are dynamically fused using a self-attention mechanism to strengthen representation. A two-stage class balancing method, Sampling-based Equalization Loss (SEL), is designed to address class imbalance. This approach incorporates an adaptive oversampling strategy to mitigate local sample imbalance and utilizes Equalization Loss v2 (EQLv2) to address global gradient imbalance, significantly improving the detection rate for low-frequency attacks while maintaining low computational costs. The effectiveness of Bal-IDS is validated on the NSL-KDD and BoT-IoT datasets, achieving multi-class classification accuracies of 99.88% and 99.96%, respectively, with false alarm rates of 0.08% and 0.03%, surpassing state-of-the-art methods.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 25-26","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Bal-IDS: A Robust Network Intrusion Detection System for Enhancing Low-Frequency Attack Detection in IoT Networks\",\"authors\":\"Jing Li, Mengru Wang, Zhi Yin\",\"doi\":\"10.1002/cpe.70306\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div>\\n \\n <p>Network Intrusion Detection Systems (NIDS) are crucial in safeguarding IoT security. However, due to complex traffic patterns and severe class imbalance, existing intrusion detection methods struggle to detect low-frequency attacks, which are rare and sophisticated. This paper proposes Bal-IDS, a novel NIDS designed to enhance low-frequency attack detection in IoT networks. Bal-IDS employs a parallel architecture that combines an improved one-dimensional Convolutional Neural Network (1DCNN) for spatial feature extraction with Bidirectional Gated Recurrent Units (BiGRU) for temporal feature extraction. These features are dynamically fused using a self-attention mechanism to strengthen representation. A two-stage class balancing method, Sampling-based Equalization Loss (SEL), is designed to address class imbalance. This approach incorporates an adaptive oversampling strategy to mitigate local sample imbalance and utilizes Equalization Loss v2 (EQLv2) to address global gradient imbalance, significantly improving the detection rate for low-frequency attacks while maintaining low computational costs. The effectiveness of Bal-IDS is validated on the NSL-KDD and BoT-IoT datasets, achieving multi-class classification accuracies of 99.88% and 99.96%, respectively, with false alarm rates of 0.08% and 0.03%, surpassing state-of-the-art methods.</p>\\n </div>\",\"PeriodicalId\":55214,\"journal\":{\"name\":\"Concurrency and Computation-Practice & Experience\",\"volume\":\"37 25-26\",\"pages\":\"\"},\"PeriodicalIF\":1.5000,\"publicationDate\":\"2025-09-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Concurrency and Computation-Practice & Experience\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70306\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70306","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
摘要
网络入侵检测系统(NIDS)对于保障物联网安全至关重要。然而,由于流量模式复杂,类不平衡严重,现有的入侵检测方法难以检测到罕见且复杂的低频攻击。本文提出了一种新的NIDS,旨在增强物联网网络中的低频攻击检测。Bal-IDS采用并行架构,将改进的一维卷积神经网络(1DCNN)用于空间特征提取,与双向门控循环单元(BiGRU)用于时间特征提取相结合。使用自关注机制动态融合这些特征以增强表征。为了解决类失衡问题,设计了一种两阶段类平衡方法——基于抽样的均衡损失(SEL)。该方法采用自适应过采样策略来缓解局部样本不平衡,并利用均衡化损失v2 (Equalization Loss v2, EQLv2)来解决全局梯度不平衡,在保持较低计算成本的同时,显著提高了低频攻击的检测率。在NSL-KDD和BoT-IoT数据集上验证了Bal-IDS的有效性,分别实现了99.88%和99.96%的多类分类准确率,虚警率分别为0.08%和0.03%,超过了现有的方法。
Bal-IDS: A Robust Network Intrusion Detection System for Enhancing Low-Frequency Attack Detection in IoT Networks
Network Intrusion Detection Systems (NIDS) are crucial in safeguarding IoT security. However, due to complex traffic patterns and severe class imbalance, existing intrusion detection methods struggle to detect low-frequency attacks, which are rare and sophisticated. This paper proposes Bal-IDS, a novel NIDS designed to enhance low-frequency attack detection in IoT networks. Bal-IDS employs a parallel architecture that combines an improved one-dimensional Convolutional Neural Network (1DCNN) for spatial feature extraction with Bidirectional Gated Recurrent Units (BiGRU) for temporal feature extraction. These features are dynamically fused using a self-attention mechanism to strengthen representation. A two-stage class balancing method, Sampling-based Equalization Loss (SEL), is designed to address class imbalance. This approach incorporates an adaptive oversampling strategy to mitigate local sample imbalance and utilizes Equalization Loss v2 (EQLv2) to address global gradient imbalance, significantly improving the detection rate for low-frequency attacks while maintaining low computational costs. The effectiveness of Bal-IDS is validated on the NSL-KDD and BoT-IoT datasets, achieving multi-class classification accuracies of 99.88% and 99.96%, respectively, with false alarm rates of 0.08% and 0.03%, surpassing state-of-the-art methods.
期刊介绍:
Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of:
Parallel and distributed computing;
High-performance computing;
Computational and data science;
Artificial intelligence and machine learning;
Big data applications, algorithms, and systems;
Network science;
Ontologies and semantics;
Security and privacy;
Cloud/edge/fog computing;
Green computing; and
Quantum computing.