HYBRID INTRUSION DETECTION USING STACKED ENSEMBLE LEARNING AND A DEEP AUTOENCODER FOR NOVEL NETWORK ATTACKS
Keywords:
intrusion detection system; network security; autoencoder; stacked ensemble; anomaly detection; NSL-KDDAbstract
Signature-based intrusion detection systems cannot recognise attacks for which no signature exists, and many published machine-learning detectors that report accuracies above 99% are evaluated only on data drawn from their own training distribution. This study designed and implemented a hybrid Artificial Intelligence-based Intrusion Detection System (AI-IDS) that combines a supervised stacked ensemble (Random Forest, XGBoost, LightGBM and a deep neural network, combined by a logistic-regression meta-learner) for known attacks with an unsupervised deep autoencoder, trained only on normal traffic, for novel attacks. An alert is raised when the ensemble’s attack probability is at least 0.5 or the autoencoder’s reconstruction error exceeds the 99th percentile of the errors of normal validation traffic, a false-alarm budget of about 1% fixed before any test data are seen. The proposed hybrid achieved the best results on both external test sets: 83.30% accuracy, 96.93% precision, a 72.98% detection rate, an 83.26% F1-score, a 3.06% false-positive rate and a Matthews correlation coefficient of 0.70 on KDDTest+, and 68.24% accuracy on KDDTest-21. The hybrid detected 58.29% of the 3,750 KDDTest+ records belonging to the 17 novel attack types, compared with 38.43% for the stacked ensemble alone – an absolute gain of 19.86 percentage points, or 745 additional novel attacks detected (2,186 versus 1,441). The study concludes that pairing supervised learning with a budgeted model of normal behaviour markedly improves robustness to novel attacks, and that honest evaluation on unseen attack types is essential for judging AI-based intrusion detection.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.