Autoencoder Anomaly Detection Report
Autoencoder Anomaly Detection Report
Shubh Gupta
B.Tech CSAI - NSUT
Abstract
With the proliferation of IoT devices, safeguarding network traffic is critical. This project
introduces an Autoencoder-based anomaly detection system trained on normal IoT traffic
to detect security threats. Using the CICIDS 2018 dataset, we preprocess data, design an
Autoencoder model, and evaluate it using standard classification metrics. Our results show
that Autoencoders perform robustly compared to traditional models like Isolation Forest
and One-Class SVM.
1. Introduction
IoT devices generate vast volumes of network traffic, making anomaly detection vital.
Unlike traditional methods that rely on labeled data or hand-crafted features, this project
employs a neural network-based Autoencoder to learn patterns from normal traffic and
detect deviations that may represent attacks.
2. Dataset Description
We utilize a subset of the CICIDS 2018 dataset, a comprehensive benchmark with labeled
normal and attack traffic. The dataset includes multiple attack types and was preprocessed
to include only relevant features and clean instances for effective modeling.
3. Methodology
5. Conclusion
This project demonstrates the effectiveness of Autoencoders in anomaly detection within
IoT network traffic. By modeling normal behavior, the Autoencoder can accurately detect
anomalies with minimal false positives. It outperforms unsupervised alternatives and
approaches the effectiveness of supervised classifiers without needing labeled attack data.
6. Future Enhancements
• Implement LSTM Autoencoders to capture temporal dependencies.
• Experiment with larger and more diverse datasets.
• Integrate into real-time intrusion detection systems.
• Use Bayesian optimization for more efficient hyperparameter tuning.