Abstract
Human actions cause detectable distortions in WiFi signals, a phenomenon leveraged for applications ranging from fall detection to gesture recognition. Traditionally, research has focused on series-level recognition, where an entire sequence of signal distortions is mapped to a single action label. This paper introduces a more granular task: sample-level action recognition. In this paradigm, every individual WiFi distortion sample within a series is categorized, enabling precise action localization and real-time segmentation. To address this, we propose Temporal Unet (T-Unet), a deep convolutional neural network inspired by medical image segmentation. Experimental results on the WiSLAR dataset demonstrate that T-Unet effectively performs this novel task, achieving high accuracy in both action detection and classification.
The Shift to Sample-Level Recognition
WiFi sensing offers a privacy-preserving alternative to camera-based monitoring. However, standard series-level approaches struggle with temporal localization—identifying exactly when an action begins and ends—and continuous segmentation of back-to-back actions.
Sample-level recognition treats the WiFi stream as a continuous sequence where every data point requires a label. This is inherently challenging because a single sample of signal distortion often appears as noise without its surrounding temporal context.
Methodology: Temporal Unet (T-Unet)
The researchers adapted the U-Net architecture, widely successful in 2D image segmentation, for 1D time-series WiFi data. The T-Unet architecture is defined by three core components:
- The Downsampling Path: This path utilizes temporal convolutional layers and max pooling to reduce the temporal resolution while expanding the "Time of View" (TOV). This allows the network to capture the broader "profile" or signature of an action.
- The Upsampling Path: Deconvolutional layers expand the feature maps back to the original input length, ensuring the model outputs a prediction for every input sample.
- Shortcut Links: These links transfer high-resolution features from the downsampling path directly to the upsampling path. This preserves fine-grained temporal details that are often lost during downsampling, which is crucial for identifying action boundaries.
The model is trained for two concurrent tasks: Action Detection (identifying the presence of any movement) and Action Classification (identifying the specific gesture being performed).
Experimental Setup and Dataset
The model was evaluated using a CSI distortion dataset from the WiSLAR project. The dataset includes:
- Gestures: Six distinct hand gestures (up, down, left, right, circle, and cross).
- Data Volume: 1,116 training series and 278 test series.
- Input Dimensions: Each series contains 192 temporal samples across 52 OFDM sub-carriers.
- Ground Truth: Start and end points for every action were manually annotated to enable sample-level evaluation.
Key Insights and Results
The core innovation lies in treating WiFi signals as "1D images." Just as a pixel's identity depends on its neighbors, a WiFi sample's label depends on its temporal context. By leveraging multi-scale TOV, T-Unet can distinguish between similar movements by looking at both local fluctuations and overall gesture shapes.
Performance Metrics: * Action Detection: Achieved 95.09% accuracy and a Mean Average Precision (mAP) of 0.98, showing near-perfect ability to distinguish movement from background noise. * Action Classification: Achieved 88.60% accuracy and an mAP of 0.86.
Qualitative analysis via "confidence curves" indicates that the model tracks the progression of human movement smoothly, rather than making erratic, sample-by-sample guesses.
Limitations and Future Directions
While T-Unet performs well, errors are most frequent at action boundaries—the transition points between stillness and movement. Future work may involve refining loss functions to better handle these transitions. Additionally, testing the model on "in-the-wild" data with overlapping or variable-speed actions remains a key next step. Finally, exploring the computational efficiency for deployment on commodity WiFi hardware will be essential for real-world IoT applications.
Code is available at: https://github.com/geekfeiw/WiSLAR
Summary updated