Skip to content
/ thesis Public

Wi-Fi Sensing and Diagnostic for Customer Premises Equipment using Transfer Learning and USP

Notifications You must be signed in to change notification settings

HlZero/thesis

Repository files navigation

IoT: Wi-Fi Sensing and Diagnostic for Customer Premises Equipment using Transfer Learning and USP

Overview

This paper presents a lightweight deep transfer learning based human activity detection and diagnostic recognition approach using WiFi sensing. In our method, the amplitude matrix of each WiFi Channel State Information (CSI) stream is reorganized as an image. Therefore, WiFi based human activity recognition is transformed into an image classification task. Leveraging the high potential of Convolutional Neural Networks in image processing, a CNN-based transfer learning model is employed to reduce the need for extensive network training and to extract features more suited to the CSI matrix. The proposed methods are trained and tested on a public CSI dataset, demonstrating an accuracy of approximately 94% to 99% across six activities. This performance outperforms the state-of-the-art in Human Activity Recognition for Customer Premises Equipment (CEP).

We integrate the transfer learning model that demonstrated the best performance into CPE and deploy it on a Raspberry Pi 4 for local detection applications. The User Services Platform (USP) serves as the standard for remote manipulation of connected CPE. Utilizing the USP protocol, end-users can independently manage and monitor their CPE through one or more Controllers.

General Pipeline

Overall framework of transfer learning model building:

截屏2025-01-06 下午5 23 38

CSI images of each class (Classes a and b are merged to class Down, classes c and d are merged to class Fall, classes e and f are merged to class Move):

截屏2025-01-06 下午5 22 17

Experimental Environment (Employ Nexmon CSI Tool and collect CSI data for seven daily human activities, including walk, run, fall, lie down, sit down, stand up, and bend):

截屏2025-01-06 下午5 21 43

Proposed Methodologies & Evaluation

Comparison of the original VGG16 and proposed VGG16-based transfer learning model (model I):

截屏2025-01-06 下午5 31 01

Comparison of the original MobileNetV3-Large and proposed MobileNetV3-Large based transfer learning model (model II):

截屏2025-01-06 下午5 31 23

Hyperparameters used for the proposed model I and II:

截屏2025-01-06 下午5 01 39

Hyperparameters used for the proposed model III -- model II with Fine-Tuning:

截屏2025-01-06 下午5 02 07

Model Evaluation (Accuracy and Loss are refer to validation accuracy and validation loss. Bach size are the same, result in same amount of data in one epoch):

截屏2025-01-06 下午5 03 38

The MobileNetV3-Large model with and without fine-tuning take almost same training time, which is 60% less than the time that VGG16-based model uses for training. This huge difference also appears when comparing the model size. This due to the structure and the number of parameters of pre-trained models. VGG16 model has 14.8 million parameters, while MobileNetV3-Large model contains 3.1 million parameters and is constructed in a more efficient way. Drawing from the evaluation results, choosing our MobileNetV3-Large based model with fine-tuning (model III), achieves higher accuracy with time-efficiency and relative smaller model size, making it well-suited for deployment in Customer Premises Equipment and IoT devices for localized HAR tasks.

Deployment of Machine Learning Models in Local Environments

USP framework:

截屏2025-01-06 下午5 23 05

Notifications reach Controller as User Services Platform Notify messages like this:

截屏2025-01-06 下午5 20 46

Model prediction result:

{"action": "move","consumed time":"0.611123"}

This message informs the Controller a person is moving within the detection range, with the model execution time being 0.611123 seconds.

About

Wi-Fi Sensing and Diagnostic for Customer Premises Equipment using Transfer Learning and USP

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages