WiFi-Based Spatiotemporal Human Action Perception

Yanling Hao, Zhiyuan Shi, Yuanwei Liu

Introduction

Human Action Recognition (HAR) is a foundational technology for the development of smart environments, enabling applications ranging from elderly care and healthcare monitoring to advanced security systems. Traditionally, HAR has relied heavily on computer vision. However, video-based systems face significant deployment challenges, including privacy concerns in sensitive areas like bedrooms, performance degradation in low-light or smoky conditions, and the inability to perceive actions behind obstacles (occlusions).

To address these limitations, researchers have turned to WiFi-based sensing. By utilizing Channel State Information (CSI) from existing WiFi infrastructure, it is possible to recognize human movements without capturing identifiable visual images. This paper presents the Spatiotemporal WiFi Neural Network (STWNN), a deep learning framework that treats WiFi signals as 3D spatiotemporal volumes to achieve high-fidelity action recognition, even in non-line-of-sight (NLOS) conditions.

Methodology

The STWNN framework moves beyond traditional 1D or 2D signal processing by treating WiFi data with the spatial and temporal depth typically reserved for video processing. The methodology is divided into three primary stages:

1. Multi-scale 3D Generation

Raw WiFi CSI data is inherently high-dimensional, involving time, subcarriers, and multiple transmitting/receiving antennas. The researchers transform this 4D data into a 3D representation. A critical innovation here is the multi-scale sampling approach, which captures signal variations at different temporal intervals. This allows the model to simultaneously recognize high-velocity actions (e.g., kicking) and slower, more gradual movements (e.g., sitting down).

2. 3D Convolutional Module

By applying 3D convolutional kernels, the model extracts features across both spatial and temporal dimensions. To mitigate the high computational costs associated with 3D convolutions and to prevent vanishing gradient issues in deep architectures, the authors implemented a ResNet-based structure. This design utilizes shortcut connections, enabling the training of deeper, more efficient networks that can capture complex motion trajectories.

3. Feature Self-Attention

WiFi signals are often cluttered with reflections from stationary objects and background noise. The STWNN incorporates a self-attention mechanism to dynamically weight the importance of different features in the CSI stream. This allows the network to "focus" on the signal components most relevant to the human action being performed, effectively filtering out environmental interference.

Experimental Evaluation

The model was rigorously tested across four distinct datasets to evaluate its accuracy, robustness, and generalization capabilities:

  • WVAR (Wireless-Vision Action Recognition): A custom dataset featuring nine activities across three indoor scenes, specifically designed to test performance under partial and full occlusion.
  • HHI: A public dataset focused on complex human-to-human interactions, such as hugging or shaking hands.
  • CSLOS: A cross-scene dataset used to measure how well the model adapts to new physical environments.
  • WAR: A benchmark dataset containing six standard daily activities.

Key Results and Insights

High-Accuracy Perception

STWNN achieved an overall accuracy of 95% to 97% on the WVAR and WAR datasets. It consistently outperformed traditional machine learning models (like SVMs) and other deep learning architectures (like LSTMs), which often struggle to capture the spatial nuances of WiFi signal propagation.

The Advantage of 3D Spatiotemporal Modeling

A comparative analysis between the 3D STWNN and a 2D variant (2DWNN) revealed that the 3D approach is significantly more effective at distinguishing between similar actions. The inclusion of temporal depth allows the model to understand the continuity of motion rather than treating the signal as a series of disconnected snapshots.

Robustness to Occlusion and Privacy

One of the most significant findings is the model's performance in NLOS scenarios. In environments where a subject was hidden behind a wall, the STWNN outperformed existing methods by approximately 6%. Furthermore, the system demonstrated the ability to generate human "skeletons" from WiFi data. In cases of heavy occlusion, these WiFi-derived skeletons were often more accurate than those generated by camera-based systems, which are easily thwarted by physical barriers.

Discussion and Future Work

While STWNN represents a major step forward in WiFi-based sensing, several challenges remain. The computational intensity of 3D convolutions requires significant hardware resources, which may limit deployment on low-power edge devices. Additionally, while the model is robust, it can still be affected by "environmental noise"—such as the movement of pets or fans—which can distort the CSI. Future research will focus on improving the visual fidelity of WiFi-derived skeletons and optimizing the architecture for real-time performance on commodity hardware.

Conclusion

The STWNN framework demonstrates that WiFi signals can serve as a powerful, privacy-preserving proxy for human vision. By leveraging 3D spatiotemporal representations and self-attention, the system overcomes the traditional limitations of cameras, providing a reliable solution for action recognition in dark, occluded, or private environments.

Summary updated

BibTeX
@inproceedings{hao2022wifi,
  author = {Yanling Hao and Zhiyuan Shi and Yuanwei Liu},
  title = {{WiFi-Based Spatiotemporal Human Action Perception}},
  booktitle = {ICIP},
  year = {2022},
  doi = {10.1109/icip46576.2022.9897978},
}
Figure