arXiv:2610.41424cs.LGOct 2026

Manuscript Offprint

arXiv:2610.41424

A Unified XAI-NSAI Analytical Framework for Trustworthy IoT Anomaly Detection

Hugues Leger, Giovani R. Abuaitah

Hugues Leger

Department of Computer Science University of Cincinnati Cincinnati, OH, USA legerhs@mail.uc.edu

Giovani R. Abuaitah

Department of Computer Science University of Cincinnati Cincinnati, OH, USA abuaitgi@ucmail.uc.edu

Abstract—The widespread deployment of Internet of Things (IoT) devices in critical environments makes anomaly detection essential for identifying abnormal behaviors and supporting timely investigation and response. However, accurate detection alone is insufficient. Practical IoT deployments must also provide explanations, incorporate domain knowledge and reasoning, operate under IoT constraints, and support human decision making. Although recently proposed approaches increasingly incorporate Explainable Artificial Intelligence (XAI) or Neuro-Symbolic Artificial Intelligence (NSAI), XAI and NSAI methods are often considered independently. We argue that they should be considered together to better understand their complementary roles in supporting trustworthy IoT anomaly detection. To address this gap, we propose a unified analytical framework organized around five complementary dimensions. The framework provides a structured basis for characterizing existing approaches, identifying capability gaps and design trade-offs, and guiding the design of new anomaly detection systems for different IoT applications. We demonstrate the framework's analytical utility by applying it to three representative studies and illustrate its design utility through its application to a Medical IoT anomaly detection system.

Index Terms—Internet of Things (IoT), anomaly detection, explainable artificial intelligence (XAI), neuro-symbolic artificial intelligence (NSAI), trustworthy AI, IoT security, edge computing

I. INTRODUCTION

Internet of Things (IoT) has become an essential component of modern systems across healthcare, smart infrastructure, industrial automation, transportation, and cyber-physical systems [1]–[4]. These applications rely on interconnected sensors and devices that continuously collect and exchange data. However, data generated by IoT devices may be affected by sensor faults, device malfunctions, communication errors, environmental disturbances, cyberattacks, or other abnormal conditions, potentially compromising data quality and reliability [5]. Consequently, anomaly detection is essential for identifying abnormal behaviors [6], and supporting subsequent investigation and response in IoT environments [7].

Recent machine learning (ML) and deep learning (DL) approaches have improved anomaly detection performance

in IoT systems [8]–[11]. However, many of these models remain difficult to interpret because they operate as black boxes. This lack of transparency can undermine trust in anomaly detection decisions by making it difficult for users to understand why an anomaly was detected and assess whether the decision is justified. This is particularly important in high stakes IoT environments where human decision making remains essential [12]–[15].

Explainable Artificial Intelligence (XAI) addresses this limitation by identifying influential features, temporal patterns, or decision pathways that help users understand why an anomaly was detected [16], [17]. However, many XAI methods remain primarily descriptive: they can indicate which features or observations influenced a prediction without establishing whether the detected behavior is consistent with domain knowledge, operational rules, safety constraints, or known attack behavior. Neuro-Symbolic Artificial Intelligence (NSAI) offers a complementary direction by combining data-driven learning with symbolic knowledge and reasoning mechanisms such as rules, logic, ontologies, temporal constraints, and knowledge graphs [18]–[21]. By incorporating domain knowledge and explicit reasoning, NSAI can provide stronger semantic grounding and support reasoning beyond feature-level attribution. However, symbolic reasoning alone does not necessarily provide effective human facing explanations of why a data-driven model produced a particular anomaly decision. Thus, combining XAI and NSAI can provide complementary capabilities: XAI helps explain what influenced an anomaly decision, while NSAI helps assess its consistency with domain knowledge and operational constraints. This combination is particularly relevant in IoT environments, where human users must understand, assess, and respond to detected abnormalities.

The presence of both, however, does not by itself establish that they collectively support trustworthy anomaly detection. Their practical value depends on how they are realized within an IoT system, including how and to what extent explanations and reasoning are integrated, how computational constraints are accommodated, and how their outputs support human decision making. For example, a system may provide detailed explanations but lack domain grounded reasoning; incorporate symbolic reasoning but use it only after detection; or tightly connect learning and reasoning while requiring computational, memory, or communication resources that are unsuitable for its deployment environment. Moreover, explanations may have limited practical value if they are not aligned with the role, expertise, or operational needs of the intended user. These examples illustrate that the presence of XAI and NSAI does not adequately characterize how an IoT anomaly detection system supports trustworthiness.

To address this need, we propose an analytical framework for trustworthy IoT anomaly detection systems, derived from a structured analysis of representative research studies. The framework provides a basis for characterizing and comparing existing approaches, identifying missing capabilities and design trade-offs, and enabling researchers to assess the trustworthiness of their own anomaly detection systems across multiple design dimensions.

The main contributions of this paper are as follows: (i) we examine representative IoT anomaly detection research involving XAI, NSAI, and related approaches, and identify a recurring separation of XAI and NSAI methods and/or incomplete consideration of the characteristics relevant to trustworthy anomaly detection. This analysis motivates the need for a multidimensional analytical perspective that examines these characteristics jointly; (ii) we develop an analytical framework for characterizing the trustworthiness of IoT anomaly detection approaches across five design dimensions. The framework provides a structured basis for identifying capability gaps, characterizing design trade-offs, and examining how design considerations are addressed within an anomaly detection system; and (iii) we demonstrate the framework's analytical utility through three representative approaches and its design utility through an illustrative neuro-symbolic healthcare time-series application, showing how the framework can support both comparative analysis and the design of systems for specific applications. Based on these findings, we identify key design considerations and research directions for developing more integrated and practical approaches to trustworthy IoT anomaly detection.

The remainder of this paper is organized as follows. Section II summarizes XAI and NSAI concepts used in the paper. Section III reviews related work and positions our paper. Section IV describes the proposed framework development and application methodology. Section V introduces the proposed framework and outlines its design dimensions. Section VI details the framework application process and illustrative mapping. Section VII discusses framework implications and Section VIII presents any threats to validity. Section IX concludes the paper.

References (28)