Wi-Fringe: Leveraging Text Semantics in WiFi CSI-Based Device-Free Named Gesture Recognition

Md Tamzeed Islam, Shahriar NirjonDCOSS 2019 · OpenReview

TL;DR

This paper introduces Wi-Fringe, a novel system for device-free human activity recognition using WiFi Channel State Information (CSI). Wi-Fringe uniquely leverages text semantics (word embeddings and verb attributes) to recognize activities for which it has zero prior training examples, significantly reducing the data collection burden.

What Problem Does This Paper Address?

Current WiFi-based activity recognition systems face a major hurdle: they require extensive labeled training data for each activity they need to recognize. This is time-consuming, error-prone, and impractical for systems that need to adapt to new or evolving activities. Furthermore, these systems struggle to classify activities they haven't been explicitly trained on, often misclassifying them or labeling them as "unknown." The paper aims to overcome this limitation by enabling "zero-shot" learning for WiFi CSI-based activity recognition, allowing systems to infer activities based on their semantic meaning rather than solely on direct training examples.

Methods

Wi-Fringe employs a multi-stage approach:

  1. State-Aware Representation (SAR): This module extracts features from raw WiFi CSI data. It first processes short CSI segments into spectrograms and then uses a Convolutional Neural Network (CNN) to capture local patterns within these spectrograms. These local features are then fed into a bi-directional Long Short-Term Memory (LSTM) network to model the temporal dependencies and contextual relationships between these "states" or micro-activities within a gesture. This results in a rich, lower-dimensional vector representation that captures both local and sequential properties of an activity.
  2. Cross-Modal Projections: This is the core innovation for zero-shot learning. Wi-Fringe projects the state-aware representation into two semantic spaces derived from text:
  3. Word Embedding Space: Using pre-trained word embeddings (like Word2Vec), activities are mapped to a semantic space where words with similar meanings are closer.
  4. Attribute Space: Activities are represented by a set of binary attributes (e.g., motion, social engagement, object use) derived from dictionary definitions. The system learns a projection from the CSI domain to these text-based semantic spaces, effectively creating a "cross-modal" bridge.

  5. Two-Stage Classifier:

    • Stage 1 (Seen vs. Unseen Detection): A threshold-based mechanism, using signal-level features like STFT, determines if an incoming CSI segment likely belongs to a "seen" (trained) activity or an "unseen" one.
  6. Stage 2 (Classification): If classified as "seen," a standard classifier uses only the seen class labels. If classified as "unseen," the system leverages the cross-modal projections to infer the most likely activity label from the available text semantics.

Datasets

The authors collected a new dataset for evaluation, comprising WiFi CSI data from four volunteers performing 20 different activities. These activities were collected in both a multi-person apartment and an office environment. The dataset is noted as being the largest in terms of the number of classes for WiFi-based activity recognition at the time of publication.

Key Insights and Ideas

  • Leveraging Text Semantics for Zero-Shot WiFi Activity Recognition: The most significant insight is the successful application of text semantics (word embeddings and attributes) to enable WiFi activity recognition without direct training examples. This fundamentally shifts the paradigm from purely data-driven to knowledge-infused learning.
  • State-Aware Representation is Crucial: Modeling the sequential nature of activities (micro-activities or states) using deep learning (CNN + bi-LSTM) is vital for capturing rich, contextual features that are more robust than traditional time-frequency features alone.
  • Joint Projection Boosts Performance: Combining both word embedding and attribute-based projections in a joint space significantly improves accuracy for unseen activity classification compared to using either projection alone. This highlights the complementary nature of semantic information.
  • The Importance of Semantically Related Seen Classes: Wi-Fringe's ability to recognize an unseen activity is highly dependent on the presence of semantically similar activities within the training set. This suggests that the "knowledge transfer" is most effective when there's a conceptual link.

Key Results

  • Unseen Activity Recognition: Wi-Fringe achieves up to 90% accuracy for recognizing two unseen activities and 61% accuracy for up to six unseen activities. This is a significant improvement over random guessing.
  • Seen Activity Recognition: Wi-Fringe outperforms baseline algorithms (CNN, Random Forest, SVM) in recognizing seen activities, achieving an accuracy of 82% compared to ~74% for CNN and ~62% for SVM.
  • End-to-End Performance: In scenarios with a high proportion of unseen classes (e.g., 8 out of 10 classes unseen), Wi-Fringe maintains significantly higher accuracy (e.g., ~36% when 75% of test samples are unseen) compared to baselines (max ~24%).
  • Inference Speed: The state-aware representation takes ~12ms, and the cross-modal projection takes ~2ms on a Macbook Pro, indicating reasonable computational efficiency for real-time applications.

Limitations and Future Work

  • Dependence on Semantically Related Seen Classes: The performance on unseen activities is heavily influenced by the presence of semantically similar activities in the training set. If an unseen activity has no close semantic neighbors in the training data, recognition accuracy drops.
  • Environmental and Multi-Person Effects: The current Wi-Fringe system does not explicitly handle environmental variations or the presence of multiple individuals performing activities simultaneously. The authors acknowledge that their SAR and cross-modal projection modules are modular and could be extended to address these issues.
  • User-Provided Tag List: While the system can infer activities without training examples, it still requires a user-provided list of possible activity names (tags) to constrain the search space during classification.
  • Future Work: The authors suggest porting Wi-Fringe to embedded systems like smartphones and extending it to handle environmental effects and multi-person scenarios. They also highlight the potential for integrating other representations into their modular architecture.

Summary updated

Abstract

The lack of adequate training data is one of the major hurdles in WiFi-based activity recognition systems. In this paper, we propose Wi-Fringe, which is a WiFi CSI-based device-free human gesture recognition system that recognizes named gestures, i.e., activities and gestures that have a semantically meaningful name in English language, as opposed to arbitrary free-form gestures. Given a list of activities (only their names in English text), along with zero or more training examples (WiFi CSI values) per activity, Wi-Fringe is able to detect all activities at runtime. In other words, a subset of activities that Wi-Fringe detects do not require any training examples at all.
BibTeX
@inproceedings{islam2019wi,
  author = {Md Tamzeed Islam and Shahriar Nirjon},
  title = {{Wi-Fringe: Leveraging Text Semantics in WiFi CSI-Based Device-Free Named Gesture Recognition}},
  booktitle = {DCOSS},
  year = {2019},
  url = {https://openreview.net/forum?id=FO4Dca1aah},
}
Figure