International Journal of Advanced Engineering and Management System Logo IJAEMS
Back
Research Article Matrix Node

Explainable AI for Real-Time Adversarial Attack Detection in Edge Machine Learning Pipelines

Author(s): Dinesh Kumar Garg, A. Chandra Sekaran, Govinda RaviRaj Mulas
Volume RegistryVolume 2
Issue PeriodIssue 04
Published Date05 Oct 2026
DOI Identifier—

Abstract

The rapid deployment of machine learning models on edge devices has enabled real-time intelligent applications in domains such as healthcare, smart transportation, industrial automation, and Internet of Things (IoT) systems. The use of machine learning models on edge devices has opened up the door to intelligent applications in real time across several areas, including healthcare, smart transportation, the Internet of Things (IoT), and industrial automation. The distributed and resourceconstrained nature of edge environments, however, makes machine learning pipelines susceptible to adversarial attacks that can alter input data and lead to wrong predictions. In this paper, a framework for real-time adversarial attack detection in edge machine learning pipelines using Explainable Artificial Intelligence (XAI) is proposed. The proposed approach extends the monitoring of incoming data and the behavior of the model, looking for unusual patterns linked to adversarial perturbations, and, additionally, adds an explainability layer, providing interpretable information about what features and decision factors are behind the detection outcome. It combines lightweight machine learning, adversarial sample analysis, and real-time detection and explanation with SHAP to provide low-latency security monitoring on edge devices with limited resources. The results from experimental testing with the Edge-IIoT-set dataset are shown to be effective in distinguishing between normal and malicious network traffic with an overall classification accuracy of 97.71%. The proposed solution offers an interpretable and reliable security mechanism to secure edge machine learning pipelines against adversarial attacks while preserving the requirements of real-time edge intelligence.

Keywords

Explainable Artificial Intelligence Adversarial Attack Detection Edge Machine Learning Real-Time Detection Edge Computing Adversarial Machine Learning Model Security Interpretable AI IoT Security Machine Learning Pipelines.

References (17)

  1. Tjoa, Erico, and Cuntai Guan. "A survey on explainable artificial intelligence (xai): Toward medical xai." IEEE transactions on neural networks and learning systems 32, no. 11 (2020): 4793-4813.
  2. Guo, Weisi. "Explainable artificial intelligence for 6G: Improving trust between human and machine." IEEE Communications Magazine 58, no. 6 (2020): 39-45.
  3. Kuppa, Aditya, and Nhien-An Le-Khac. "Black box attacks on explainable artificial intelligence (XAI) methods in cyber security." In 2020 International Joint Conference on neural networks (IJCNN), pp. 1-8. IEEE, 2020.
  4. Cosgrove, Christian, and Alan Yuille. "Adversarial examples for edge detection: They exist, and they transfer." In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pp. 1070-1079. 2020.
  5. Asim, Muhammad, Yong Wang, Kezhi Wang, and Pei-Qiu Huang. "A review on computational intelligence techniques in cloud and edge computing." IEEE Transactions on Emerging Topics in Computational Intelligence 4, no. 6 (2020): 742-763.

Format Citation Record

Dinesh Kumar Garg, A. Chandra Sekaran, and Govinda RaviRaj Mulas, "Explainable AI for Real-Time Adversarial Attack Detection in Edge Machine Learning Pipelines," Int. J. Adv. Eng. Manag. Syst., vol. 2, no. 4, pp. 411-418, 2026.