AutoSen: Improving Automatic WiFi Human Sensing through Cross-Modal Autoencoder

Qian Gao, Yanling Hao, Yuanwei Liu

Introduction

WiFi-based human activity recognition (HAR) leverages Channel State Information (CSI) to detect movements without the privacy concerns associated with cameras or the discomfort of wearable sensors. However, the practical deployment of CSI-based sensing is hindered by two primary challenges: the high cost of labeling large datasets for diverse environments and the inherent noise within CSI components. CSI consists of amplitude and phase, both of which carry motion information but are affected by distinct noise profiles, such as hardware-induced phase offsets.

This paper introduces AutoSen, a novel framework designed to address these hurdles. By utilizing a cross-modal autoencoder, AutoSen learns robust, noise-resistant features from unlabeled data, enabling high-accuracy sensing even in few-shot learning scenarios.

Methodology

The AutoSen architecture is divided into two distinct stages: an unsupervised feature extraction phase and a supervised classification phase.

1. Cross-modal Autoencoder (Unsupervised)

The core innovation of AutoSen lies in its cross-modal approach to feature learning. Unlike traditional autoencoders that reconstruct their own input (e.g., mapping amplitude to amplitude), AutoSen trains an encoder to take CSI amplitude as input and a decoder to reconstruct the sanitized CSI phase.

This design is based on the physical principle that while amplitude and phase are subject to different noise sources, they both reflect the same underlying human motion. By forcing the encoder to predict the phase from the amplitude, the model is compelled to discard modality-specific noise and extract the shared "motion" features. To make the phase usable, the authors apply a linear transformation to "sanitize" raw CSI phase, removing hardware offsets like Carrier Frequency Offset (CFO) and Sampling Frequency Offset (SFO).

2. Few-shot Learning Module (Supervised)

Once the encoder is pre-trained on unlabeled data, it is used as a feature extractor. A small classifier is appended to the frozen or fine-tuned encoder. This classifier is then trained using a minimal amount of labeled data—typically only 10 or 20 samples per activity—to perform specific tasks such as fall detection or activity recognition.

Experimental Evaluation

The performance of AutoSen was evaluated using the UT_HAR dataset, a public benchmark for WiFi-based sensing.

  • Activities: The dataset includes seven categories: lying on a bed, falling, picking up an object, running, sitting down, standing up, and walking.
  • Setup: Data was collected from six individuals using Intel 5300 Network Interface Cards (NICs) equipped with three antennas and 30 subcarriers.
  • Scale: The evaluation utilized a total of 4,973 CSI samples.

Key Insights

  • The Cross-Modal Bridge: The cross-modal reconstruction acts as a natural filter. The model can only succeed in reconstruction if it identifies the physical "truth" of the motion that links the two signal types.
  • Bottleneck Optimization: The size of the latent feature vector (the "bottleneck") is critical. The authors determined that 256 neurons provide the optimal balance, capturing sufficient motion detail while forcing the compression of noise.
  • Superiority over Concatenation: Simple concatenation of amplitude and phase data often leads to poorer performance because the model becomes susceptible to the combined noise of both modalities. The cross-modal approach effectively bypasses this issue.

Results

AutoSen demonstrates significant improvements over existing unsupervised methods such as AutoFi. On the UT_HAR dataset, AutoSen achieved:

  • 71.32% accuracy with only 10 labeled samples.
  • 78.92% accuracy with 20 labeled samples.

This represents a ~3.7% improvement over the previous state-of-the-art unsupervised methods. Furthermore, ablation studies showed that the cross-modal approach (Amplitude → Phase) outperformed "Amplitude Only" reconstruction by approximately 6.5%, confirming the value of the cross-modal link.

Conclusion and Future Work

AutoSen provides a robust framework for "plug-and-play" WiFi sensing by reducing the reliance on labeled data. While the current implementation using Intel 5300 NICs is effective, the authors suggest that modern WiFi hardware with more subcarriers and antennas could push accuracy beyond 80%. Future research will focus on better separating human motion from static environment reflections to further enhance feature purity.

Summary updated

BibTeX
@inproceedings{gao2024autosen,
  author = {Qian Gao and Yanling Hao and Yuanwei Liu},
  title = {{AutoSen: Improving Automatic WiFi Human Sensing through Cross-Modal Autoencoder}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446641},
}
Figure