Skip to main content

A High Performance Intrusion Detection System Using LightGBM Based on Oversampling and Undersampling

  • Conference paper
  • First Online:
Intelligent Computing Theories and Application (ICIC 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13393))

Included in the following conference series:

Abstract

Intrusion detection system plays an important role in network security, however, the problem with data imbalance limits the detection ability of intrusion detection system. In order to improve the performance of intrusion detection system, this paper proposes to use the adaptive synthetic sampling technique (ADASYN) and random under sampling technique to alleviate the problem of data imbalance in intrusion detection. Firstly, the majority class samples in the dataset are removed by undersampling technology and the minority class samples are oversampled, so the samples can reach a balanced state. Subsequently, a sparse autoencoder (SAE) extracts features from the resampled data to fit the original sample as closely as possible. Finally, LightGBM is applied on the processed dataset for the classification process. Multi-classification experiments were conducted on KDD99 and UNSWNB15 datasets. We compare six models’ performance and find LightGBM is superior to other models. Furthermore, we also compare existing methods and the results show that our proposed method outperforms current methods.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.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

Institutional subscriptions

References

  1. Bijone, M.: A survey on secure network: intrusion detection & prevention approaches. Am. J, Inf. Sys. 4(3), 69–88 (2016)

    Google Scholar 

  2. Jian, S.J., et al.: Overview of network intrusion detection technology. J. Inf. Secur. China 5(4), 96–122 (2020)

    Google Scholar 

  3. Mahmoud Said, E., et al.: A novel hybrid model for intrusion detection systems in SDNs based on CNN and a new regularization technique. J. Netw. Compu. Appl. 191, 103160 (2021)

    Google Scholar 

  4. Kilincer, I.F., et al.: Machine learning methods for cyber security intrusion detection: datasets and comparative study. Comput. Netw. 188, 107840 (2021)

    Google Scholar 

  5. Ahmim, A., et al.: A novel hierarchical intrusion detection system based on decision tree and rules-based models. In: 2019 15th International Conference on Distributed Computing in Sensor Systems (DCOSS), pp. 228–233. IEEE (2019)

    Google Scholar 

  6. Dong, K., Shi, J., Guo, L., Yuan, F.: Application of SVM in anomaly detection based on sampling and feature extraction. J. Phys. Conf. Ser. 1629(1), 012017, IOP Publishing (2020)

    Google Scholar 

  7. Ji, S., Ye, K., Xu, C.-Z.: A network intrusion detection approach based on asymmetric convolutional autoencoder. In: Zhang, Qi., Wang, Y., Zhang, L.-J. (eds.) CLOUD 2020. LNCS, vol. 12403, pp. 126–140. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-59635-4_9

    Chapter  Google Scholar 

  8. Khan, F.A., et al.: A novel two-stage deep learning model for efficient network intrusion detection. IEEE Access 7, 30373–30385 (2019)

    Google Scholar 

  9. Kasongo, S.M., Sun, Y.: A deep learning method with wrapper based feature extraction for wireless intrusion detection system. Comput. Secur. 92, 101752 (2020)

    Google Scholar 

  10. Baig, M.M., Awais, M.M., El-Alfy, E.M.: A multiclass cascade of artificial neural network for network intrusion detection. J. Intell. Fuzzy Syst. 32(4), 2875–2883 (2017)

    Google Scholar 

  11. Yang, Y., et al.: Improving the classification effectiveness of intrusion detection by using improved conditional variational autoencoder and deep neural network. Sensors 19(11), 2528 (2019)

    Google Scholar 

  12. Zhao, Z., Ge, L., Zhang, G.: A novel DBN-LSSVM ensemble method for intrusion detection system. In: 2021 9th International Conference on Communications and Broadband Networking, pp. 101–107 (2021)

    Google Scholar 

  13. Singh, P., Kaur, A., Aujla, G.S., Batth, R.S., Kanhere, S.: Daas: Dew computing as a service for intelligent intrusion detection in edge-of-things ecosystem. IEEE Internet Things J. 8(16), 12569–12577 (2020)

    Article  Google Scholar 

  14. Li, Y., Gao, P., Wu, Z.: Intrusion detection method based on sparse autoencoder. In: 2021 3rd International Conference on Computer Communication and the Internet (ICCCI), pp. 63–68, IEEE (2021)

    Google Scholar 

  15. Basati, A., Faghih, M.M.: PDAE: Efficient network intrusion detection in IoT using parallel deep auto-encoders. Inf. Sci. 598, 57–74 (2022)

    Google Scholar 

  16. Zhang, H., et al.: An effective convolutional neural network based on SMOTE and Gaussian mixture model for intrusion detection in imbalanced dataset. Comput. Netw. 177, 107315 (2020)

    Google Scholar 

  17. Ahsan, R..: A detailed analysis of the multi-class classification problem in network intrusion detection using resampling techniques. Doctoral Dissertation, Carleton University (2021)

    Google Scholar 

  18. Bagui, S., Li, K.: Resampling imbalanced data for network intrusion detection datasets. J. Big Data 8(1), 1–41 (2021). https://doi.org/10.1186/s40537-020-00390-x

    Article  Google Scholar 

  19. Liu, J., Gao, Y., Hu, F.: A fast network intrusion detection system using adaptive synthetic oversampling and LightGBM. Comput. Secur. 106, 102289 (2021)

    Article  Google Scholar 

  20. Andresini, G., et al.: GAN augmentation to deal with imbalance in imaging-based intrusion detection. Fut. Gene. Comput. Syst. 123, 108–127 (2021)

    Google Scholar 

  21. Alshamy, R., Ghurab, M., Othman, S., Alshami, F.: Intrusion detection model for imbalanced dataset using SMOTE and random forest algorithm. In: Abdullah, N., Manickam, S., Anbar, M. (eds.) ACeS 2021. CCIS, vol. 1487, pp. 361–378. Springer, Singapore (2021). https://doi.org/10.1007/978-981-16-8059-5_22

    Chapter  Google Scholar 

  22. Gonzalez-Cuautle, D.,et al.: Synthetic minority oversampling technique for optimizing classification tasks in botnet and intrusion-detection-system datasets. Appl. Sci. 10(3), 794 (2020)

    Google Scholar 

  23. Yao, H., et al.: MSML: a novel multilevel semi-supervised machine learning framework for intrusion detection system. IEEE Internet of Things J. 6(2), 1949–1959 (2018)

    Google Scholar 

  24. He, H., 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 

  25. Ke, G., et al.: LightGBM: a highly efficient gradient boosting decision tree. In: Advances in Neural Information Processing Systems, vol. 30, pp. 3146–3154 (2017)

    Google Scholar 

Download references

Acknowledgement

This work was supported by the National Natural Science Foundation of China under Grant 61862007, and Guangxi Natural Science Foundation under Grant 2020GXNSFBA297103.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lina Ge .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Zhang, H., Ge, L., Wang, Z. (2022). A High Performance Intrusion Detection System Using LightGBM Based on Oversampling and Undersampling. In: Huang, DS., Jo, KH., Jing, J., Premaratne, P., Bevilacqua, V., Hussain, A. (eds) Intelligent Computing Theories and Application. ICIC 2022. Lecture Notes in Computer Science, vol 13393. Springer, Cham. https://doi.org/10.1007/978-3-031-13870-6_53

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-13870-6_53

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-13869-0

  • Online ISBN: 978-3-031-13870-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics