SAGE: Sample-Aware Guarding Engine for Robust Intrusion Detection Against Adversarial Attacks

Jing Chen, Onat Güngör, Zhengli Shang, Tajana RosingarXiv 2025 · DOI

Introduction: The Vulnerability of IoT Networks

Machine Learning-based Intrusion Detection Systems (ML-IDS) serve as the critical first line of defense for Internet of Things (IoT) and Industrial IoT (IIoT) environments. However, these systems are increasingly targeted by adversarial attacks—sophisticated techniques that introduce subtle perturbations into network traffic to deceive models into misclassifying malicious activity as benign.

A significant hurdle in defending against these threats is that no single defense mechanism is universally effective. A strategy optimized for one type of attack may fail completely against another. Static defense configurations are inherently brittle, while the computational cost of evaluating every possible defense for every incoming packet is prohibitive for resource-constrained IoT devices. SAGE (Sample-Aware Guarding Engine) addresses this by providing a dynamic, efficient framework that selects the optimal defense for each individual network packet.

Methodology: The SAGE Framework

SAGE improves upon previous dynamic defense models, such as DYNAMITE, by implementing a sophisticated two-layer selection mechanism designed for both accuracy and speed.

High-level architecture of the SAGE framework, illustrating the flow from intrusion data to dynamic defense selection.

The framework operates through four primary stages:

  1. Defense Portfolio Selection: SAGE maintains a diverse set of ten state-of-the-art defenses, including adversarial training methods (e.g., PGD-AT, TRADES), training-process modifications (e.g., Gaussian Augmenter), and input pre-processing techniques (e.g., Feature Squeezing).
  2. Entropic Open-set Active Learning (EOAL): To minimize the need for massive labeled datasets, SAGE utilizes EOAL to identify the most informative samples—those where the model exhibits high uncertainty or that represent novel attack patterns. This allows the system to maintain high performance using as little as 1% of the total available training data.
  3. ML-Based Classifier Training: A lightweight "dispatcher" model (such as XGBoost or Random Forest) is trained to predict which defense in the portfolio will be most effective for a given input sample based on its raw features.
  4. Dynamic Defense Selection: At inference time, the dispatcher analyzes the incoming packet and routes it to the most appropriate defense mechanism, ensuring robust protection without the overhead of exhaustive evaluation.

Experimental Evaluation

The researchers validated SAGE using four comprehensive IoT/IIoT datasets: WUSTL-IIoT, UNSW-NB15, X-IIoTID, and Edge-IIoTset. These datasets cover a wide range of network environments (cloud, fog, edge) and include up to 18 different types of adversarial attacks.

Key Results and Performance

The experimental results highlight SAGE's ability to provide near-optimal protection with minimal latency.

F1-score comparison of SAGE against various baselines (Oracle, Dynamic, Best Static, Random, and No Defense) across four IoT datasets.
  • Superior Robustness: SAGE achieved an average 201% F1-score improvement over standard static defenses. As shown in the performance comparison, SAGE consistently outperforms "Best Static" and "Random" defense strategies, coming within 3.8% of the theoretical "Oracle" performance (a model that always knows the best defense in hindsight).
  • Data Efficiency: Remarkably, using active learning to select just 1% of training data resulted in performance that occasionally exceeded models trained on 100% of the data by up to 3.4 points. This suggests that filtering out redundant or "easy" samples helps the model focus on critical decision boundaries.
  • Real-Time Viability: SAGE is designed for high-speed networks. By executing only one selector and one defense per sample, it achieves a 29x speedup compared to exhaustive methods, with a per-sample processing time of approximately 1.01 ms.
  • Generalization: The system demonstrated stability even when encountering previously unseen attacks. While performance on a specific new attack might fluctuate, the overall system-level average remained robust, dropping by only 1.2 to 5.5 points.

Conclusion and Future Directions

SAGE represents a significant advancement in securing IoT networks against adaptive adversarial threats. By intelligently dispatching defenses on a per-sample basis, it overcomes the limitations of static models and the latency of exhaustive search.

While the system is highly stable, the authors noted that performance can drop significantly for specific attack types if they are entirely absent from the training data. Future research will focus on expanding the defense portfolio to counter emerging generative attacks and further reducing latency for ultra-high-speed industrial applications.

Summary updated

BibTeX
@misc{chen2025sage,
  author = {Jing Chen and Onat Güngör and Zhengli Shang and Tajana Rosing},
  title = {{SAGE: Sample-Aware Guarding Engine for Robust Intrusion Detection Against Adversarial Attacks}},
  year = {2025},
  eprint = {2509.08091},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.08091},
}
Figure