Hybrid Framework for Addressing Class Imbalance and Network Traffic Classification Using Machine Learning

Authors

  • Varinder Kaur Sri Guru Granth Sahib World University, Fatehgarh Sahib, Punjab, India
  • Amandeep Kaur Virk Sri Guru Granth Sahib World University, Fatehgarh Sahib, Punjab, India

DOI:

https://doi.org/10.70917/ijcisim-2026-4059

Keywords:

Network Traffic Classification, Class Imbalance, Hybrid Framework, Machine Learning, Wireless Sensor Networks, Random Forest, Intrusion Detection, Imbalance Correction, Multi-Class Classification

Abstract

There is a need for more research on network traffic classification as it is useful in cybersecurity, intrusion detection, and network management. However, on a real-world level, datasets that record network traffic contain high bias as they reflect a disproportionate number of traffic attacks and a surplus of routine traffic. This research presents a modified network traffic classification framework to tackle class imbalance in multi-network traffic classification. The framework combines in one pipeline data preprocessing, adaptive imbalance correction, and machine learning classification. This was validated on a Wireless Sensor Network dataset with five classes of traffic. Random Forest and Neural Network models were compared for imbalanced and balanced conditions. The proposed hybrid framework shows significant class imbalance improvement and detection of minor classes. The balanced Random Forest classifier, from the baseline implementation, had about 97.43% of correctly identified attacks with a significant increase in the classification metrics, i.e. precision, recall, F1-score. Analysis of the confusion matrix and the ROC curve indicated that the number of falsely identified attacks (< class) is low and that class identification separability improved. The results showed that in the network traffic environment, awareness of class imbalance learning is effective; furthermore, the hybrid framework shows consistent and flexible results.

Downloads

Download data is not yet available.

Downloads

Published

2026-07-31

How to Cite

Varinder Kaur, & Amandeep Kaur Virk. (2026). Hybrid Framework for Addressing Class Imbalance and Network Traffic Classification Using Machine Learning. International Journal of Computer Information Systems and Industrial Management Applications, 18(13s), 386–401. https://doi.org/10.70917/ijcisim-2026-4059

Issue

Section

Original Articles