The growth and heterogeneity of IoT devices create security challenges where static identification models can degrade as traffic evolves. This paper presents a two-stage, flow-feature-based pipeline for unsupervised IoT device traffic profiling and incremental model updating, evaluated on selected long-duration captures from the Deakin IoT dataset. For baseline profiling, density-based clustering (DBSCAN) isolates a substantial outlier portion of the data and produces the strongest alignment with ground-truth device labels among tested classical methods (NMI 0.78), outperforming centroid-based clustering on cluster purity. For incremental adaptation, we evaluate stream-oriented clustering approaches and find that BIRCH supports efficient updates (0.13 seconds per update) and forms comparatively coherent clusters for a held-out novel device (purity 0.87), but with limited capture of novel traffic (share 0.72) and a measurable trade-off in known-device accuracy after adaptation (0.71). Overall, the results highlight a practical trade-off between high-purity static profiling and the flexibility of incremental clustering for evolving IoT environments.
Figures & tables
MAC Address
Device Name
40:f6:bc:bc:89:7b
Echo Dot (4th Gen)
68:3a:48:0d:d4:1c
Aeotec Smart Hub
70:ee:50:57:95:29
Netatmo Smart Indoor Security Camera
54:af:97:bb:8d:8f
TP-Link Tapo Pan/Tilt Wi-Fi Camera
70:09:71:9d:ad:10
32’ Smart Monitor M80B UHD
00:16:6c:d7:d5:f9
SAMSUNG Pan/Tilt 1080P Wi-Fi Camera
TABLE I : D-IoT Provided Device Truth Labels
Feature Name
Category
Sub-Category
Description
initial_ttl_mode
Static
Configuration
The statistical mode of the initial TTL observed in the IP packets of a flow.
iat_mean
Behavioral
Inter-Arrival Time (IAT)
Mean time between consecutive packets in the flow.
iat_std
Behavioral
IAT
Standard deviation of the time between consecutive packets in the flow.
iat_median
Behavioral
IAT
Median time between consecutive packets in the flow.
iat_max
Behavioral
IAT
Maximum time between consecutive packets in the flow.
total_packets
Behavioral
Flow Volume & Rate
Total number of packets in the flow.
TABLE II : Extracted and Engineered Features
Model
NMI
Silhouette
DBSCAN
0.780009
0.925894
HDBSCAN
0.651134
0.865030
K-Means
0.021334
0.994177
BIRCH
0.021303
0.994043
TABLE III : Unsupervised Clustering Evaluation Results
Fig. 1 : t-SNE 2D Cluster Visualizations
Setting / Model
Clusters
Noise %
NMI
Silhouette
Known Acc. (Post)
Novel Purity
Novel Share
Update Time (s)
RQ1 (Static) DBSCAN
20
41.21
0.7799
0.9237
–
–
–
–
RQ2 (Incremental) MiniBatchKMeans
–
–
0.4434 1
0.0954 1
0.6922
0.0000
0.0000
0.0011
RQ2 (Incremental) BIRCH
–
–
0.4292 1
0.6797 1
0.7121
0.8664
0.7240
0.1337
1 For RQ2, NMI and Silhouette are reported globally over known+novel traffic after adaptation.
TABLE IV : Summary of RQ1 (static baseline) and RQ2 (incremental adaptation) evaluation metrics.
Identification of IoT device types from passive traffic is increasingly used for security management in enterprise and ISP networks. However, the performance of machine learning-based classifiers gradually degrades under concept drift as device behavior evolves. Therefore, maintaining classification performance requires periodic retraining with newly labeled deployment traffic. The operational challenge is determining how much and which deployment traffic instances to label for maintaining classification performance. We show that these two decisions should be treated separately. While retraining solely on instances selected by a drift detector is prone to systematically overlooking parts of the emerging behavioral space, uniformly sampled deployment traffic captures more representative behavioral changes. Instead, drift detection is more effective at determining the amount of deployment traffic that should be labeled. We make three contributions. (1) We conduct a two-year longitudinal study of IoT traffic and characterize how behavioral evolution manifests across device classes and how retraining with newly labeled traffic restores classification performance. (2) We develop a conformity-based drift detector that captures class-conditional behavioral models directly from raw traffic features and provides feature-level explanations of behavioral evolution. (3) We demonstrate that adjusting the traffic labeling rate according to the observed behavioral evolution, combined with uniform traffic sampling, maintains classifier performance more effectively than detector-guided sample selection and is beneficial to managing the traffic labeling effort. We further show that this strategy performs comparably to confidence-guided adaptation while providing feature-level explanations. Our evaluation uses 3.8 million IPFIX flow records collected from 21 IoT types over more than 2 years.
Shayan Azizi, Norihiro Okui, Masataka Nakahara +3
School of Electrical Engineering and Telecommunications, University of New South Wales, Sydney, NSW 2052, Australia · KDDI Research, Japan · School of Computer Science and Engineering, University of New South Wales, Sydney, NSW 2052, Australia
In this work, we present OCLADS, a novel communication framework with continual learning (CL) for Internet of Things (IoT) anomaly detection (AD) when operating in non-stationary environments. As the statistical properties of the observed data change with time, the on-device inference model becomes obsolete, which necessitates strategic model updating. OCLADS keeps track of data distribution shifts to timely update the on-device IoT AD model. To do so, OCLADS introduces two mechanisms during the interaction between the resource-constrained IoT device and an edge server (ES): i) an intelligent sample selection mechanism at the device for data transmission, and ii) a distribution-shift detection mechanism at the ES for model updating. Experimental results with TinyML demonstrate that our proposed framework achieves high inference accuracy while realizing a significantly smaller number of model updates compared to the baseline schemes.
Faculty of Electrical Engineering and Information Technologies, Ss. Cyril and Methodius University in Skopje, 1000 Skopje, North Macedonia · Dept. of Electronic Systems, Aalborg University, Aalborg, Denmark
The rapid expansion of the Internet of Things (IoT) and Industrial IoT (IIoT) has created a massive, heterogeneous attack surface that challenges traditional network security mechanisms. While Federated Learning (FL) offers a privacy-preserving alternative to centralized Intrusion Detection Systems (IDS), standard approaches struggle to generalize across diverse device behaviors and typically fail to utilize the vast amounts of unlabeled data present in realistic edge environments. To bridge these gaps, we propose CLAD, a holistic framework that seamlessly incorporates Clustered Federated Learning (CFL) with a novel Dual-Mode Micro-Architecture (DM2A). This unified approach simultaneously tackles the two primary bottlenecks of IoT security: device heterogeneity and label scarcity. The DM2A component features a shared encoder followed by two branches, enabling joint unsupervised anomaly detection and supervised attack classification; this allows the framework to harvest intelligence from both labeled and unlabeled clients. Concurrently, the clustering component dynamically groups devices with congruent traffic patterns, preventing global model divergence. By carefully combining these elements, CLAD ensures that no data is discarded and distinct operational patterns are preserved. Extensive evaluations demonstrate that this integrated approach significantly outperforms state-of-the-art baselines, achieving a 30% relative improvement in detection performance in scenarios with 80% unlabeled clients, with only half the communication cost.
Iason Ofeidis, Nikos Papadis, Randeep Bhatia +2
Yale University, New Haven, CT, USA · Nokia Bell Labs, Murray Hill, NJ, USA