[Paper Review] The Case for Retraining of ML Models for IoT Device Identification at the Edge
This paper proposes edge-based retraining of machine learning models for accurate IoT device identification using local network traffic data. By retraining neural network models on-device using household-specific data, the approach achieves over 80% device identification accuracy and 90% category classification F1-score, demonstrating that continuous local model updates are essential to counter accuracy decay in dynamic home IoT environments.
Internet-of-Things (IoT) devices are known to be the source of many security problems, and as such they would greatly benefit from automated management. This requires robustly identifying devices so that appropriate network security policies can be applied. We address this challenge by exploring how to accurately identify IoT devices based on their network behavior, using resources available at the edge of the network. In this paper, we compare the accuracy of five different machine learning models (tree-based and neural network-based) for identifying IoT devices by using packet trace data from a large IoT test-bed, showing that all models need to be updated over time to avoid significant degradation in accuracy. In order to effectively update the models, we find that it is necessary to use data gathered from the deployment environment, e.g., the household. We therefore evaluate our approach using hardware resources and data sources representative of those that would be available at the edge of the network, such as in an IoT deployment. We show that updating neural network-based models at the edge is feasible, as they require low computational and memory resources and their structure is amenable to being updated. Our results show that it is possible to achieve device identification and categorization with over 80% and 90% accuracy respectively at the edge.
Motivation & Objective
- To address the critical problem of declining accuracy in static, pre-trained ML models used for IoT device identification over time.
- To evaluate whether retraining models at the edge using local household network data can maintain high identification accuracy.
- To determine the feasibility of updating machine learning models on resource-constrained edge devices like the Raspberry Pi.
- To assess the impact of freezing layers in neural networks on training speed and model accuracy during edge retraining.
- To demonstrate that globally trained models fail across different households, necessitating local adaptation.
Proposed method
- Five machine learning models—Random Forest, Decision Tree, and three neural network architectures—were trained and evaluated on packet trace data from 43 IoT devices in a large-scale test-bed.
- Model accuracy was monitored over time to detect degradation, with retraining performed using local data collected from the household deployment environment.
- Edge retraining was implemented on a Raspberry Pi 4 to simulate real-world gateway constraints, evaluating computational and memory overhead.
- Layer freezing was applied to neural networks to reduce training cost, with the impact on inference accuracy quantified across different freezing configurations.
- Models were retrained using active network traffic data from the same household, and performance was evaluated on both intra- and inter-household test sets.
- F1-score and accuracy were used as primary metrics to assess device and category classification performance.
Experimental results
Research questions
- RQ1Can machine learning models for IoT device identification maintain high accuracy over time without retraining?
- RQ2Does retraining models with local household network data significantly improve identification accuracy compared to globally trained models?
- RQ3Is it feasible to perform model retraining at the edge using resource-constrained devices like the Raspberry Pi?
- RQ4To what extent does freezing layers in neural networks reduce training time without significantly degrading model accuracy?
- RQ5How well do models trained on one household generalize to other households with different device compositions and usage patterns?
Key findings
- All five evaluated models—tree-based and neural network-based—exhibited significant accuracy decay over time, dropping from 78% after one day to 52% after two weeks.
- A model trained on idle-state data achieved only 30% accuracy when tested on active data from the same test-bed, and just 15% on data from a different test-bed.
- Retraining a model on local active data from a household improved device identification accuracy from 30% to 78% on that same household, but had minimal impact (to 33%) on other households.
- Edge retraining on a Raspberry Pi 4 is feasible, with model updates requiring low computational and memory resources.
- Freezing layers in neural networks reduced training time by over 66% with less than a 2% drop in model accuracy.
- The F1-score for device category classification exceeded 90% when models were retrained with local data, confirming high reliability for policy enforcement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.