Skip to main content
Log in

An WiFi CSI Signal Enhancement Framework For Activity Recognition Using Machine Learning Automatic Segmentation

  • Original Research
  • Published:
SN Computer Science Aims and scope Submit manuscript

Abstract

Recently, human activity recognition based on wireless signals has become an active and promising research direction. Researchers have shown that machine learning (ML) models can accurately classify some activities of a person standing between the WiFi transmitter and receiver. However, the availability of public datasets is limited due to labor-intensive dataset collection. Moreover, an efficient signal segmentation algorithm is required for application in practical scenarios. This paper presented a signal enhancement framework for WiFi-based human activity recognition using ML-based signal segmentation. Specifically, we proposed a stable channel state information (CSI) collection platform based on stable USRP devices. Using this platform, we released a public dataset (WiAR-UIT) for various human activities to control smart home devices. To enhance the prediction accuracy as well as the converging ability of ML models, we proposed two algorithms for automatic signal segmentation. The first algorithm uses conventional signal processing procedures (SIGPRO-SEGM). The second algorithm is dataset-independent and based on a CNN model (ML-SEGM). Applying these segmentation algorithms to our dataset, the best performance of 99.2% accuracy is obtained. Moreover, the accuracy is improved by 35% for some ML models including K-nearest neighbors, support vector machine, decision tree, random forest, and multi-layer perceptron. Finally, we have deployed a real-time client–server application using the above segmentation algorithms to emphasize the potential and practicality of the proposed research direction.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Data Availability

The datasets generated during and/or analyzed during the current study are publicly available and are downloaded via the link https://link.uit.edu.vn/WiAR-UIT.

References

  1. Wang F, Feng J, Zhao Y, Zhang X, Zhang S, Han J. Joint activity recognition and indoor localization with wifi fingerprints. IEEE Access. 2019;7:80058–68.

    Article  Google Scholar 

  2. Wang Z, Jiang K, Hou Y, Huang Z, Dou W, Zhang C, Guo Y. A survey on csi-based human behavior recognition in through-the-wall scenario. IEEE Access. 2019;7:78772–93.

    Article  Google Scholar 

  3. He Y, Chen Y, Yang H, Zeng B. Wifi vision: Sensing, recognition, and detection with commodity mimo-ofdm wifi. IEEE Internet Things J. 2020;7(9):8296–317.

    Article  Google Scholar 

  4. Nirmal I, Khamis A, Hassan M, Wen H, Zhu X. Deep learning for radio-based human sensing: recent advances and future directions. IEEE Commun Surv Tutor. 2021;23(2):995–1019.

    Article  Google Scholar 

  5. Guo L, Wang L, Lin C, Liu J, Bingxian L, Fang J, Liu Z, Shan Z, Yang J, Guo S. Wiar: a public dataset for wifi-based activity recognition. IEEE Access. 2019;7:154935–45.

    Article  Google Scholar 

  6. Yang J, Chen X, Zou H, Chris Xiaoxuan L, Wang D, Sun S, Xie L. Sensefi: a library and benchmark on deep-learning-empowered wifi human sensing. Patterns. 2023;4(3): 100703.

    Article  Google Scholar 

  7. Restuccia, Francesco. IEEE 802.11bf: Toward ubiquitous wi-fi sensing. CoRR, abs/2103.14918; 2021

  8. Bloessl B, Segata M, Sommer C, Dressler F. Performance assessment of IEEE 802.11p with an open source SDR-based prototype. IEEE Trans Mob Comput. 2018;17(5):1162–75.

    Article  Google Scholar 

  9. Yang J, Liu Y, Liu Z, Yun W, Li T, Yang Y. A framework for human activity recognition based on WiFi CSI signal enhancement. Int J Antennas Propag. 2021;2021:6654752.

    Article  Google Scholar 

  10. Khan MB, Yang X, Ren A, Al-Hababi MAM, Zhao N, Guan L, Fan D, Shah SA. Design of software defined radios based platform for activity recognition. IEEE Access. 2019;7:31083–8.

    Article  Google Scholar 

  11. Liu J, Liu H, Chen Y, Wang Y, Wang C. Wireless sensing for human activity: a survey. IEEE Commun Surv Tutor. 2020;22(3):1629–45.

    Article  Google Scholar 

  12. Halperin D, Wenjun H, Sheth A, Wetherall D. Tool release: gathering 802.11n traces with channel state information. ACM SIGCOMM CCR. 2011;41(1):53.

    Article  Google Scholar 

  13. Xie Y, Li Z, Li M. Precise power delay profiling with commodity wifi. In: Proceedings of the 21st annual international conference on mobile computing and networking, MobiCom ’15, New York, NY, USA. ACM; 2015, p. 53–64.

  14. Jiang Z, Luan TH, Ren X, Lv D, Hao H, Wang J, Zhao K, Xi W, Yueshen X, Li R. Eliminating the barriers: Demystifying wi-fi baseband design and introducing the picoscenes wi-fi sensing platform. IEEE Internet Things J. 2022;9(6):4476–96.

    Article  Google Scholar 

  15. Gringoli F, Schulz M, Link J, Hollick M. Free your csi: a channel state information extraction platform for modern wi-fi chipsets. In: Proceedings of the 13th international workshop on wireless network testbeds, experimental evaluation and characterization, WiNTECH ’19, New York, NY, USA. Association for Computing Machinery; 2019, p. 21–28.

  16. Hernandez SM., Bulut E. Lightweight and standalone IoT based WiFi sensing for active repositioning and mobility. In 21st International symposium on “a world of wireless, mobile and multimedia networks” (WoWMoM) (WoWMoM 2020), Cork, Ireland; June 2020

  17. Alsaify B, Almazari M, Alazrai R, Daoud M. A dataset for wi-fi-based human activity recognition in line-of-sight and non-line-of-sight indoor environments. Data Brief. 2020;33(106534):11.

    Google Scholar 

  18. Chen Y, Dong W, Gao Y, Liu X, Gu T. Rapid: a multimodal and device-free approach using noise estimation for robust person identification. In: Proc. ACM interact. mob. wearable ubiquitous technol., vol. 1(3); 2017

  19. Liu J, Chen Y, Yan Wang X, Chen JC, Yang J. Monitoring vital signs and postures during sleep using wifi signals. IEEE Internet Things J. 2018;5(3):2071–84.

    Article  Google Scholar 

  20. Li, Hong, Yang, Wei, Wang, Jianxin, Xu, Yang, Huang, Liusheng. Wifinger: Talk to your smart devices with finger-grained gesture. In Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing, UbiComp ’16, New York, NY, USA. Association for Computing Machinery; 2016, p. 250-261.

  21. Zhu D, Pang N, Li G, Liu S. Notifi: a ubiquitous wifi-based abnormal activity detection system. In: 2017 international joint conference on neural networks (IJCNN); 2017, p. 1766–1773.

  22. Cao, X, Chen, B, Zhao, Y. Wi-wri: fine-grained writing recognition using wi-fi signals. In: 2016 IEEE Trustcom/BigDataSE/ISPA; 2016, p. 1366–1373.

  23. Pescador F, Mohanty SP. Machine learning for smart electronic systems. IEEE Trans Consum Electron. 2021;67(4):224–5.

    Article  Google Scholar 

  24. Maurya P, Tummala VMR, Hazra A, Mohanty, Saraju P. Advancing industry 5.0 with uav-driven transformations: future prospectives. IEEE Consum Electron Mag 2024;1–6.

  25. Abidin S. Enhancing security in wsn by artificial intelligence. In: Hemanth J, Fernando X, Lafata P, Baig Z, editors. International conference on intelligent data communication technologies and internet of things (ICICI) 2018. Cham: Springer International Publishing; 2019. p. 814–21.

    Chapter  Google Scholar 

  26. Vadi VR, Abidin Sl, Khan A, Izhar M. Enhanced elman spike neural network fostered blockchain framework espoused intrusion detection for securing internet of things network. Trans Emerg Telecommun Technol. 2022;33(12): e4634.

    Article  Google Scholar 

  27. Huang J, Liu B, Jin H, Liu Z. Wianti: an anti-interference activity recognition system based on wifi csi. In: 2018 IEEE international conference on internet of things (iThings), 2018; p. 58–65.

  28. Fix E, Hodges JL. Discriminatory analysis. nonparametric discrimination: consistency properties. Int Stat Rev Rev Int Stat. 1989;57(3):238–47.

    Article  Google Scholar 

  29. Vapnik V, Chervonenkis AY. A class of algorithms for pattern recognition learning. Avtomat Telemekh. 1964;25(6):937–45.

    MathSciNet  Google Scholar 

  30. Zhang C, Shao X, Li D. Knowledge-based support vector classification based on c-svc. In: First international conference on information technology and quantitative management. Procedia computer science, vol 17; 2013, p. 1083–1090.

  31. von Winterfeldt D, Edwards W. Decision analysis and behavioral research. UK: Cambridge University Press; 1986.

    Google Scholar 

  32. Ross Quinlan J. C4.5: programs for machine learning. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc.; 1993.

    Google Scholar 

  33. Ho, TK: Random decision forests. In: Proceedings of 3rd international conference on document analysis and recognition, vol. 1; 1995, p. 278–282.

  34. Rosenblatt F. The perceptron: a probabilistic model for information storage and organization in the brain. Psychol Rev. 1958;65(6):386.

    Article  Google Scholar 

  35. Fukushima K. Neocognitron: a self-organizing neural network model for a mechanism of pattern recognition unaffected by shift in position. Biol Cybern. 1980;36(4):193–202.

    Article  Google Scholar 

  36. Singh AD, Sandha SS, Garcia L, Srivastava M. Radhar: human activity recognition from point clouds generated through a millimeter-wave radar. In: mmNets’19, New York, NY, USA. Association for Computing Machinery, 2019; p. 51–56.

  37. Yousefi S, Narui H, Dayal S, Ermon S, Valaee S. A survey on behavior recognition using wifi channel state information. IEEE Commun Mag. 2017;55(10):98–104.

    Article  Google Scholar 

Download references

Acknowledgements

This research is funded by Vietnam National University HoChiMinh City (VNU-HCM) under grant number C2023-26-03.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study’s conception and design. Material preparation, data collection and analysis were performed by Minh Tuan Pham, Long Thai Hoang and Phuoc Nguyen T H. The first draft of the manuscript was written by Minh Tuan Pham, Tien Do Minh, Ha Dang Tran Hong, Phuoc Nguyen T H, and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to T. H. Phuoc Nguyen.

Ethics declarations

Conflict of Interest

the authors declared that they have no conflict of interest in this work.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pham, M.T., Hoang, L.T., Hong, H.D.T. et al. An WiFi CSI Signal Enhancement Framework For Activity Recognition Using Machine Learning Automatic Segmentation. SN COMPUT. SCI. 5, 524 (2024). https://doi.org/10.1007/s42979-024-02880-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-024-02880-8

Keywords

Navigation