An Adaptive Support Vector Machine Approach for Explainable Anomaly Detection in Internet of Things Networks

Detecting attacks in Internet of Things (IoT) networks is difficult because four requirements must be met at once. Attack traffic is rare, benign behaviour drifts as devices and firmware change, the detector often has to run on a gateway with little memory, and analysts need to know why an alert was raised. This paper studies the Adaptive Explainable Support Vector Machine (AE-SVM), a streaming kernel detector that combines a drift-aware kernel width, class costs adapted from observed recall, a hard budget on the number of support vectors enforced by weighted prototype compression, and exact gradient-based explanations of the decision function. We evaluate it on a documented simulated IoT traffic benchmark with four device classes, five attack families, gradual and abrupt drift, a change in device mix and an attack family that appears mid-stream, using ten independent seeds, a chronological protocol with delayed labels, five ablation variants, a sweep over the memory budget and fourteen baseline configurations. The results are mixed, and we report them as they are. After an abrupt shift, AE-SVM lost 0.031 in F1 whereas static supervised baselines lost between 0.226 and 0.437, and it was significantly better than the static SVM after the shift (mean difference 0.186, ten of ten seeds). However, the periodically retrained baselines lost the same 0.03 to 0.05 and reached an F1 of 0.65 to 0.73 against 0.475 for AE-SVM, so the robustness comes from updating and not from the adaptive mechanisms specifically. The adaptive kernel width gave no measurable benefit, the adaptive class costs gave a small but consistent gain (0.025 F1, ten of ten seeds), and the budget cost 0.17 F1 while reducing the model from about 8,950 to 320 support vectors, from 3.7 MB to 0.26 MB and the median latency by a factor of roughly 2.6 to 3.3. The gradient attributions satisfied their completeness identity to within 2.1 × 10⁻⁵ and placed signature features of each attack in the top three with a precision of 0.63 to 0.83, against chance levels of 0.13 to 0.25. The study therefore quantifies what a bounded, explainable kernel detector gains and what it costs, and it provides an open pipeline for repeating the evaluation on public datasets.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-23
DOI
https://doi.org/10.21203/rs.3.rs-11506403/v1
Primary Topic
Network Security and Intrusion Detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

An Adaptive Support Vector Machine Approach for Explainable Anomaly Detection in Internet of Things Networks

Erenso Hundessa Muleta
Research Square
Network Security and Intrusion Detection
preprint

An Adaptive Support Vector Machine Approach for Explainable Anomaly Detection in Internet of Things Networks

Erenso Hundessa Muleta
preprint en

Abstract

Detecting attacks in Internet of Things (IoT) networks is difficult because four requirements must be met at once. Attack traffic is rare, benign behaviour drifts as devices and firmware change, the detector often has to run on a gateway with little memory, and analysts need to know why an alert was raised. This paper studies the Adaptive Explainable Support Vector Machine (AE-SVM), a streaming kernel detector that combines a drift-aware kernel width, class costs adapted from observed recall, a hard budget on the number of support vectors enforced by weighted prototype compression, and exact gradient-based explanations of the decision function. We evaluate it on a documented simulated IoT traffic benchmark with four device classes, five attack families, gradual and abrupt drift, a change in device mix and an attack family that appears mid-stream, using ten independent seeds, a chronological protocol with delayed labels, five ablation variants, a sweep over the memory budget and fourteen baseline configurations. The results are mixed, and we report them as they are. After an abrupt shift, AE-SVM lost 0.031 in F1 whereas static supervised baselines lost between 0.226 and 0.437, and it was significantly better than the static SVM after the shift (mean difference 0.186, ten of ten seeds). However, the periodically retrained baselines lost the same 0.03 to 0.05 and reached an F1 of 0.65 to 0.73 against 0.475 for AE-SVM, so the robustness comes from updating and not from the adaptive mechanisms specifically. The adaptive kernel width gave no measurable benefit, the adaptive class costs gave a small but consistent gain (0.025 F1, ten of ten seeds), and the budget cost 0.17 F1 while reducing the model from about 8,950 to 320 support vectors, from 3.7 MB to 0.26 MB and the median latency by a factor of roughly 2.6 to 3.3. The gradient attributions satisfied their completeness identity to within 2.1 × 10⁻⁵ and placed signature features of each attack in the top three with a precision of 0.63 to 0.83, against chance levels of 0.13 to 0.25. The study therefore quantifies what a bounded, explainable kernel detector gains and what it costs, and it provides an open pipeline for repeating the evaluation on public datasets.

Research Square
Addis Ababa University (ET)
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
An Adaptive Support Vector Machine Approach for Explainable Anomaly Detection in Internet of Things Networks — Erenso Hundessa Muleta · Research Square (2026) | TGRS Research Map | TGRS