EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Dealing with Dataset Class Imbalance for Multi-Class Network Intrusion Detection Systems

Fareeha Ashraf, Muhammad Siraj Rathore

International Journal of Innovations in Science and Technology · 16.05.2026 · 545

DOI: 10.33411/ijist/1805 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Innovations in Science and Technology, online erschienen am 16.05.2026. Verfasst von Fareeha Ashraf und 1 weiteren Autor:innen. Die Arbeit nennt 25 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Intrusion Detection Systems (IDS) are now more crucial for protecting network environments due to the increasing number of IoT devices. However, class imbalance substantially impacts the performance of IDS, especially in multi-class classification, where some attack classes are prevalent, and others are rare. Our research explores the effects of class imbalance by experimenting with the CICIoT2023 dataset in three distinct classification settings: 2-class, 8-class, and 33-class. Our experiments reveal that, although the binary classification performance is high (accuracy ≈ 0.99), the performance drops in multi-class settings, with accuracy of ≈ 0.85 and macro-F1 of 0.59 in the 8-class scenario, and further drops to accuracy of ≈ 0.76 and macro-F1 of 0.47 in the 33-class setting due to the severe class imbalance. To resolve this problem, we examine SMOTE, class weighting, and a combined SMOTE-ENN method. Our results show that the SMOTE-ENN approach effectively balances classes (up to 0.97 accuracy and macro-F1≈0.96 on the test dataset after training with balanced data) and enhances detection performance for minority classes. By contrast, baseline models have lower macro-F1 and recall for minority classes. These results show that hybrid resampling not only boosts classification accuracy but also the ability to detect rare attacks, thus serving as an effective strategy for robust multi-class IoT intrusion detection systems.

Zitieren

APA

Ashraf, F., & Rathore, M. S. (2026). Dealing with Dataset Class Imbalance for Multi-Class Network Intrusion Detection Systems. International Journal of Innovations in Science and Technology, 545. https://doi.org/10.33411/ijist/1805

Vancouver

Ashraf F, Rathore MS. Dealing with Dataset Class Imbalance for Multi-Class Network Intrusion Detection Systems. International Journal of Innovations in Science and Technology. 2026:545. doi:10.33411/ijist/1805

BibTeX
@article{Ashraf2026,
  author = {Ashraf, Fareeha and Rathore, Muhammad Siraj},
  title = {Dealing with Dataset Class Imbalance for Multi-Class Network Intrusion Detection Systems},
  journal = {International Journal of Innovations in Science and Technology},
  year = {2026},
  pages = {545},
  doi = {10.33411/ijist/1805}
}
Kostenlos starten →