Empirical Analysis of Adversarial Robustness and Explainability Drift in Cybersecurity Classifiers
Mona Rajhans, Vishal Khawarey
TL;DR
The paper investigates adversarial robustness and explainability drift in cybersecurity classifiers, focusing on phishing URL detection and network intrusion. It studies $L_\infty$-bounded FGSM and PGD perturbations, introducing the Robustness Index (RI) and analyzing gradient sensitivity and SHAP attribution drift to quantify performance and explanation degradation. A key finding is that adversarial training improves RI by up to 9 percentage points while preserving clean-data accuracy, and that robustness degradation tracks with attribution drift, revealing a coupling between robustness and interpretability. The work provides actionable metrics and analyses for feature hardening and trustworthy AI in threat detection, with implications for deployment in real-world security pipelines.
Abstract
Machine learning (ML) models are increasingly deployed in cybersecurity applications such as phishing detection and network intrusion prevention. However, these models remain vulnerable to adversarial perturbations small, deliberate input modifications that can degrade detection accuracy and compromise interpretability. This paper presents an empirical study of adversarial robustness and explainability drift across two cybersecurity domains phishing URL classification and network intrusion detection. We evaluate the impact of L (infinity) bounded Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) perturbations on model accuracy and introduce a quantitative metric, the Robustness Index (RI), defined as the area under the accuracy perturbation curve. Gradient based feature sensitivity and SHAP based attribution drift analyses reveal which input features are most susceptible to adversarial manipulation. Experiments on the Phishing Websites and UNSW NB15 datasets show consistent robustness trends, with adversarial training improving RI by up to 9 percent while maintaining clean-data accuracy. These findings highlight the coupling between robustness and interpretability degradation and underscore the importance of quantitative evaluation in the design of trustworthy, AI-driven cybersecurity systems.
