Introduction
The proliferation of the Internet of Things (IoT) has integrated connectivity into critical infrastructure, ranging from medical devices to power grids. While Machine Learning-based Intrusion Detection Systems (ML-IDS) are effective against traditional threats, they remain vulnerable to adversarial attacks. These attacks involve subtle, mathematically optimized perturbations to network traffic data designed to deceive AI models into misclassifying malicious activity as benign.
A significant challenge in securing ML-IDS is the lack of a universal defense mechanism. Existing defenses often exhibit high variance in effectiveness; a strategy robust against one attack type may fail completely against another. Consequently, static defense deployments are often insufficient. This paper introduces DYNAMITE, a framework that adaptively selects the most effective defense for each incoming sample in real-time.
Methodology: The DYNAMITE Framework
DYNAMITE transitions from static, "one-size-fits-all" security to a dynamic selection pipeline. The framework consists of several key stages:
- Adversarial Generation: A baseline Deep Neural Network (DNN) is subjected to six diverse adversarial attacks (BIM, FGSM, PGD, DF, AutoPGD, and ZOO) at varying intensities to simulate a realistic threat environment.
- Defense Benchmarking: Nine state-of-the-art defense models, including Adversarial Training (AT), TRADES, and Feature Squeezing, are trained and evaluated.
- Performance Mapping: Every attack is tested against every defense to create a ground-truth performance matrix, identifying the optimal defense for specific data patterns.
- Dynamic Selection via Meta-Classifier: To avoid the computational cost of running all defenses, DYNAMITE employs an XGBoost meta-classifier. This model analyzes incoming data to predict and select the single most effective defense model for that specific sample.
Experimental Evaluation
The framework was evaluated using two prominent cybersecurity benchmarks: WUSTL-IIoT, which replicates Industrial IoT environments, and UNSW-NB15, a comprehensive network intrusion dataset featuring a wide variety of modern attack types.
Key Results
DYNAMITE demonstrates significant improvements in both security and operational efficiency:
- Superior Accuracy: The framework achieved an average F1-score improvement of 76.7% over random defense selection and 65.8% over the best static state-of-the-art defense.
- Near-Optimal Performance: The performance gap between DYNAMITE and a theoretical "Oracle" (which always picks the perfect defense) was only 1.7%.
- Computational Efficiency: By selecting only the necessary defense model, DYNAMITE reduced inference time by 96.2% compared to an exhaustive Oracle approach.
- Resilience to Difficult Attacks: For the "DeepFool" (DF) attack on the WUSTL-IIoT dataset, DYNAMITE improved performance by over 300% compared to static defenses.
Conclusion and Future Work
DYNAMITE addresses the "No Free Lunch" theorem in adversarial defense by providing a scalable, adaptive selection mechanism. While the framework achieves near-Oracle performance with minimal latency, future research may focus on reducing the initial training overhead of the multi-model ensemble and evaluating its robustness against "zero-day" adversarial techniques in resource-constrained edge devices.
Summary updated