论文信息

S. Sarath Kumar / M. Asha Jerlin

Frontiers in Artificial Intelligence

论文解读

AI 辅助整理
方法
文献综述,整合轻量ML/DL、联邦学习、TinyML、区块链与XAI。
发现
资源受限IoT需轻量分布式隐私保护检测,统一框架可整合检测、协作、信任与自适应防御。
机会点
农业IoT入侵检测可结合TinyML与联邦学习,在低功耗设备上实现隐私保护与可解释的实时防御。

论文摘要

物联网(IoT)与工业物联网(IIoT)技术的迅速普及,通过将大量异构设备、传感器、嵌入式系统及信息物理平台互联互通,从根本上改变了当代计算基础设施的格局。这些生态系统支撑着智慧城市、智能交通、工业自动化、医疗监控、精准农业和家庭自动化等多样化应用。尽管在运行方面具有优势,但物联网设备广泛的连接性和固有的资源受限特性显著扩大了网络攻击面。有限的处理能力、有限的内存以及受限的能量预算,使得传统网络安全方案在物联网环境中不可行。因此,物联网系统已成为高级威胁的主要目标,包括恶意软件、僵尸网络、分布式拒绝服务(DDoS)攻击、勒索软件、内部攻击和数据操纵。为企业网络设计的传统入侵检测系统(IDS)依赖集中式数据采集和计算密集型机器学习模型,由于可扩展性限制、通信开销、延迟约束和隐私问题,不适用于物联网部署。因此,近期研究已转向轻量级、智能化且分布式的网络安全框架,以期在严重资源受限条件下提供稳健防护。本综述全面回顾了面向物联网生态系统的基于人工智能的入侵检测与恶意软件分析的最新进展,涵盖轻量级机器学习(ML)模型、面向边缘部署的深度学习(DL)架构、基于联邦学习(FL)的隐私保护检测、设备端TinyML智能、基于区块链的信任管理、可解释人工智能(XAI)驱动的透明监控以及自适应网络防御。本文提出了一个统一的概念框架,集成了轻量级检测、分布式协作学习、基于信任的编排和自适应防御。

全文

Frontiers in Artificial Intelligence

Frontiers in Artificial Intelligence 01 frontiersin.org
TYPE Review
PUBLISHED 02 October 2026
DOI 10.3389/frai.2026.1900815
OPEN ACCESS
EDITED BY
Rahmat Hidayat,
Politeknik Negeri Padang, Indonesia
REVIEWED BY
Cornelia Gyorodi,
University of Oradea, Romania
Mudassir Khan,
King Khalid University, Saudi Arabia
*CORRESPONDENCE
M. Asha Jerlin
ashajerlin.m@vit.ac.in
RECEIVED 05 June 2026
REVISED 13 August 2026
ACCEPTED 18 September 2026
PUBLISHED 02 October 2026
CITATION
Kumar SS and Jerlin MA (2026)
Intelligent defense at the edge: a
comprehensive survey of federated
learning, TinyML and explainable AI for
intrusion detection in IoT and IIoT
ecosystems.
Front. Artif. Intell. 9:1900815.
doi: 10.3389/frai.2026.1900815
COPYRIGHT
© 2026 Kumar and Jerlin. This is an
open-access article distributed under
the terms of the Creative Commons
Attribution License (CC BY). The use,
distribution or reproduction in other
forums is permitted, provided the
original author(s) and the copyright
owner(s) are credited and that the
original publication in this journal is
cited, in accordance with accepted
academic practice. No use, distribution
or reproduction is permitted which does
not comply with these terms.
Intelligent defense at the edge: a
comprehensive survey of
federated learning, TinyML and
explainable AI for intrusion
detection in IoT and IIoT
ecosystems
S. Sarath Kumar and M. Asha Jerlin *
School of Computer Science and Engineering, Vellore Institute of Technology, Chennai, India
The proliferation of Internet of Things (IoT) and Industrial Internet of Things (IIoT)
technologies has fundamentally transformed contemporary computing infra -
structures by interconnecting large heterogeneous devices, sensors, embedded
systems, and cyber-physical platforms. These ecosystems support diverse appli-
cations including smart cities, intelligent transportation, industrial automation,
medical surveillance, precision agriculture and home automation. Despite their
operational advantages, the vast connectivity and inherent resource constraints
of IoT devices significantly expand the cyberattack surface. Limited process -
ing power, limited memory and restricted energy budgets render conventional
cybersecurity solutions infeasible for IoT environments. Consequently, IoT sys-
tems have become prime targets for advanced threats, including malware, bot-
nets, Distributed Denial of Service (DDoS) attacks, ransomware, insider attacks
and data manipulation. Traditional Intrusion Detection Systems (IDS), designed
for enterprise networks, rely on centralized data collection and computationally
intensive machine learning models that are unsuitable for IoT deployments due to
scalability limitations, communication overhead, latency constraints and privacy
concerns. Recent research has therefore shifted toward lightweight, intelligent
and distributed cybersecurity frameworks capable of providing robust protec -
tion under severe resource limitations. This survey comprehensively reviews
recent advances in AI-based intrusion detection and malware analysis for IoT
ecosystems, covering lightweight machine learning models (ML), deep learning
(DL) architectures for edge deployment, federated learning (FL) based privacy-
preserving detection, TinyML on-device intelligence, blockchain-based trust
management, Explainable AI (XAI) driven transparent monitoring and adaptive
cyber defense. A unified conceptual framework is proposed integrating light -
weight detection, distributed collaborative learning, trust-based orchestration
and adaptive defense.
KEYWORDS
federated learning, Industrial Internet of Things (IIoT), Internet of Things Security (IoT
security), intrusion detection systems, lightweight machine learning, TinyML

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 02 frontiersin.org
1 Introduction
The Internet of Things is one of the most revolutionary technolo-
gies of the digital era. IoT ecosystems are made up of connected physi-
cal devices that have sensors, actuators, microcontrollers and
communication interfaces to facilitate real-time data collection and
automatic decision-making, forming a multi-layered architecture as
illustrated in Figure 1.
Figure 1 presents the multi-layer IoT architecture considered
throughout this review and illustrates the corresponding cyberattack
surface across the IoT ecosystem. The device layer comprises hetero-
geneous endpoints, including smart home systems, industrial sensors,
medical IoT devices, transportation infrastructure, agricultural moni-
toring systems, communication modules, and smart grid sensors.
These devices continuously generate large volumes of distributed data
while also representing common entry points for cyberattacks such as
malware infections, botnet recruitment, ransomware, and firmware
exploitation.
The Edge/Fog layer incorporates edge gateways, TinyML-enabled
intrusion detection systems, fog computing nodes, federated learning
aggregators, and SDN controllers to enable low-latency security analy-
sis close to the data source. At the same time, collaborative and dis-
tributed learning environments introduce additional security risks,
particularly model poisoning and gradient leakage attacks that target
the learning process itself. Secure communication within the network
layer is supported through protocols such as MQTT and CoAP ,
encrypted communication channels, and industrial networking tech-
nologies. Nevertheless, this layer remains vulnerable to traffic manipu-
lation, routing attacks, and other network-oriented threats. At the
cloud intelligence layer, global model aggregation, threat intelligence
management, blockchain-based trust establishment, and Explainable
AI (XAI) analytics collectively support coordinated intrusion detec-
tion across heterogeneous IoT deployments.
Unlike conventional IoT architecture diagrams that mainly
emphasize communication hierarchies, Figure 1 integrates deploy-
ment layers, representative attack vectors, and AI-enabled defense
mechanisms into a unified security perspective. It demonstrates how
distinct cyber threats emerge across different layers of the IoT ecosys-
tem while illustrating where technologies such as Lightweight AI,
Federated Learning, TinyML, Blockchain, and Explainable AI can be
deployed to mitigate those threats. As a result, the figure serves as the
conceptual foundation for the remainder of this review by connecting
architectural components with emerging intelligent intrusion detec-
tion technologies and highlighting their complementary roles in
building secure, scalable, and privacy-preserving IoT ecosystems.
A network function virtualization system to detect malware in
large IoT-based networks illustrates how cloud-hosted virtual func -
tions can be used to monitor and safeguard masses of heteroge -
neous devices on a large scale ( Guizani and Ghafoor, 2020). Future
network security development in industrial IoT using AI-powered
intrusion detection systems exemplifies the considerable entrench -
ment of intelligent security systems in manufacturing processes,
energy systems and industrial control environments ( Shahin et al.,
2024). Malware detection systems powered by AI in industrial IoT
settings further confirm the idea that complex industrial deploy -
ments need intelligent security measures to secure them ( Smmarwar
et al., 2023 ). In spite of such advantages, the massive use of IoT
devices poses serious cybersecurity threats. IoT devices are often
equipped with barebones computers and few security measures,
making them easily exploitable ( Sasikala and Janakiraman, 2023 ).
Old firmware, poor authentication, or insecure communication
protocols run on many machines ( Ngo et al., 2020 ). Also, IoT
FIGURE 1
Multi-layer IoT ecosystem illustrating the relationships among IoT devices, Edge/Fog computing, network infrastructure, and cloud intelligence,
together with representative cyberattack vectors and AI-enabled defense mechanisms for intelligent intrusion detection (created by the authors based
on the reviewed literature).

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 03 frontiersin.org
devices are frequently used in geographically dispersed locations
where direct physical monitoring is not feasible ( Pandey et
al., 2025).
IoT devices are becoming a common point of large-scale cyberat-
tacks. Compromised IoT devices can be integrated into botnet net-
works capable of generating large amounts of malicious traffic (Nazir
et al., 2023). Distributed Denial-of-Service (DDoS) attacks that shut
down critical internet services have been conducted using these bot-
nets (Lefoane et al., 2025). Moreover, cybercriminals exploit IoT vul-
nerabilities to obtain unauthorized access to industrial control
systems, tamper with sensor data, or disrupt business operations
(Hasan et al., 2022 ). Older cybersecurity methods geared towards
enterprise networks do not fit the IoT environment. Centralized intru-
sion detection systems require continuous transmission of network
traffic data to centralized servers where machine learning algorithms
carry out detection and classification of anomalies (Ozdogan, 2024).
Such centralized architectures in IoT ecosystems have exorbitant com-
munication overhead and latency and increase privacy issues with
sensitive data generated by devices (Abdulkareem et al., 2024). The
field of machine learning and artificial intelligence has thus become
an essential part of current IoT security systems (Shahin et al., 2024).
Machine learning algorithms can identify malicious activity by pro-
cessing vast amounts of network traffic data to determine patterns
(Sharma and Bairwa, 2025). Deep learning architectures also improve
detection through the automatic derivation of sophisticated features
of network traffic streams, system logs and patterns of device behavior
(Chaganti et al., 2022).
Nonetheless, traditional deep learning models are resource inten-
sive and are not easily implemented on resource-limited IoT devices
(Abualghanam et al., 2025). This constraint has encouraged the cre-
ation of lightweight machine learning frameworks tailored to edge
computing applications (Kushwaha et al., 2025). These models focus
on minimizing parameter complexity, effective feature selection and
low inference latency at a tolerable level of detection accuracy (Reji et
al., 2025). The next important innovation in the sphere of IoT security
is the advent of federated learning, which allows jointly training
models on distributed IoT devices without sending raw data to cen-
tralized servers (Rey et al., 2022). Instead, devices learn local models
on their own data and only provide model updates to aggregation
servers, maintaining data privacy and sharing collaborative intelli-
gence (Alazab et al., 2023). Moreover, recent developments in TinyML
technologies enable neural network models to be directly executed on
microcontroller-size devices using methods such as quantization,
pruning and parameter compression (Ramadan et al., 2025). These
technologies allow intrusion detection features to be incorporated into
the IoT devices themselves (Ficco et al., 2024). Besides these advance-
ments, researchers are also studying blockchain-based trust manage-
ment (Ali et al., 2024 ), explainable artificial intelligence for model
transparency (Akshya et al., 2025) and adaptive moving target defense
mechanisms that dynamically adjust system configurations to inter-
fere with cyberattacks (Von Der Assen et al., n.d.).
1.1 Novelty and major contributions of this
survey
This survey provides an integrated and holistic view of AI-based
intrusion detection in the context of heterogeneous IoT and IIoT envi-
ronments, a different approach from current survey papers that focus
on individual paradigms like Federated Learning (FL), TinyML,
Explainable AI (XAI) or Blockchain as standalone. The significant
contributions of this survey can be summarized as follows:
• We propose a novel unified taxonomy that systematically catego-
rizes AI-based Intrusion Detection approaches as Lightweight
Machine Learning, Deep Learning, Federated Learning, TinyML,
Blockchain-enabled Trust Management, Explainable AI, Dataset
Engineering, Mathematical Foundations and Emerging Research
Directions to give a structured and holistic organization of the
current research scenario.
• We present a multidimensional comparative analysis framework
that goes beyond traditional comparisons based on performance
to consistently assess the current research based on extensive
dimensions (datasets, attack categories, detection performance,
computational complexity, communication overhead, energy con-
sumption, privacy preservation, explainability, adversarial robust-
ness, scalability, and deployment feasibility). This common
evaluation framework will allow the comprehensive evaluation of
AI-based intrusion detection systems for heterogeneous and
resource-constrained IoT and IIoT environments.
• We define a common conceptual framework that enables the inte-
gration of Lightweight Machine Learning (LML) for efficient on-
device inference tasks, TinyML (TL) for on-device low-power
machine learning tasks, Federated Learning (FL) for collaborative
analysis and model optimization in a privacy-preserving manner,
Blockchain (BC) for decentralized trust management, and
Explainable AI (XAI) for transparent and interpretable analysis
and security decisions. The proposed framework goes beyond
previous surveys that individually talk about these technologies
and emphasizes their mutual complementarity, interactions, and
deployment workflow for a scalable, trustworthy, energy-efficient
and privacy-preserving intrusion detection.
• We deeply synthesize and review recent literature and systemati-
cally discuss the strengths and weaknesses of current intrusion
detection (ID) approaches using AI together with their current
practical deployment challenges and outstanding research gaps,
going beyond mere descriptive summaries to pinpoint research
trends and future development opportunities. We identify and
define new research directions and open challenges such as
Trustworthy Federated Intelligence, Energy Efficient TinyML,
Adversarial Robust Learning, Explainable Cybersecurity,
Quantum-resistant Security Mechanisms and Autonomous
AI-driven Defense Architectures and offer a complete research
roadmap for next-generation intelligent Intrusion Detection
Systems.
• Table 1 presents a comparison of scope and the key contributions
in the proposed survey with representative existing survey papers
with a view to further highlighting the originality of this survey.
The proposed survey is different from the previous reviews, which
were mostly focused on specific research paradigms, because it
proposes a unified taxonomy, a multidimensional comparison
framework, a formalized conceptual framework and a compre-
hensive synthesis of the intrusion detection techniques used in the
field of AI in heterogeneous IoT and IIoT environments.
The proposed unified conceptual framework for AI-intrusion
detection within heterogeneous IoT and IIoT ecosystems is shown in
Figure 2. The framework starts from data acquisition from diverse IoT
and IIoT devices, then collects data, preprocesses the data, and

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 04 frontiersin.org
performs feature engineering to generate representative features for
intrusion detection. Lightweight Machine Learning models and
TinyML models can be deployed in an edge gateway to make efficient
real-time inference with minimal computational overhead. In
Federated Learning, only model parameters are shared to optimize the
model collaboratively without compromising data privacy, resulting
in better detection performance across the globe while maintaining
data privacy. A key use of blockchain is to enable decentralized trust
management by securely aggregating, authenticating and ensuring the
integrity of model updates. Explainable AI improves transparency by
providing explanations of the detection decisions and the highest
value features that are causing the highest number of predictions.
Regular feedback and updates to the models continue to make them
more adaptive to new cyber threats. While the current survey covers
the technologies separately, the proposed framework shows the com-
plementary nature of the various technologies in a single intelligent
intrusion detection architecture, thus enabling scalable, trustworthy,
energy-efficient and privacy-preserving security for the complex het-
erogeneous IoT and IIoT environment.
2 Methodology
Scopus is one of the largest multidisciplinary citation databases,
indexing journals from IEEE, Elsevier, Springer, Wiley, Taylor &
Francis, MDPI, ACM, and many other publishers. It provides broad
coverage of high-quality peer-reviewed literature in engineering, com-
puter science, and cybersecurity. Scopus supports advanced Boolean
search queries, filtering by document type, language, publication year,
subject area, and source type. Using a single comprehensive database
improves the reproducibility of the search methodology by avoiding
duplicate records across multiple databases.
2.1 Searching strategy
The literature search was conducted using the Scopus database
due to its extensive coverage of peer-reviewed journals in computer
science, artificial intelligence, cybersecurity, networking, and IoT
research. The search employed the TITLE-ABS-KEY field with
Boolean operators (AND, OR) to combine keywords related to IoT/
IIoT, Intrusion Detection Systems (IDS), Artificial Intelligence (AI),
and Blockchain/Trust Management. This search strategy ensured the
comprehensive identification of relevant studies on intelligent intru-
sion detection for IoT and IIoT environments.
The following Boolean search query was used:
TITLE-ABS-KEY ((“Internet of Things” OR “IoT” OR
“Industrial Internet of Things” OR “IIoT”) AND (“Intrusion
Detection System” OR “IDS” OR “Intrusion Detection” OR
“Network Intrusion Detection” OR “ Anomaly Detection” OR
“Network Anomaly Detection” OR “Malware Detection” OR
“Malware Analysis” OR “Botnet Detection” OR “DDoS
Detection” OR “Ransomware Detection” OR “Cyber Threat
Detection” OR “ Attack Detection”) AND (“ Artificial Intelligence”
OR “ AI” OR “Machine Learning” OR “ML ” OR “Deep Learning”
OR “DL ” OR “Lightweight Machine Learning” OR “TinyML ” OR
“Tiny Machine Learning” OR “Edge AI” OR “Edge Intelligence”
OR “Federated Learning” OR “FL ” OR “Distributed Learning”
OR “Explainable Artificial Intelligence” OR “Explainable AI” OR
“XAI”) AND (“Blockchain” OR “Trust Management” OR “Trust-
Based” OR “Privacy Preserving” OR “Privacy-Preserving” OR
“Secure Aggregation”)).
2.2 Search filters
To ensure the relevance and quality of the retrieved literature, sev-
eral search filters were applied. Only peer-reviewed journal articles
published between 2020 and 2026 and written in English were consid-
ered. The search was restricted to the TITLE-ABS-KEY field in the
Scopus database, resulting in an initial retrieval of 2,231 records.
2.3 PRISMA chart
2.4 Inclusion and exclusion criteria
After determining the inclusion and exclusion criteria, the
retrieved studies were screened based on these criteria (as shown in
Table 2). Only peer-reviewed journal articles in English that focused
on intrusion detection in IoT/IIoT scenario with the involvement of
AI-based techniques were selected. To ensure methodological consis-
tency and the quality of the final dataset, publications like conference
papers, book chapters, editorials, duplicate records or studies not
related to the review were excluded.
2.5 Study classification
The articles were classified in a systematic way after the final selec-
tion of 114 studies was made, for the comparative study. Finally, the
selected studies were categorized into six analytical dimensions: (i)
intrusion detection paradigms (signature-, anomaly-, and hybrid-
based IDS), (ii) artificial intelligence techniques (machine learning,
TABLE 1 Comparison of existing survey papers and the proposed survey.
Feature Existing
surveys
This survey
Machine learning-based IDS ✓ ✓
Deep learning-based IDS Partial ✓
Federated learning Some surveys ✓
TinyML Few surveys ✓
Explainable AI (XAI) Few surveys ✓
Blockchain-enabled trust Few surveys ✓
Unified taxonomy ✗ ✓
Multidimensional
comparison framework
✗ ✓
Unified conceptual
framework
✗ ✓
Dataset engineering Partial ✓
Mathematical Foundations ✗ ✓
Critical literature synthesis Partial ✓
Research gap analysis Partial ✓
Future research roadmap Partial ✓
Covers both IoT and IIoT Partial ✓

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 05 frontiersin.org
deep learning, federated learning, TinyML, and explainable AI), (iii)
deployment architecture (cloud, edge, fog, and federated environ -
ments), (iv) security enhancement mechanisms (blockchain, trust
management, and privacy-preserving approaches), (v) datasets and
evaluation metrics, and (vi) research challenges and future directions.
This classification system is used throughout the rest of this review for
the comparative discussion.
PRISMA Summary : The literature search was performed by
applying a Boolean search using a predefined search strategy
TITLE-ABS-KEY to the Scopus database, which resulted in 2,231
records from the literature. At the identification stage, 186 dupli -
cates, 42 publications in languages other than English and 23
retracted or invalid records were identified and excluded, and 1,980
records were submitted to the title and abstract screening stage. In
the Screening stage, 1,416 documents were excluded due to their
irrelevance to the theme of this review; these included studies that
did not relate to IoT/IIoT intrusion detection ( n = 274), studies that
did not use AI/ML techniques ( n = 198), studies that were not
related to network security (n = 76), and studies from other research
domains ( n = 52), along with other irrelevant publications
(n = 816). The remaining 564 full-text articles were assessed for eli -
gibility. Following careful review, 450 papers were eventually
removed because they lacked sufficient technical details ( n = 114),
were conference posters or abstracts ( n = 96), did not focus on IoT/
IDS security ( n = 87), were not relevant to the research questions
(n = 78), were low quality or not peer-reviewed ( n = 46), and were
older and less relevant (n = 29). After the quality-based assessment,
114 peer-reviewed journal articles were selected and were utilized
in the qualitative synthesis and comprehensive analysis of
this review.
2.6 Experimental settings analysis of the
reviewed studies
To provide a comprehensive comparison of the reviewed lit -
erature, the experimental configurations reported in the selected
114 studies were systematically analysed. The extracted informa -
tion included the datasets employed, representative intrusion
detection models, commonly reported parameter settings, hard -
ware and software environments, evaluation metrics, and attack
scenarios. Since this survey does not conduct original
FIGURE 2
Proposed unified conceptual framework for AI-driven intrusion detection in heterogeneous IoT and IIoT ecosystems. The framework integrates
Lightweight Machine Learning for low-latency edge inference, TinyML for resource-constrained on-device intelligence, Federated Learning for privacy-
preserving collaborative model optimization, Blockchain for decentralized trust management, and Explainable AI(XAI) for transparent decision-making.
Together, these complementary components enable scalable, energy-efficient, trustworthy, and explainable intrusion detection across heterogeneous
IoT and IIoT environments (created by the authors based on the reviewed literature).
TABLE 2 Search filters and literature retrieval criteria.
Parameter Selection
Database Scopus
Search field TITLE-ABS-KEY
Publication period 2020–2026 (replace with your actual
years)
Document type Journal Articles
Language English
Source type Peer-reviewed Journals
Initial records retrieved 2,231

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 06 frontiersin.org
experiments, the table summarizes the experimental practices
adopted across the reviewed studies rather than presenting a uni -
fied experimental setup. This analysis enables readers to under -
stand the typical implementation environments and evaluation
methodologies used for AI-driven intrusion detection in IoT and
IIoT systems.
According to the analysis, CICIDS2017, ToN-IoT, CICIoT2023
and BoT-IoT are the most used reference datasets to assess the per -
formance of IoT intrusion detection systems. Typical hyperparam -
eters for deep learning studies include learning rates of
approximately 0.001, batch sizes of 32 to 64, and local epochs.
Federated learning studies also report on communication rounds
and clients that participate. The popular implementations use
TensorFlow, PyTorch or Scikit-learn and are tested on an edge plat-
form like Jetson Nano and Raspberry Pi or workstations with GPUs.
These notes reflect the variety of experimental setups found among
the studies examined, and serve as a reference for others to use in
the future (Figure 3).
3 IOT threat landscape and attack
taxonomy
For the purposes of this review, the threat taxonomy has been
implemented and categorized the IoT cyber threats based on the
layers they are targeting, the most representative attack techniques
based on them and resulting operational impacts, as presented in
Figure 4. The taxonomy identifies three main types of attacks—net-
work level, device level, and data level attacks. While the former fall
in the category of network-level attacks, the latter are device-level
attacks that exploit vulnerabilities in the firmware, operating system
and IoT applications that devices depend on. Data-oriented attacks
aim to alter the data gathered by sensors and machines, as well as
confidential information, to infiltrate the integrity and confidentiality
of intelligent IoT services.
Figure 4 depicts not only the categorization of attacks, but also
the connection between attack categories and the development of
new AI-based security mechanisms. The figure shows that, instead
of handling attacks separately, Lightweight AI, Federated Learning,
Blockchain, Explainable AI, Adaptive Moving Target Defense and the
concept of secure-by-design work together across various layers of
the architecture to detect, mitigate, and respond to attacks. The inte-
grated taxonomy serves as an analytical lens to the next sections,
each of which investigates a security paradigm in more detail
(Tables 3, 4).
The threat landscape of IoT settings is marked by various
attack vectors that may target various levels of the system architec -
ture (Sasikala and Janakiraman, 2023 ). These threats have weak -
nesses in the firmware of the device, communication protocol,
network infrastructure and application software. Knowledge of the
taxonomy of IoT threats is critical in developing effective intrusion
detection and mitigation strategies ( Almobaideen et al., 2025 ).
Three main groups of IoT cyber threats can be identified: network-
level attacks, device-level attacks and data-oriented attacks, as
illustrated in Figure 4 . These categories denote different types of
attacks on various elements of the IoT ecosystem ( Bala and Behal,
2024). A detailed classification of IoT cyber threats, including
attack types, target layers, impacts and techniques, is presented in
Table 5.
FIGURE 3
PRISMA flow diagram of study selection with search strategy, inclusion and exclusion criteria.

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 07 frontiersin.org
3.1 Network-level attacks
At the network level, attacks can be directed at communication
channels among IoT devices, gateways and cloud servers that
include disrupting communication, altering data sent through
them and using network protocols to infiltrate network devices
they have unauthorized access. One of the most prevalent IoT-
related network-level threats is distributed denial-of-service
attacks. Compromised IoT devices are exploited to produce mas -
sive traffic to target servers or network infrastructure ( Bala and
Behal, 2024 ).
IoT botnets are characterized by a large-scale, which signifi -
cantly increases the potential effects of such attacks ( Kumar et al.,
2022). To effectively identify DDoS attacks within IoT networks,
researchers have suggested various lightweight machine learning
frameworks (Nawaz et al., 2025). Federated learning-based wireless
sensor network detection systems also tackle DDoS threats within
smart cities (Devi et al., 2025). Another type of network-level attack
is routing manipulation attacks ( Ngo et al., 2020 ). Reflection and
amplification attacks take advantage of network services that, in
response to small requests, send out large responses ( Nazir et
al., 2023).
3.2 Device-level attacks
Attacks at the device level are aimed at the inner workings of
IoT devices and are carried out using the vulnerabilities of the
device firmware, operating systems, or application software to
obtain unauthorized control. One of the most serious threats to
devices is IoT malware. Attacks on IoT devices are frequently per -
sistent, stealthy and scalable ( Sasikala and Janakiraman, 2023 ).
After being infected, a device can be involved in botnet activities,
scan networks and find other vulnerable devices or receive remote
instructions from command-and-control servers ( Alhamdi et al.,
2025). An especially threatening type of malware in industrial IoT
systems is backdoor malware ( Khan et al., 2024 ). Firmware attacks
involve installing malicious code or bypassing security controls
through firmware vulnerabilities ( Ngo et al., 2020 ). Another
emerging threat is the use of ransomware attacks on IoT systems
(Mofidi et al., 2024 ). A thorough analysis of ransomware attacks,
detection and countermeasures emphasizes the increasing inten -
sity of this threat ( Y an and Khoei, 2025).
FIGURE 4
IoT threat taxonomy illustrating the relationship between IoT architecture layers, major attack categories, representative attack techniques, their
operational impacts, and cross-cutting AI-enabled security mechanisms (created by the authors based on the reviewed literature).
TABLE 3 Inclusion and exclusion criteria.
Inclusion criteria Exclusion criteria
Peer-reviewed journal articles Conference papers
Published between 2020–2026 Book chapters
English-language publications Editorials and notes
Studies focusing on IoT/IIoT
intrusion detection
Duplicate records
AI-, ML-, DL-, Federated Learning-,
TinyML-, XAI-, or blockchain-based
IDS studies
Non-English publications
Studies reporting architectures,
datasets, evaluation metrics, or
experimental results
Studies unrelated to IoT/IIoT or IDS
Relevant to IoT and IIoT
cybersecurity
Papers with insufficient technical
details or incomplete evaluations

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 08 frontiersin.org
3.3 Data-oriented attacks
Data attacks are aimed at manipulating or obtaining sensitive data
on the IoT systems and, in most cases, on machine learning models
that are utilized to detect anomalies and make decisions. In data injec-
tion attacks, an attacker adds rogue data to IoT data streams to control
system behavior (Guizani and Ghafoor, 2020). Permission-level risk
profiling has been suggested as an approach to identify anomalies due
to unauthorized data access patterns (Shahin et al., 2024). Model poi-
soning attacks are specifically applied to machine learning models
involved in intrusion detection systems (Smmarwar et al., 2023). An
example of real-world privacy-saving Android malware detection by
federated machine learning shows that federated participants need to
exercise cautious model updating behavior to avoid the eventual acci-
dental leaking of sensitive device data ( Sasikala and
Janakiraman, 2023).
4 Evolution of intrusion detection
systems in IOT
Intrusion detection systems are essential in detecting malicious
activities in the IoT networks (Abualghanam et al., 2025). Intrusion
detection technologies have, over the years, developed beyond simple
rule-based systems to complex artificial intelligence-based systems
that can identify advanced cyber threats ( Kushwaha et al., 2025 ).
Figure 5 summarizes the generational progression of intrusion detec-
tion systems, highlighting key techniques, strengths and limitations
across different phases.
Figure 5 shows the evolution of intrusion detection systems (IDS)
for the IoT environment, ranging from simple signature-based IDSs
to intelligent, distributed, and explainable security systems. The evolu-
tion confirms that cyber threats within the IoT landscape are growing
in complexity, and so must be the mechanisms in place to detect these
threats. Early generations used pre-defined signatures and statistical
anomaly detection, but later generations adapted classical machine
learning, deep learning, lightweight edge intelligence, federated learn-
ing, explainable AI and blockchain for greater accuracy, scalability,
privacy protection, and deployment feasibility.
Figure 5 shows how each generation overcomes the constraints
imposed by the previous generation, rather than being a separate tech-
nological advancement. Signature-based systems work well against
known attacks but are not useful in detecting zero-day attacks.
Anomaly (departure) detection is more accurate at the cost of
increased false positives. Predictive capability can be improved by
classical machine learning, but comes with a significant amount of
manual feature engineering, while deep learning simplifies the process
of feature extraction but requires more computational power. Recent
decentralized lightweight, and explainable IDS architectures mitigate
these issues by enabling resource-constrained edge devices, privacy-
preserving collaborative learning, and transparent security decision
making. The conceptual model set out in Figure 5 is thus used as the
basis for the rest of the present review of the technological evolution.
The first intrusion detection systems were based on signature-
based detection. Hybrid intrusion detection methods based on signa-
tures and anomalies have been used to protect IoT and vehicle-to-grid
V2G communications (Reji et al., 2025). Intrusion detection systems
based on anomaly appeared as an alternative that is modelled by
normal system behavior and detects anomalies that can be an indica-
tion of malicious activity (Rey et al., 2022). Although this method is
effective at detecting unfamiliar attacks, it has a high false-positive rate
because of the dynamic characteristics of the IoT traffic patterns
(Alazab et al., 2023). A detailed comparison of intrusion detection
system generations, including their techniques, strengths and limita-
tions, is presented in Table 6.
New machine learning algorithms have added predictive features
to intrusion detection systems. Algorithms like Support Vector
Machines, Random Forests and Decision Trees can be used to analyze
statistical characteristics of network traffic flows (Abualghanam et al.,
2025). An in-depth study of machine learning algorithms in IoT IDS
proves the flexibility of these algorithms in various deployment situa-
tions ( Ramadan et al., 2025 ). Intrusion detection has also been
enhanced by deep learning architectures ( Hasan et al., 2022 ).
Convolutional neural networks (CNN) have been shown to be quite
useful in detecting spatial patterns in network traffic data (Ficco et al.,
2024). Temporal dependencies are dealt with in recurrent neural net-
works and hybrid CNN-RNN models (Ali et al., 2024). Although deep
TABLE 4 Summary of experimental settings reported across the reviewed studies.
Experimental component Summary from the 114
reviewed papers
Datasets ToN-IoT, CICIDS2017,
CICIoT2023, BoT-IoT, UNSW-
NB15,
MQTT-IoT-IDS2020, WSN-DS
and other IIoT datasets
Representative models Random Forest, SVM, XGBoost,
CNN, LSTM, CNN-LSTM, GRU,
FedAvg, FedProx, TinyML CNN,
Blockchain-assisted IDS,
XAI-based IDS
Typical parameter settings Learning rate (0.0001–0.01), batch
size (16–128), epochs (20–200),
Adam/SGD optimizer, local epochs
(1–10),
communication rounds (20–200),
clients (5–100), INT8
quantization for TinyML
Hardware platforms Intel Core i5/i7/i9, AMD Ryzen,
NVIDIA GTX/RTX GPUs,
Jetson Nano/Xavier, Raspberry Pi,
ESP32, STM32, Edge gateways
Software frameworks Python, TensorFlow, TensorFlow
Lite, TensorFlow Federated,
PyTorch, Scikit-learn, Keras,
Flower, Hyperledger Fabric,
Ethereum
Evaluation metrics Accuracy, Precision, Recall, F1-
score, ROC-AUC,
MCC, Detection Rate, False
Positive Rate, Latency, Energy
Consumption
Attack scenarios DDoS, DoS, Botnet, Malware,
Ransomware, Probe, U2R,
R2L, Insider Attack, Model
Poisoning, Gradient Leakage

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 09 frontiersin.org
TABLE 5 IoT cyber-threat taxonomy.
Attack category Attack type Target layer Primary impact Example
techniques
Key refs
Network-level DDoS/flooding Network/transport Service disruption Botnet orchestration,
amplification
Lefoane et al. (2025);
Bala and Behal (2024);
Nawaz et al. (2025)
Network-level Routing manipulation Network Traffic interception Protocol spoofing, sinkhole Ngo et al. (2020); Pandey
et al. (2025)
Network-level Reflection/amplification Network Bandwidth exhaustion DNS amplification, NTP
reflection
Pandey et al. (2025);
Nazir et al. (2023)
Device-level IoT Malware Device/OS Device compromise Persistence, botnet
recruitment
Lefoane et al. (2025);
Hasan et al. (2022)
Ozdogan (2024)
Device-level Firmware exploitation Firmware Persistent backdoor Unsigned firmware, buffer
overflow
Ngo et al. (2020);
Abdulkareem et al.
(2024)
Device-level Ransomware Application Operational Disruption Encryption, Function
lockout
Sharma and Bairwa
(2025); Chaganti et al.
(2022)
Device-level Backdoor injection Firmware/OS Unauthorized access Remote shell, hidden
credentials
Abdulkareem et al.
(2024)
Data-oriented Data injection Application/sensing Sensor manipulation False data injection, replay Guizani and Ghafoor
(2020); Shahin et al.
(2024)
Data-oriented Model poisoning ML Model Detection Evasion Label flipping, Gradient
manipulation
Smmarwar et al. (2023)
Data-oriented Gradient leakage Federated learning Privacy breach Gradient inversion,
Inference attack
Sasikala and
Janakiraman (2023);
Smmarwar et al. (2023)
FIGURE 5
Evolution of IoT intrusion detection systems from signature-based detection to AI-driven, federated, explainable, and trust-aware architectures,
highlighting the major techniques, strengths, limitations, and deployment characteristics across successive generations (created by the authors based
on the reviewed literature).

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 10 frontiersin.org
learning models have better accuracy, they need a lot of computing
power and cannot be used in environments with limited resources,
such as IoT ( Akshya et al., 2025 ). Researchers, in turn, have been
working on lightweight deep learning models that can be used effec-
tively on edge devices (Von Der Assen et al., n.d.). Federated learning
framework integration is another important development
(Almobaideen et al., 2025). This development is recorded in a thor-
ough survey of privacy-preserving federated learning in the context
of intrusion detection in IoT (Bala and Behal, 2024).
These emerging paradigms are examined individually in Sections
9–11 to illustrate how blockchain, trust-aware learning, and explain-
able AI collectively enhance the robustness, transparency, and reli-
ability of modern IoT intrusion detection systems.
5 Lightweight machine learning
architectures for IoT intrusion
detection
As shown in Figure 6, the complete lightweight machine learning
solution employed for IoT intrusion detection is the following: Raw
network traffic acquisition, data preprocessing, feature selection,
dimensionality reduction, lightweight classification, and finally, attack
detection. The pipeline illustrates the application of preprocessing and
feature selection methods, which reduce the dimensionality of the
data to a smaller set of features, before being classified by simple
classifiers with low computational cost. This design has the advantages
of low resource consumption, fast inference speed, and small compu-
tation output, and at the same time guarantees that the intrusion
detection performance of the resource-limited IoT equipment is
acceptable.
Figure 6 is intended to demonstrate the processing workflow as
well as the underlying tension between the degrees of efficiency and
accuracy in developing lightweight IoT IDSs. The comparison of rep-
resentative lightweight classifiers shows that choosing the proper clas-
sifier can not only rely on prediction accuracy, but also on deployment
factors such as memory, processing latency, and energy consumption.
As a result, feature engineering, dimensionality reduction and light-
weight classifier optimization become crucial issues when trying to
enable real-time intrusion detection on edge and embedded IoT
devices. The conceptual pipeline is the basis for the light weight
machine learning techniques throughout this section.
The comparative performance demonstrated in the bottom of
Figure 6, suggests that the lightweight CNN-based and mFCBF-based
models have a better trade-off between computation and detection
accuracy compared to traditional ensemble models, which make them
well suited for use in resource-limited IoT systems. The concept of a
pipeline is the foundation for the light-weight machine learning meth-
ods described in this section.
The high rate of Internet of Things ecosystem growth has
increased the importance of effective cybersecurity systems that can
perform under stringent computational requirements (Nawaz et al.,
2025). These constraints do not allow immediate implementation of
computationally intensive security models that are typically employed
TABLE 6 Evolution of intrusion detection systems in IoT.
Generation Detection
approach
Core technique Strengths Limitations Refs
1st Gen Signature-Based Pattern Matching High accuracy on
known attacks, Low FP
Cannot detect zero-days,
Requires frequent updates
Abualghanam et al.
(2025); Kumar et al.
(2022)
2nd Gen Anomaly-Based Statistical Profiling Detects unknown
attacks, Adaptive
High false positive rate,
Baseline drift
Alazab et al. (2023); Rey
et al. (2022)
3rd Gen Classical ML-Based SVM, Random Forest,
Decision Tree
Improved accuracy,
Predictive capability
Manual feature
engineering, Centralized
Shahin et al. (2024);
Ozdogan (2024)
4th Gen Deep Learning-Based CNN, RNN, LSTM,
Hybrid
Automated feature
extraction, High
accuracy
High compute cost, large
data needed
Hasan et al. (2022);
Akshya et al. (2025); Ali
et al. (2024)
5th Gen Lightweight Edge-Based Compact CNN, mFCBF ,
Pruned Trees
Edge deployable, Low
latency, Low energy
Slightly lower accuracy vs.
deep models
Nawaz et al. (2025);
Devi et al. (2025); Von
Der Assen et al. (n.d.);
Alhamdi et al. (2025)
6th Gen Federated and
distributed
FL, TinyML, Secure
Aggregation
Privacy-preserving,
Collaborative
Communication
overhead, Adversarial risk
Khan et al. (2024);
Khraisat et al. (2025);
Bhatia et al. (n.d.);
Mofidi et al. (2024)
Emerging XAI + Trust +
Blockchain
SHAP , LIME, Smart
Contracts, MTD
Transparent,
Trustworthy, Adaptive
Computational overhead,
Complexity
Y an and Khoei (2025);
Al Abdulwahid (2025);
Singh and Siddalingaiah
(2025); Eslamnejad et
al. (2025)

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 11 frontiersin.org
in enterprise networks (Abualghanam et al., 2025). A comparative
analysis of lightweight machine learning models, including their fea-
ture selection methods, computational costs and detection perfor-
mance, is presented in Table 7.
Edge/Fog Computing Layer: Lightweight machine learning model
deployed to detect intrusions in real time close to where data is pro-
duced, using Edge Gateways and TinyML supported IDS (Figure 1).
This deployment minimizes the delay and computation time of com-
munication and can rapidly identify attacks from diverse IoT devices.
The computational restrictions of resource constrained IoT edge
devices fall to lightweight machine learning techniques, which are
mainly used to detect network level attacks like DDoS, routing manip-
ulation, routing botnet traffic, as shown in Figure 4.
Lightweight models focus on lesser computational complexity
and yet possess effective detection capabilities ( Devi et al., 2025 ).
The main design goal is to achieve minimal training time, mini -
mal memory usage and minimal latency inference with minimal
intellectual loss in classification ( Ciaramella et al., 2026 ). To bal -
ance this, feature selection strategies, model architectures and data
preprocessing pipelines have to be optimized ( Alhamdi et al.,
2025). Forming a lightweight detection pipeline as illustrated in
Figure 6 .
FIGURE 6
Lightweight machine learning pipeline for IoT intrusion detection illustrating feature preprocessing, dimensionality reduction, lightweight classifier
selection, and the trade-off between computational cost and detection accuracy (created by the authors based on the reviewed literature).
TABLE 7 Comparison of lightweight machine learning models for IoT intrusion detection.
Model/
method
Category Feature
selection
Compute cost Edge
feasibility
Detection
accuracy
Refs
Decision Tree
(Pruned)
Classical ML Correlation-Based Very Low Very High Moderate Abualghanam et al.
(2025); Ciaramella et
al. (2026)
Random Forest Ensemble Feature Importance Moderate High High Baimukhanov et al.
(2025); Khraisat et al.
(2025)
Stacked Ensemble
(MLP+RF)
Ensemble Recursive
Elimination
Moderate Moderate High Baimukhanov et al.
(2025)
mFCBF +
Lightweight NN
Filter + NN mFCBF Low Very High Moderate–High Devi et al. (2025)
Lightweight CNN Deep Learning Automatic (Depth-
wise)
Low–Moderate Moderate–High Very High Bhatia et al. (n.d.);
Villafranca and Cano
(2025)
ERBM Rule-Based
Model
Rule-Based ML Domain Rules Very Low Very High Moderate Ciaramella et al.
(2026)
Byte N-Gram
Classifier
Static Analysis N-Gram Extraction Low High Moderate–High Kalakoti et al. (2025)
XGBoost/gradient
boost
Ensemble LASSO/Embedded Moderate Moderate High Alazab et al. (2023);
Nazir et al. (2023)

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 12 frontiersin.org
5.1 Feature engineering and dimensionality
reduction
Feature engineering plays a crucial role in lightweight intrusion
detection systems. Hundreds of attributes are usually present in the raw
IoT network traffic, many of which are redundant or irrelevant to detect-
ing attacks (Devi et al., 2025). Learning-based android malware detec-
tion using feature-driven static analysis shows how a wise choice of
features can save a lot of computational power (Alnasser et al., 2025).
Feature engineering and dimensionality reduction form the back-
bone of the lightweight detection pipeline, as shown in Figure 6, and help
to identify a set of select traffic attributes while minimizing computation
complexity and retaining discriminative information.
The feature selection methods are intended to determine the most
informative features (Alazab et al., 2023). Modified Fast Correlation-
Based Filter (mFCBF) feature selection techniques have been used to
create lightweight intrusion detection systems for IoT networks (Devi
et al., 2025). Recursive feature elimination recursively goes through
the features and eliminates the least significant features according to
model performance measures (Ciaramella et al., 2026). The resulting
dimensionality reduction is highly effective in enhancing the effi -
ciency of the training process and decreases the amount of computa-
tion required of the IoT devices (Baimukhanov et al., 2025).
5.2 Decision tree-based lightweight
detection models
Decision tree algorithms are among the most popular lightweight
machine learning methods of detecting IoT intrusions (Abualghanam
et al., 2025). Their simplicity of computation and interpretability make
them popular (Ciaramella et al., 2026). In contrast to deep learning
models, decision trees do not need large training sets and only use a
few computational resources to perform inference ( Alazab et al.,
2023). A machine learning-based malware detection method, which
improves cloud privacy protection, shows how the tree-based classi-
fiers can be adapted to limited environments (Sun and Wang, 2025).
Using wide residual networks as a method to detect obfuscated mal-
ware in IoT devices further expands tree-based paradigms (Selvam et
al., 2025).
5.3 Ensemble learning for lightweight
intrusion detection
Ensemble learning algorithms are a combination of several clas -
sifiers to enhance their detection accuracy and resilience. A stacked
ensemble model combines many base classifiers ( Esmaeilyfard et al.,
2025). A lean and mean model of botnet detection in IoT based on
stacked ensemble learning illustrates that a multilayer perceptron
with a random forest classifier model would offer better detection
results (Baimukhanov et al., 2025 ). A feature-learning-based mal -
ware analysis system also shows that the combination of multiple
feature extractors is beneficial ( Nedungadi et al., 2025 ).
Nevertheless, ensemble learning presents some extra computational
complexity as well. Lightweight ensemble models will often have
fewer base learners and can optimize feature selection ( Khraisat et
al., 2025).
5.4 Lightweight convolutional neural
networks
The use of convolutional neural networks has become popular in
the study of intrusion detection because they have the capacity to
automatically identify hierarchical features of the input data (Bhatia
et al., n.d.). Lightweight CNNs are architectures made to execute on
resource-constrained systems that minimize the number of layers in
the network and use smaller convolutional filters, with depth-wise
separable convolutions further decreasing the amount of computation
(Villafranca and Cano, 2025).
A small CNN-based malware classification algorithm to detect
malware in software shows that CNNs can be used to detect malware
activities with minimum parameter overhead ( Bhatia et al., n.d. ).
CNN-based detection on embedded devices with IoT malware clas-
sification based on lightweight neural networks further confirms the
viability of CNN (Vyas et al., 2024).
Another lightweight approach to malware classification on IoT
devices through machine learning and the use of byte N-grams to
classify malware is another method ( Kalakoti et al., 2025 ). The rel-
evance of these architectures to residential IoT settings is shown by
a privacy-friendly lightweight IDS to defend against smart home
botnets (Mehmmod et al., 2025 ). The new deep-boosted CNN and
ensemble learning-based IoT malware detection system has a high
detection accuracy ( Khraisat et al., 2025 ). GuardDroid is a light -
weight and transparent malware-detection method used to protect
Android IoT devices that supplements CNN-based detection with
the use of the static analysis method ( Kharnotia et al., 2026 ). The
effectiveness of machine learning in detecting botnet attacks with
IoT Security improves proves that lightweight classifiers are com -
petitive in detecting botnet attacks on real-world datasets
(Esmaeilyfard et al., 2025 ). The direction to lightweight hybrid
deep learning methods for malware detection improvement in IoT-
based systems proves that small neural networks can be used to
reach the state-of-the-art performance ( Baawi et al., 2025 ). The
problem of scalability is overcome by ultra-lightweight and safe
intrusion detection systems of massive IoT networks ( Alsekait et
al., 2024 ).
6 Deep learning architectures for IoT
intrusion detection
Deep learning models have enhanced intrusion detecting systems
by a great deal (Hasan et al., 2022). Deep learning architectures in the
context of IoT security studies are recommended to be customized to
achieve a balance between detection accuracy and computational effi-
ciency (Akshya et al., 2025). A comparative analysis of deep learning
architectures for IoT intrusion detection, including their input types,
computational requirements and deployment feasibility, is presented
in Table 8.
6.1 Recurrent neural networks for
sequential traffic analysis
Data in network traffic frequently has temporal interactions
that are not well represented by static features. This problem is

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 13 frontiersin.org
solved by recurrent neural networks (RNN) ( Ali et al., 2024 ). There
is a wide usage of Long Short-Term Memory (LSTM) networks in
intrusion detection systems. The LSTM networks add memory
cells and gating mechanisms that allow the model to remember
valuable information across long sequences ( Ali et al., 2024 ).
Within a botnet-communication situation, there can be a series of
behavior to be exhibited by an infected machine. An IoT botnet
detection system using extreme learning machines illustrates the
effectiveness of modelling sequential behavior patterns ( Alzubi et
al., 2025 ). Early detection of IoT botnets with machine learning
and network-edge traffic also confirms the usefulness of temporal
analysis ( Khan et al., 2023 ). Even though LSTM models offer
robust sequential analysis features, they are computationally
expensive, making them difficult to use on low-power IoT devices
(Chen J. et al., 2025 ). Consequently, LSTM-based intrusion detec -
tion systems are frequently implemented on edge gateways
(Akshya et al., 2025 ).
6.2 Hybrid CNN-LSTM intrusion detection
models
The intelligent IoT intrusion detection using a hybrid CNN–
LSTM architecture is shown in Figure 7. It uses Convolutional neural
networks to extract spatial features and Long Short-Term Memory
(LSTM) networks to capture the temporal relationships in the net-
work traffic sequences. Input traffic undergoes convolutional layers,
pooling of feature representations, sequential memory units,
attention mechanisms and fully connected layers, and ultimately gen-
erates multi-class detector outputs to identify intrusions. This multi-
layered structure allows the model to reflect local traffic properties as
well as long-term behavior trends of complicated cyberattacks.
Besides the model architecture, Figure 7 represents an intu -
ition for hybrid deep learning approaches to outperform single-
model architecture in the complex IoT environment. While
convolutional layers are effective at extracting spatial structures
within the identified network traffic features, LSTM layers help to
retain temporal structures within the network traffic characteris -
tics more effectively, which is key in capturing the temporal
dynamics and behavior of various types of network attacks involv -
ing multiple stages, such as botnet communication, ransomware
propagation, for example, and persistent malware. Attention
mechanisms are also introduced to enhance feature prioritization,
prioritizing the most informative temporal patterns when detect -
ing intrusions. As a result, the hybrid CNN–LSTM framework is
proven to offer a satisfactory balance between detection capability
and sequential traffic analysis, which is the conceptual foundation
for the hybrid deep learning models introduced in this section.
Hybrid neural networks are a combination of convolutional
and recurrent networks that can take advantage of both. The suc -
cess of such a combined approach is proved by a federated learn -
ing-based hybrid convolutional recurrent neural network to detect
multiple classes of intrusion in IoT networks ( Ali et al., 2024 ).
This mixed method is especially efficient in identifying high-level
cyberattacks associated with both structural abnormalities and the
change in the temporal behavior ( Von Der Assen et al., n.d. ).
TABLE 8 Deep learning architecture comparison for IoT security.
Architecture Input type Spatial
analysis
Temporal
analysis
Compute
cost
Edge
deployable
Refs
Standard CNN Image/feature
matrix
High Low Moderate Moderate Hasan et al. (2022);
Ficco et al. (2024)
Lightweight CNN Feature matrix/
packet
High Low Low High Bhatia et al. (n.d.);
Villafranca and
Cano (2025);
Vyas et al. (2024)
LSTM/GRU Sequential traffic
flows
Low Very high High Low Ali et al. (2024)
Hybrid CNN-LSTM Network traffic High High High Moderate Ali et al. (2024);
Von Der Assen et
al. (n.d.)
Variational autoencoder Network traffic Moderate Low Moderate Moderate Bonsu and
Akekudaga (2025);
Wajahat et al.
(2024)
GAN/CTGAN
(Augmentation)
Tabular/traffic Moderate Low High Low Wajahat et al.
(2024)
Image-based DNN Binary
visualization
High Low Moderate Moderate Ficco et al. (2024);
Zhukabayeva et al.
(2024)
Transformer/BERT-
based
Network logs/text High High Very high Low Mittal and
Rajvanshi (n.d.)

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 14 frontiersin.org
HoleMal, a lightweight IoT malware scanning framework, that
relies on efficient processing of host-level traffic, illustrates the
benefits of temporal modelling of host-level traffic patterns on the
accuracy of malware attribution ( Hakiki et al., 2025 ). The cross-
architecture Internet of Things malware detection and classifica -
tion relies on the structural analysis capabilities of CNNs together
with temporal modules ( Hasan et al., 2022 ). An overview of ben -
eficial neural networks reveals a new research problem in the area
of deep learning security and IoT malware detection ( Mansour et
al., 2025 ). Resource and workload-aware malware detection using
distributed computing in IoT networks also solves the deployment
of heterogeneous groups of devices ( Y ama and Uda, 2025).
6.3 Generative models of anomaly
detection
Generative models are a new trend in the research of IoT intru-
sion detection (Bonsu and Akekudaga, 2025). Explainable IoT security
in real-time with machine learning and Conditional Tabular
Generative Adversarial Network (CTGAN)-enhanced detection of
resource-constrained devices illustrates how generative models can
supplement small training sets (Wajahat et al., 2024). A visual encod-
ing of binary features is used to create an optimized and efficient
image-based IoT malware detection technique (Zhukabayeva et al.,
2024). The generative models are especially effective in the detection
of zero-day attacks since they do not need the labelled malicious sam-
ples to be trained. One example of an IoT edge-based IDS with com-
bined models of ML and generative AI is given ( Bonsu and
Akekudaga, 2025).
6.4 Dataset-agnostic deep neural
architectures
The alternative line of research is to come up with dataset-
agnostic intrusion detection models. Image-based neural network
classification to detect intrusion in IoT and wireless networks
proves that often the better designed preprocessing pipelines,
rather than more complex models, determine the detection per -
formance ( Ficco et al., 2024 ). A privacy-preserving BERT-based
lightweight model of IoT and IIoT devices can be revolutionized
by revolutionizing cyber threat detection with large language
models ( Mittal and Rajvanshi, n.d. ).
7 Federated learning architectures for
IoT intrusion detection
The overall federated learning process used for privacy-preserving
IoT intrusion detection is shown in Figure 8. Distributed local model
training is carried out in various IoT verticals such as smart homes,
healthcare, industrial IoT, smart cities, and transportation systems,
where the local collected data is used for training intrusion detection
models without sharing raw data. Locally-trained parameters are
securely communicated to a global aggregation server using privacy-
preserving protocols such as Differential Privacy, Homomorphic
Encryption, and Secure Multi-Party Computation to enable global
model optimization while upholding data privacy.
Aside from showing the workflow of federated learning,
Figure 8 also shows how simple federated learning evolves to
advanced collaborative architectures for intrusion detection. The
figure illustrates the combined effects of federated learning, reputa -
tion-based client selection, semi-supervised learning, adaptive
aggregation and robustness mechanisms in enhancing model con -
vergence, scalability, robustness to adversarial attacks, and resil -
ience in heterogeneous non-IID data distributions. Thus, the
development of the analytical background for the secure aggrega -
tion techniques, privacy preserving mechanisms, and advanced
federated learning strategies throughout this section are grounded
in Figure 8.
The decentralized nature of the IoT ecosystem presently poses
serious challenges to centralized security models (Mofidi et al., 2024).
Although centralized security models are effective in enterprise envi-
ronments, they become inefficient in IoT deployments because devices
are geographically distributed, resource-constrained, and continu-
ously generate sensitive data. Figure 8 illustrates the federated learning
FIGURE 7
Hybrid CNN–LSTM architecture for IoT intrusion detection illustrating spatial feature extraction, temporal sequence modelling, attention mechanisms,
fully connected classification layers, and multi-class attack prediction (created by the authors based on the reviewed literature).

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 15 frontiersin.org
workflow that addresses these challenges through distributed collab-
orative model training.
Figure 1 provides the overall system architecture, whereas
Figure 8. focuses specifically on the federated learning workflow. In
the architecture shown in Figure 1, the Local Federated Aggregator
located at the Edge/Fog layer coordinates collaborative model training
by collecting local model updates from distributed devices instead of
raw data. This design enhances privacy while introducing new secu-
rity challenges such as model poisoning and gradient leakage attacks.
Figure 4 identifies model poisoning and gradient leakage as rep-
resentative data-oriented attacks that directly threaten federated learn-
ing systems, motivating the secure aggregation, privacy-preserving
learning, and adversarial defense mechanisms discussed in this
section.
The transmission of raw information from a device to centralized
servers in most IoT applications presents communication overhead,
as well as privacy risks (Bekkouche et al., 2022). Federated learning is
a prospective paradigm that allows devices to learn using machine
learning models on-device and only exchange model parameters but
not data (Khan et al., 2024). Federated learning minimizes communi-
cation overhead by decentralizing the training process, maintaining
privacy and scaling to large IoT deployments (Jamshidi et al., 2025).
A thorough survey establishes that federated learning in intrusion
detection in the IoT environment offers a solid privacy-preserving
approach (Almobaideen et al., 2025).
7.1 Fundamentals of federated learning
Federated learning functions based on an iterative training pro-
cess where each device has a local dataset and trains its models inde-
pendently. The aggregation server and the connection between the
aggregation server and the participating devices combine the received
updates with the help of algorithms like Federated Averaging and sub-
sequently redistribute the global model to the participating devices
(Khan et al., 2024). A two-stage hybrid federated learning architecture
of privacy-preserving IoT anomaly detection illustrates the way that
iterative aggregation can be designed to support the case of multi-class
detection (Chen Z. et al., 2025). The Federated Learning for Anomaly
Detection in IoT Networks (FLADEN) model of federated learning-
based anomaly detection of IoT networks shows how the regular FL
workflows can be utilized in unsupervised anomaly detection environ-
ments (Portales and Riegler, 2024). Federated learning based IoT mal-
ware analysis gives a thorough overview of federated paradigm-based
malware analysis (Kasarapu et al., 2024).
FIGURE 8
Federated learning workflow for privacy-preserving IoT intrusion detection illustrating distributed local model training, secure aggregation, advanced
federated learning mechanisms, and collaborative intrusion detection across heterogeneous IoT environments (created by the authors based on the
reviewed literature).

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 16 frontiersin.org
7.2 Federated learning for
privacy-preserving IoT security
One of the driving forces behind the use of federated learning in
the security of IoT is privacy preservation. Monitoring systems in
healthcare, industrial automation systems and smart city systems pro-
duce sensitive data about operations (Alanezi et al., 2026). Deployed
in the context of urban-scale FL, the demonstration of advanced arti-
ficial intelligence and federated learning structures of privacy-preserv-
ing cyberthreat detection in IoT-assisted sustainable smart cities
shows how FL can be implemented at a large scale (Hasan and Tasnim,
2025). As devices do not transmit raw data, but only model parame-
ters, the threat of sensitive data being revealed is considerably mini-
mized. The privacy principles can be extended to device-level
communication with lightweight and privacy-conscious device-to-
device authentication of smart healthcare systems based on the IoT
(El-Ghamry et al., 2023). The trade-offs between privacy mechanisms,
communication cost and robustness across different federated learn-
ing variants are summarized in Table 9.
Industrial IoT an example is that in fog-assisted IoT smart homes,
securing the environment using a federated learning-based intrusion
detection framework proves that FL is effective in ensuring data con-
fidentiality among the devices deployed by the fog (Ferrag et al., 2024).
Nevertheless, even with these benefits, model updates sent throughout
training can still indicate biased information about local datasets. This
problem is resolved by a privacy-preserving IoT network based on
statistical learning and optimization algorithm (Sharma and Y adav,
2025). The comparative analysis of methods and applications of pri-
vacy-preserving security of IoT networks offers a general assessment
of privacy assurances with varied FL configurations ( Shahin et al.,
2025). A resource-nesting, privacy-preserving federated edge learning
system is yet another example of how Federated learning can be
implemented in real-time Internet of Medical Things applications,
providing further evidence to the practicality of FL in time-sensitive
medical applications (Alanezi et al., 2026).
7.3 Secure aggregation mechanisms
To ensure the safety of model updates being exchanged during
federated training, secure aggregation mechanisms are created.
Malware detection using AI and differential privacy to achieve zero
trust security in Internet of Things networks proves that with noise
injection meticulously adjusted, individual data samples cannot be
extracted by aggregating gradients (Hendaoui et al., 2025). A homo-
morphic encryption-based privacy-preserving federated learning-
based intrusion detection method of cyber-physical systems is used to
enable the aggregation of encrypted model updates
(Venkatasubramanian et al., 2023). Secure multi-party computation is
integrated with visual feature encoding in a federated intrusion detec-
tion system that uses visual encoding to encode and lightweight secure
aggregation to reduce the cost of communication and privacy loss in
the aggregation process of the IoT (Mahmood et al., 2025).
7.4 Clustered and advanced federated
learning architectures
The non-identically and non-independent nature of the IoT data
is one of the biggest challenges in federated learning systems. The clus-
tered federated learning architecture of network anomaly detectors in
large heterogeneous IoT networks has been adopted to solve this prob-
lem by clustering together similar devices with regard to data distribu-
tions (Ragab et al., 2025).
TABLE 9 Federated learning variants comparison for IoT intrusion detection.
FL variant Aggregation
method
Privacy
mechanism
Communication
cost
Adversarial
robustness
Non-IID
handling
Refs
Standard FL FedAvg None/Basic Moderate Low Poor Khan et al. (2024)
FL + Differential
Privacy
Noisy FedAvg Differential Privacy Moderate Moderate Moderate Hendaoui et al. (2025);
Venkatasubramanian et
al. (2023)
FL +
Homomorphic
Encryption
Encrypted
Aggregation
Homomorphic
Encryption
High High Moderate Venkatasubramanian et
al. (2023)
FL + Secure
Multi-Party
Computation
SMPC Aggregation Secure
Computation
High High Moderate Mahmood et al. (2025)
Clustered FL Per-Cluster FedAvg Basic Moderate Moderate High Ragab et al. (2025)
Semi-Supervised
FL (FedMSE)
MSE-Weighted
Aggregation
Basic Low Moderate High Das et al. (2024)
Two-Stage Hybrid
FL
Stage-wise
Aggregation
Layered Privacy Moderate High High Shahin et al. (2025);
Rampone et al. (2025)
Reputation-Based
FL
Weighted
Aggregation
Trust Scoring Low High High Bensaid et al. (2025)
Mini-Batch FL Mini-Batch FedAvg Basic Very Low Low Moderate Alrayes et al. (2025)
Blockchain-
Integrated FL
Ledger-Verified
Aggregation
Blockchain
Consensus
High Very High Moderate Y an and Khoei (2025);
Smmarwar et al. (2023)

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 17 frontiersin.org
FedMSE, a semi-supervised federated learning-based IoT network
intrusion detection system, builds on the clustered FL paradigm by gen-
eralizing to cases where only a part of the training data has labels
(Nguyen and Beuran, 2025). Strengthening federated learning for anom-
aly detection in IoT through reputation-based client selection shows that
the selective inclusion of quality participating devices enhances global
model convergence (Alfadhil et al., 2025). A hybrid federated learning-
based framework for privacy preserving near-real-time intrusion detec-
tion in IoT shows an example of adaptive aggregation to minimize
detection latency without compromising privacy (Rampone et al., 2025).
Federated learning-based robust android malware detection label flip-
ping attacks and defenses deal with adversarial manipulation of model
changes (Eslamnejad et al., 2025). The improvement of privacy-saving
intrusion detection using federated learning adds other mechanisms to
solve model inversion and membership inference attacks (Alazab et
al., 2023).
Improved IoT security, based on a privacy-sensitive federated learn-
ing model to detect intrusions in real-time with accuracy across devices,
shows performance improvements ( Puviarasu and Sudha, 2026 ).
Federated learning is a privacy-preserving method of distributed intru-
sion detection, secured by Internet of things devices (Al Amro, 2025).
The problem of insider threat detection is specifically tackled with pri-
vacy-preserving federated learning to gain the advantage in identifying
compromised insider devices in IoT networks ( Kamatchi and
Uma, 2025).
FL-IDS, a federated learning-based intrusion detection system over
edge transport IoT, shows that FL is applicable to the transportation
infrastructure of safety-critical applications (Bhavsar et al., 2024). A fed-
erated learning-based malware detection model with SIM-FED, a secure
IoT malware detector, further incorporates specific malware detection
capabilities (Nobakht et al., 2024). Lightweight intrusion detection sys-
tems federated with learning applied to the wireless sensor network offer
solutions to cybersecurity in smart city settings in terms of DDoS attacks
(Devi et al., 2025). Privacy-sensitive federated learning-based intrusion
detection scans the entire landscape of FL variants used in this area
(Bhatia et al., n.d.).
8 TinyML and edge intelligence for IoT
security
TinyML is a new discipline that aims to implement machine learn-
ing models on computers approximately the size of a microcontroller.
TinyML can run complicated neural network models on tight hardware
constraints by compressing them via quantization, pruning and sharing
of parameters (Ramadan et al., 2025). The federated learning of IoT
devices that improves TinyML with on-board training proves the point
that devices can also improve their own models without depending on
the cloud (Ficco et al., 2024). TinyML can be applied in IoT security
applications to perform intrusion detection at the device level, whereby
devices examine their own behavior in real-time. Federated learning and
TinyML on IoT edge devices review the challenges, progress and future
of this booming arena (Ramadan et al., 2025).
8.1 On-device intrusion detection
On-device detection allows devices to track network traffic pat -
terns, system calls and behavioral patterns without the assistance of
external infrastructure (Ficco et al., 2024). Devices can invoke local
mitigation measures or send notifications to upper-level security
systems when an abnormal behavior is detected ( Ramadan et
al., 2025).
8.2 Federated TinyML systems
Recent research combines federated learning with TinyML tech-
nologies to create decentralized collaborative security frameworks
(Ficco et al., 2024). The model updates are then sent to aggregation
servers where global models are built (Ramadan et al., 2025).
8.3 Energy-efficient learning strategies
IoT security systems heavily depend on energy efficiency since a
significant portion of devices use batteries. A system of attack detec-
tion through an energy-based survey of IoT devices classifies and
weighs the use of detection techniques based on their energy con -
sumption (Merlino and Allegra, 2024). The analysis of machine learn-
ing-based intrusion detection systems in IoT in terms of performance
and energy usage proves the extreme significance of collectively opti-
mizing detection accuracy and energy overhead (Jamshidi et al., 2025).
Mini-batch federated learning reduces computational complexity
by training models on smaller subsets of data. A lightweight mini-
batch federated learning approach for attack detection in the IoT dem-
onstrates that even small data batches produce models competitive
with full-batch training (Ahmad and Shah, 2024). Client selection
mechanisms improve efficiency by selecting only a subset of devices
to participate in each training round. Enhancing federated learning
through reputation-based client selection prioritizes devices with suf-
ficient resources and stable connectivity (Alfadhil et al., 2025).
9 Edge–Fog–Cloud collaborative
security architectures
The current IoT security architectures are based more on hierar-
chical computing architectures that spread intelligence at various
levels. The stratification of intelligence in ML-based anomaly detec-
tion by incorporating IoT, cloud and edge computing illustrates that
intelligence may be scaled to the abilities of each layer. These architec-
tures generally comprise three main layers ( Rey et al., 2022 ). IoT
device layer, edge or fog computing layer and cloud intelligence layer
(Wakili and Bakkali, 2025).
The complete hierarchical architecture is illustrated in Figure 1.
The figure demonstrates how security intelligence is distributed across
the IoT Device Layer, Edge/Fog Computing Layer, Network
Infrastructure, and Cloud Intelligence Layer. This layered organization
enables computational tasks to be executed at the most appropriate
location, balancing latency, scalability, and privacy requirements.
9.1 Device-level security monitoring
The bottom layer of the architecture is the IoT device layer. Simple
security monitoring is done by devices with lightweight anomaly
detection algorithms or TinyML models (Nawshin et al., 2024). To
show device-level monitoring at scale, the problem of enhancing IoT

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 18 frontiersin.org
resilience at the edge with a resource-efficient anomaly detection
framework in real-time on streaming data is addressed (Mahmud et
al., 2024). These models interpret local measurements of sensors, net-
work traffic patterns and system behavior to detect suspicious activi-
ties. Since device-level detection is performed at the very point of data
creation, it can give real-time feedback on outliers ( Mabrouk et
al., 2025).
9.2 Edge intelligence to real-time analysis
The edge computing layer is a processing layer that lies between
the cloud infrastructure and IoT devices. The adaptive federated edge
intelligence to detect cyberthreats in real-time in resource-limited IoT
settings proves that lightweight deep learning models can be success-
fully deployed to the edge ( Wakili and Bakkali, 2025). Edge nodes
combine information from several devices and apply deep learning
models that can analyze the intricate network traffic patterns (Rey et
al., 2022 ). An example of edge-based detection based on
programmable network management with software-defined IoT net-
work intrusion detection and mitigation framework is presented using
AI (S’aez-de-C’amara et al., 2023). The importance of the fog layer as
an intermediary to offload computation while maintaining data con-
fidentiality is shown through the development of encryption-based
fog computing to enhance privacy and security in IoT-based smart
grid systems (Nguyen and Beuran, 2025).
9.3 Cloud-based threat intelligence
The cloud offers security intelligence in the world. An example of
how cloud-hosted virtual functions may coordinate the detection of
malware in large IoT-based networks is a network function virtualiza-
tion system to detect malware in large networks (Alfadhil et al., 2025).
Security systems on the cloud use aggregated information, obtained
across multiple edge nodes, to detect patterns of attack around the
globe. Federated learning artificial intelligence at the advanced stage
of smart city IoT environments is based on cloud analytics to correlate
FIGURE 9
Blockchain-integrated federated learning trust framework for IoT intrusion detection illustrating edge intelligence, federated learning coordination,
blockchain-enabled trust management, smart contract governance, and explainable security analytics (created by the authors based on the reviewed
literature).

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 19 frontiersin.org
threat intelligence in city-scale deployments ( Hasan and
Tasnim, 2025).
IoT-based smart grid security and privacy-preserving frameworks
and applications rely on cloud infrastructure to sustain global threat
models alongside adherence to data protection requirements
(Rampone et al., 2025). Statistically analyzing machine-type commu-
nication data sets allows a more precise baseline profile at the cloud
level through modelling of IoT traffic patterns ( Puviarasu and
Sudha, 2026).
10 Blockchain-based security
frameworks for IoT intrusion detection
Figure 9 presents the blockchain-integrated federated learning
trust framework considered throughout this review for secure IoT
intrusion detection. The architecture combines edge intelligence, fed-
erated learning, blockchain governance, and explainable AI into a uni-
fied security framework. Local intrusion detection models are first
trained at distributed edge nodes before validated model updates are
securely aggregated through federated learning. Blockchain smart
contracts subsequently verify device identities, validate model
updates, maintain reputation scores, enforce access control policies,
and record threat intelligence using an immutable distributed ledger.
This global security intelligence empowers explainable AI analytics
and coordinated security decision making in a diverse IoT and
Industrial IoT landscape.
Figure 9 also shows the usage of blockchain in collaborative
intrusion detection, where blockchain is used to add decentralized
trust management to federated learning, to illustrate the architec -
tural workflow. It not only provides secure aggregation of models but
also leverages smart contracts, client reputation for improved selec-
tion, client poisoning detection, and immutable audit trails to ensure
the integrity, transparency, and accountability of distributed learn -
ing. The figure also highlights the need for the machine learning
(ML) model to be accurate, trustworthy and to provide secure model
validation and explainable security analytics for successful IoT intru-
sion detection. Guided by this, in this section the concept of trust
mechanisms based on blockchain is introduced throughout the
figures.
The growing complexity of IoT ecosystems has underscored the
weaknesses of centralized security infrastructures. Edge-based intru-
sion detection methods using blockchain and federated learning in
industrial IoT networks offer a review of how blockchain can over-
come centralized trust issues ( Ali et al., 2024 ). Blockchain offers a
distributed ledger architecture where transactions are stored in immu-
table blocks verified by consensus mechanisms, enabling secure and
decentralized IoT intrusion detection workflows as illustrated in
Figure 9. The use of deep neural networks and blockchain-based
cybersecurity to improve anomaly detection and prevention in IoT
proves this architecture in practice (Sathyabama and Katiravan, 2025).
In the framework of IoT security, blockchain allows decentralized
authentication of security data between multiple nodes ( Ali et
al., 2024).
As illustrated in Figure 1, Blockchain Trust Management is posi-
tioned in the Cloud Intelligence Layer, creating decentralized trust
between edge nodes that are distributed and participants in federated
learning. Whereas the federated architecture is complemented by
blockchain as it ensures integrity of model updates and stronger trust
management through the IoT ecosystem.
Referring to Figure 4, blockchain primarily addresses data integ-
rity, model authenticity, and trust management challenges by protect-
ing collaborative model updates, preventing unauthorized
modifications, and supporting secure authentication among distrib-
uted IoT nodes.
10.1 Blockchain-integrated federated
intrusion detection
Integration with federated learning systems is one of the most
important blockchain-based applications in IoT security. The block-
chain provides a safe system to authenticate model updates, where
each update is logged as a transaction in the ledger and authenticated
before being included in the global model (Ali et al., 2024). This archi-
tecture prevents malicious participants from injecting contaminated
model parameters into the aggregation process ( Eslamnejad et
al., 2025).
10.2 Smart contracts for security
automation
Smart contracts are automated scripts that run when specific
conditions are met. Smart contracts have the potential to automate
the validation of model updates, threat reporting and authentica -
tion of devices in IoT security architectures ( Sathyabama and
Katiravan, 2025 ). Systems of device reputation management can
also be automated by use of smart contracts. Lightweight, trust
and privacy collaborative IoT intrusion detection shows the
potential to use reputation scores calculated on-chain to control
the involvement of devices in collaborative detection ( Wardana et
al., 2024 ).
10.3 Benefits and limitations of
Blockchain-based IoT security
Blockchain implementation improves transparency through
recording all security-related transactions in an unchangeable reg -
istry, removes single points of vulnerability and offers audit trails
that are difficult to alter. Nonetheless, consensus mechanisms
have the potential to add computational and network latency,
which can reduce scalability in very large IoT systems. To mini -
mize this overhead, lightweight blockchain frameworks and alter -
native consensus algorithms have been suggested ( Ali et al., 2024 ).
11 Trust-aware intrusion detection
frameworks
When it comes to the large-scale IoT setup, not every device
involved can be expected to be reliable. Trust Enhanced Anomaly
Detection (TEAD), a trust-enhanced intrusion detection framework

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 20 frontiersin.org
for IoT-enabled wireless sensor networks, copes with it by considering
trust assessment in the detection chain (Al Amro, 2025). Lightweight,
trust-managing and privacy-preserving collaborative intrusion detec-
tion of the Internet of Things further generalizes trust management to
collaborative detection scenarios (Kamatchi and Uma, 2025). Trust-
aware systems provide dynamic trust scores to devices according to
their past behavior, communication patterns and data integrity. The
trust score can be used to control access to data at the edge, as evi-
denced by a federated edge intelligence framework with trust-based
access control of secure and privacy-preserving IoT systems (Bhavsar
et al., 2024).
The Trust Engine shown in Figure 9 provides the basis for the
trust-aware intrusion detection mechanisms discussed in this section
by maintaining behavioral trust, reputation scores, and historical
security information for participating devices.
11.1 Trust score computation
Trust scores are usually calculated by various behavioral measures
such as frequency of communication, success rate of packet delivery,
consistency of data and energy usage patterns (Al Amro, 2025). The
development of IoT security based on an elaborate AI-driven trust
system to detect intrusions shows the potential of machine learning
to assess the multidimensional trust metrics on a dynamic basis
(Nobakht et al., 2024 ). Trust computation models are a statistical
analysis-based machine learning framework that determines behav-
ioral deviations. The system can adjust to the dynamic nature of a
network by maintaining trust scores through repeated updates with
observed behavior (Bhavsar et al., 2024).
11.2 Integration of trust with intrusion
detection
Trust-conscious intrusion detection systems incorporate trust
scores as part of anomaly detection techniques. Low-trust devices
can either be monitored further or can be left out of collaborative
learning ( Al Amro, 2025 ). In the process of federated learning, the
aggregation server can give lower weights to model updates posted
by devices that have low trust scores. This weighted aggregation
strategy is applied by enhancing federated learning to detect
anomalies in IoT-based systems by reputation-based client selec -
tion (Bensaid et al., 2025 ). The integration of trust evaluation and
anomaly detection creates a multi-layer security architecture that
improves resilience against insider attacks and compromised
devices ( Nobakht et al., 2024 ). A signature and anomaly-based
intrusion detection system for secure IoTs and V2G communica -
tion illustrates how hybrid detection strategies incorporating trust
awareness perform across heterogeneous IoT deployments ( Reji
et al., 2025 ).
12 Explainable artificial intelligence in
IoT security
Although artificial intelligence models have greatly enhanced
intrusion detection abilities, some deep learning models are black-box
systems. Explainable AI-based intrusion detection for securing IoT-
enabled autonomous transportation systems illustrates how XAI can
help to close the gap between model performance and operational
transparency (Akshya et al., 2025 ). Explainable AI overcomes this
issue by giving details on how machine learning models make deci-
sions. Federated Learning of Explainable AI (FedXAI) for deep learn-
ing-based intrusion detection in IoT networks further applies
explainability to the federated learning framework ( Kalakoti et
al., 2025).
Figure 1 also highlights the XAI Security Analytics component
within the Cloud Intelligence Layer. Explainable AI improves the
transparency and interpretability of AI-driven intrusion detection
decisions, allowing security analysts to better understand model pre-
dictions and increasing confidence in automated threat detection
systems.
Figure 2 further illustrates Explainable AI as a cross-cutting secu-
rity mechanism that improves the interpretability of AI-driven intru-
sion detection across network-level, device-level, and data-oriented
attack scenarios, enabling security analysts to better understand auto-
mated detection decisions.
Figure 9 further illustrates that Explainable AI operates within the
Security Analytics and Decision Support Layer, where interpretable
model predictions complement blockchain-verified trust information
to support transparent security decisions.
12.1 Global model interpretability using
SHAP
Shapley Additive Explanations (SHAP) gives weights to each fea-
ture based on the amount it adds to the model predictions. SHAP
analysis in intrusion detection systems determines what attributes of
network traffic are most influential towards detecting an attack
(Akshya et al., 2025). Transfer learning with XAI for robust malware
and IoT network security illustrates how SHAP visualizations can
reveal the discriminative features learned in transfer learning
(Almadhor et al., 2025).
12.2 Local interpretability using LIME
Local Interpretable Model-Agnostic Explanations (LIME) is a
method that gives explanations of individual predictions by locally
approximating the model with a more interpretable model.
Explainable Machine Learning-based Android Malware Detection
(EML-AMD), an explainable machine learning framework for
detecting adaptive Android malware, shows that local interpretability
methods lead to better analyst trust in automated detection decisions
(Ahmad and Shah, 2024; Patel and Ghosh, 2025). SHAP world analy-
sis with LIME local explanations gives a complete interpretability.
This dual-layer approach improves transparency and facilitates regu-
latory compliance in the case where automated decision-making
should be audited (Eslamnejad et al., 2025).
13 Dataset engineering for IoT
intrusion detection
Availability of high-quality and diverse datasets is critical to the
effectiveness of machine learning-based intrusion detection systems,

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 21 frontiersin.org
with key IoT security datasets and their characteristics summarized
in Table 10. Recent data on network flooding attacks within Software-
Defined Networking (SDN)-based IoT systems shows how dataset-
specific creation can further the development of specialized detection
systems (Karmous et al., 2025). A large-scale digital forensics dataset
known as Cyberattack Attribution Detection (IoT-CAD), which pro-
vides AI-based techniques of cyberattack attribution detection in IoT
settings, resolves the issue of attributing attacks to particular threat
actors (Mohamed et al., 2025). Current studies have paid attention to
the construction of realistic datasets based on IoT testbeds that rep-
licate real interactions between devices and cyberattack situations. A
way to solve the problem of smart device profiling is by creating a
large-scale IoT Z-Wave intrusion detection dataset ( Shafi and
Lashkari, 2025).
13.1 Multi-protocol IoT datasets
IoT networks have many different communication protocols,
such as Message Queue Telemetry Transport (MQTT), Hypertext
Transfer Protocol (HTTP), Constrained Application Protocol
(CoAP), ZigBee, Zensys Wave (Z-Wave) and Modbus. Detailed secu-
rity datasets should be able to reflect actual environments by captur-
ing traffic of various protocols ( Aqachtoul et al., 2025 ). Statistical
modelling of IoT traffic patterns based on statistical analysis of
Machine-Type Communication (MTC) datasets gives a critical
understanding of multi-device IoT traffic characteristics ( Ruiz-
Guirola et al., 2025). Multi-protocol datasets combine network traffic
logs, device telemetry, system calls and application-level data. These
layers combine to create more robust intrusion detection models
(Mohamed et al., 2025).
13.2 MQTT-IoT security datasets
MQTT is a simple messaging system common in IoT systems. A
real-world IoT cybersecurity dataset, MQTTEEB D, used in
AI-driven threat detection in MQTT networks, contains attack sce-
narios including message flooding, authentication attacks,
malformed packet injection and denial-of-service attacks (Aqachtoul
et al., 2025).
13.3 The ToN-IoT dataset architecture
The ToN-IoT dataset is one of the most detailed datasets for IoT
intrusion detection research and simulates a full Industry 4.0 environ-
ment. The ToN-IoT dataset can be used to create a new intrusion
detection system to cover industrial IoT devices, proving that it is a
multi-dimensional benchmark. The dataset contains several attack
scenarios, including distributed denial-of-service attacks, data injec-
tion attacks, scanning activities and ransomware behavior, which
allows multi-dimensional intrusion detection research ( Cao et
al., 2025).
14 Comparative evaluation and critical
analysis of IoT intrusion detection
approaches
The creation of intrusion detection systems for IoT ecosystems has
generated a broad spectrum of security architectures, which differ in
learning strategies, deployment models, privacy guarantees and com-
putational requirements. An overview of network intrusion detection
across both IoT and non-IoT paradigms offers a comparative baseline
(Abdulkareem et al., 2024). Conventional machine learning-based
intrusion detection systems are based on centralized training environ-
ments. Though such models have high detection rates, their central-
ized structure incurs communication overhead and privacy issues
(Ozdogan, 2024). Large-scale IoT deployments suffer serious latency
due to the need to pass raw device data to centralized servers (Vyas et
al., 2024).
Deep learning detection frameworks enhance detection, as they
are able to capture nonlinear relationships in network traffic patterns.
Convolutional neural networks and recurrent neural networks show
TABLE 10 Summary of IoT security datasets.
Dataset/source Year Protocols
covered
Attack types Data modality Key feature Refs.
ToN-IoT 2024 MQTT, HTTP , DNS DDoS, Injection,
Ransomware, Scan
Network + OS Logs +
Telemetry
Industry 4.0 testbed,
multi-layer
Merlino and Allegra
(2024)
MQTTEEB-D 2025 MQTT Flooding, Auth
Attack, Malformed
Packet
Network Traffic Real-world MQTT-
specific dataset
Rahmati and
Rahmati (2025)
IoT-Z-wave (IDS
Dataset)
2025 Z-Wave Intrusion, Profiling
Attacks
Device Traffic +
Behavior
Smart device
profiling, Z-Wave
specific
Kirubavathi et al.
(2025)
IoT-CAD 2024 Multi-protocol Attribution-Labelled
Cyberattacks
Network + Forensic
Logs
Cyberattack
attribution focus
Alotaibi (2025)
SDN-IoT Flooding
Dataset
2025 SDN/OpenFlow Network Flooding SDN Controller Logs SDN-based IoT
environment
Shruti et al. (2024)
MTC Statistical
Dataset
2025 MTC/LTE Traffic Anomalies Statistical Traffic
Features
IoT traffic pattern
modelling
Puviarasu and
Sudha (2026)

Kumar and Jerlin 10.3389/frai.2026.1900815
Frontiers in Artificial Intelligence 22 frontiersin.org
good performance in identifying botnet communication patterns and
sequential attack patterns (Chaganti et al., 2022). Nevertheless, such
models can have high computational requirements (Jamshidi et al.,
2025). Lightweight machine learning models overcome this drawback
through simplifying the models and streamlining feature selection
procedures (Esmaeilyfard et al., 2025). IoT-based DDoS attack detec-
tion methods using AI offer taxonomies and extensive surveys of
lightweight paradigms in a variety of attack types ( Bala and Behal,
2024). The development from classical ML to new quantum-enhanced
detection paradigms is described in a systematic review of anomaly
detection in IoT security toward quantum machine learning
(Aparcana-Tasayco et al., 2025).
Federated learning is used in intrusion detection systems (IDSs)
to enable multiple devices to collaboratively train models without
sharing raw data, thus ensuring privacy protection (Khan et al., 2024).
However, federated systems suffer from overhead communication and
stability problems in the convergence of the models and the suscepti-
bility to adversarial manipulation (Ragab et al., 2025). Blockchain-
based intrusion detection systems (IDSs) bolster security measures by
establishing a decentralized trust framework and ensuring audit trails
are tamper-proof ( Y an and Khoei, 2025). Multiple defense layers
(Ramadan et al., 2025) are covered in the enhancement of network
security in IIoT by a deep dive into AI enabled intrusion detection
systems. These have been combined to create hybrid architectures. For
the IoT ecosystem, AI-based intrusion detection can provide a
detailed analysis of the combined paradigm’s capabilities of achieving
superior results over single paradigms (Kumar et al., 2022). The future
of IoT security is said to involve more of a collaboration between
machine learning and quantum computing that can convey ideas,
attacks, and issues (Kumar and Chittora, 2024).
14.1 Comparison of experimental datasets
Most studies reviewed in this survey evaluated intrusion detection
performance using publicly available benchmark datasets such as
ToN-IoT, CICIDS2017, BoT-IoT, CICIoT2023, and UNSW-NB15
(Sharma and Bairwa, 2025; Cao et al., 2025). Although these datasets
facilitate reproducible benchmarking, they are predominantly col-
lected under laboratory conditions and therefore may not fully repre-
sent heterogeneous Industrial IoT environments (Shahin et al., 2024;
Aparcana-Tasayco et al., 2025). Furthermore, only a limited number
of studies validated their models using real deployment data collected
from operational edge devices or industrial infrastructures (Ramadan
et al., 2025 ; Villafranca and Cano, 2025 ). Consequently, future
research should emphasize standardized benchmarking using realistic
multi-domain datasets that better reflect practical deployment sce-
narios (Sharma and Bairwa, 2025; Aparcana-Tasayco et al., 2025).
14.2 Comparison of evaluation metrics
Detection accuracy is the most commonly reported metric for all
types of intrusion detection systems, be they ML, DL, FL, TinyML,
and blockchain-based. However, complementary measures, such as
Precision, Recall, F1-score, Matthews Correlation Coefficient, False
Alarm Rate, inference latency, memory utilization and energy con-
sumption are not reported in many studies. The data sets generated by
IoT systems are usually highly imbalanced and using accuracy alone
may overestimate the effectiveness of the mode

论文原文与出版信息

Frontiers in Artificial Intelligence
查看论文原文

继续探索

其他