Lightweight Anomaly-Based Intrusion Detection for IoT Networks Using Dispersion-Based Majority Class Reduction and Sparse Autoencoder Feature Extraction

Abstract The Internet of Things (IoT) has been a common target of network-level attacks due to its rapid growth, and anomaly-based intrusion detection powered by deep learning has emerged as a potential defense. The significant class imbalance found in IoT traffic captures and the restricted processing power on the gateway-level hardware where detection is expected to occur, are the two main challenges in this environment. The majority-reduction balancing techniques are still limited to non-IoT, non-deep learning settings and lack a tractable formulation at IoT-scale candidate-pool sizes, while autoencoder-based feature learning is almost exclusively paired with synthetic minority oversampling. This gap is filled by a collection of classifier heads of decreasing size are fed by the frozen encoder of a sparse autoencoder (SAE), which is trained without labels to develop a compact feature representation. Dispersion-based Majority Class Reduction (DMCR), which scores exactly via an order-statistics identity in \((\mathcal{O}(nd\log n))\) time instead of the \((\mathcal{O}(n^2))\) required by an all-pairs reading, achieves class balance instead of synthetic oversampling by keeping the most mutually dissimilar real majority samples instead of creating minority ones. Four configurations are compared using the BoT-IoT (5%) dataset. The balancing comparison is further validated against a classical random-undersampling baseline, against Cosine Similarity-based Majority Class Reduction (CSMCR), and against two synthetic-oversampling variants, ADASYN and Borderline-SMOTE, with every method, DMCR included, evaluated across multiple random seeds. A separate sensitivity analysis further shows that DMCR's stability depends on retaining a sufficiently filtered subset of its candidate pool: collapsing the pool and the retention target together reproduces a complete detection failure on the minority class in one seed out of three, a failure an aggregate F1 score does not reveal. Using DMCR instead of synthetic oversampling reduced training time by roughly one to two orders of magnitude while maintaining detection quality on a set that was about 116\((\times)\) smaller and contained no fake data. A deeper, batch-normalized variant restored full ranking quality at less than a fifth of the baseline's size, while a compact MLP matched the convolutional baseline's zero-false-negative coverage at about a ninth of its parameter count. Results are evaluated with specific caution because of BoT-IoT's stereotypical, lab-generated traffic.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-11
DOI
https://doi.org/10.21203/rs.3.rs-11204282/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

Lightweight Anomaly-Based Intrusion Detection for IoT Networks Using Dispersion-Based Majority Class Reduction and Sparse Autoencoder Feature Extraction

Vineetha Pais, Balachandra Muniyal, Shrey Sharma, Trivikram -
Research Square
Network Security and Intrusion Detection
preprint

Lightweight Anomaly-Based Intrusion Detection for IoT Networks Using Dispersion-Based Majority Class Reduction and Sparse Autoencoder Feature Extraction

Vineetha Pais, Balachandra Muniyal, Shrey Sharma, Trivikram -
preprint en

Abstract

Abstract The Internet of Things (IoT) has been a common target of network-level attacks due to its rapid growth, and anomaly-based intrusion detection powered by deep learning has emerged as a potential defense. The significant class imbalance found in IoT traffic captures and the restricted processing power on the gateway-level hardware where detection is expected to occur, are the two main challenges in this environment. The majority-reduction balancing techniques are still limited to non-IoT, non-deep learning settings and lack a tractable formulation at IoT-scale candidate-pool sizes, while autoencoder-based feature learning is almost exclusively paired with synthetic minority oversampling. This gap is filled by a collection of classifier heads of decreasing size are fed by the frozen encoder of a sparse autoencoder (SAE), which is trained without labels to develop a compact feature representation. Dispersion-based Majority Class Reduction (DMCR), which scores exactly via an order-statistics identity in \((\mathcal{O}(nd\log n))\) time instead of the \((\mathcal{O}(n^2))\) required by an all-pairs reading, achieves class balance instead of synthetic oversampling by keeping the most mutually dissimilar real majority samples instead of creating minority ones. Four configurations are compared using the BoT-IoT (5%) dataset. The balancing comparison is further validated against a classical random-undersampling baseline, against Cosine Similarity-based Majority Class Reduction (CSMCR), and against two synthetic-oversampling variants, ADASYN and Borderline-SMOTE, with every method, DMCR included, evaluated across multiple random seeds. A separate sensitivity analysis further shows that DMCR's stability depends on retaining a sufficiently filtered subset of its candidate pool: collapsing the pool and the retention target together reproduces a complete detection failure on the minority class in one seed out of three, a failure an aggregate F1 score does not reveal. Using DMCR instead of synthetic oversampling reduced training time by roughly one to two orders of magnitude while maintaining detection quality on a set that was about 116\((\times)\) smaller and contained no fake data. A deeper, batch-normalized variant restored full ranking quality at less than a fifth of the baseline's size, while a compact MLP matched the convolutional baseline's zero-false-negative coverage at about a ninth of its parameter count. Results are evaluated with specific caution because of BoT-IoT's stereotypical, lab-generated traffic.

Research Square
Manipal Academy of Higher Education (IN)
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