LF-TSE-IDS: An Imbalance-Aware Leakage-Free Temporal Stacking Ensemble for Multiclass Network Intrusion Detection

Authors

  • Anadi Shivam Joshi Department of Information Security and Cloud Computing, Shri Vaishnav Institute of Information Technology, Indore, Madhya Pradesh, India
  • Gaurav Shrivastava Department of Information Security and Cloud Computing, Shri Vaishnav Institute of Information Technology, Indore, Madhya Pradesh, India
  • Ritu Patidar Faculty of Engineering Sciences and Technology (FEST), Adani University, Ahmedabad, Gujarat, India
  • Upendra Singh Department of Information Technology, Shri G. S. Institute of Technology and Science, Indore, Madhya Pradesh, India

DOI:

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

Keywords:

Intrusion detection system, temporal learning, stacking ensemble, data leakage, class imbalance, BiGRU-Attention, Dilated 1D-CNN, XGBoost, CICIDS2017

Abstract

Network intrusion detection remains challenging because of highly imbalanced traffic classes, evolving attack behaviors, temporal dependencies, and data leakage during model development. This study proposes LF-TSE-IDS, an imbalance-aware leakage-free temporal stacking ensemble for multiclass network intrusion detection. The framework preprocesses CICIDS2017 traffic performs five-tuple-based grouping and timestamp ordering, and constructs overlapping temporal windows with a sequence length of 20 and stride of 3. Class imbalance is addressed using class-weighted focal loss for deep models and training-only SMOTE for static learners. BiGRU-Attention and Dilated 1D-CNN capture sequential traffic characteristics, whereas Balanced Random Forest and XGBoost model static nonlinear relationships. Their class-probability outputs are integrated through five-fold out-of-fold stacking using a Logistic Regression meta-learner. Experimental results show that LF-TSE-IDS achieves 97.20% test accuracy, 97.18% weighted-F1, 0.9392 MCC, 0.9952 micro-ROC-AUC, and 0.9356 macro-PR-AUC. The framework therefore provides reliable generalization, reduced stacking bias, and robust multiclass intrusion detection. 

Downloads

Download data is not yet available.

Downloads

Published

2026-07-24

How to Cite

Anadi Shivam Joshi, Gaurav Shrivastava, Ritu Patidar, & Upendra Singh. (2026). LF-TSE-IDS: An Imbalance-Aware Leakage-Free Temporal Stacking Ensemble for Multiclass Network Intrusion Detection. International Journal of Computer Information Systems and Industrial Management Applications, 18(10s), 547–567. https://doi.org/10.70917/ijcisim-2026-3637

Issue

Section

Original Articles