Skip to main content

AOPL: Attention Enhanced Oversampling and Parallel Deep Learning Model for Attack Detection in Imbalanced Network Traffic

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12938))

Abstract

Machine learning-based approaches have been widely used in network attack detection. Existing solutions typically train the model on a balanced dataset and get a superior detection result. However, the actual network traffic data is imbalanced due to the less frequent network attacks than the normal, which decreases the models’ performance. To reduce the impact of imbalanced data, an AOPL model is proposed in this paper, consisting of Attention Mechanism Enhanced Oversampling (AMEO) and Parallel Deep Learning (PDL). AMEO uses the attention mechanism to reduce redundancy when generating attack traffic samples. By forming data pairs as the input, PDL models each network traffic separately and requires less data than Deep Neural Network. Extensive comparison experiments on four real network traffic datasets show that AOPL has better Accuracy, Precision, and F1-score performances. Significantly, AMEO can help models perform better attack detection on the imbalanced data.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Okutan, A., Werner, G., et al.: Forecasting cyberattacks with incomplete, imbalanced, and insignificant data. Cybersecurity 1(1), 1–16 (2018)

    Article  Google Scholar 

  2. The National Internet Emergency Response Center (CNCERT): China’s Internet Network Security Report 2019 (2020)

    Google Scholar 

  3. Wheelus, C., Bou-Harb, E., Zhu, X.: Tackling class imbalance in cyber security datasets. 2018 IEEE International Conference on Information Reuse and Integration (IRI), pp. 229–232 (2018)

    Google Scholar 

  4. Zhang, H., Li, Y., et al.: A real-time and ubiquitous network attack detection based on deep belief network and support vector machine. IEEE/CAA J. Automatica Sin. 7(3), 790–799 (2020)

    Article  Google Scholar 

  5. Ferrag, M.A., et al.: RDTIDS: rules and decision tree-based intrusion detection system for internet-of-things networks. Future Internet 12(3), 44 (2020)

    Article  Google Scholar 

  6. Dada, EG.: A hybridized SVM-kNN-pdAPSO approach to intrusion detection system. Proceedings of the Faculty Seminar Series, pp. 14–21 (2017)

    Google Scholar 

  7. Yuan, Y., Huo, L., Hogrefe, D.: Two layers multi-class detection method for network intrusion detection system. 2017 IEEE Symposium on Computers and Communications (ISCC), pp. 767–772 (2017)

    Google Scholar 

  8. Meng, Y.X.: The practice on using machine learning for network anomaly intrusion detection. In: 2011 International Conference on Machine Learning and Cybernetics, vol. 2, pp. 576–581 (2011). https://doi.org/10.1109/ICMLC.2011.6016798

  9. Zheng, W.F.: Intrusion detection based on convolutional neural network. In: 2020 International Conference on Computer Engineering and Application (ICCEA), pp. 273–277 (2020)

    Google Scholar 

  10. Kwon, O., Sim, J.M.: Effects of data set features on the performances of classification algorithms. Expert Syst. Appl. 40(5), 1847–1857 (2013)

    Article  Google Scholar 

  11. Seo, J.H., Kim, Y.H.: Machine-learning approach to optimize SMOTE ratio in class imbalance dataset for intrusion detection. Comput. Intell. Neurosci. (2018)

    Google Scholar 

  12. Mani, I., Zhang, I.: kNN approach to unbalanced data distributions: a case study involving information extraction. In: Proceedings of Workshop on Learning from Imbalanced Datasets, vol. 126 (2003)

    Google Scholar 

  13. He, H., Garcia, E.A.: Learning from imbalanced data. IEEE Trans. Knowl. Data Eng. 21(9), 1263–1284 (2009)

    Article  Google Scholar 

  14. Liu, S., Lin, G.: DeepBalance: deep-learning and fuzzy oversampling for vulnerability detection. IEEE Trans. Fuzzy Syst. 28(7), 1329–1343 (2019)

    Google Scholar 

  15. Sun, D., Wu, Z. et al.: Risk prediction for imbalanced data in cyber security : a Siamese network-based deep learning classification framework. In: 2019 International Joint Conference on Neural Networks (IJCNN) (2019)

    Google Scholar 

  16. Liu, X.Y., Wu, J., Zhou, Z.H.: Exploratory undersampling for class-imbalance learning. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 39(2), 539–550 (2008)

    Google Scholar 

  17. Chawla, N.V., et al.: SMOTE: synthetic minority over-sampling technique. J. Artif. Intell. Res. 16, 321–357 (2002)

    Article  Google Scholar 

  18. He, H., Bai, Y., et al.: ADASYN: adaptive synthetic sampling approach for imbalanced learning. In: 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), pp. 1322–1328 (2008)

    Google Scholar 

  19. Vaswani, A., Shazeer, N., Parmar, N., et al.:: Attention is all you need. In: Advances in Neural Information Processing Systems, pp. 5998–6008 (2017)

    Google Scholar 

  20. Xu, K., Ba, J., et al.: Show, attend and tell: neural image caption generation with visual attention. In: International Conference on Machine Learning, pp. 2048–2057 (2015)

    Google Scholar 

  21. Tehrani, P., Levorato, M.: Frequency-based multi task learning with attention mechanism for fault detection in power systems (2020)

    Google Scholar 

  22. Meidan, Y., Bohadana, M., Mathov, Y., et al.: N-BaIoT: network-based detection of IoT Botnet attacks using deep autoencoders. IEEE Pervasive Comput. 17(3), 12–22 (2018). Special Issue - Securing the IoT

    Google Scholar 

  23. Mirsky, Y., Doitshman, T., et al.: Kitsune: an ensemble of autoencoders for online network intrusion detection. In: Network and Distributed System Security Symposium (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Qiujian Lv .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, L., Huang, W., Lv, Q., Wang, Y., Chen, H. (2021). AOPL: Attention Enhanced Oversampling and Parallel Deep Learning Model for Attack Detection in Imbalanced Network Traffic. In: Liu, Z., Wu, F., Das, S.K. (eds) Wireless Algorithms, Systems, and Applications. WASA 2021. Lecture Notes in Computer Science(), vol 12938. Springer, Cham. https://doi.org/10.1007/978-3-030-86130-8_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-86130-8_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-86129-2

  • Online ISBN: 978-3-030-86130-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics