Few-Shot Cross-Domain-Based WiFi Sensing System for Online Learning in IoT

Boyu Yang, Huibin Wang, Liyazhou Hu, Han Zhu, Chan Tong Lam, Kai Fang

Research output: Contribution to journalArticlepeer-review


WiFi-based sensing technology has become a popular research direction in the Internet of Things (IoT) field. However, the accuracy of action sensing across different environmental domains is severely degraded when the model is deployed at the real IoT edge. Existing cross-domain sensing methods are unsuitable for real-life applications due to the large amount of expensive channel state information (CSI) data required for training. Meanwhile, pretrained predictive models in the cloud may not perform well in edge-side deployment environments. To address these issues, we propose a few-shot cross-domain WiFi sensing (FewCS) system with online learning. The model aggregates unlabeled samples from the same target domain and separates samples from different domains while minimizing sample cost and training an accurate WiFi-sensing system. The core idea of FewCS is to capture the sensing features of data through intradomain prototype clustering and perform cross-domain prototype extraction in a shared embedding space of multiple data. Moreover, we extend the model to the IoT edge segment for online learning and fine-tune the model parameters to fit the new domain on the cloud by using data collected in the field. Extensive experimental results on real datasets show that the proposed scheme significantly outperforms the current state-of-the-art WiFi sensing methods in terms of sensing accuracy and achieves satisfactory online learning performance with fewer training samples and times.

Original languageEnglish
Pages (from-to)29892-29905
Number of pages14
JournalIEEE Sensors Journal
Issue number23
Publication statusPublished - 1 Dec 2023


  • Channel state information (CSI)
  • Internet of Things (IoT)
  • WiFi-based sensing
  • few-shot cross-domain
  • online learning


Dive into the research topics of 'Few-Shot Cross-Domain-Based WiFi Sensing System for Online Learning in IoT'. Together they form a unique fingerprint.

Cite this