Autoencoder Versus CNN-1D for Network Traffic Intrusion Detection: A Reproducible Comparative Evaluation with Per-Class Analysis on CSE-CIC-IDS2018
Oscar E. Donoso, Marco A. Pacheco, Juan P. Vargas, Pablo M. Recalde, Renato M. Toasa
Key points
From the paper's conclusion- A deep autoencoder and a one-dimensional convolutional network were evaluated on identical stratified splits of 11.3 million labeled flows from CSE-CIC-IDS2018, and the two configuration decisions the pipeline forces on the practitioner, the anomaly threshold, and the class weighting scheme, were then varied in isolation.
Abstract
Comparisons between deep learning models for network intrusion detection are hard to attribute to the architectures themselves because reported scores also absorb differences in preprocessing, partitioning, and configuration. This study holds all of those constants and asks what is left. A deep autoencoder and a one-dimensional convolutional network were evaluated on identical stratified splits of 11.3 million labeled flows from CSE-CIC-IDS2018, and the two configuration decisions the pipeline forces on the practitioner, the anomaly threshold, and the class weighting scheme, were then varied in isolation. The supervised model outperformed the reconstruction-based one by a wide margin on binary detection, but the configuration decisions proved more consequential than the choice of architecture. Moving the autoencoder threshold changed its reported F1 by 0.1279 while its ranking ability remained unchanged, and removing the class weighting of the multiclass model changed macro F1 by 0.1408, an order of magnitude more than the run-to-run variability of the same pipeline. The 38.1% of benign traffic misclassified as Infiltration, the most conspicuous result of the study, is an artefact of the weighting rather than the attack class or the data and expresses a trade-off between alert volume and infiltration coverage. An aggregate score can therefore remain stable while the operational behavior it summarizes changes by a third, which makes the calibration criterion, the imbalance strategy, and the variance across seeds preconditions for any meaningful comparison.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AE-CNN Ensemble: A Novel Architecture for Effective Network Intrusion Detection and ClassificationIEEE Access · 2025
- A Hybrid CNN-BiLSTM Attention-Based Framework for Intelligent Intrusion DetectionInternational Journal of Innovative Science and Research Technology (IJISRT) · 2026
- A Deterministic Comparison of Classical Machine Learning and Hybrid Deep Representation Models for Intrusion Detection on NSL-KDD and CICIDS2017Algorithms · 2025
- Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop FeedbackSafety · 2025
- A unified CNN-residual deep learning framework for network intrusion detection using an imbalanced datasetFrontiers in Big Data · 2026
- Threshold Selection and Attack Type Generalization in XGBoost and Denoising Autoencoder Intrusion DetectionInformation · 2026