Twined ensemble framework for network security: integrating Random Forest, AdaBoost, and Gradient Boosting for enhanced intrusion detection
C. Kishor Kumar Reddy, Pulakurthi Anaghaa Reddy, Pulakurthi Satyanarayana Reddy, Mohammed Shuaib, Shadab Alam, Sadaf Ahmad, A. Rajaram
Stanley Medical College · Electronics Corporation of India
Key points
From the paper's conclusion- These findings demonstrate potential scope for the model’s feasibility for real-time IDS deployment in resource-constrained environments.
Abstract
An Intrusion Detection System (IDS) is crucial for safeguarding networks against cyber threats. This research presents a novel Twined Ensemble model, specifically designed to enhance intrusion detection performance using the NSL-KDD dataset. The proposed approach leverages a combination of two algorithms from AdaBoost, Gradient Boosting, or Random Forest for each attack category based on their individual performance. These selected classifiers are then combined using a Soft Voting Ensemble technique, which aggregates their probabilistic outputs to yield more accurate and robust predictions. To address the inherent class imbalance in the NSL-KDD dataset, particularly for underrepresented attacks like U2R and R2L, the Synthetic Minority Oversampling Technique (SMOTE) is employed to generate synthetic examples, thereby improving model generalization for rare classes. The Twined Ensemble model is evaluated using metrics such as Accuracy, Precision, Recall, F1-Score, and Cohen’s Kappa. The model achieves 99.68% accuracy for DoS, R2L, and Probe attacks, and 99.83% for U2R attacks, accompanied by a Cohen’s Kappa score of 1.0, indicating near-perfect classification. This architecture effectively integrates adaptive ensemble learning with class balancing strategies, offering a powerful and reliable solution for modern network intrusion detection. Beyond classification accuracy, this study also evaluates the computational performance of each classifier in terms of training time, prediction latency, and memory consumption. Gradient Boosting, while more accurate, exhibits higher training overhead (428.57 s), whereas AdaBoost and Random Forest maintain significantly faster training times (23.05 s and 24.93 s respectively) with minimal memory usage (< 0.04 MB). These findings demonstrate potential scope for the model’s feasibility for real-time IDS deployment in resource-constrained environments.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Systematically Optimized CNN-Transformer with Focal Loss for Imbalanced Intrusion Detection on NSL-KDDarXiv · 2026
- Anomaly-based intrusion detection on benchmark datasets for network security: a comprehensive evaluationScientific Reports · 2026
- DESIGN AND IMPLEMENTATION OF A MACHINE LEARNING-BASED NETWORK INTRUSION DETECTION SYSTEM WITH COMPARATIVE ANALYSIS OF CLASSIFICATION ALGORITHMSInternational Journal of Progressive Research in Engineering Management and Science · 2026
- Machine Learning-Based Intrusion Detection for Smart City Internet of Things NetworksABC2 Journal of Architecture Building Construction and Cities · 2026
- ACGAN-GP-Based synthetic data generation to handle imbalanced data in intrusion detection systems.PloS one · 2026
- Adaptive multi-view transformer ensemble for intrusion detection: Addressing data imbalance and enhancing attack classificationInternet of Things · 2026