边界寻求GAN增强的TabTransformer用于对抗鲁棒的入侵检测 Boundary-Seeking GAN-Augmented TabTransformer for Adversarially Robust Intrusion Detection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-07-17
👁️ 预览文献
💡 AI 中文简介
本研究针对基于机器学习的入侵检测系统(IDS)面临的类别不平衡和对抗攻击脆弱性问题,提出了一种结合边界寻求生成对抗网络(BGAN)的TabTransformer框架,并在CICIDS2017数据集上进行流级入侵检测。BGAN既能生成少数类合成样本以缓解数据不平衡,又能产生对抗样本以评估模型鲁棒性。实验结果显示,BGAN增强使TabTransformer的Macro-F1分数从82.96%提升至86.50%,其中Web_Attack类别的F1分数从0.29提升至0.61。鲁棒性评估表明,所有未增强模型在对抗测试下性能下降率(PDR)为100%,而所有BGAN增强模型均获得负PDR值,表明鲁棒性提升。此外,增强后的TabTransformer在所有噪声水平下保持稳定且较低的误触发率(FTR)(1.51%-2.92%),而BGAN增强的决策树在良性扰动下FTR达到49.09%。这些发现表明BGAN能同时增强类别平衡和对抗鲁棒性,所提出的BGAN-TabTransformer框架为对抗性网络环境提供了有效且自适应的入侵检测解决方案。
领域网络安全、入侵检测、机器学习
适合谁读需要一定专业背景
核心贡献["提出一种BGAN增强的TabTransformer框架,用于流级入侵检测,同时解决类别不平衡和对抗鲁棒性问题。", "通过实验证明BGAN增强能显著提升模型在对抗攻击下的鲁棒性,所有增强模型均获得负PDR值。"]
关键数据Macro-F1从82.96%提升至86.50%;Web_Attack F1从0.29提升至0.61;未增强模型PDR为100%,增强模型PDR为负;增强TabTransformer的FTR为1.51%-2.92%,增强决策树在良性扰动下FTR达49.09%。
推荐理由如果你想了解如何用GAN增强Transformer模型来同时解决数据不平衡和对抗攻击问题,这篇论文提供了扎实的实验证据,值得一读。
关键词["入侵检测", "生成对抗网络", "TabTransformer", "对抗鲁棒性", "类别不平衡", "CICIDS2017"]

原文摘要

查看英文原文摘要

Machine learning-based intrusion detection systems (IDSs) often suffer from class imbalance and vulnerability to adversarial attacks, leading to degraded detection performance and reduced robustness. This study proposes a TabTransformer framework augmented by the Boundary-Seeking Generative Adversarial Network (BGAN) for flow-based intrusion detection using the CICIDS2017 dataset. BGAN serves a dual purpose by generating synthetic minority-class samples to mitigate data imbalance and producing adversarial samples to evaluate model robustness. Experimental results demonstrate that BGAN augmentation improves TabTransformer's Macro-F1 score from 82.96% to 86.50%, with the largest class-wise improvement observed for Web_Attack (F1 score: 0.29 to 0.61). Robustness evaluation shows that all non-augmented models experienced a 100% Performance Drop Rate (PDR) under adversarial testing, whereas all BGAN-augmented models achieved negative PDR values, indicating improved resilience. Furthermore, the augmented TabTransformer maintained stable and low False Triggered Rate (FTR) values (1.51%-2.92%) across all noise levels, compared with the BGAN-augmented Decision Tree, which reached 49.09% under benign perturbations. These findings demonstrate that BGAN consistently enhances both class balance and adversarial robustness, while the proposed BGAN-TabTransformer framework provides an effective and adaptive intrusion detection solution for adversarial network environments.

📚 参考文献 (18 条)

查看18 条参考文献
  1. [1] Ahmad, R., Li, L. H., Sharma, A. K., & Tanone, R. (2023). Boundary-seeking GAN approach to improve classification of intrusion detection systems based on ma- chine learning model. Proceedings of the 2023 17th In- ternational Conference on Ubiquitous Information Man- agement and Communication (IMCOM). https://doi. org/10.1109/IMCOM56909.2023.10035580
  2. [2] Alshahrani, E., Alghazzawi, D., Alotaibi, R., & Rabie, O. (2022). Adversarial attacks against supervised machine learning based network intrusion detection systems. PLoS ONE, 17(10). https://doi.org/10.1371/journal. pone.0275971
  3. [3] Alzaidy, S., & Binsalleeh, H. (2024). Adversarial attacks with defense mechanisms on convolutional neural net- works and recurrent neural networks for malware classifi- cation. Applied Sciences, 14(4). https://doi.org/10. 3390/app14041673
  4. [4] Bagui, S., & Li, K. (2021). Resampling imbalanced data for network intrusion detection datasets. Jour- nal of Big Data, 8(1). https://doi.org/10.1186/ s40537-020-00390-x
  5. [5] Barradas, D., Santos, N., Rodrigues, L., Signorello, S., Ramos, F. M. V., & Madeira, A. (2021). FlowLens: Enabling efficient flow classification for ML-based net- work security applications. 28th Annual Network and Distributed System Security Symposium (NDSS 2021). https://doi.org/10.14722/ndss.2021.24067
  6. [6] Busse-Grawitz, C., Meier, R., Dietmüller, A., Bühler, T., & Vanbever, L. (2019). pForest: In-network inference with random forests. arXiv preprint arXiv:1909.05680. https://arxiv.org/abs/1909.05680
  7. [7] Chillara, A. K., Saxena, P., & Maiti, R. R. (2025). Transformer-based GAN-augmented defender for adver- sarial USB keystroke injection attacks. Proceedings of the 26th International Conference on Distributed Com- puting and Networking (ICDCN 2025), 94–103. https: //doi.org/10.1145/3700838.3700871
  8. [8] Djilani, M., Simonetto, T., Tit, K., Tambon, F., Ghamizi, S., Cordy, M., & Papadakis, M. (2026). On the ro- bustness of tabular foundation models: Test-time attacks and in-context defenses. arXiv preprint arXiv:2506.02978 https://arxiv.org/abs/2506.02978
  9. [9] He, Z., Ouyang, C., Wen, L., Liu, C., & Moreira, C. (2026). TabAttackBench: A benchmark for adversar- ial attacks on tabular data. Expert Systems with Appli- cations, 301, 130491. https://doi.org/10.1016/j. eswa.2025.130491
  10. [10] Hnamte, V., Najar, A. A., Nhung-Nguyen, H., Hussain, J., & Sugali, M. N. (2024). DDoS attack detection and mitigation using deep neural network in SDN environ- ment. Computers & Security, 138. https://doi.org/ 10.1016/j.cose.2023.103661
  11. [11] Huang, X., Khetan, A., Cvitkovic, M., & Karnin, Z. (2020). TabTransformer: Tabular data modeling using contextual embeddings. arXiv preprint https://arxiv. org/abs/2012.06678
  12. [12] Li, J., Zong, W., Chow, Y. W., & Susilo, W. (2025). Mitigating class imbalance in network intrusion detection with feature-regularized GANs. Future Internet, 17(5). https://doi.org/10.3390/fi17050216
  13. [13] Lin, Z., Shi, Y., & Xue, Z. (2022). IDSGAN: Gener- ative adversarial networks for attack generation against intrusion detection.In Advances in Knowledge Discovery and Data Mining (PAKDD 2022), Lecture Notes in Com- puter Science, vol. 13280, pp. 79–91. Springer. https: //doi.org/10.1007/978-3-031-05981-0_7
  14. [14] Salehiyan, A., Moghaddam, P. S., & Kaveh, M. (2025). An optimized Transformer–GAN–AE for intrusion de- tection in edge and IIoT systems: Experimental insights from WUSTL-IIoT-2021, EdgeIIoTset, and TON_IoT datasets. Future Internet, 17(7). https://doi.org/10. 3390/fi17070279
  15. [15] Sharafaldin, I., Lashkari, A. H., & Ghorbani, A. A. (2018). Toward generating a new intrusion detection dataset and intrusion traffic characterization. Proceed- ings of the 4th International Conference on Information Systems Security and Privacy (ICISSP 2018), 108–116. https://doi.org/10.5220/0006639801080116 8
  16. [16] Wang, X., Qiao, Y., Xiong, J., Zhao, Z., Zhang, N., Feng, M., & Jiang, C. (2024). Advanced network intrusion de- tection with TabTransformer. Journal of Theory and Prac- tice of Engineering Science, 4(03), 191–198. https:// doi.org/10.53469/jtpes.2024.04(03).18
  17. [17] Yue, M., Yan, H., Han, R., & Wu, Z. (2025). DAD: Enhancing multi-class DDoS attack classification using data augmentation with DRCGAN. In Proceedings of the 2025 4th International Conference on Big Data, Informa- tion and Computer Network (BDICN 2025), pp. 669–675. https://doi.org/10.1145/3727353.3727461
  18. [18] Zhang, H., Yue, H., Xiao, X., Yu, L., Li, Q., Ling, Z., & Zhang, Y. (2025). Revolutionizing encrypted traffic classi- fication with MH-Net: A multi-view heterogeneous graph model. Proceedings of the AAAI Conference on Artificial Intelligence, 39(1). DOI: https://doi.org/10.1609/ aaai.v39i1.32091 9