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.






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
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.
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.
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.
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.
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.
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.
Restuccia, Francesco. IEEE 802.11bf: Toward ubiquitous wi-fi sensing. CoRR, abs/2103.14918; 2021
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.
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.
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.
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.
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.
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.
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.
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.
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
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.
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
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.
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.
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.
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.
Pescador F, Mohanty SP. Machine learning for smart electronic systems. IEEE Trans Consum Electron. 2021;67(4):224–5.
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.
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.
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.
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.
Fix E, Hodges JL. Discriminatory analysis. nonparametric discrimination: consistency properties. Int Stat Rev Rev Int Stat. 1989;57(3):238–47.
Vapnik V, Chervonenkis AY. A class of algorithms for pattern recognition learning. Avtomat Telemekh. 1964;25(6):937–45.
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.
von Winterfeldt D, Edwards W. Decision analysis and behavioral research. UK: Cambridge University Press; 1986.
Ross Quinlan J. C4.5: programs for machine learning. San Francisco, CA, USA: Morgan Kaufmann Publishers Inc.; 1993.
Ho, TK: Random decision forests. In: Proceedings of 3rd international conference on document analysis and recognition, vol. 1; 1995, p. 278–282.
Rosenblatt F. The perceptron: a probabilistic model for information storage and organization in the brain. Psychol Rev. 1958;65(6):386.
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.
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.
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.
Acknowledgements
This research is funded by Vietnam National University HoChiMinh City (VNU-HCM) under grant number C2023-26-03.
Author information
Authors and Affiliations
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
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.
About this article
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
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42979-024-02880-8