{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,12,2]],"date-time":"2026-12-02T18:07:34Z","timestamp":1796234854977,"version":"4.11.3"},"reference-count":34,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T00:00:00Z","timestamp":1609891200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T00:00:00Z","timestamp":1609891200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Big Data"],"published-print":{"date-parts":[[2021,12]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Machine learning plays an increasingly significant role in the building of Network Intrusion Detection Systems. However, machine learning models trained with imbalanced cybersecurity data cannot recognize minority data, hence attacks, effectively. One way to address this issue is to use resampling, which adjusts the ratio between the different classes, making the data more balanced. This research looks at resampling\u2019s influence on the performance of Artificial Neural Network multi-class classifiers. The resampling methods, random undersampling, random oversampling, random undersampling and random oversampling, random undersampling with Synthetic Minority Oversampling Technique, and random undersampling with Adaptive Synthetic Sampling Method were used on benchmark Cybersecurity datasets, KDD99, UNSW-NB15, UNSW-NB17 and UNSW-NB18. Macro precision, macro recall, macro F1-score were used to evaluate the results. The patterns found were: First, oversampling increases the training time and undersampling decreases the training time; second, if the data is extremely imbalanced, both oversampling and undersampling increase recall significantly; third, if the data is not extremely imbalanced, resampling will not have much of an impact; fourth, with resampling, mostly oversampling, more of the minority data (attacks) were detected.<\/jats:p>","DOI":"10.1186\/s40537-020-00390-x","type":"journal-article","created":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T14:04:06Z","timestamp":1609941846000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":257,"title":["Resampling imbalanced data for network intrusion detection datasets"],"prefix":"10.1186","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1886-4582","authenticated-orcid":false,"given":"Sikha","family":"Bagui","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kunqi","family":"Li","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,1,6]]},"reference":[{"issue":"1","key":"390_CR1","doi-asserted-by":"publisher","first-page":"238","DOI":"10.1109\/TKDE.2015.2458858","volume":"28","author":"L Abdi","year":"2016","unstructured":"Abdi L, Sattar H. To combat multi-class imbalanced problems by means of over-sampling techniques. IEEE Trans Knowl Data Eng. 2016;28(1):238\u201351.","journal-title":"IEEE Trans Knowl Data Eng"},{"key":"390_CR2","doi-asserted-by":"publisher","first-page":"7940","DOI":"10.1109\/ACCESS.2016.2619719","volume":"4","author":"A Amin","year":"2016","unstructured":"Amin A, Anwar S, Adnan A, Nawaz M, Howard N, Quadir J, Havalah A, Hussain A. Comparing oversampling techniques to handle the class imbalance problem: a customer churn prediction case study. IEEE Access. 2016;4:7940\u201357. https:\/\/doi.org\/10.1109\/ACCESS.2016.2619719.","journal-title":"IEEE Access"},{"key":"390_CR3","doi-asserted-by":"publisher","unstructured":"Basgall MJ, Hasperu\u00e9 W, Naiouf M, Fern\u00e1ndez A, Herrera F. SMOTE-BD: An exact and scalable oversampling method for imbalanced classification in big data. J Comput Sci Technol. 2018;18(03):e23. https:\/\/doi.org\/10.24215\/16666038.18.e23.","DOI":"10.24215\/16666038.18.e23"},{"key":"390_CR4","doi-asserted-by":"crossref","unstructured":"Blagus R, Lusa L. SMOTE for High-dimensional class-imbalanced data. BMC Bioinf. 2013; 14:106.","DOI":"10.1186\/1471-2105-14-106"},{"key":"390_CR5","doi-asserted-by":"publisher","first-page":"321","DOI":"10.1613\/jair.953","volume":"16","author":"NV Chawla","year":"2002","unstructured":"Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: synthetic minority over sampling technique. J Artif Intellig Res. 2002;16:321\u201357.","journal-title":"J Artif Intellig Res"},{"key":"390_CR6","doi-asserted-by":"crossref","unstructured":"Cieslak, D. A., Chawla, N. W., & Striegel, A (2006). Combating Imbalance in Network Intrusion Datasets. Proc IEEE Int Conf Granular Computing, 2006, Atlanta, Georgia, USA, 732-737.","DOI":"10.1109\/GRC.2006.1635905"},{"key":"390_CR7","doi-asserted-by":"publisher","first-page":"464","DOI":"10.1016\/j.eswa.2017.09.030","volume":"91","author":"G Douzas","year":"2018","unstructured":"Douzas G, Bacao F. Effective data generation for imbalanced learning using conditional generative adversarial networks. Exp Syst Appl. 2018;91:464\u201371.","journal-title":"Exp Syst Appl"},{"key":"390_CR8","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.ins.2018.06.056","volume":"465","author":"G Douzas","year":"2018","unstructured":"Douzas G, Bacao F, Last F. Improving imbalanced learning through a heuristic oversampling method based on k-means and SMOTE. Inf Sci. 2018;465:1\u201320.","journal-title":"Inf Sci"},{"key":"390_CR9","doi-asserted-by":"crossref","unstructured":"Ertekin CS. Adaptive oversampling for imbalanced data classification. In: Proceedings of the 28th international symposium on computing and information sciences. 2013; 264:261\u20139.","DOI":"10.1007\/978-3-319-01604-7_26"},{"key":"390_CR10","doi-asserted-by":"crossref","unstructured":"Ertekin SE, Huang J, Bottou L, Giles CL. Learning on the border: active learning in imbalanced data classification. In: Proceedings of ACM Conference on information and knowledge management, Lisbon, Portugal; 2007, 127\u201336.","DOI":"10.1145\/1321440.1321461"},{"key":"390_CR11","doi-asserted-by":"publisher","first-page":"105","DOI":"10.1007\/s40747-017-0037-9","volume":"3","author":"A Fernandez","year":"2017","unstructured":"Fernandez A, Rio S, Chawla N, Herrera F. An insight into imbalanced Big Data classification: outcomes and challenges. Complex Intell Syst. 2017;3:105\u201320.","journal-title":"Complex Intell Syst"},{"key":"390_CR12","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4842-0964-6","volume-title":"Big data analysis with spark","author":"M Guller","year":"2015","unstructured":"Guller M. Big data analysis with spark. New York: Apress; 2015."},{"key":"390_CR13","doi-asserted-by":"publisher","first-page":"347","DOI":"10.1007\/s13748-017-0128-2","volume":"6","author":"PD Guti\u00e9rrez","year":"2017","unstructured":"Guti\u00e9rrez PD, Lastra M, Ben\u00edtez JM, Herrara F. SMOTE-GPU: big data preprocessing on commodity hardware for imbalanced classification. Prog Artif Intell. 2017;6:347\u201354. https:\/\/doi.org\/10.1007\/s13748-017-0128-2.","journal-title":"Prog Artif Intell"},{"key":"390_CR14","unstructured":"He H, Bai Y, Garcia EA, Li S. ADASYN: adaptive synthetic sampling approach for imbalanced learning. In: IEEE international joint conference on neural networks (IEEE world congress on computational intelligence); 2008, p 1322\u20138."},{"issue":"9","key":"390_CR15","doi-asserted-by":"publisher","first-page":"1263","DOI":"10.1109\/TKDE.2008.239","volume":"21","author":"H He","year":"2009","unstructured":"He H, Garcia EA. Learning from imbalanced data. IEEE Trans Knowl Data Eng. 2009;21(9):1263\u201384.","journal-title":"IEEE Trans Knowl Data Eng"},{"key":"390_CR16","unstructured":"Hulse JV, Khoshgoftaar TM, Napolitano A. Experimental perspectives on learning from imbalanced data. In: Proceedings of the 24th international conference on machine learning, Corvallis, Oregon: Oregon State University; 2007, p 935\u201342."},{"key":"390_CR17","doi-asserted-by":"publisher","first-page":"27","DOI":"10.1186\/s40537-019-0192-5","volume":"6","author":"JM Johnson","year":"2019","unstructured":"Johnson JM, Khoshgoftaar TM. Survey on deep learning with class imbalance. J Big Data. 2019;6:27. https:\/\/doi.org\/10.1186\/s40537-019-0192-5.","journal-title":"J Big Data"},{"key":"390_CR18","doi-asserted-by":"crossref","unstructured":"Koroniotis N, Moustafa N, Sitnikova E, Turnbull B. Towards the development of realistic botnet dataset in the internet of things for network forensic analytics: bot-iot dataset. Fut Gener Comput Syst. 2019; 100:779\u201396. arXiv:1811.00701v1.","DOI":"10.1016\/j.future.2019.05.041"},{"key":"390_CR19","doi-asserted-by":"publisher","first-page":"42","DOI":"10.1186\/s40537-018-0151-6","volume":"5","author":"JL Leevy","year":"2018","unstructured":"Leevy JL, Khoshgoftaar TM, Bauder RA, Seliya N. A survey on addressing high-class imbalance in big data. J Big Data. 2018;5:42. https:\/\/doi.org\/10.1186\/s40537-018-0151-6.","journal-title":"J Big Data"},{"key":"390_CR20","first-page":"1","volume":"18","author":"G Lema\u00eetre","year":"2017","unstructured":"Lema\u00eetre G, Nogueira F, Aridas CK. Imbalanced-learn: a Python toolbox to tackle the curse of imbalanced datasets in machine learning. J Mach Learn Res. 2017;18:1\u20135.","journal-title":"J Mach Learn Res"},{"key":"390_CR21","doi-asserted-by":"publisher","first-page":"216","DOI":"10.1016\/j.patcog.2019.02.023","volume":"19","author":"A Luque","year":"2019","unstructured":"Luque A, Carrasco A, Martin A, Heras de las A. The impact of class imbalance in classification performance metrics based on the binary confusion matrics. Pattern Recogn. 2019;19:216\u201331. https:\/\/doi.org\/10.1016\/j.patcog.2019.02.023.","journal-title":"Pattern Recogn"},{"issue":"9","key":"390_CR22","first-page":"1","volume":"13","author":"Y Meidan","year":"2018","unstructured":"Meidan Y, Bohadana M, Mathov Y, Mirsky Y, Breitenbacher D, Shabtai A, Elovici Y. N-BaIoT: network-based detection of iot botnet attacks using deep autoencoders. IEEE Pervas Comput. 2018;13(9):1\u20138.","journal-title":"IEEE Pervas Comput"},{"key":"390_CR23","doi-asserted-by":"crossref","unstructured":"Mirsky Y, Doitshman T, Elovici Y, Shabtai AJ. Kitsune: an ensemble of autoencoders for online network intrusion detection. In: Network and distributed systems security symposium. 2018.","DOI":"10.14722\/ndss.2018.23204"},{"key":"390_CR24","volume-title":"Foundations of machine learning","author":"M Mohri","year":"2018","unstructured":"Mohri M, Rostamizadeh A, Talwalkar A. Foundations of machine learning. 2nd ed. Cambridge: MIT Press; 2018.","edition":"2"},{"key":"390_CR25","unstructured":"More A. Survey of resampling techniques for improving classification performance in unbalanced datasets. 2018."},{"key":"390_CR26","first-page":"1","volume":"2015","author":"N Moustafa","year":"2015","unstructured":"Moustafa N, Slay J. UNSW-NB15: a comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). MilCIS. 2015;2015:1\u20136.","journal-title":"MilCIS"},{"issue":"4","key":"390_CR27","doi-asserted-by":"publisher","first-page":"224","DOI":"10.1016\/j.jbi.2004.07.008","volume":"37","author":"P Radivojac","year":"2004","unstructured":"Radivojac P, Chawla NV, Dunker AK, Obradovic Z. Classification and knowledge discovery in protein databases. J Biomed Inform. 2004;37(4):224\u201339. https:\/\/doi.org\/10.1016\/j.jbi.2004.07.008.","journal-title":"J Biomed Inform"},{"key":"390_CR28","first-page":"104814","volume":"187","author":"BS Raghuwanshi","year":"2020","unstructured":"Raghuwanshi BS, Shukla S. SMOTE based class-specific extreme learning machine for imbalanced learning. Pattern Anal Appl. 2020;187:104814.","journal-title":"Pattern Anal Appl"},{"issue":"12","key":"390_CR29","doi-asserted-by":"publisher","first-page":"1253","DOI":"10.1109\/TSE.2018.2836442","volume":"45","author":"Q Song","year":"2019","unstructured":"Song Q, Guo Y, Shepperd M. A comprehensive investigation of the role of imbalanced learning for software defect prediction. IEEE Trans Software Eng. 2019;45(12):1253\u201369. https:\/\/doi.org\/10.1109\/TSE.2018.2836442.","journal-title":"IEEE Trans Software Eng"},{"issue":"2","key":"390_CR30","doi-asserted-by":"publisher","first-page":"104","DOI":"10.2478\/acss-2019-0013","volume":"24","author":"DS Terzi","year":"2019","unstructured":"Terzi DS, Sagiroglu S. A new big data model using distributed cluster-based resampling for class-imbalance problem. Appl Comput Syst. 2019;24(2):104\u201310. https:\/\/doi.org\/10.2478\/acss-2019-0013.","journal-title":"Appl Comput Syst"},{"key":"390_CR31","volume-title":"Deep learning","author":"AW Trask","year":"2019","unstructured":"Trask AW. Deep learning. New York: Manning Publication; 2019."},{"key":"390_CR32","doi-asserted-by":"publisher","unstructured":"Triguero I, Galar M, Merino D, Maillo J, Bustince H, Herrera F. Evolutionary undersampling for extremely imbalanced Big Data classification under Apache Spark. In: 2016 IEEE congress on evolutionary computation (CEC), Vancouver, BC; 2016, p 640\u20137. https:\/\/doi.org\/10.1109\/cec.2016.7743853.","DOI":"10.1109\/cec.2016.7743853"},{"key":"390_CR33","doi-asserted-by":"crossref","unstructured":"Wallace B, Small K, Brodley C, Trikalinos T. Class imbalance, redux. In: IEEE 11th international conference on data mining (ICDM), Vancouver, Canada; 2011, p 754\u201363.","DOI":"10.1109\/ICDM.2011.33"},{"key":"390_CR34","doi-asserted-by":"crossref","unstructured":"Wang J, Xu M, Wang H, Zhang J. Classification of imbalanced data by using the smote algorithm and locally linear embedding. In: Proceedings of the 8th international conference on signal processing; 2006, p 1\u20134.","DOI":"10.1109\/ICOSP.2006.345752"}],"container-title":["Journal of Big Data"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/link.springer.com\/content\/pdf\/10.1186\/s40537-020-00390-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/link.springer.com\/article\/10.1186\/s40537-020-00390-x\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/link.springer.com\/content\/pdf\/10.1186\/s40537-020-00390-x.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,1,6]],"date-time":"2021-01-06T16:15:10Z","timestamp":1609949710000},"score":1,"resource":{"primary":{"URL":"https:\/\/journalofbigdata.springeropen.com\/articles\/10.1186\/s40537-020-00390-x"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,6]]},"references-count":34,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,12]]}},"alternative-id":["390"],"URL":"https:\/\/doi.org\/10.1186\/s40537-020-00390-x","relation":{},"ISSN":["2196-1115"],"issn-type":[{"value":"2196-1115","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,6]]},"assertion":[{"value":"23 August 2020","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"4 December 2020","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"6 January 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"None of the authors have any competing interests.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"6"}}